summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* If DrawBuffer isn't set, return immediatelyAlan Hourihane2006-06-191-0/+3
|
* OpenVMS compile support updateJouk Jansen2006-06-161-0/+3
| | | | | | Modified Files: Mesa/src/mesa/main/descrip.mms ----------------------------------------------------------------------
* added some comments, braces in _mesa_BindTextureBrian Paul2006-06-151-2/+5
|
* minor clean-upsBrian Paul2006-06-151-9/+4
|
* comments for gl_array_object structBrian Paul2006-06-151-3/+9
|
* clean-ups and new commentsBrian Paul2006-06-131-9/+19
|
* fix size assertions in _mesa_init_teximage_fields()Brian Paul2006-06-131-3/+3
|
* s/buffer/arrays/Brian Paul2006-06-121-7/+5
|
* include arrayobj.hBrian Paul2006-06-121-0/+1
|
* remove unused varBrian Paul2006-06-121-2/+0
|
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-1219-544/+1042
| | | | | | | 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.
* Added simple lookup_bufferobj() function to wrap the _mesa_HashLookup() callBrian Paul2006-06-031-79/+86
| | | | and cast. Simplifies the code a little bit elsewhere.
* minor clean-upsBrian Paul2006-06-021-20/+21
|
* set per-context GL_DRAW_BUFFER state regardless of currently bound FBOBrian Paul2006-06-021-6/+4
|
* fix depth-component test to allow rectangular texturesBrian Paul2006-06-021-2/+4
|
* remove redundant 'const'Brian Paul2006-05-301-1/+1
|
* The ctx->_TexEnvProgram that's allocated in update_state() doesn't seem toBrian Paul2006-05-241-1/+2
| | | | | | be needed (it's set in texenvprogram.c) and is a memory leak according to valgrind. Disable with #if 0 / #endif
* added _mesa_align_realloc()Brian Paul2006-05-242-0/+23
|
* Add const qualifiers in a number of places.Brian Paul2006-05-232-16/+17
|
* In cache_item(), there was sizeof(void) expression.Brian Paul2006-05-231-1/+1
| | | | Replace void *key parameter with const struct state_key *
* memory usage fixes for glean/conform, use a better hash functionKeith Whitwell2006-05-222-30/+51
|
* Fix typoKeith Whitwell2006-05-221-1/+1
|
* Better caching for texenv programs.Keith Whitwell2006-05-224-18/+71
| | | | Initialize some values correctly.
* Speedup the venerable mm.[ch] allocator with doubly linked lists and aKeith Whitwell2006-05-222-72/+124
| | | | separate list of free segments.
* In gl_texture_image, replace ImageStride with an ImageOffsets array.Brian Paul2006-05-207-341/+358
| | | | | | | | | 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.
* remove some redundant functions, fix-up reference countingBrian Paul2006-05-201-81/+30
|
* use new _mesa_dereference_frame/renderbuffer() functionsBrian Paul2006-05-201-26/+5
|
* Added _mesa_remove_renderbuffer() as a counterpart to _mesa_add_renderbuffer().Brian Paul2006-05-202-1/+55
| | | | | Added _mesa_dereference_renderbuffer() to encapsulate renderbuffer reference count decrement, delete, locking.
* Added _mesa_dereference_framebuffer() to encapsulate reference countBrian Paul2006-05-202-14/+38
| | | | decrement, delete and locking.
* remove an assertionBrian Paul2006-05-191-2/+0
|
* install renderbuffer adaptors when color channel sizes need to be reducedBrian Paul2006-05-191-0/+21
|
* added rbadaptors.cBrian Paul2006-05-191-0/+2
|
* Renderbuffer adaptors.Brian Paul2006-05-192-0/+668
| | | | | When compiling Mesa with CHAN_BITS=16 or 32, these adaptors allow rendering into color buffers with smaller channel sizes.
* Added a check_context_limits() function that checks that the ctx->Const.*Brian Paul2006-05-151-0/+30
| | | | | fields are legal. May catch some driver development bugs. Called the first time a context is bound.
* s/GLbyte/GLubyte/Brian Paul2006-05-141-2/+2
|
* Clean up previous change slightlyKeith Whitwell2006-05-101-4/+2
|
* Use a (much!) larger executable memory heap so that the glsl x86Keith Whitwell2006-05-101-2/+6
| | | | allocations succeed. I'm not sure this is really necessary...
* Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whetherBrian Paul2006-05-095-21/+31
| | | | | | | 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.
* use _mesa_compressed_texture_size() for GL_TEXTURE_COMPRESSED_IMAGE_SIZE queryBrian Paul2006-05-091-4/+12
|
* two more texture compression fixesBrian Paul2006-05-081-3/+10
|
* More updates for texture compression.Brian Paul2006-05-084-31/+91
| | | | | | 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.
* Fix a number of texture compression issues.Brian Paul2006-05-085-111/+148
| | | | | | | | 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
* misc clean-upsBrian Paul2006-05-071-35/+38
|
* check for float->uint overflow in _mesa_unpack_depth_span()Brian Paul2006-05-051-3/+16
|
* Define VERT_RESULT_EDGEKeith Whitwell2006-05-051-1/+2
|
* fixes for CHAN_BITS!=8Brian Paul2006-04-271-14/+50
|
* fix a few stride computations in _mesa_texstore_rgba()Brian Paul2006-04-261-7/+9
|
* remove _glthread_INIT_MUTEX() callBrian Paul2006-04-261-1/+0
|
* Remove carriage returns.Michal Krol2006-04-253-23/+23
|
* Put color index attribute into the 6th attribute slot.Brian Paul2006-04-2512-75/+66
| | | | | | 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.