summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Move API specific context intialization into context.cKristian Høgsberg2010-04-222-6/+25
|
* mesa: Track the OpenGL API we're implementing in the contextKristian Høgsberg2010-04-223-11/+65
| | | | | | | | | | | | | | | | 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.
* mesa: do version checking for GL 3.x queriesBrian Paul2010-04-202-8/+74
|
* mesa: API and state for GL 3.1 primitive restartBrian Paul2010-04-206-0/+76
|
* mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK queryBrian Paul2010-04-204-5/+27
|
* mesa: remove some commentsBrian Paul2010-04-201-12/+10
|
* mesa: better, smaller error handling code for glGet*()Brian Paul2010-04-202-623/+645
| | | | get.o is about 17% smaller.
* mesa: better, smaller error handling code for glEnable/Disable/IsEnabled()Brian Paul2010-04-201-24/+29
| | | | | Use a goto instead of replicating the _mesa_error() call many times. enable.o is about 15% smaller.
* mesa: raise GL_INVALID_OPERATION for glReadPixels(GL_COLOR_INDEX)Brian Paul2010-04-201-0/+6
| | | | We no longer support CI-mode color buffers so this is always an error.
* Merge branch '7.8'Jesse Barnes2010-04-192-3/+6
|\
| * mesa: Fix build with gcc 3.3.Matthieu Herrb2010-04-192-3/+6
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
* | mesa: Add missing format specifiers in error strings.Vinson Lee2010-04-151-13/+13
| |
* | ffvertex: don't touch tex coords if coord replace is enabled.Dave Airlie2010-04-131-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | Fix copyright headers.Chia-I Wu2010-04-102-10/+12
| | | | | | | | | | | | 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.
* | Merge remote branch 'origin/7.8'Dave Airlie2010-04-082-18/+30
|\| | | | | | | | | | | | | Conflicts: Makefile configs/default src/mesa/main/version.h
| * texenvprogram: fix for ARB_draw_buffers.Dave Airlie2010-04-081-15/+28
| | | | | | | | | | | | | | 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 <[email protected]>
| * mesa: set version string to 7.8.1Ian Romanick2010-04-051-2/+2
| |
| * mesa: update_arrays() depends on program state.Henri Verbeet2010-04-051-3/+2
| | | | | | | | | | | | It uses ctx->VertexProgram._Current. Signed-off-by: Brian Paul <[email protected]>
* | mesa: Add OES_EGL_image to extension list.Chia-I Wu2010-04-064-0/+18
| |
* | mesa: remove unused varBrian Paul2010-04-051-2/+1
| | | | | | | | Fixes a coverity warnings.
* | mesa: check for _NEW_BUFFERS for color read format queriesBrian Paul2010-04-052-2/+18
| |
* | mesa: don't turn on GL_EXT_transform_feedback yetBrian Paul2010-04-041-1/+1
| |
* | mesa: implement core Mesa support for GL_ARB_draw_instancedBrian Paul2010-04-043-0/+28
| |
* | mesa: new validation functions for GL_ARB_draw_instancedBrian Paul2010-04-042-1/+116
| |
* | mesa: new extension flag for GL_EXT/ARB_draw_instancedBrian Paul2010-04-042-0/+3
| |
* | glapi: regenerated files for GL_ARB_draw_instancedBrian Paul2010-04-041-956/+991
| |
* | mesa: display list support for GL_EXT_transform_feedbackBrian Paul2010-04-021-1/+48
| |
* | mesa: plug in GL_EXT_transform_feedback functions into dispatchBrian Paul2010-04-021-0/+13
| |
* | glapi: regenerated files for EXT_transform_feedbackBrian Paul2010-04-022-3476/+3576
| |
* | mesa: minor fixes in _mesa_GetTransformFeedbackVarying()Brian Paul2010-04-011-1/+10
| |
* | mesa: Remove unnecessary header.Vinson Lee2010-03-311-1/+0
| |
* | mesa: Use a consistent name of the external s3tc library for all windows ↵José Fonseca2010-03-311-1/+1
| | | | | | | | compilers.
* | mesa: added glGet queries for transform_feedbackBrian Paul2010-03-302-0/+185
| |
* | mesa: added glEnable/Disable state for transform feedbackBrian Paul2010-03-301-0/+16
| |
* | mesa: add new query/buffer targets for transform feedbackBrian Paul2010-03-302-0/+19
| |
* | mesa: plug in transform feedback functions, set limitsBrian Paul2010-03-301-0/+8
| |
* | mesa: initial check-in of transform feedback functionsBrian Paul2010-03-302-0/+498
| |
* | mesa: add EXT_transform_feedback to extension listBrian Paul2010-03-301-0/+4
| |
* | mesa: initial data structures for transform feedbackBrian Paul2010-03-303-0/+49
| |
* | mesa: simplify query code with get_query_binding_point()Brian Paul2010-03-301-71/+47
| |
* | Merge branch '7.8'Michel Dänzer2010-03-301-12/+24
|\| | | | | | | | | | | | | | | Conflicts: Makefile src/mesa/main/version.h Resolved by keeping version strings from master (also in the intel driver).
| * mesa: set version string to 7.8Ian Romanick2010-03-281-1/+1
| | | | | | | | Also set the correct release date.
| * mesa: move/update hash function commentsBrian Paul2010-03-271-6/+11
| | | | | | | | (cherry picked from commit 535742d75f0096b22d1b8ff203ae561167af18f7)
| * mesa: fix deadlock in _mesa_HashFindFreeKeyBlock()Brian Paul2010-03-271-6/+13
| | | | | | | | | | Fixes fd.o bug 27340. (cherry picked from commit 8fe3b3f66ae57a1a6eca7f6dcb0455e14ad92075)
| * mesa: set version string to 7.8-rc27.8-rc2Ian Romanick2010-03-221-1/+1
| |
* | mesa: Add missing features.Chia-I Wu2010-03-306-8/+12
| | | | | | | | | | | | | | 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".
* | mesa: Add umbrella features.Chia-I Wu2010-03-301-51/+68
| | | | | | | | | | | | | | 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.
* | mesa: only call _mesa_update_state() when necessary in glGet functionsBrian Paul2010-03-262-544/+594
| | | | | | | | | | | | | | | | | | | | | | 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.
* | mesa: Also print _NEW_STENCIL in _mesa_print_state()Kristian Høgsberg2010-03-231-1/+2
| |
* | Merge branch '7.8'Brian Paul2010-03-221-1/+1
|\| | | | | | | | | | | | | Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/mesa/state_tracker/st_cb_drawpixels.c