Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: add GL_DEPTH_STENCIL to glCopyPixels error check | Brian Paul | 2009-08-20 | 1 | -1/+8 |
| | | | | | Plus, add a comment about 'type' error checking. See bug 19087. | ||||
* | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-08-18 | 1 | -0/+2 |
|\ | |||||
| * | mesa: when emitting vertex program fog, set yzw=0,0,1 | Brian Paul | 2009-08-18 | 1 | -0/+2 |
| | | | | | | | | Fixes piglit fp-fog failure with gallium. | ||||
* | | mesa: call FLUSH_CURRENT() for GL_CURRENT_TEXTURE_COORDS query | Brian Paul | 2009-08-18 | 2 | -1/+5 |
| | | |||||
* | | Regenerate files for GL_ARB_seamless_cube_map | Ian Romanick | 2009-08-14 | 2 | -328/+342 |
| | | |||||
* | | Infrastructure for GL_ARB_seamless_cube_map | Ian Romanick | 2009-08-14 | 4 | -0/+19 |
| | | |||||
* | | Regenerate files for GL_APPLE_flush_buffer_range | Ian Romanick | 2009-08-14 | 1 | -2977/+3001 |
| | | |||||
* | | mesa: append uniform values to the log file the first time we use a shader | Brian Paul | 2009-08-14 | 2 | -0/+28 |
| | | | | | | | | | | This info is essential to using/debugging a shader outside of its normal application. | ||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-08-14 | 4 | -148/+176 |
|\| | |||||
| * | Allow external settings of MAX_WIDTH/HEIGHT. | Brian Paul | 2009-08-14 | 1 | -2/+7 |
| | | | | | | | | | | | | | | Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can set them via CFLAGS. (cherry picked from master, commit 66bc17e80e22d8f205cc02171b1c266feab6631f) | ||||
| * | mesa: move assertions in test_attachment_completeness() | Brian Paul | 2009-08-14 | 1 | -5/+7 |
| | | | | | | | | Put the assertions after the error checks. | ||||
| * | mesa: fix some invalid memory reads | Brian Paul | 2009-08-13 | 1 | -18/+57 |
| | | | | | | | | | | We were passing the address of a float to functions that would deref the pointer as an array. | ||||
| * | mesa: fix warnings about locals hiding function params | Brian Paul | 2009-08-13 | 2 | -6/+6 |
| | | |||||
| * | mesa: add missing PBO mapping code in unpack_image() | Brian Paul | 2009-08-13 | 1 | -7/+21 |
| | | |||||
| * | main: fix some potential memory leaks | Brian Paul | 2009-08-13 | 1 | -112/+85 |
| | | | | | | | | | | Allocate dlist images after error checking. Record GL_OUT_OF_MEMORY when we can't make a copy of an image. | ||||
| * | mesa: fix some potential uninitialized memory references | Brian Paul | 2009-08-13 | 2 | -2/+2 |
| | | |||||
| * | Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled. | Alan Hourihane | 2009-08-06 | 1 | -0/+1 |
| | | |||||
* | | mesa: call _mesa_valid_to_render() | Brian Paul | 2009-08-14 | 1 | -4/+2 |
| | | |||||
* | | mesa: new _mesa_valid_to_render() function | Brian Paul | 2009-08-14 | 2 | -1/+47 |
| | | | | | | | | | | Tests if the current shader/program is valid and that the framebuffer is complete. To be called by glBegin, glDrawArrays, etc. | ||||
* | | mesa: minor error string changes | Brian Paul | 2009-08-14 | 1 | -5/+5 |
| | | |||||
* | | Allow external settings of MAX_WIDTH/HEIGHT. | Tom Fogal | 2009-08-14 | 1 | -2/+7 |
| | | | | | | | | | | Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can set them via CFLAGS. | ||||
* | | mesa: s/assert/ASSERT/ in _mesa_reference_texobj() | Brian Paul | 2009-08-13 | 1 | -2/+2 |
| | | | | | | | | We want the no-op ASSERT for non-debug builds. | ||||
* | | mesa: rework error check in glGetTexLevelParameter(), remove ↵ | Brian Paul | 2009-08-13 | 1 | -47/+2 |
| | | | | | | | | tex_image_dimensions() | ||||
* | | mesa: if maxLevels==0, target is invalid | Brian Paul | 2009-08-13 | 1 | -1/+4 |
| | | |||||
* | | mesa: add extension checks in _mesa_max_texture_levels() | Brian Paul | 2009-08-13 | 1 | -6/+9 |
| | | |||||
* | | mesa: minor clean-ups in bumpmap functions | Brian Paul | 2009-08-13 | 1 | -14/+39 |
| | | |||||
* | | mesa: use _mesa_get_current_tex_unit() in more places | Brian Paul | 2009-08-13 | 5 | -61/+53 |
| | | |||||
* | | mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.c | Brian Paul | 2009-08-13 | 4 | -224/+224 |
| | | |||||
* | | mesa: move _mesa_Get[Compressed]TexImage() to texgetimage.c | Brian Paul | 2009-08-13 | 5 | -242/+275 |
| | | | | | | | | All the glGetTexImage code is in one file now. | ||||
* | | mesa: short-circuit no-change in _mesa_DepthRange() | Brian Paul | 2009-08-13 | 1 | -0/+4 |
| | | |||||
* | | Merge branch 'new-frag-attribs' | Brian Paul | 2009-08-12 | 1 | -4/+5 |
|\ \ | | | | | | | | | | | | | | | | | | | This branch introduces new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs for GLSL gl_FrontFacing and gl_PointCoord. Before, these attributes were packed with the FOG attribute. That made things complicated elsewhere. | ||||
| * | | mesa: add new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs | Brian Paul | 2009-07-29 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the FOGC attribute contained the fragment fog coord, front/back- face flag and the gl_PointCoord.xy values. Now each of those things are separate fragment program attributes. This simplifies quite a few things in Mesa and gallium. Need to test i965 driver and fix up point coord handling in the gallium/draw module... | ||||
* | | | mesa: const qualifiers | Brian Paul | 2009-08-12 | 1 | -2/+2 |
| | | | |||||
* | | | mesa: use _mesa_is_bufferobj() | Brian Paul | 2009-08-12 | 12 | -46/+49 |
| | | | |||||
* | | | mesa: use _mesa_is_bufferobj() | Brian Paul | 2009-08-12 | 1 | -17/+17 |
| | | | |||||
* | | | mesa: new _mesa_is_bufferobj() function | Brian Paul | 2009-08-12 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | Tests if the given buffer object is a user-created, non-default buffer object. Use this instead of testing bufferobj->Name != 0. | ||||
* | | | mesa: remove _mesa_set_vp_override() from _mesa_Bitmap() | Brian Paul | 2009-08-11 | 1 | -12/+4 |
| | | | | | | | | | | | | | | | | | | | | | This reverts part of commit 2c9812e3d346eb07180da520909b142e8afc1c59. The calls to _mesa_set_vp_override() were causing extra state validation and caused the gallium state tracker's bitmap cache to get flushed on every call. | ||||
* | | | mesa: added GLcontext::Meta field for meta rendering state | Brian Paul | 2009-08-10 | 1 | -0/+3 |
| | | | |||||
* | | | mesa: update framebuffer status as needed in _mesa_source/dest_buffer_exists() | Brian Paul | 2009-08-08 | 1 | -4/+8 |
| | | | |||||
* | | | mesa: simplify glPushAttrib() list building code | Brian Paul | 2009-08-08 | 1 | -106/+40 |
| | | | |||||
* | | | mesa: remove old, prototype code | Brian Paul | 2009-08-08 | 1 | -65/+0 |
| | | | |||||
* | | | mesa: use _mesa_bufferobj_mapped() | Brian Paul | 2009-08-08 | 1 | -1/+1 |
| | | | |||||
* | | | mesa: use _mesa_set_vp_override() in glDraw/CopyPixels and glBitmap | Brian Paul | 2009-08-07 | 1 | -14/+38 |
| | | | | | | | | | | | | | | | | | | | | | | | | We don't use the vertex program in these functions and the driver may install its own. This fixes the broken glCopyPixels swrast fallback in i965 and possibly other drivers. In particular, glCopyPixels sometimes didn't work because the fixed-function fragment program was replacing all fragment colors with the current raster color. | ||||
* | | | mesa: reformat code to allow setting breakpoints on the true-statement | Brian Paul | 2009-08-07 | 1 | -4/+8 |
| | | | |||||
* | | | mesa: use _mesa_bufferobj_mapped() | Brian Paul | 2009-08-07 | 3 | -18/+18 |
| | | | |||||
* | | | mesa: new _mesa_bufferobj_mapped() helper function | Brian Paul | 2009-08-07 | 1 | -0/+8 |
| | | | |||||
* | | | mesa: use valid_fragment_program() helper | Brian Paul | 2009-08-07 | 1 | -3/+15 |
| | | | |||||
* | | | mesa: test DrawBuffer, not ReadBuffer in _mesa_dest_buffer_exists() | Brian Paul | 2009-08-07 | 1 | -10/+12 |
| | | | | | | | | | | | | Also, update comments. | ||||
* | | | mesa: fix some incorrect error checks in _mesa_error_check_format_type() | Brian Paul | 2009-08-07 | 1 | -17/+34 |
| | | | | | | | | | | | | Plus, simplify the code a bit. | ||||
* | | | mesa: do error checking on glCopyPixels() type parameter | Brian Paul | 2009-08-07 | 1 | -8/+15 |
| | | | | | | | | | | | | | | | Plus, move some other error checks before state validation and update some comments. |