Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Also report the number of renderbuffer alpha bits for GL_LUMINANCE_ALPHA. | Eric Anholt | 2011-01-03 | 1 | -1/+2 |
| | | | | Noticed by code inspection. | ||||
* | mesa: Also report renderbuffer red/green size for GL_RED and GL_RG. | Eric Anholt | 2011-01-03 | 1 | -0/+9 |
| | | | | Noticed by code inspection. | ||||
* | mesa: Use the common logic for "is this baseformat a color format?" | Eric Anholt | 2011-01-03 | 4 | -12/+16 |
| | | | | | | When figuring out whether a renderbuffer should be used to set the visual bits of an FBO, we were missing important baseformats like GL_RED, GL_RG, and GL_LUMINANCE. | ||||
* | mesa: Allow color renderbuffers besides just RGB and RGBA. | Eric Anholt | 2011-01-03 | 1 | -2/+1 |
| | | | | | | We did so already for textures to do ARB_fbo's GL_ALPHA/GL_LUMINANCE/etc. support and for ARB_texture_rg's GL_RED and GL_RG, but this path was missed. | ||||
* | mesa: Update comment about the list of BaseFormats for gl_formats. | Eric Anholt | 2011-01-03 | 1 | -3/+4 |
| | |||||
* | mesa: s/GLuint/gl_buffer_index/ | Brian Paul | 2011-01-03 | 2 | -6/+10 |
| | |||||
* | mesa: Assert format is not MESA_FORMAT_COUNT in _mesa_format_to_type_and_comps. | Vinson Lee | 2010-12-23 | 1 | -1/+4 |
| | | | | The case of format being MESA_FORMAT_COUNT should never occur. | ||||
* | mesa: Assert _mesa_DeleteFragmentShaderATI doesn't ever free static DummyShader. | Vinson Lee | 2010-12-23 | 1 | -0/+1 |
| | |||||
* | mesa: Fix #ifdef typo in _mesa_format_to_type_and_comps. | Vinson Lee | 2010-12-23 | 1 | -1/+1 |
| | | | | According to the comment, the warning should be for debug builds. | ||||
* | mesa: fix texel store functions for some float formats | Marek Olšák | 2010-12-23 | 1 | -10/+17 |
| | | | | These are copy-paste errors obviously. | ||||
* | mesa: implement new texture format I16 | Marek Olšák | 2010-12-23 | 6 | -4/+50 |
| | |||||
* | mesa: implement new texture format L16 | Marek Olšák | 2010-12-23 | 7 | -4/+55 |
| | |||||
* | mesa: implement new texture format A16 | Marek Olšák | 2010-12-23 | 7 | -8/+58 |
| | |||||
* | mesa: implement new texture format AL44 | Marek Olšák | 2010-12-23 | 7 | -1/+95 |
| | | | | | | Radeon GPUs can do this. R600 can even do render-to-texture. Packing and extracting aren't implemented, but we shouldn't hit them (I think). Tested with swrast, softpipe, and r300g. | ||||
* | mesa: implement new texture format ARGB2101010 | Marek Olšák | 2010-12-23 | 7 | -0/+128 |
| | | | | Radeon GPUs do support GL_RGB10_A2. | ||||
* | mesa: fix queryobj whitespace. | Dave Airlie | 2010-12-18 | 1 | -26/+26 |
| | | | | Had done this before pushing but forgot to amend, doh. | ||||
* | mesa/swrast/st: add ARB_occlusion_query2 support. | Dave Airlie | 2010-12-18 | 2 | -12/+32 |
| | | | | | | | | | | This gets my vote for most pointless extension of all time, I'm guessing some driver could possibly optimise for this instead of counting it might just get a true/false, but I'm not really sure. need this to eventually advertise 3.3 despite its total uselessness. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | Remove OES_compressed_paletted_texture from the ES2 extension list. | Kenneth Graunke | 2010-12-16 | 1 | -2/+0 |
| | | | | We don't support it. | ||||
* | mesa, st/mesa: disable GL_ARB_geometry_shader4 | Brian Paul | 2010-12-13 | 1 | -1/+2 |
| | | | | | | | The new GLSL compiler doesn't support geom shaders yet so disable the GL_ARB_geometry_shader4 extension. Undo this when geom shaders work again. NOTE: This is a candidate for the 7.10 branch. | ||||
* | mesa: Don't assertion fail for _mesa_get_format_name(MESA_FORMAT_NONE) | Eric Anholt | 2010-12-10 | 1 | -1/+0 |
| | |||||
* | mesa: allow GLfixed arrays for OpenGL ES 2.0 | Shuang He | 2010-12-09 | 1 | -2/+2 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: Fix glTexCoordPointer with type GL_FIXED. | Chia-I Wu | 2010-12-09 | 1 | -1/+2 |
| | | | | GL_FIXED is also a legal type for glTexCoordPointer. | ||||
* | mesa: Fix GL_FIXED arrays. | Chia-I Wu | 2010-12-09 | 1 | -0/+2 |
| | | | | It is broken since 433e5e6defc85d8b1d6262aff990e3f5a8b37027. | ||||
* | mesa: simplify target checking for TexImage functions | Brian Paul | 2010-12-08 | 1 | -8/+18 |
| | |||||
* | mesa: revamp error checking for compressed texture images | Brian Paul | 2010-12-08 | 1 | -67/+44 |
| | | | | Simplify some code, remove unneeded checks, etc. | ||||
* | mesa: Do not advertise GL_OES_texture_3D. | Chia-I Wu | 2010-12-08 | 1 | -0/+4 |
| | | | | | GL_OES_texture_3D has a GLSL counterpart. Since it is not implemented, GL_OES_texture_3D should not be advertised. | ||||
* | vbo: Fix GLES2 glVertexAttrib. | Chia-I Wu | 2010-12-08 | 1 | -26/+26 |
| | | | | | | | | | Attribute 0 has no special meaning in GLES2. Add VertexAttrib4f_nopos for that purpose and make _es_VertexAttrib* call the new function. Rename _vbo_* to _es_* to avoid confusion. These functions are only used by GLES, and now some of them (_es_VertexAttrib*) even behave differently than vbo_VertexAttrib*. | ||||
* | mesa: make _mesa_test_proxy_teximage() easier to read | Brian Paul | 2010-12-07 | 1 | -55/+71 |
| | |||||
* | mesa: consolidate glCompressedTexImage1/2/3D() functions | Brian Paul | 2010-12-07 | 1 | -374/+190 |
| | |||||
* | mesa: consolidate glCopyTexSubImage1/2/3D() functions | Brian Paul | 2010-12-07 | 1 | -145/+63 |
| | |||||
* | mesa: consolidate glCopyTexImage1/2D() code | Brian Paul | 2010-12-07 | 1 | -148/+90 |
| | |||||
* | mesa: consolidate the glTexSubImage1/2/3D() functions | Brian Paul | 2010-12-07 | 1 | -165/+86 |
| | |||||
* | mesa: simplify proxy texture code in texture_error_check() | Brian Paul | 2010-12-07 | 1 | -49/+51 |
| | |||||
* | mesa: Clean up header file inclusion in viewport.h. | Vinson Lee | 2010-12-07 | 1 | -1/+2 |
| | |||||
* | mesa: Clean up header file inclusion in varray.h. | Vinson Lee | 2010-12-07 | 1 | -1/+5 |
| | |||||
* | mesa: Clean up header file inclusion in transformfeedback.h. | Vinson Lee | 2010-12-07 | 1 | -1/+6 |
| | |||||
* | mesa: Clean up header file inclusion in texrender.h. | Vinson Lee | 2010-12-07 | 1 | -1/+3 |
| | |||||
* | mesa: consolidate glTexImage1/2/3D() code | Brian Paul | 2010-12-06 | 1 | -294/+161 |
| | | | | | Something similar could be done for glCopyTex[Sub]Image() and the compressed texture image functions as well. | ||||
* | mesa: set gl_texture_object::_Complete=FALSE in incomplete() | Brian Paul | 2010-12-06 | 1 | -27/+5 |
| | |||||
* | mesa: test for cube map completeness in glGenerateMipmap() | Brian Paul | 2010-12-06 | 3 | -0/+49 |
| | | | | | | | The texture is not cube complete if the base level images aren't of the same size and format. NOTE: This is a candidate for the 7.9 branch. | ||||
* | mesa: Clean up header file inclusion in texobj.h. | Vinson Lee | 2010-12-04 | 1 | -1/+2 |
| | |||||
* | mesa: Clean up header file inclusion in texgetimage.h. | Vinson Lee | 2010-12-04 | 1 | -1/+5 |
| | |||||
* | mesa: Clean up header file inclusion in texformat.h. | Vinson Lee | 2010-12-04 | 1 | -1/+1 |
| | |||||
* | mesa: Clean up header file inclusion in texenvprogram.h. | Vinson Lee | 2010-12-04 | 1 | -1/+1 |
| | |||||
* | mesa: Clean up header file inclusion in texcompress_s3tc.h. | Vinson Lee | 2010-12-04 | 1 | -1/+5 |
| | |||||
* | mesa: Clean up header file inclusion in texcompress.h. | Vinson Lee | 2010-12-04 | 1 | -1/+4 |
| | |||||
* | mesa: make glGet*(GL_NONE) generate GL_INVALID_ENUM | Brian Paul | 2010-12-03 | 1 | -3/+5 |
| | | | | | | | | | In find_value() check if we've hit the 0th/invalid entry before checking if the pname matches. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31987 NOTE: This is a candidate for the 7.9 branch. | ||||
* | mesa: return GL_FRAMEBUFFER_DEFAULT as FBO attachment type | Brian Paul | 2010-12-03 | 1 | -1/+1 |
| | | | | | | | | | If querying the default/window-system FBO's attachment type, return GL_FRAMEBUFFER_DEFAULT (per the GL_ARB_framebuffer_object spec). See http://bugs.freedesktop.org/show_bug.cgi?id=31947 NOTE: This is a candidate for the 7.9 branch. | ||||
* | mesa: fix GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME query | Brian Paul | 2010-12-03 | 1 | -2/+2 |
| | | | | | | | | | | | | Return 0 instead of generating an error. See http://bugs.freedesktop.org/show_bug.cgi?id=30993 Note that piglit fbo-getframebufferattachmentparameter-01 still does not pass. But Mesa behaves the same as the NVIDIA driver in this case. Perhaps the test is incorrect. NOTE: This is a candidate for the 7.9 branch. | ||||
* | mesa: replace more MAX_WIDTH stack allocations with heap allocations | Brian Paul | 2010-12-02 | 2 | -38/+111 |
| |