summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2010-04-22mesa: Track the OpenGL API we're implementing in the contextKristian Høgsberg
This introduces a new way to create or initialize a context: _mesa_create_context_for_api and _mesa_initialize_context_for_api which in addition to the current arguments take an api enum to indicate which OpenGL API the context should implement. At this point the API field in GLcontext isn't used anywhere, but later commits will key certain functionality off of it. The _mesa_create_context and _mesa_initialize_context functions are kept in place as wrappers around the *_for_api versions, passing in API_OPENGL to get the same behavior as before.
2010-04-20mesa: do version checking for GL 3.x queriesBrian Paul
2010-04-20mesa: API and state for GL 3.1 primitive restartBrian Paul
2010-04-20mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK queryBrian Paul
2010-04-20mesa: remove some commentsBrian Paul
2010-04-20mesa: better, smaller error handling code for glGet*()Brian Paul
get.o is about 17% smaller.
2010-04-20mesa: better, smaller error handling code for glEnable/Disable/IsEnabled()Brian Paul
Use a goto instead of replicating the _mesa_error() call many times. enable.o is about 15% smaller.
2010-04-20mesa: raise GL_INVALID_OPERATION for glReadPixels(GL_COLOR_INDEX)Brian Paul
We no longer support CI-mode color buffers so this is always an error.
2010-04-19Merge branch '7.8'Jesse Barnes
2010-04-19mesa: Fix build with gcc 3.3.Matthieu Herrb
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-15mesa: Add missing format specifiers in error strings.Vinson Lee
2010-04-13ffvertex: don't touch tex coords if coord replace is enabled.Dave Airlie
The fixed function vertex program shouldn't need to deal or touch tex coords if stuffing is enabled. Though I'm not 100% this won't break assumption made elsewhere it seems like the correct thing to do, and makes r300g point sprites a lot easier to implement. draw: fix point-sprite when vertex program is used. This commit regressed draw, so fix it as well to help bisection. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-10Fix copyright headers.Chia-I Wu
Update the warranty disclaimer to use the more general "THE AUTHORS OR COPYRIGHT HOLDERS". This is done manually on files created by me. Hope that I do not miss anything.
2010-04-08Merge remote branch 'origin/7.8'Dave Airlie
Conflicts: Makefile configs/default src/mesa/main/version.h
2010-04-08texenvprogram: fix for ARB_draw_buffers.Dave Airlie
piglit has a test called fbo-drawbuffers, this fails for me on r300g, and fixing the texenv program to use the DATA outputs fixes it. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-06mesa: Add OES_EGL_image to extension list.Chia-I Wu
2010-04-05mesa: set version string to 7.8.1Ian Romanick
2010-04-05mesa: update_arrays() depends on program state.Henri Verbeet
It uses ctx->VertexProgram._Current. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-05mesa: remove unused varBrian Paul
Fixes a coverity warnings.
2010-04-05mesa: check for _NEW_BUFFERS for color read format queriesBrian Paul
2010-04-04mesa: don't turn on GL_EXT_transform_feedback yetBrian Paul
2010-04-04mesa: implement core Mesa support for GL_ARB_draw_instancedBrian Paul
2010-04-04mesa: new validation functions for GL_ARB_draw_instancedBrian Paul
2010-04-04mesa: new extension flag for GL_EXT/ARB_draw_instancedBrian Paul
2010-04-04glapi: regenerated files for GL_ARB_draw_instancedBrian Paul
2010-04-02mesa: display list support for GL_EXT_transform_feedbackBrian Paul
2010-04-02mesa: plug in GL_EXT_transform_feedback functions into dispatchBrian Paul
2010-04-02glapi: regenerated files for EXT_transform_feedbackBrian Paul
2010-04-01mesa: minor fixes in _mesa_GetTransformFeedbackVarying()Brian Paul
2010-03-31mesa: Remove unnecessary header.Vinson Lee
2010-03-31mesa: Use a consistent name of the external s3tc library for all windows ↵José Fonseca
compilers.
2010-03-30mesa: added glGet queries for transform_feedbackBrian Paul
2010-03-30mesa: added glEnable/Disable state for transform feedbackBrian Paul
2010-03-30mesa: add new query/buffer targets for transform feedbackBrian Paul
2010-03-30mesa: plug in transform feedback functions, set limitsBrian Paul
2010-03-30mesa: initial check-in of transform feedback functionsBrian Paul
2010-03-30mesa: add EXT_transform_feedback to extension listBrian Paul
2010-03-30mesa: initial data structures for transform feedbackBrian Paul
2010-03-30mesa: simplify query code with get_query_binding_point()Brian Paul
2010-03-30Merge branch '7.8'Michel Dänzer
Conflicts: Makefile src/mesa/main/version.h Resolved by keeping version strings from master (also in the intel driver).
2010-03-30mesa: Add missing features.Chia-I Wu
Add features tested in the code but missing from mfeatures.h. This also fixes some tests of features. They should be tested with "#if", not "#ifdef".
2010-03-30mesa: Add umbrella features.Chia-I Wu
Add FEATURE_GL, FEATURE_ES1, and FEATURE_ES2 for OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x respectively. Define individual features through the new umbrella features. There is no real change introduced by this commit.
2010-03-28mesa: set version string to 7.8Ian Romanick
Also set the correct release date.
2010-03-27mesa: move/update hash function commentsBrian Paul
(cherry picked from commit 535742d75f0096b22d1b8ff203ae561167af18f7)
2010-03-27mesa: fix deadlock in _mesa_HashFindFreeKeyBlock()Brian Paul
Fixes fd.o bug 27340. (cherry picked from commit 8fe3b3f66ae57a1a6eca7f6dcb0455e14ad92075)
2010-03-26mesa: only call _mesa_update_state() when necessary in glGet functionsBrian Paul
Only a few state vars require state validation before querying them. This potentially speeds up state queries. Encode that info into the state tuple table. Also, use the new tuple field to indicate when FLUSH_CURRENT() must be called to validate other state vars. Based on a patch submitted by Robert Bragg on Feb 12, 2010.
2010-03-23mesa: Also print _NEW_STENCIL in _mesa_print_state()Kristian Høgsberg
2010-03-22mesa: set version string to 7.8-rc2Ian Romanick
2010-03-22Merge branch '7.8'Brian Paul
Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/mesa/state_tracker/st_cb_drawpixels.c
2010-03-22mesa: remove return, do as the comment saysBrian Paul