summaryrefslogtreecommitdiff
path: root/src/mesa/main/shared.c
AgeCommit message (Collapse)Author
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-09-14mesa: Less FEATURE_ARB_sync tests.Chia-I Wu
Add dummy static inline definitions to syncobj.h when FEATURE_ARB_sync is 0, and remove most FEATURE_ARB_sync tests.
2010-08-27mesa: free the fallback texture object in free_shared_state()Brian Paul
2010-07-29mesa: Remove unnecessary headers.Vinson Lee
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul
2010-06-10mesa: move atifragshader.[ch] to main/Brian Paul
2010-06-10mesa: refactor shader api / object codeBrian Paul
Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-09mesa: Enable true refcounting for NullBufferObj.Michal Krol
This object can be shared with another context, so we cannot just delete it when the owning context is being destroyed. Ensuring that buffer objects are properly refcounted guarantees NullBufferObj is destroyed when all references to it are removed.
2010-02-09mesa: Fix null buffer object reference counting.José Fonseca
Always use _mesa_reference_buffer_object, and never call ctx->Driver.DeleteBuffer() directly to prevent dangling pointers to the null buffer object. This fixes crash/assertions in sharedtex_mt and Autodesk Mudbox.
2010-02-09mesa: Always do proper ref counting of shared state.José Fonseca
2009-09-30mesa/main: Make FEATURE_dlist follow feature conventions.Chia-I Wu
As shown in mfeatures.h, this allows users of dlist.h to work without knowing if the feature is available.
2009-09-03ARB sync: Fix delete behavior and context destruction behaviorIan Romanick
I believe this resolves the outstanding issues WRT sync object deletetion. I have also added a large comment at the top of syncobj.c describing the expected memory management behavior. I'm still a little uncertain about the locking on ctx->Shared.
2009-08-08mesa: use _mesa_bufferobj_mapped()Brian Paul
2009-06-19mesa: move vertex array objects from shared state to per-contextBrian Paul
The ARB version requires VAOs to be per-context while the Apple extension was ambiguous.
2009-06-19mesa: create/destroy buffer objects via driver functionsBrian Paul
2009-06-12mesa: use larger initial refcount for NullBufferObjBrian Paul
Refcounting of the null/default buffer object isn't perfect yet so be extra safe.
2009-05-07mesa: move the NullBufferObj from GLcontext to gl_shared_stateBrian Paul
Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state.
2009-05-07mesa: unmap buffer objects during context tear-downBrian Paul
2009-04-08mesa: Don't attempt to free the dummy program.José Fonseca
2009-03-17mesa: update/fix doxygen commentsVinson Lee
2009-03-07mesa: move shared context state functions to new shared.c fileBrian Paul