search for: pict_format

Displaying 5 results from an estimated 5 matches for "pict_format".

Did you mean: pict_format_a
2010 Jan 03
0
[PATCH] exa: Some compat defines for new pixman formats.
...f --git a/src/nv50_exa.c b/src/nv50_exa.c index 10a3a64..59c198f 100644 --- a/src/nv50_exa.c +++ b/src/nv50_exa.c @@ -431,6 +431,26 @@ NV50EXAUploadSIFC(const char *src, int src_pitch, return TRUE; } +/* Compat defines for pre 1.7 xservers. */ +#ifndef PICT_a2b10g10r10 +#define PICT_a2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 2, 10, 10, 10) +#endif +#ifndef PICT_x2b10g10r10 +#define PICT_x2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 0, 10, 10, 10) +#endif +#ifndef PICT_a2r10g10b10 +#define PICT_a2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 2, 10, 10, 10) +#endif +#ifndef PICT_x2r10g10b10 +#define PICT...
2010 Jan 03
0
[PATCH] exa: Some compat defines for depth 30 formats.
...f --git a/src/nv50_exa.c b/src/nv50_exa.c index 10a3a64..c558896 100644 --- a/src/nv50_exa.c +++ b/src/nv50_exa.c @@ -431,6 +431,14 @@ NV50EXAUploadSIFC(const char *src, int src_pitch, return TRUE; } +/* Compat defines for pre 1.7 xservers. */ +#ifndef PICT_a2b10g10r10 +#define PICT_a2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 2, 10, 10, 10) +#define PICT_x2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 0, 10, 10, 10) +#define PICT_a2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 2, 10, 10, 10) +#define PICT_x2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 0, 10, 10, 10) +#endif + static Bool NV50EXACheckRenderTa...
2010 Jan 03
3
Latest xf86-video-nouveau does not compile
Hi, latest 2D driver does not compile. libdrm and Mesa are latest git... Johannes CC nv50_exa.lo nv50_exa.c: In function 'NV50EXACheckRenderTarget': nv50_exa.c:451: error: 'PICT_a2b10g10r10' undeclared (first use in this function) nv50_exa.c:451: error: (Each undeclared identifier is reported only once nv50_exa.c:451: error: for each function it appears in.) nv50_exa.c:452:
2010 Apr 20
0
[PATCH] nv10/exa : demagify tex and rt format
...;chantry.xavier at gmail.com> --- src/nv10_exa.c | 35 +++++++++++++++++++---------------- 1 files changed, 19 insertions(+), 16 deletions(-) diff --git a/src/nv10_exa.c b/src/nv10_exa.c index 1acb583..23a68e3 100644 --- a/src/nv10_exa.c +++ b/src/nv10_exa.c @@ -34,30 +34,33 @@ static struct pict_format { int exa; int hw; } nv10_tex_format_pot[] = { - { PICT_a8, 0x80 }, - { PICT_r5g6b5, 0x280 }, - { PICT_x8r8g8b8, 0x300 }, - { PICT_a8r8g8b8, 0x300 }, + { PICT_a8, NV10TCL_TX_FORMAT_FORMAT_A8 }, + { PICT_r5g6b5, NV10TCL_TX_FORMAT_FORMAT_R5G6B5 }, + { PICT_x8r8g8b8, NV10TCL_TX_FOR...
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
...clude "nv_include.h" -typedef struct nv10_exa_state { - Bool have_mask; - Bool is_a8_plus_a8; - struct { - PictTransformPtr transform; - float width; - float height; - } unit[2]; -} nv10_exa_state_t; -static nv10_exa_state_t state; +/* Texture/Render target formats. */ +static struct pict_format { + int exa; + int hw; +} nv10_tex_format_pot[] = { + { PICT_a8, 0x80 }, + { PICT_r5g6b5, 0x280 }, + { PICT_x8r8g8b8, 0x300 }, + { PICT_a8r8g8b8, 0x300 }, + {}, + +}, nv10_tex_format_rect[] = { + { PICT_a8, 0x980 }, + { PICT_r5g6b5, 0x880 }, + { PICT_x8r8g8b8, 0x900 }, + { PICT_a8r8...