Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | mesa: use a more logical flag in _mesa_set_vp_override() | Brian Paul | 2009-08-07 | 1 | -1/+1 |
| | | |||||
* | | mesa: new _mesa_copy_client_array() function | Brian Paul | 2009-08-07 | 2 | -0/+29 |
| | | |||||
* | | mesa: fix comment | Brian Paul | 2009-08-07 | 1 | -4/+3 |
| | | |||||
* | | GL_ARB_vertex_array_bgra is (basically) a synonym for the EXT version | Ian Romanick | 2009-08-06 | 1 | -0/+1 |
| | | |||||
* | | Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled. | Alan Hourihane | 2009-08-06 | 1 | -0/+1 |
| | | |||||
* | | mesa/main: Add functions to clear and dirty texture objects. | Chia-I Wu | 2009-08-05 | 4 | -2/+72 |
| | | | | | | | | | | | | | | | | This commit adds a function to clear a texture object such that there is no image data associated with it, and a function to dirty it so that it will be re-tested for completeness. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-08-05 | 3 | -2/+190 |
|\ \ | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/state.c | ||||
| * | | mesa: generate GL_INVALID_OPERATION for missing z/stencil when blitting | Brian Paul | 2009-08-05 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | If glBlitFramebuffer() is called with GL_DEPTH_BUFFER_BIT or GL_STENCIL_BUFFER_BIT and the src/dst depth/stencil buffers are absent, report an error. | ||||
| * | | mesa: make _mesa_clip_blit() a shared function | Brian Paul | 2009-08-05 | 2 | -0/+184 |
| | | | |||||
| * | | texenv: Use VP->Current, since _Current isn't updated at this point. | Brian Paul | 2009-08-04 | 1 | -1/+1 |
| | | | | | | | | | | | | (cherry picked from master, commit a9ba1bfeb3a2852c6eda718e73c46c972a286648) | ||||
| * | | texenv: Match state.c in deciding whether we'll be using a vertex shader. | Brian Paul | 2009-08-04 | 1 | -0/+1 |
| | | | | | | | | | | | | (cherry picked from master, commit 40990d9dfb20b69585859b2a45596aa46c20140a) | ||||
| * | | texenv: Add missing dependency on VP changes. | Brian Paul | 2009-08-04 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Funny thing is I annotated this dependency in e5f63c403b767f9974e8eb5d412c012b8a69287f, but didn't actually use it. (cherry picked from master, commit 03187571b63d97e3d1406d329c5e760e16ef3181) Conflicts: src/mesa/main/state.c | ||||
* | | | mesa: added gl_shader::SourceChecksum field (for debug purposes) | Brian Paul | 2009-08-04 | 1 | -0/+1 |
| | | | |||||
* | | | mesa: added _mesa_str_checksum() | Brian Paul | 2009-08-04 | 2 | -0/+17 |
| | | | |||||
* | | | mesa: clean-up error debug/count code | Brian Paul | 2009-08-04 | 1 | -30/+41 |
| | | | |||||
* | | | mesa: reset ErrorDebugCount to zero in glGetString() | Brian Paul | 2009-08-04 | 1 | -0/+1 |
| | | | |||||
* | | | mesa: better texture dump/debug code | Brian Paul | 2009-08-04 | 1 | -52/+45 |
| | | | |||||
* | | | mesa: more error message info for vertex pointer functions | Brian Paul | 2009-08-04 | 1 | -6/+12 |
| | | | |||||
* | | | mesa: more glGetTexImage() error checking consolidation, new assertion | Brian Paul | 2009-08-04 | 1 | -8/+12 |
| | | | |||||
* | | | texenv: Use VP->Current, since _Current isn't updated at this point. | Eric Anholt | 2009-08-03 | 1 | -1/+1 |
| | | | |||||
* | | | texenv: Match state.c in deciding whether we'll be using a vertex shader. | Eric Anholt | 2009-08-03 | 1 | -0/+1 |
| | | | |||||
* | | | texenv: Add missing dependency on VP changes. | Eric Anholt | 2009-08-03 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | Funny thing is I annotated this dependency in e5f63c403b767f9974e8eb5d412c012b8a69287f, but didn't actually use it. | ||||
* | | | mesa: re-enable _mesa_source_buffer_exists() call | Brian Paul | 2009-07-30 | 1 | -2/+2 |
| | | | | | | | | | | | | Somehow this code wound up inside a comment a while back. | ||||
* | | | mesa: get_current_tex_unit() helper function | Brian Paul | 2009-07-30 | 1 | -23/+35 |
| | | | |||||
* | | | mesa: refactor glGetTexImage error checking code | Brian Paul | 2009-07-30 | 1 | -86/+108 |
| | | | |||||
* | | | mesa: simplify _mesa_select_tex_image() | Brian Paul | 2009-07-30 | 1 | -55/+9 |
| | | | |||||
* | | | mesa: simplify _mesa_set_tex_image() | Brian Paul | 2009-07-30 | 1 | -29/+6 |
| |/ |/| | |||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-07-28 | 1 | -3/+5 |
|\| | | | | | | | | | | | | | | | | | Conflicts: Makefile configs/default docs/relnotes.html src/mesa/main/version.h | ||||
| * | mesa: separate some finite/pragma Watcom stuff | Brian Paul | 2009-07-27 | 1 | -3/+5 |
| | | |||||
| * | mesa: bump version to 7.5.1 | Brian Paul | 2009-07-22 | 1 | -4/+4 |
| | |