summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'new-frag-attribs'Brian Paul2009-08-121-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 inputsBrian Paul2009-07-291-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 qualifiersBrian Paul2009-08-121-2/+2
| |
* | mesa: use _mesa_is_bufferobj()Brian Paul2009-08-1212-46/+49
| |
* | mesa: use _mesa_is_bufferobj()Brian Paul2009-08-121-17/+17
| |
* | mesa: new _mesa_is_bufferobj() functionBrian Paul2009-08-121-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 Paul2009-08-111-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 stateBrian Paul2009-08-101-0/+3
| |
* | mesa: update framebuffer status as needed in _mesa_source/dest_buffer_exists()Brian Paul2009-08-081-4/+8
| |
* | mesa: simplify glPushAttrib() list building codeBrian Paul2009-08-081-106/+40
| |
* | mesa: remove old, prototype codeBrian Paul2009-08-081-65/+0
| |
* | mesa: use _mesa_bufferobj_mapped()Brian Paul2009-08-081-1/+1
| |
* | mesa: use _mesa_set_vp_override() in glDraw/CopyPixels and glBitmapBrian Paul2009-08-071-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-statementBrian Paul2009-08-071-4/+8
| |
* | mesa: use _mesa_bufferobj_mapped()Brian Paul2009-08-073-18/+18
| |
* | mesa: new _mesa_bufferobj_mapped() helper functionBrian Paul2009-08-071-0/+8
| |
* | mesa: use valid_fragment_program() helperBrian Paul2009-08-071-3/+15
| |
* | mesa: test DrawBuffer, not ReadBuffer in _mesa_dest_buffer_exists()Brian Paul2009-08-071-10/+12
| | | | | | | | Also, update comments.
* | mesa: fix some incorrect error checks in _mesa_error_check_format_type()Brian Paul2009-08-071-17/+34
| | | | | | | | Plus, simplify the code a bit.
* | mesa: do error checking on glCopyPixels() type parameterBrian Paul2009-08-071-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 Paul2009-08-071-1/+1
| |
* | mesa: new _mesa_copy_client_array() functionBrian Paul2009-08-072-0/+29
| |
* | mesa: fix commentBrian Paul2009-08-071-4/+3
| |
* | GL_ARB_vertex_array_bgra is (basically) a synonym for the EXT versionIan Romanick2009-08-061-0/+1
| |
* | Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled.Alan Hourihane2009-08-061-0/+1
| |
* | mesa/main: Add functions to clear and dirty texture objects.Chia-I Wu2009-08-054-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 Paul2009-08-053-2/+190
|\ \ | | | | | | | | | | | | | | | Conflicts: src/mesa/main/state.c
| * | mesa: generate GL_INVALID_OPERATION for missing z/stencil when blittingBrian Paul2009-08-051-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 functionBrian Paul2009-08-052-0/+184
| | |
| * | texenv: Use VP->Current, since _Current isn't updated at this point.Brian Paul2009-08-041-1/+1
| | | | | | | | | | | | (cherry picked from master, commit a9ba1bfeb3a2852c6eda718e73c46c972a286648)
| * | texenv: Match state.c in deciding whether we'll be using a vertex shader.Brian Paul2009-08-041-0/+1
| | | | | | | | | | | | (cherry picked from master, commit 40990d9dfb20b69585859b2a45596aa46c20140a)
| * | texenv: Add missing dependency on VP changes.Brian Paul2009-08-041-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 Paul2009-08-041-0/+1
| | |
* | | mesa: added _mesa_str_checksum()Brian Paul2009-08-042-0/+17
| | |
* | | mesa: clean-up error debug/count codeBrian Paul2009-08-041-30/+41
| | |
* | | mesa: reset ErrorDebugCount to zero in glGetString()Brian Paul2009-08-041-0/+1
| | |
* | | mesa: better texture dump/debug codeBrian Paul2009-08-041-52/+45
| | |
* | | mesa: more error message info for vertex pointer functionsBrian Paul2009-08-041-6/+12
| | |
* | | mesa: more glGetTexImage() error checking consolidation, new assertionBrian Paul2009-08-041-8/+12
| | |
* | | texenv: Use VP->Current, since _Current isn't updated at this point.Eric Anholt2009-08-031-1/+1
| | |
* | | texenv: Match state.c in deciding whether we'll be using a vertex shader.Eric Anholt2009-08-031-0/+1
| | |
* | | texenv: Add missing dependency on VP changes.Eric Anholt2009-08-031-1/+2
| | | | | | | | | | | | | | | Funny thing is I annotated this dependency in e5f63c403b767f9974e8eb5d412c012b8a69287f, but didn't actually use it.
* | | mesa: re-enable _mesa_source_buffer_exists() callBrian Paul2009-07-301-2/+2
| | | | | | | | | | | | Somehow this code wound up inside a comment a while back.
* | | mesa: get_current_tex_unit() helper functionBrian Paul2009-07-301-23/+35
| | |
* | | mesa: refactor glGetTexImage error checking codeBrian Paul2009-07-301-86/+108
| | |
* | | mesa: simplify _mesa_select_tex_image()Brian Paul2009-07-301-55/+9
| | |
* | | mesa: simplify _mesa_set_tex_image()Brian Paul2009-07-301-29/+6
| |/ |/|
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-07-281-3/+5
|\| | | | | | | | | | | | | | | | | Conflicts: Makefile configs/default docs/relnotes.html src/mesa/main/version.h
| * mesa: separate some finite/pragma Watcom stuffBrian Paul2009-07-271-3/+5
| |
| * mesa: bump version to 7.5.1Brian Paul2009-07-221-4/+4
| |