summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-07-173-62/+78
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile progs/glsl/multitex.c src/mesa/main/enums.c src/mesa/main/state.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
| * mesa: set version to 7.5Brian Paul2009-07-171-1/+1
| |
| * Fix state flag dependencies for fixed function fragment program updates.Brian Paul2009-07-152-1/+11
| | | | | | | | | | | | | | I started looking into why _NEW_ARRAY punishes us, and while annotating dependencies noticed that a bunch of dependencies were missing. (cherry picked from master, commit e5f63c403b767f9974e8eb5d412c012b8a69287f)
| * mesa: recognize and eliminate repeated error messagesKeith Whitwell2009-07-152-3/+38
| |
| * mesa: split out errorstring switch from _mesa_errorKeith Whitwell2009-07-151-36/+26
| | | | | | | | Move a chunk of code out of _mesa_error()
| * mesa: remove dead code in _mesa_errorKeith Whitwell2009-07-151-6/+0
| | | | | | | | Remove early and unused snprintf and where[] string.
| * mesa: don't call getenv every time _mesa_error is calledKeith Whitwell2009-07-151-11/+14
| | | | | | | | | | | | Buggy apps can generate thousands of mesa_error calls. Don't need to keep calling getenv to retreive the same MESA_DEBUG string each time.