search for: gl_bgra

Displaying 4 results from an estimated 4 matches for "gl_bgra".

2007 May 23
1
[PATCH] Fix imageBufferToTexture for MSBFirst platforms.
...4170c70..7021643 100644 --- a/src/texture.c +++ b/src/texture.c @@ -164,13 +164,8 @@ imageBufferToTexture (CompScreen *screen, unsigned int width, unsigned int height) { -#if IMAGE_BYTE_ORDER == MSBFirst - return imageToTexture (screen, texture, image, width, height, - GL_BGRA, GL_UNSIGNED_BYTE); -#else return imageToTexture (screen, texture, image, width, height, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV); -#endif } Bool -- 1.5.2-rc3.GIT -- Earthling Michel D?nzer | http://tungstengraphics.com Libre software enthusiast |...
2009 Mar 02
0
[PATCH 3 of 13] remove bgr
...void sdl_colourdepth(DisplayState *ds, int depth); @@ -119,7 +120,7 @@ static void opengl_setdata(DisplayState *ds, void *pixels) tex_type = GL_UNSIGNED_BYTE; break; case 32: - if (!ds->bgr) { + if (!bgr) { tex_format = GL_BGRA; tex_type = GL_UNSIGNED_BYTE; } else { @@ -275,9 +276,9 @@ static void sdl_resize_shared(DisplayState *ds, int w, int h, int depth, int lin if (!ds->shared_buf) { ds->depth = screen->format->BitsPerPixel; if (screen->format->Bshift &gt...
2015 Aug 01
15
[Bug 91526] New: World of Warcraft (on Wine) has UI corruption with nouveau
https://bugs.freedesktop.org/show_bug.cgi?id=91526 Bug ID: 91526 Summary: World of Warcraft (on Wine) has UI corruption with nouveau Product: Mesa Version: git Hardware: Other OS: Linux (All) Status: NEW Severity: normal Priority: medium Component:
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...RGB; tex_type = GL_UNSIGNED_SHORT_5_6_5; @@ -120,7 +97,7 @@ tex_type = GL_UNSIGNED_BYTE; break; case 32: - if (!bgr) { + if (bgr == (ds->surface->pf.rshift < ds->surface->pf.bshift)) { tex_format = GL_BGRA; tex_type = GL_UNSIGNED_BYTE; } else { @@ -130,7 +107,7 @@ break; } glPixelStorei(GL_UNPACK_ROW_LENGTH, (ds_get_linesize(ds) / ds_get_bytes_per_pixel(ds))); - glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, gl_format, ds_get_width(ds), ds_get_hei...