search for: gl_unsigned_byte

Displaying 9 results from an estimated 9 matches for "gl_unsigned_byte".

2013 Feb 28
7
[Bug 61635] New: glVertexAttribPointer(id, GL_UNSIGNED_BYTE, GL_FALSE, ...) does not work
https://bugs.freedesktop.org/show_bug.cgi?id=61635 Priority: medium Bug ID: 61635 Assignee: nouveau at lists.freedesktop.org Summary: glVertexAttribPointer(id, GL_UNSIGNED_BYTE, GL_FALSE,...) does not work Severity: normal Classification: Unclassified OS: All Reporter: rodrigorivascosta at gmail.com Hardware: x86 (IA32) Status: NEW Version: git Component: Drivers/DRI/nouv...
2007 May 23
1
[PATCH] Fix imageBufferToTexture for MSBFirst platforms.
....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 | Debian, X and D...
2009 Mar 02
0
[PATCH 3 of 13] remove bgr
...sor_normal; static SDL_Cursor *sdl_cursor_hidden; static int absolute_enabled = 0; static int opengl_enabled; +static uint8_t bgr; static 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...
2015 Feb 14
0
[PATCH] nvc0: bail out of 2d blits with non-A8_UNORM alpha formats
This fixes the teximage-colors uploads with GL_ALPHA format and non-GL_UNSIGNED_BYTE type. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- src/gallium/drivers/nouveau/nvc0/nvc0_surface.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c b/src/gallium/drivers/nouveau/nvc0/nvc0_surface.c index 4...
2019 Jan 16
4
[Bug 109371] New: Textures seem to be byteswapped on big endian architectures
...signee: nouveau at lists.freedesktop.org Reporter: kungfujesus06 at gmail.com QA Contact: nouveau at lists.freedesktop.org When using an NV43 based GPU on a PPC64 kernel with a 64 bit userspace, it seems applications will have byte swapped textures when specified with GL_RGBA and GL_UNSIGNED_BYTE. Matplotlib will do this when blit=True for the plot routines, and several games will have this issue. In particular, for Legacy Doom, I've found that if I swap the textures so that they are A,B,G,R just before the textures are mapped, everything is correct. I also found that doing glPixel...
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...ure_ref); @@ -90,27 +88,6 @@ glBindTexture(GL_TEXTURE_RECTANGLE_ARB, texture_ref); glPixelStorei(GL_UNPACK_LSB_FIRST, 1); switch (ds_get_bits_per_pixel(ds)) { - case 8: - if (ds->palette == NULL) { - tex_format = GL_RGB; - tex_type = GL_UNSIGNED_BYTE_3_3_2; - } else { - int i; - GLushort paletter[256], paletteg[256], paletteb[256]; - for (i = 0; i < 256; i++) { - uint8_t rgb = ds->palette[i] >> 16; - paletter[i] = ((rgb & 0xe0) >>...
2007 Apr 27
0
Wine release 0.9.36
...ntrazeroed' strings. Gerald Pfeifer (1): server: Silence compiler warning in fd_queue_async(). H. Verbeet (16): wined3d: Add a function for dumping FBO status codes. wined3d: Dump the FBO's attachments when its status is GL_FRAMEBUFFER_UNSUPPORTED_EXT. wined3d: Use GL_UNSIGNED_BYTE as data type for WINED3DFMT_A8. wined3d: Ignore SetTextureStageState on unsupported texture stages. wined3d: Set the FBO drawbuffer using glDrawBuffer when ARB_DRAW_BUFFERS is not supported. wined3d: Add a function to determine if a surface is the front or the backbuffer for a swa...
2011 Jan 02
2
Wow+wine+intel integrated graphics card, needing help please
...VertexData >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glVertexPointer(...) @ state.c / 4321 err:d3d:loadVertexData >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glColorPointer(4, GL_UNSIGNED_BYTE, ...) @ state.c / 4374 err:d3d:loadTexCoords >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glClientActiveTextureARB @ state.c / 3262 err:d3d:loadTexCoords >>>>>>>>>>>>>>>>> GL_INVALID...
2010 Feb 26
5
[PATCH 0/5] renouveau: nv30/nv40 unification
This patchset applies some minor fixes to renouveau.xml and then unifies the nv30 and nv40 register definitions. nv30 and nv40 are very similar and have the same offsets for the registers they share. The major differences are: 1. Texture setup is different due to full NPOT support on nv40 2. More advanced blending/render targets on nv40 3. NV30 has fixed function registers, which NV40 lacks The