summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Also report the number of renderbuffer alpha bits for GL_LUMINANCE_ALPHA.Eric Anholt2011-01-031-1/+2
| | | | Noticed by code inspection.
* mesa: Also report renderbuffer red/green size for GL_RED and GL_RG.Eric Anholt2011-01-031-0/+9
| | | | Noticed by code inspection.
* mesa: Use the common logic for "is this baseformat a color format?"Eric Anholt2011-01-034-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 Anholt2011-01-031-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 Anholt2011-01-031-3/+4
|
* mesa: s/GLuint/gl_buffer_index/Brian Paul2011-01-032-6/+10
|
* mesa: Assert format is not MESA_FORMAT_COUNT in _mesa_format_to_type_and_comps.Vinson Lee2010-12-231-1/+4
| | | | The case of format being MESA_FORMAT_COUNT should never occur.
* mesa: Assert _mesa_DeleteFragmentShaderATI doesn't ever free static DummyShader.Vinson Lee2010-12-231-0/+1
|
* mesa: Fix #ifdef typo in _mesa_format_to_type_and_comps.Vinson Lee2010-12-231-1/+1
| | | | According to the comment, the warning should be for debug builds.
* mesa: fix texel store functions for some float formatsMarek Olšák2010-12-231-10/+17
| | | | These are copy-paste errors obviously.
* mesa: implement new texture format I16Marek Olšák2010-12-236-4/+50
|
* mesa: implement new texture format L16Marek Olšák2010-12-237-4/+55
|
* mesa: implement new texture format A16Marek Olšák2010-12-237-8/+58
|
* mesa: implement new texture format AL44Marek Olšák2010-12-237-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 ARGB2101010Marek Olšák2010-12-237-0/+128
| | | | Radeon GPUs do support GL_RGB10_A2.
* mesa: fix queryobj whitespace.Dave Airlie2010-12-181-26/+26
| | | | Had done this before pushing but forgot to amend, doh.
* mesa/swrast/st: add ARB_occlusion_query2 support.Dave Airlie2010-12-182-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 Graunke2010-12-161-2/+0
| | | | We don't support it.
* mesa, st/mesa: disable GL_ARB_geometry_shader4Brian Paul2010-12-131-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 Anholt2010-12-101-1/+0
|
* mesa: allow GLfixed arrays for OpenGL ES 2.0Shuang He2010-12-091-2/+2
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: Fix glTexCoordPointer with type GL_FIXED.Chia-I Wu2010-12-091-1/+2
| | | | GL_FIXED is also a legal type for glTexCoordPointer.
* mesa: Fix GL_FIXED arrays.Chia-I Wu2010-12-091-0/+2
| | | | It is broken since 433e5e6defc85d8b1d6262aff990e3f5a8b37027.
* mesa: simplify target checking for TexImage functionsBrian Paul2010-12-081-8/+18
|
* mesa: revamp error checking for compressed texture imagesBrian Paul2010-12-081-67/+44
| | | | Simplify some code, remove unneeded checks, etc.
* mesa: Do not advertise GL_OES_texture_3D.Chia-I Wu2010-12-081-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 Wu2010-12-081-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 readBrian Paul2010-12-071-55/+71
|
* mesa: consolidate glCompressedTexImage1/2/3D() functionsBrian Paul2010-12-071-374/+190
|
* mesa: consolidate glCopyTexSubImage1/2/3D() functionsBrian Paul2010-12-071-145/+63
|
* mesa: consolidate glCopyTexImage1/2D() codeBrian Paul2010-12-071-148/+90
|
* mesa: consolidate the glTexSubImage1/2/3D() functionsBrian Paul2010-12-071-165/+86
|
* mesa: simplify proxy texture code in texture_error_check()Brian Paul2010-12-071-49/+51
|
* mesa: Clean up header file inclusion in viewport.h.Vinson Lee2010-12-071-1/+2
|
* mesa: Clean up header file inclusion in varray.h.Vinson Lee2010-12-071-1/+5
|
* mesa: Clean up header file inclusion in transformfeedback.h.Vinson Lee2010-12-071-1/+6
|
* mesa: Clean up header file inclusion in texrender.h.Vinson Lee2010-12-071-1/+3
|
* mesa: consolidate glTexImage1/2/3D() codeBrian Paul2010-12-061-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 Paul2010-12-061-27/+5
|
* mesa: test for cube map completeness in glGenerateMipmap()Brian Paul2010-12-063-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 Lee2010-12-041-1/+2
|
* mesa: Clean up header file inclusion in texgetimage.h.Vinson Lee2010-12-041-1/+5
|
* mesa: Clean up header file inclusion in texformat.h.Vinson Lee2010-12-041-1/+1
|
* mesa: Clean up header file inclusion in texenvprogram.h.Vinson Lee2010-12-041-1/+1
|
* mesa: Clean up header file inclusion in texcompress_s3tc.h.Vinson Lee2010-12-041-1/+5
|
* mesa: Clean up header file inclusion in texcompress.h.Vinson Lee2010-12-041-1/+4
|
* mesa: make glGet*(GL_NONE) generate GL_INVALID_ENUMBrian Paul2010-12-031-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 typeBrian Paul2010-12-031-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 queryBrian Paul2010-12-031-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 allocationsBrian Paul2010-12-022-38/+111
|