aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shared.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: 80-column wrapping and whitespace fixesBrian Paul2011-04-131-3/+3
|
* mesa: alloc/free shared sampler objectsBrian Paul2011-04-101-0/+27
|
* mesa: core support for GL_ARB_texture_buffer_objectBrian Paul2011-04-051-0/+2
| | | | No GLSL or driver support yet.
* mesa: Directly include mfeatures.h in files that perform feature tests.Vinson Lee2011-01-071-0/+1
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-10/+10
|
* mesa: Less FEATURE_ARB_sync tests.Chia-I Wu2010-09-141-6/+0
| | | | | Add dummy static inline definitions to syncobj.h when FEATURE_ARB_sync is 0, and remove most FEATURE_ARB_sync tests.
* mesa: free the fallback texture object in free_shared_state()Brian Paul2010-08-271-0/+4
|
* mesa: Remove unnecessary headers.Vinson Lee2010-07-291-1/+0
|
* mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-101-1/+1
|
* mesa: move atifragshader.[ch] to main/Brian Paul2010-06-101-3/+3
|
* mesa: refactor shader api / object codeBrian Paul2010-06-101-3/+3
| | | | | Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-1/+1
|
* mesa: Enable true refcounting for NullBufferObj.Michal Krol2010-02-091-6/+0
| | | | | | | | 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.
* mesa: Fix null buffer object reference counting.José Fonseca2010-02-091-6/+8
| | | | | | | | 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.
* mesa: Always do proper ref counting of shared state.José Fonseca2010-02-091-2/+29
|
* mesa/main: Make FEATURE_dlist follow feature conventions.Chia-I Wu2009-09-301-4/+0
| | | | | As shown in mfeatures.h, this allows users of dlist.h to work without knowing if the feature is available.
* ARB sync: Fix delete behavior and context destruction behaviorIan Romanick2009-09-031-1/+18
| | | | | | | 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.
* mesa: use _mesa_bufferobj_mapped()Brian Paul2009-08-081-1/+1
|
* mesa: move vertex array objects from shared state to per-contextBrian Paul2009-06-191-17/+0
| | | | | The ARB version requires VAOs to be per-context while the Apple extension was ambiguous.
* mesa: create/destroy buffer objects via driver functionsBrian Paul2009-06-191-2/+2
|
* mesa: use larger initial refcount for NullBufferObjBrian Paul2009-06-121-1/+1
| | | | | Refcounting of the null/default buffer object isn't perfect yet so be extra safe.
* mesa: move the NullBufferObj from GLcontext to gl_shared_stateBrian Paul2009-05-071-0/+12
| | | | | Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state.
* mesa: unmap buffer objects during context tear-downBrian Paul2009-05-071-0/+4
|
* mesa: Don't attempt to free the dummy program.José Fonseca2009-04-081-3/+5
|
* mesa: update/fix doxygen commentsVinson Lee2009-03-171-1/+1
|
* mesa: move shared context state functions to new shared.c fileBrian Paul2009-03-071-0/+356