summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* 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-2010-456/+434
| | | | | | | | | 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_remove_renderbuffer()Brian Paul2006-05-201-8/+3
|
* 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.
* some new commentsBrian Paul2006-05-191-2/+10
|
* remove an assertionBrian Paul2006-05-191-2/+0
|
* added some CHAN_BITS testsBrian Paul2006-05-191-0/+9
|
* replace FORMAT var with RB_TYPEBrian Paul2006-05-191-51/+28
|
* Allow rendering 8, 16 and 32-bit/channel images without recompiling.Brian Paul2006-05-191-234/+591
| | | | Uses new renderbuffer adaptors.
* install renderbuffer adaptors when color channel sizes need to be reducedBrian Paul2006-05-191-0/+21
|
* added rbadaptors.cBrian Paul2006-05-192-0/+3
|
* 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.
* minor simplificationBrian Paul2006-05-181-4/+1
|
* texture EnvColor needs to be converted to GLchan, not GLintBrian Paul2006-05-181-8/+8
|
* Dont allow 16 tex units to be used at all.Aapo Tahkola2006-05-181-1/+1
|
* change initialization of texcoords - not all C compilers support ↵Brian Paul2006-05-181-6/+36
| | | | non-constant array initializers
* unbreak the buildTilman Sauerbeck2006-05-171-0/+1
|
* add texture rectangle support for i815, I wrote the original patch aboutDave Airlie2006-05-173-56/+112
| | | | 2 years ago, I finally dug out an i815 and got it working
* Fix typo.Michal Krol2006-05-161-2/+2
|
* Add functions.Michal Krol2006-05-162-0/+7
|
* Write attribs to slang machine.Michal Krol2006-05-161-15/+22
|
* Change error message wording.Michal Krol2006-05-162-10/+10
|
* Rename print() to printMESA().Michal Krol2006-05-162-94/+101
|
* Fix attrib handling.Michal Krol2006-05-162-31/+53
|
* Extend printMESA function to output also to shader's info log.Michal Krol2006-05-163-22/+75
| | | | Fix float-to-int conversion for x86 back-end.
* Cleanup code. Change constructor prototype.Michal Krol2006-05-167-65/+58
|
* Cleanup code.Michal Krol2006-05-162-284/+210
|
* Change constructor prototype.Michal Krol2006-05-162-36/+42
| | | | Fix struct field accessing.
* Remove carriage returns.Michal Krol2006-05-162-84/+84
|
* Add GetInfoLogLength and WriteAttrib functions.Michal Krol2006-05-161-36/+129
| | | | | | GetInfoLog for shaders if different - it is a concatenation of compiler output and executor output produced by printMESA. Fix bugs.
* Cleanup GLhandle-to-object translation macros.Michal Krol2006-05-162-107/+93
| | | | Fix minor bugs.
* 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.
* remove some unused macrosBrian Paul2006-05-141-43/+6
|
* s/GLbyte/GLubyte/Brian Paul2006-05-141-2/+2
|
* fix typo, remove dead codeBrian Paul2006-05-141-2/+1
|
* the r300 should only use 8 until Mesa can deal with thisDave Airlie2006-05-121-1/+1
|
* this should use the configured number not the MAX, this has no effect untilDave Airlie2006-05-121-1/+1
| | | | the core mesa swrast number is fixed, just spotted this on the way past
* 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-087-129/+178
| | | | | | | | 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