summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2009-08-11mesa: remove _mesa_set_vp_override() from _mesa_Bitmap()Brian Paul
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.
2009-08-10mesa: added GLcontext::Meta field for meta rendering stateBrian Paul
2009-08-08mesa: update framebuffer status as needed in _mesa_source/dest_buffer_exists()Brian Paul
2009-08-08mesa: simplify glPushAttrib() list building codeBrian Paul
2009-08-08mesa: remove old, prototype codeBrian Paul
2009-08-08mesa: use _mesa_bufferobj_mapped()Brian Paul
2009-08-07mesa: use _mesa_set_vp_override() in glDraw/CopyPixels and glBitmapBrian Paul
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.
2009-08-07mesa: reformat code to allow setting breakpoints on the true-statementBrian Paul
2009-08-07mesa: use _mesa_bufferobj_mapped()Brian Paul
2009-08-07mesa: new _mesa_bufferobj_mapped() helper functionBrian Paul
2009-08-07mesa: use valid_fragment_program() helperBrian Paul
2009-08-07mesa: test DrawBuffer, not ReadBuffer in _mesa_dest_buffer_exists()Brian Paul
Also, update comments.
2009-08-07mesa: fix some incorrect error checks in _mesa_error_check_format_type()Brian Paul
Plus, simplify the code a bit.
2009-08-07mesa: do error checking on glCopyPixels() type parameterBrian Paul
Plus, move some other error checks before state validation and update some comments.
2009-08-07mesa: use a more logical flag in _mesa_set_vp_override()Brian Paul
2009-08-07mesa: new _mesa_copy_client_array() functionBrian Paul
2009-08-07mesa: fix commentBrian Paul
2009-08-06GL_ARB_vertex_array_bgra is (basically) a synonym for the EXT versionIan Romanick
2009-08-06Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled.Alan Hourihane
2009-08-05mesa/main: Add functions to clear and dirty texture objects.Chia-I Wu
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 <olvaffe@gmail.com>
2009-08-05Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/state.c
2009-08-05mesa: generate GL_INVALID_OPERATION for missing z/stencil when blittingBrian Paul
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.
2009-08-05mesa: make _mesa_clip_blit() a shared functionBrian Paul
2009-08-04mesa: added gl_shader::SourceChecksum field (for debug purposes)Brian Paul
2009-08-04mesa: added _mesa_str_checksum()Brian Paul
2009-08-04mesa: clean-up error debug/count codeBrian Paul
2009-08-04mesa: reset ErrorDebugCount to zero in glGetString()Brian Paul
2009-08-04mesa: better texture dump/debug codeBrian Paul
2009-08-04mesa: more error message info for vertex pointer functionsBrian Paul
2009-08-04mesa: more glGetTexImage() error checking consolidation, new assertionBrian Paul
2009-08-04texenv: Use VP->Current, since _Current isn't updated at this point.Brian Paul
(cherry picked from master, commit a9ba1bfeb3a2852c6eda718e73c46c972a286648)
2009-08-04texenv: Match state.c in deciding whether we'll be using a vertex shader.Brian Paul
(cherry picked from master, commit 40990d9dfb20b69585859b2a45596aa46c20140a)
2009-08-04texenv: Add missing dependency on VP changes.Brian Paul
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
2009-08-03texenv: Use VP->Current, since _Current isn't updated at this point.Eric Anholt
2009-08-03texenv: Match state.c in deciding whether we'll be using a vertex shader.Eric Anholt
2009-08-03texenv: Add missing dependency on VP changes.Eric Anholt
Funny thing is I annotated this dependency in e5f63c403b767f9974e8eb5d412c012b8a69287f, but didn't actually use it.
2009-07-30mesa: re-enable _mesa_source_buffer_exists() callBrian Paul
Somehow this code wound up inside a comment a while back.
2009-07-30mesa: get_current_tex_unit() helper functionBrian Paul
2009-07-30mesa: refactor glGetTexImage error checking codeBrian Paul
2009-07-30mesa: simplify _mesa_select_tex_image()Brian Paul
2009-07-30mesa: simplify _mesa_set_tex_image()Brian Paul
2009-07-28Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile configs/default docs/relnotes.html src/mesa/main/version.h
2009-07-27mesa: separate some finite/pragma Watcom stuffBrian Paul
2009-07-22mesa: bump version to 7.5.1Brian Paul
2009-07-17Merge branch 'mesa_7_5_branch'Brian Paul
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
2009-07-17mesa: set version to 7.5Brian Paul
2009-07-16texenv: Calculate whether we need to do secondary color on our own.Eric Anholt
The _TriangleCaps bit is deprecated, not updated when we require, and is set based on state that hasn't been updated at that point in _mesa_update_state_locked(). Fixes incorrect clear color in glsl/twoside.c with meta_clear_tris.
2009-07-15Fix state flag dependencies for fixed function fragment program updates.Brian Paul
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)
2009-07-15mesa: recognize and eliminate repeated error messagesKeith Whitwell
2009-07-15mesa: split out errorstring switch from _mesa_errorKeith Whitwell
Move a chunk of code out of _mesa_error()