Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-30 | mesa: add new query/buffer targets for transform feedback | Brian Paul | |
2010-03-30 | mesa: 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-22 | mesa: remove return, do as the comment says | Brian Paul | |
2010-03-20 | mesa: added new GL3 buffer object queries | Brian Paul | |
And clean up the error checking code. | |||
2010-03-05 | Always return VOLATILE for ObjectPurgeable(VOLATILE) | Chris Wilson | |
Fixes fdo bug 26128. The spec mandates that VOLATILE is returned from ObjectPurgeable(VOLATILE) irrespective of the actual status of the object upon completion of marking it purgeable. Conform to the spec, even though it seems wrong. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> | |||
2010-03-05 | mesa: whitespace fixes, 80-column wrapping, etc. | Brian Paul | |
2010-03-05 | APPLE_object_purgeable: core | Chris Wilson | |
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> | |||
2010-02-19 | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | |
2010-02-19 | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | |
2010-02-19 | mesa: replace _mesa_bzero() with memset() | Brian Paul | |
2010-02-19 | Remove _mesa_memcpy in favor of plain memcpy. | Kenneth Graunke | |
This may break the SUNOS4 build, but it's no longer relevant. | |||
2010-02-09 | mesa: 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-09 | mesa: Protect buffer objects reference counting with a mutex. | Michal Krol | |
2010-01-02 | mesa: added _mesa_GetBufferParameteri64v() | Brian Paul | |
This is a new function in GL 3.2. No dispatch for this function yet. | |||
2009-10-27 | mesa: code refactoring to eliminate a switch stmt in bind_buffer_object() | Brian Paul | |
2009-09-22 | mesa: fix more buffer object error messages | Brian Paul | |
2009-09-03 | mesa: combined PBO validate/map helpers | Brian Paul | |
2009-09-03 | mesa: consolidate PBO map/unmap helpers | Brian Paul | |
Instead of _mesa_map_readpix_pbo() use _mesa_map_pbo_source(). Instead of _mesa_map_drawpix_pbo() and _mesa_map_bitmap_pbo() use _mesa_map_pbo_dest(). | |||
2009-09-03 | mesa: change ctx->Driver.BufferData() to return GLboolean for success/failure | Brian Paul | |
Return GL_FALSE if we failed to allocate the buffer. Then raise GL_OUT_OF_MEMORY in core Mesa. | |||
2009-08-31 | mesa: set additional fields in _mesa_buffer_map_range() | Brian Paul | |
2009-08-31 | mesa: set Length/Offset fields in _mesa_buffer_map() | Brian Paul | |
2009-08-31 | mesa: additional assertions for ctx->Driver.UnmapBuffer() | Brian Paul | |
The Pointer, Offset and Lenght fields should be cleared by the driver function since ctx->Driver.Unmap() may be called from VBO code, etc. | |||
2009-08-31 | mesa: new assertions, comments about buffer mapping | Brian Paul | |
Since ctx->Driver.MapBuffer() and ctx->Driver.MapBufferRange() may be called from other places in Mesa (such as VBO) it's important that the driver callbacks set all the buffer object fields properly (Pointer, Offset, Length, etc). Add assertions to make sure that the driver does that. | |||
2009-08-12 | mesa: use _mesa_is_bufferobj() | Brian Paul | |
2009-08-07 | mesa: use _mesa_bufferobj_mapped() | Brian Paul | |
2009-06-19 | mesa: make buffer object-related driver fallback functions static | Brian Paul | |
Plug them in via _mesa_init_buffer_object_functions(). | |||
2009-06-15 | Merge branch 'arb_map_buffer_range' | Brian Paul | |
Conflicts: docs/relnotes-7.6.html src/mesa/main/mtypes.h | |||
2009-06-12 | mesa: use _mesa_reference_buffer_object() in a few places | Brian Paul | |
2009-06-09 | mesa: added a simple bounds checker to glMap/UnmapBuffer() (disabled) | Brian Paul | |
2009-06-08 | mesa: implement GL_ARB_map_buffer_range | Brian Paul | |
Only enabled for software drivers at this point. Note that the gl_buffer_object::Access enum field has been replaced by a gl_buffer_object::AccessFlags bitfield. The new field is a mask of the GL_MAP_x_BIT flags which is a superset of the old GL_READ_ONLY, GL_WRITE_ONLY and GL_READ_WRITE modes. When we query GL_BUFFER_ACCESS_ARB we translate the bitfield into the conventional enum values. | |||
2009-06-03 | mesa: added buffer object debug code (disabled) | Brian Paul | |
2009-06-02 | mesa: fix error test mistake in _mesa_CopyBufferSubData() | Brian Paul | |
2009-06-02 | mesa: _mesa_CopyBufferSubData() function, and driver fall-back | Brian Paul | |
2009-05-22 | mesa: use Elements() for loop bound | Brian Paul | |
2009-05-22 | mesa: minor code simplification | Brian Paul | |
2009-05-21 | mesa: remove pointless null ptr check, improved some error messages | Brian Paul | |
2009-05-07 | mesa: move the NullBufferObj from GLcontext to gl_shared_state | Brian 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-07 | mesa: fix comments, s/texture/buffer/ | Brian Paul | |
2009-05-07 | mesa: remove unused gl_buffer_object::OnCard field | Brian Paul | |
2009-05-07 | mesa: added gl_buffer_object::Written flag (for debug purposes) | Brian Paul | |
The flag is set when we data has been written into the buffer object. | |||
2009-05-07 | mesa: Compute gl_client_array->_MaxElement during array validation | Brian Paul | |
Used to be done in the glVertex/Normal/Color/etc/Pointer() calls but if the VBO was reallocated the size could change. New _NEW_BUFFER_OBJECT state flag. | |||
2009-02-27 | mesa: set bufObj->Pointer = NULL after unmapping | Brian Paul | |
Also, ctx->Driver.UnmapBuffer can never be null, so remove conditional. | |||
2009-02-27 | mesa: if a buffer object is mapped when glDeleteBuffers() is called, unmap it | Brian Paul | |
2009-02-27 | mesa: updated comments | Brian Paul | |
2009-02-27 | mesa: fix incorrect error handling in glBufferDataARB() | Brian Paul | |
If glBufferDataARB() is called while a buffer object is currently mapped we're supposed to unmap the current buffer, then replace it. Don't generate an error. | |||
2009-01-02 | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | |
Conflicts: src/mesa/main/ffvertex_prog.c src/mesa/main/texenvprogram.c | |||
2008-12-31 | mesa: increase max texture image units and GLSL samplers to 16 | Brian Paul | |
The max texture coord units is still 8. All the fixed-function paths are still limited to 8 too. But GLSL shaders can use more samplers now. Note that some texcoord-related data structures are declared to be 16 elements in size rather than 8. This just simplifies the code in a few places; the extra elements aren't accessible to the user. These changes haven't been extensively tested yet, but sanity checking has been done. It should be possible to increase the max image units/samplers to 32 without doing anything special. Beyond that we'll need longer bitfields in a few places. | |||
2008-09-26 | mesa: fix default buffer object access value | Brian Paul | |
2008-09-18 | Merge commit 'origin/master' into gallium-0.2 | Keith Whitwell | |
Conflicts: progs/trivial/Makefile src/mesa/glapi/glthread.c | |||
2008-09-15 | mesa: remove some assertions that are invalid during context tear-down | Brian Paul | |