Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: additional FBO/RB id error checking for ARB_fbo | Brian Paul | 2009-01-22 | 1 | -0/+10 |
| | | | | It's illegal to bind a FBO/RB id that didn't come from glGenRender/Framebuffer(). | ||||
* | mesa: for ARB_fbo, lift restriction that all FBO attachments are same size ↵ | Brian Paul | 2009-01-22 | 1 | -23/+45 |
| | | | | and color format | ||||
* | mesa: initial extension bits for GL_ARB_framebuffer_object | Brian Paul | 2009-01-22 | 3 | -0/+3 |
| | |||||
* | mesa: regenerated GL API files | Brian Paul | 2009-01-22 | 1 | -2778/+2926 |
| | |||||
* | mesa: added _mesa_fprintf() wrapper | Brian Paul | 2009-01-22 | 2 | -1/+17 |
| | |||||
* | mesa: master is open for new development, eventually will be Mesa 7.5 | Brian Paul | 2009-01-22 | 1 | -3/+3 |
| | |||||
* | mesa: set version to 7.3 | Brian Paul | 2009-01-22 | 1 | -1/+1 |
| | |||||
* | mesa: add some debug assertions to detect null current texture object pointers | Brian Paul | 2009-01-21 | 2 | -0/+22 |
| | | | | See bug #17895. These assertions could be removed when this is resolved. | ||||
* | mesa: bump version to 7.3-rc3 | Brian Paul | 2009-01-20 | 1 | -1/+1 |
| | |||||
* | Fix store texel for argb4444. | Thomas Hellstrom | 2009-01-20 | 1 | -1/+1 |
| | |||||
* | Fix store texel for argb8888_rev. | Thomas Hellstrom | 2009-01-20 | 1 | -1/+1 |
| | |||||
* | Add RGBA4444 and RGBA5551 texture formats. | Thomas Hellstrom | 2009-01-20 | 6 | -0/+212 |
| | |||||
* | mesa: remove GL_DEPTH_TEST + no depth buffer test | Brian Paul | 2009-01-16 | 1 | -4/+0 |
| | | | | | One could enable depth testing before binding an FBO that has a depth buffer so this test is no longer useful or correct. | ||||
* | mesa: check frambuffer complete status before rendering | Alan Hourihane | 2009-01-15 | 1 | -13/+20 |
| | |||||
* | mesa: bump version to 7.3-rc2mesa_7_3_rc2 | Brian Paul | 2009-01-14 | 1 | -1/+1 |
| | |||||
* | glsl: propagate pragma info down into compiler from preprocessor | Brian Paul | 2009-01-14 | 1 | -3/+10 |
| | |||||
* | mesa: fix incorrect transformation of GL_SPOT_DIRECTION | Brian Paul | 2009-01-14 | 1 | -1/+2 |
| | | | | This was changed between GL 1.0 and 1.1. Mesa still had the 1.0 behaviour. | ||||
* | Big endian fixes. | Matthieu Herrb | 2009-01-11 | 1 | -1/+2 |
| | |||||
* | mesa: set version string to 7.3-rc1 | Brian Paul | 2009-01-08 | 1 | -1/+1 |
| | |||||
* | mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs. | Eric Anholt | 2009-01-07 | 3 | -14/+0 |
| | | | | | | | | There was a note in state.c about _Active deserving to die, and there were potential issues with it due to i965 forgetting to set _UseTexEnvProgram. Removing both simplifies things. Reviewed-by: Brian Paul <[email protected]> | ||||
* | mesa: Add _mesa_snprintf. | José Fonseca | 2009-01-07 | 2 | -0/+15 |
| | | | | | | On Windows snprintf is renamed as _snprintf. (cherry picked from commit f8f9a1b620d31d1a59855fd502caed325d4a324f) | ||||
* | mesa: fix GL_DEPTH_CLEAR_VALUE casting | Brian Paul | 2009-01-06 | 2 | -4/+4 |
| | | | | (cherry picked from commit d14d494dcda3d80ec2cf452551c680ffb432e306) | ||||
* | mesa: Fix the size per pixel for packed pixel format data type. | Xiang, Haihao | 2009-01-06 | 3 | -2/+9 |
| | |||||
* | mesa: Fix the number of components for GL_UNSIGNED_SHORT_1_5_5_5_REV. (bug ↵ | Xiang, Haihao | 2009-01-06 | 1 | -1/+1 |
| | | | | #19390) | ||||
* | mesa: add GLushort cases for render to texture (Z-buffers) | Brian Paul | 2009-01-05 | 1 | -2/+50 |
| | |||||
* | mesa: comments, whitespace changes | Brian Paul | 2009-01-01 | 1 | -13/+31 |
| | |||||
* | mesa: increase max texture image units and GLSL samplers to 16 | Brian Paul | 2008-12-31 | 12 | -131/+182 |
| | | | | | | | | | | | | | | | | The max texture coord units is still 8. All the fixed-function paths are still limited to 8 too. But GLSL shaders can use more samplers now. Note that some texcoord-related data structures are declared to be 16 elements in size rather than 8. This just simplifies the code in a few places; the extra elements aren't accessible to the user. These changes haven't been extensively tested yet, but sanity checking has been done. It should be possible to increase the max image units/samplers to 32 without doing anything special. Beyond that we'll need longer bitfields in a few places. | ||||
* | mesa: increase max constants/uniforms to 256 (vec4 vectors) | Brian Paul | 2008-12-30 | 1 | -2/+2 |
| | |||||
* | Add do_row_3d for mipmapping 3D textures | Ian Romanick | 2008-12-19 | 1 | -21/+444 |
| | | | | | | | | | | | | Previously 3D textures were mipmapped using multiple passed through the 2D mipmap generation code. This had 3 disadvantages. First, the extra passes were slow. Second, this required the allocation of a temporary buffer to hold intermediate data. Third, and most important, the extra passes caused loss of additional bits due to integer division / bit-shifting. With this change, our mipmapgen conformance test passes for non-compressed texture formats. | ||||
* | Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV | Ian Romanick | 2008-12-19 | 1 | -1/+1 |
| | |||||
* | mesa: Clip copytexsubimage to read framebuffer bounds, not scissor region. | Eric Anholt | 2008-12-18 | 1 | -1/+1 |
| | |||||
* | mesa: Correct _mesa_clip_to_region() off-by-one. | Eric Anholt | 2008-12-18 | 1 | -2/+2 |
| | | | | | | | | | | Note how if: x + width == xmax + 0: width -= 0 x + width == xmax + 1: width -= 0 x + width == xmax + 2: width -= 1 So, the function was clipping to [xmin, xmax+1), not [xmin, xmax) like it was supposed to. Same for ymax. | ||||
* | mesa: remove unneeded _mesa_reference_fragprog() call | Brian Paul | 2008-12-17 | 1 | -4/+2 |
| | | | | The subsequent if/else cases always call _mesa_reference_fragprog() anyway. | ||||
* | mesa: updated comments | Brian Paul | 2008-12-17 | 1 | -10/+12 |
| | |||||
* | mesa: move _mesa_dlopen(), etc into separate dlopen.c file | Brian Paul | 2008-12-15 | 4 | -72/+146 |
| | |||||
* | Perform range checking on app supplied texture base level | Ian Romanick | 2008-12-14 | 1 | -0/+12 |
| | | | | | | | | | It is possible for applications to specify any texture base level, including trivially invalid values (i.e., 47000000). When an app specifies an invalide base level, we should gracefully disable the texture instead of accessing memory outside the gl_texture_object. This fixes an occasional segfault in one of our conformance tests. | ||||
* | mesa: Fix GenerateMipmapEXT(GL_TEXTURE_CUBE_MAP_ARB). | Eric Anholt | 2008-12-06 | 1 | -2/+10 |
| | | | | | | The ctx->Driver.GenerateMipmap() hook only expects cubemap face enums, not CUBE_MAP_ARB, so walk all faces when we encounter that. Fixes oglconform fbo.c segfault with both swrast and i965 drivers. | ||||
* | mesa: fix conditional in save_Lightfv(), bug 18838 | Brian | 2008-12-01 | 1 | -1/+1 |
| | |||||
* | mesa: enable texture compression extensions for software drivers when possible | Brian Paul | 2008-11-28 | 1 | -1/+10 |
| | |||||
* | mesa: remove unneeded compressed texure size checks | Phillip Klaus Krause | 2008-11-28 | 1 | -6/+0 |
| | |||||
* | mesa: add gl_program::Input/OutputFlags[] array | Brian Paul | 2008-11-24 | 2 | -0/+5 |
| | | | | | These arrays will indicate per-input or per-output options for vertex/fragment programs such as centroid-sampling and invariance. | ||||
* | mesa: fix shadow sampling unit issue. | Xiang, Haihao | 2008-11-20 | 1 | -1/+6 |
| | | | | | texture comparison logic is bypassed if the currently bound texture is not a depth/depth_stencil texture. | ||||
* | mesa: clamp luminance if needed. | Xiang, Haihao | 2008-11-19 | 2 | -2/+10 |
| | | | | | This fixes glReadPixels(GL_LUMINANCE, GL_FLOAT)/glGetTexImage(GL_LUMINANCE, GL_FLOAT) issue on fixed-point color buffers. | ||||
* | mesa: fix generation of fixed function state when no vp exists | Alan Hourihane | 2008-11-13 | 1 | -43/+41 |
| | |||||
* | mesa: restore the negate flag of dots in build_lighting. | Xiang, Haihao | 2008-11-11 | 1 | -0/+3 |
| | | | | | Dots is re-used if more than one light is enabled. Previously the negate flag of dots may affect next light. | ||||
* | mesa: update new state for RasterPos like other operations. | Xiang, Haihao | 2008-11-11 | 1 | -3/+3 |
| | | | | This fixes a lighting issue when drawing a bitmap. | ||||
* | mesa: new _mesa_is_pow_two() function | Brian | 2008-11-10 | 5 | -23/+33 |
| | |||||
* | mesa: fix some misc breakage caused by editing auto-generated files rather ↵ | Brian Paul | 2008-11-10 | 1 | -4/+8 |
| | | | | | | | | than the python generators Specifically: #include "glapitable.h" in src/mesa/main/glapi/dispatch.h Call _mesa_bsearch() in src/mesa/main/enums.c. | ||||
* | GLX: fix out-of-bounds memory issue in indirect glAreTexturesResident() | Brian Paul | 2008-11-10 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | See bug 18445. When getting array results, __glXReadReply() always reads a multiple of four bytes. This can cause writing to invalid memory when 'n' is not a multiple of four. Special-case the glAreTexturesResident() functions now. To fix the bug, we use a temporary buffer that's a multiple of four bytes in length. NOTE: this commit also reverts part of commit 919ec22ecf72aa163e1b97d8c7381002131ed32c (glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protection) which directly edited the indirect.c file rather than the python generator! I'm not repairing that issue at this time. | ||||
* | mesa: use NRM3 in emit_normalize_vec3() when drivers are ready | Brian | 2008-11-08 | 1 | -0/+5 |
| |