search for: pict_a8

Displaying 6 results from an estimated 6 matches for "pict_a8".

2010 Apr 20
0
[PATCH] nv10/exa : demagify tex and rt format
...+++++++++++---------------- 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_FORMAT_FORMAT_A8R8G8B8 }, + { PICT_a8r8g8b8, NV10TCL_TX_FORMAT_FORM...
2010 May 31
1
[PATCH] nv50/exa: use dual-source blending for component-alpha composite
...supported\n"); - if (!NV50EXACheckTexture(pmpict, pdpict, op)) NOUVEAU_FALLBACK("mask picture invalid\n"); } @@ -874,19 +875,13 @@ NV50EXAPrepareComposite(int op, state->have_mask = TRUE; BEGIN_RING(chan, tesla, NV50TCL_FP_START_ID, 1); - if (pdpict->format == PICT_a8) { + if (pmpict->componentAlpha && PICT_FORMAT_RGB(pmpict->format)) + OUT_RING (chan, PFP_CCA); + else + if (pdpict->format != PICT_a8) + OUT_RING (chan, PFP_C); + else OUT_RING (chan, PFP_C_A8); - } else { - if (pmpict->componentAlpha && - PICT_F...
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
...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_a8r8g8b8, 0x900 }, + {}, + +}, nv20_tex_format_rect[] = { + { PICT_a...
2010 Apr 20
1
[PATCH] nv30/exa : cleanup from nv40 exa
...v30_exa.c +++ b/src/nv30_exa.c @@ -56,26 +56,28 @@ typedef struct nv30_exa_state { static nv30_exa_state_t exa_state; #define NV30EXA_STATE nv30_exa_state_t *state = &exa_state +#define NV34TCL_RT_FORMAT_COLOR_X1R5G5B5 0x00000002 static nv_pict_surface_format_t NV30SurfaceFormat[] = { - { PICT_a8r8g8b8 , 0x148 }, - { PICT_a8b8g8r8 , 0x150 }, - { PICT_x8r8g8b8 , 0x145 }, - { PICT_x8b8g8r8 , 0x14f }, - { PICT_r5g6b5 , 0x143 }, - { PICT_a8 , 0x149 }, - { PICT_x1r5g5b5 , 0x142 }, + { PICT_a8r8g8b8 , NV34TCL_RT_FORMAT_COLOR_A8R8G8B8 }, + { PICT_x8r8g8b8 , NV34TCL_RT_FORMAT_COLOR_X8R8G8B8 }...
2007 Mar 05
1
compiz composited video and alpha only GLX pixmaps
...d YV12 image formats are currently supported but it's of course very easy to add support for additional formats. YV12 format requires GL_ARB_fragment_program and 8 bpp alpha only GLX pixmap support. The server doesn't provide alpha only pixmaps today. The attached patch adds an alternative PICT_a8 visual to composite and that is enough for xgl to support alpha only GLX pixmaps (not sure it will work with aiglx or nvidia's driver, I would guess not). Adding an alpha only X visual might be a bad idea. It doesn't cause any issues with the clients I've been running but I've seen...
2007 Mar 07
3
video plugin?
Hello, I updated to current git and find the video plugin. What exactly is it supposed to do? I want to test it but I don't know exactly what to test.... Enabling it did not make any difference (it loaded successfully).