summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2006-06-13clean-ups and new commentsBrian Paul
2006-06-13fix size assertions in _mesa_init_teximage_fields()Brian Paul
2006-06-12s/buffer/arrays/Brian Paul
2006-06-12include arrayobj.hBrian Paul
2006-06-12remove unused varBrian Paul
2006-06-12Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick
and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required.
2006-06-03Added simple lookup_bufferobj() function to wrap the _mesa_HashLookup() callBrian Paul
and cast. Simplifies the code a little bit elsewhere.
2006-06-02minor clean-upsBrian Paul
2006-06-02set per-context GL_DRAW_BUFFER state regardless of currently bound FBOBrian Paul
2006-06-02fix depth-component test to allow rectangular texturesBrian Paul
2006-05-30remove redundant 'const'Brian Paul
2006-05-24The ctx->_TexEnvProgram that's allocated in update_state() doesn't seem toBrian Paul
be needed (it's set in texenvprogram.c) and is a memory leak according to valgrind. Disable with #if 0 / #endif
2006-05-24added _mesa_align_realloc()Brian Paul
2006-05-23Add const qualifiers in a number of places.Brian Paul
2006-05-23In cache_item(), there was sizeof(void) expression.Brian Paul
Replace void *key parameter with const struct state_key *
2006-05-22memory usage fixes for glean/conform, use a better hash functionKeith Whitwell
2006-05-22Fix typoKeith Whitwell
2006-05-22Better caching for texenv programs.Keith Whitwell
Initialize some values correctly.
2006-05-22Speedup the venerable mm.[ch] allocator with doubly linked lists and aKeith Whitwell
separate list of free segments.
2006-05-20In gl_texture_image, replace ImageStride with an ImageOffsets array.Brian Paul
Some hardware lays out 3D mipmaps in a manner that can't be expressed with a simple image stride. The ImageOffsets array is allocated and initialized to typical defaults in the _mesa_init_teximage_fields() function. If needed, a driver will then have to replace these offsets. TexStore and TexelFetch routines updated to use offsets array.
2006-05-20remove some redundant functions, fix-up reference countingBrian Paul
2006-05-20use new _mesa_dereference_frame/renderbuffer() functionsBrian Paul
2006-05-20Added _mesa_remove_renderbuffer() as a counterpart to _mesa_add_renderbuffer().Brian Paul
Added _mesa_dereference_renderbuffer() to encapsulate renderbuffer reference count decrement, delete, locking.
2006-05-20Added _mesa_dereference_framebuffer() to encapsulate reference countBrian Paul
decrement, delete and locking.
2006-05-19remove an assertionBrian Paul
2006-05-19install renderbuffer adaptors when color channel sizes need to be reducedBrian Paul
2006-05-19added rbadaptors.cBrian Paul
2006-05-19Renderbuffer adaptors.Brian Paul
When compiling Mesa with CHAN_BITS=16 or 32, these adaptors allow rendering into color buffers with smaller channel sizes.
2006-05-15Added a check_context_limits() function that checks that the ctx->Const.*Brian Paul
fields are legal. May catch some driver development bugs. Called the first time a context is bound.
2006-05-14s/GLbyte/GLubyte/Brian Paul
2006-05-10Clean up previous change slightlyKeith Whitwell
2006-05-10Use a (much!) larger executable memory heap so that the glsl x86Keith Whitwell
allocations succeed. I'm not sure this is really necessary...
2006-05-09Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whetherBrian Paul
all formats or just those without restrictions/limitations should be returned. We want all when validating the internalFormat parameter to glCompressedTexImage2D but only want unrestricted formats when handling the GL_COMPRESSED_TEXTURE_FORMATS query.
2006-05-09use _mesa_compressed_texture_size() for GL_TEXTURE_COMPRESSED_IMAGE_SIZE queryBrian Paul
2006-05-08two more texture compression fixesBrian Paul
2006-05-08More updates for texture compression.Brian Paul
Added _mesa_compressed_texture_size_glenum() for validating the imageSize parameter to glCompressedTex[Sub]Image1/2/3() which does _not_ call ctx->Driver.CompressedTextureSize() - since that could return a padded size.
2006-05-08Fix a number of texture compression issues.Brian Paul
Pass the MESA_FORMAT_* token to the _mesa_compressed_row_stride(), _mesa_compressed_texture_size() and _mesa_compressed_image_address() functions since we want to use the driver-chosen format, not the user's internalFormat hint. Consolidate code related to choosing the texture format in texstoree.c
2006-05-07misc clean-upsBrian Paul
2006-05-05check for float->uint overflow in _mesa_unpack_depth_span()Brian Paul
2006-05-05Define VERT_RESULT_EDGEKeith Whitwell
2006-04-27fixes for CHAN_BITS!=8Brian Paul
2006-04-26fix a few stride computations in _mesa_texstore_rgba()Brian Paul
2006-04-26remove _glthread_INIT_MUTEX() callBrian Paul
2006-04-25Remove carriage returns.Michal Krol
2006-04-25Put color index attribute into the 6th attribute slot.Brian Paul
Update a lot of loops, conditionals to use the _TNL_FIRST/LAST_* values instead of specific vertex attributes. Remove the EdgeFlagv function from the GLvertexformat struct.
2006-04-25No longer alias generic vertex attribs with conventional attribs for ↵Brian Paul
GL_ARB_vertex_program.
2006-04-23updated assertionBrian Paul
2006-04-22Fix yet another issue with popping GL_DRAW_BUFFER state with respect toBrian Paul
single vs. multiple outputs and what kind of FBO is currently bound.
2006-04-21pass color index as float, not intBrian Paul
2006-04-20Make most of the _mesa_noop_*() functions static.Brian Paul
Generate GL_INVALID_VALUE, not GL_INVALID_ENUM when glVertexAttrib is called with a bad index. Use _mesa_noop_vtxfmt_init() in DRI drivers to initialize vertex format struct.