summaryrefslogtreecommitdiff
path: root/src/mesa/main/context.c
AgeCommit message (Collapse)Author
2008-10-14mesa: modify fixed function vertex programs not to reference constant attributesKeith Whitwell
2008-09-25mesa: fix/simplify initialization of vertex/fragment program limitsBrian Paul
Defaults for program length, num ALU instructions, num indirections, etc. basically indicate no limit for software rendering. Driver should override as needed.
2008-08-19mesa: allow for extra per-context initBrian Paul
2008-08-08mesa: fix some feature testsBrian Paul
2008-08-03added null ptr check (fix bug 16959)Brian Paul
2008-07-04mesa: Implement mutex/locking around texture object reference counting.Brian Paul
Use new _mesa_reference_texobj() function for referencing/unreferencing textures. Add new assertions/tests to try to detect invalid usage of deleted textures. cherry-picked from master (9e01b915f1243a3f551cb795b7124bd1e52ca15f)
2008-07-03mesa: fix problem freeing framebuffer/renderbuffer objectsBrian Paul
Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer obj
2008-06-20mesa: init ctx->RenderModeBrian Paul
2008-06-20mesa: fix some FEATURE_x testsBrian Paul
2008-06-20mesa: test for FEATURE_ATI_fragment_shaderBrian Paul
2008-06-18mesa: fix ReadBuffer initializationBrian Paul
2008-06-18mesa: FEATURE_dispatch to control dispatch table usageBrian Paul
2008-06-13mesa: move some glapi bits aroundBrian Paul
Move _glapi_proc typedef from glapitable.h to glapi.h Also, don't include glapitable.h from glapi.h Before we were including the huge glapitable.h file in every .c file.
2008-06-13mesa: remove some temp debug codeBrian Paul
2008-06-13mesa: check FEATURE_ARB_occlusion_queryBrian Paul
2008-06-12mesa: add some #if FEATURE_x testsBrian Paul
2008-06-10mesa: refactor: move #define FEATURE flags into new mfeatures.h fileBrian Paul
Also, check the FEATURE flags in many places.
2008-06-09mesa: refactor: move multisample-related functions into new multisample.c fileBrian Paul
2008-06-09mesa: refactor: move scissor functions into new scissor.c fileBrian Paul
2008-06-09mesa: refactor: move _mesa_init_exec_table() into new api_exec.c fileBrian Paul
2008-06-09mesa: refactor: new _mesa_init_pixelstore() functionBrian Paul
2008-06-09mesa: chmod a-x context.cBrian Paul
2008-05-31mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca
2008-05-19Fix program refcounting assertion failure during context tear-downBrian Paul
When purging the program hash table, the refcount _should_ be one since the program is referenced by the hash table. Need to explicitly set to zero before calling delete(). Also, purge high-level shader hash tables before low-level program hash tabl cherry-picked from master
2008-05-06mesa: free shader program data before deleting shader objects.Brian
Picked from master. Fixes mem corruption seen when glean/api2 test exits.
2008-05-06gallium: implement full reference counting for vertex/fragment programsBrian
Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed...
2008-05-01Fix build problem with MSVCAlan Hourihane
2008-03-22delete default programs with ctx->Driver.DeleteProgram()Brian
2008-01-01free Default1D/2DArray objectsBrian
2007-11-01disable the driverContext assertionsBrian
2007-10-19call Driver.Flush() in _mesa_notifySwapBuffers()Brian
2007-07-19fix mesa's handling of fbo's / window fb (again)Roland Scheidegger
Make sure the relevant fields in window fbs get updated at appropriate time (those are NOT the same as fbos!!!), and fix up related code accordingly. This is a bit ugly, but there's a reason the issues section in EXT_fbo is a couple hundred pages long... Hopefully correct now.
2007-07-19more fixes for mesa's fbo handling (fixes tests/fbotest1/2)Roland Scheidegger
2007-07-16fix bogus fb/drawable informationRoland Scheidegger
the framebuffer objects attached to drawables can have invalidate state associated with them, since for the window framebuffer this is per-context state and not per-fbo state. Since drivers rely on that information (otherwise would need to check if currently the window-framebuffer is bound in a lot of places) fix it up in _mesa_make_current (ugly). (Brought over from i915tex_privbuffers, where it fixes xdemos/wincopy when switching to front buffer rendering.)
2007-07-04Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian
of -I flags.
2007-06-11In generic_nop() call _mesa_warning() instead of _mesa_problem() since it's ↵Brian
an app issue, not a mesa bug.
2007-06-08disable depthBits test in check_compatible(), see bug 11161Brian
2007-05-16Initial implementation of MESA_texture_arrayIan Romanick
Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
2007-04-21Rename occlude.[ch] to queryobj.[ch]Brian
2007-04-18s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token)Brian
2007-04-16Use generic program limits instead of NV-specific ones to init program ↵Brian
constants. Previously, this limited us to 12 temp regs for vertex programs. Many vertex shaders could exceed that. This forces us to stop using t_vb_arbprogram.c for now because of its particular register indexing scheme. Need to increase bits allocated for register indexing, etc.
2007-04-14more _mesa_unreference_framebuffer() calls, remove dead codeBrian
2007-04-04Remove the never-used SI-style imports/exports code.Brian
2007-03-27Restore the UseTexEnvProgram logic.Brian
Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders...
2007-03-24Free shader-related context state: _mesa_free_shader_state()Brian
2007-03-09Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/context.c
2007-03-06Fix/improve framebuffer object reference counting.Brian
Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions to be sure reference counting is done correctly. Additional assertions are done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as that's more accurate.
2007-02-26Do proper framebuffer refcounting in _mesa_make_current().Brian
Also, added DeletePending field to gl_framebuffer used when a window has been deleted, but there still may be rendering contexts attached to the gl_framebuffer object.
2007-02-22Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c
2007-02-02Merge branch 'vbo-0.2'Keith Whitwell
Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c