Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-01-25 | automake: src/egl/waylandautomake | Benjamin Franzke | 14 | -190/+47 | |
So we can use the wayland scanner makro, which is way better than our previous runtime-pkgconfig hack. | |||||
2012-01-25 | st/mesa: Fix recurring surfaceless contexts | Benjamin Franzke | 1 | -2/+4 | |
A current incomplete framebuffer was incorrectly used as a st_framebuffer. When accessing st_framebuffer childs bad things happen: e.g. st_framebuffer::iface was used to check whether its an incomplete fb, instead we need to compare st_framebuffer::Base against mesa_get_incomplete_framebuffer. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44919 Note: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com> | |||||
2012-01-24 | mesa: Fix CopyTex{Sub,}Image error checks for integer vs non-integer. | Eric Anholt | 1 | -8/+31 | |
Fixes Intel oglconform negative.typeFormatMismatch.copyteximage. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com> | |||||
2012-01-24 | mesa: Add missing integer R/RG cases to _mesa_is_color_format(). | Eric Anholt | 1 | -0/+12 | |
This is part of fixing Intel oglconform negative.typeFormatMismatch.copyteximage. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com> | |||||
2012-01-24 | meta: Detect currently-unsupported integer CopyTexSubImage and complain. | Eric Anholt | 1 | -0/+5 | |
This code is unprepared for handling integer (particularly, the baseFormat of the TexFormat comes out as GL_RGBA, not GL_RGBA_INTEGER, so the direct call of Driver.ReadPixels crashes due to the int vs non-int error checking not having happened). I'm frankly tempted to convert this code to MapRenderbuffer/MapTexImage rather than doing it as meta ops, now that we have that support. Improves the remaining crash in Intel oglconform for int-textures to just a rendering failure. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com> | |||||
2012-01-24 | mesa: Add the remaining from/to types for GL_EXT_texture_integer (and R/RG). | Eric Anholt | 2 | -51/+176 | |
This aborts and crashes in intel oglconform's int-textures into being just rendering failures. Clamping isn't handled yet. v2: Add missing "break". v3: Drop the int/uint distinction, since they don't need different clamping. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com> (v2) | |||||
2012-01-24 | mesa: Add support for glGetTexImage on GL_TEXTURE_1D_ARRAY | Eric Anholt | 1 | -2/+7 | |
Similarly to how we handle this in texstore, we have to remap height to depth so that we MapTextureImage each image layer individually. Fixes part of Intel oglconform's int-textures advanced.fbo.rtt NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com> | |||||
2012-01-24 | mesa: s/GLuint col/GLint col/ to avoid signed/unsigned comparison warnings. | Eric Anholt | 1 | -8/+8 | |
Suggested-by: Brian Paul <brianp@vmware.com> | |||||
2012-01-24 | mesa: Add support for glGetTexImage() from integer textures. | Eric Anholt | 1 | -38/+80 | |
This is a step toward fixing Intel oglconform's int-textures advanced.fbo.rtt. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com> | |||||
2012-01-24 | i965/gen6+: Work around GPU hangs with logic ops on integer textures. | Eric Anholt | 1 | -2/+7 | |
This doesn't result in correct rendering -- GL requires that logic ops work, while the hardware specs say it doesn't do them. I'm not sure how we would want to handle this. NOTE: This is a candidate for the 8.0 branch. | |||||
2012-01-24 | i965/gen6+: Disable blending, alpha test, and dither on integer FBOs. | Eric Anholt | 1 | -6/+23 | |
Fixes GPU hangs and some rendering failures in piglit EXT_texture_integer/fbo-blending NOTE: This is a candidate for the 8.0 branch. | |||||
2012-01-24 | mesa/gdi: remove wmesa_set_renderbuffer_funcs() function | Brian Paul | 1 | -50/+0 | |
The code is no longer relevant. Note: this driver is probably broken now. There's no implementation of ctx->Driver.Map/UnmapRenderbuffer(). | |||||
2012-01-24 | dri/swrast: remove obsolete swrast_span.c file from source list | Brian Paul | 1 | -2/+1 | |
2012-01-24 | swrast: fix uninitialized variable warning | Brian Paul | 1 | -1/+1 | |
2012-01-24 | swrast: make rowStride variable signed in put_z32_values() | Brian Paul | 1 | -1/+1 | |
As with commit aed5c8299fe47b8e1728f8140d069bc89d3fa947 | |||||
2012-01-24 | intel: use swrast code to map/unmap renderbuffers for swrast rendering | Brian Paul | 1 | -79/+2 | |
2012-01-24 | mesa: update comments, fix whitespace in dd.h | Brian Paul | 1 | -21/+14 | |
2012-01-24 | swrast: remove unused StoreTexel code | Brian Paul | 4 | -1187/+183 | |
No longer needed since we do all rendering to texture with the buffer mapping and pixel packing functions. | |||||
2012-01-24 | swrast: use Map/UnmapTextureImage() in framebuffer map/unmap code | Brian Paul | 1 | -15/+13 | |
When we're actually rendering into a texture, map the texture image instead of the corresponding renderbuffer. Before, we just copied a pointer from the texture image to the renderbuffer. This change will make the code usable by hardware drivers. | |||||
2012-01-24 | mesa: remove ctx->Driver.Map/UnmapTexture() hooks | Brian Paul | 3 | -10/+0 | |
No longer used anywhere. | |||||
2012-01-24 | nouveau: stop calling ctx->Driver.Map/UnmapTexture() | Brian Paul | 2 | -40/+4 | |
And remove unused nouveau_texture_map/unmap() | |||||
2012-01-24 | tnl: remove ctx->Driver.Map/UnmapTexture() calls | Brian Paul | 1 | -8/+2 | |
ctx->Driver.MapTexture() always points to _swrast_map_texture(). We're already reaching into swrast from t_vb_program.c anyway. This will let us remove the ctx->Driver.Map/UnmapTexture() functions. | |||||
2012-01-24 | swrast: move some renderbuffer functions to s_renderbuffer.c | Brian Paul | 2 | -121/+121 | |
2012-01-24 | intel: remove intel_span_supports_format() | Brian Paul | 3 | -21/+0 | |
It always returned True. | |||||
2012-01-24 | swrast: remove a few extra _mesa_get_format_bytes() calls | Brian Paul | 1 | -4/+6 | |
2012-01-24 | mesa: update comments for gl_renderbuffer | Brian Paul | 1 | -16/+9 | |
2012-01-24 | mesa/swrast/drivers: remove obsolete gl_renderbuffer fields | Brian Paul | 1 | -7/+0 | |
This removes the last of the legacy fields from gl_renderbuffer. | |||||
2012-01-24 | dri/swrast: use swrast_renderbuffer type | Brian Paul | 2 | -35/+41 | |
2012-01-24 | swrast: use swrast_renderbuffer instead of gl_renderbuffer | Brian Paul | 9 | -41/+62 | |
2012-01-24 | osmesa: use swrast_renderbuffer | Brian Paul | 1 | -42/+45 | |
2012-01-24 | radeon: derive radeon_renderbuffer from swrast_renderbuffer | Brian Paul | 14 | -64/+73 | |
2012-01-24 | intel: derive intel_renderbuffer from swrast_renderbuffer | Brian Paul | 7 | -49/+55 | |
Drivers that rely on swrast need to do this, as with swrast_texture_image. | |||||
2012-01-24 | xlib: derive xmesa_renderbuffer from swrast_renderbuffer | Brian Paul | 4 | -24/+27 | |
2012-01-24 | swrast: allocate swrast_renderbuffers instead of gl_renderbuffers | Brian Paul | 2 | -7/+7 | |
2012-01-24 | swrast: new swrast_renderbuffer type | Brian Paul | 1 | -0/+25 | |
This will let us move the swrast-specific fields out of gl_renderbuffer. | |||||
2012-01-24 | intel: use intel_rb_format() to get renderbuffer format | Brian Paul | 11 | -42/+56 | |
This will make future changes cleaner and less invasive. | |||||
2012-01-24 | dri/swrast: rename swrast_renderbuffer to dri_swrast_renderbuffer | Brian Paul | 2 | -14/+14 | |
To prevent name collision with future swrast_renderbuffer in the swrast module. | |||||
2012-01-24 | swrast: use stencil packing function in s_stencil.c | Brian Paul | 1 | -1/+3 | |
2012-01-24 | swrast: use color packing functions in s_span.c | Brian Paul | 1 | -4/+9 | |
2012-01-24 | swrast: remove s_spantemp.h | Brian Paul | 1 | -149/+0 | |
2012-01-24 | xlib: remove xm_span.c and related code | Brian Paul | 6 | -249/+1 | |
2012-01-24 | mesa: remove gl_renderbuffer::Wrapped | Brian Paul | 7 | -23/+13 | |
There's no such thing as renderbuffer wrappers anymore. | |||||
2012-01-24 | swrast: rewrite, simplify the the render-to-texture code | Brian Paul | 1 | -110/+30 | |
2012-01-24 | mesa: rename gl_renderbuffer::Data to Buffer | Brian Paul | 7 | -38/+41 | |
To better indicate that this pointer to the malloc'd memory. | |||||
2012-01-24 | mesa: move freeing of software renderbuffers into swrast | Brian Paul | 2 | -6/+16 | |
2012-01-24 | mesa: remove gl_renderbuffer::DataType | Brian Paul | 17 | -249/+39 | |
2012-01-24 | mesa: remove gl_renderbuffer:RowStride field | Brian Paul | 9 | -16/+7 | |
2012-01-24 | mesa: finally, remove the GetRow/PutRow/etc functions | Brian Paul | 1 | -37/+0 | |
2012-01-24 | dri: remove all the obsolete spantmp files | Brian Paul | 4 | -1259/+0 | |
2012-01-24 | radeon: remove obsolete GetRow/PutRow code | Brian Paul | 2 | -167/+0 | |