Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Speedup the venerable mm.[ch] allocator with doubly linked lists and a | Keith Whitwell | 2006-05-22 | 2 | -72/+124 |
| | | | | separate list of free segments. | ||||
* | In gl_texture_image, replace ImageStride with an ImageOffsets array. | Brian Paul | 2006-05-20 | 7 | -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 counting | Brian Paul | 2006-05-20 | 1 | -81/+30 |
| | |||||
* | use new _mesa_dereference_frame/renderbuffer() functions | Brian Paul | 2006-05-20 | 1 | -26/+5 |
| | |||||
* | Added _mesa_remove_renderbuffer() as a counterpart to _mesa_add_renderbuffer(). | Brian Paul | 2006-05-20 | 2 | -1/+55 |
| | | | | | Added _mesa_dereference_renderbuffer() to encapsulate renderbuffer reference count decrement, delete, locking. | ||||
* | Added _mesa_dereference_framebuffer() to encapsulate reference count | Brian Paul | 2006-05-20 | 2 | -14/+38 |
| | | | | decrement, delete and locking. | ||||
* | remove an assertion | Brian Paul | 2006-05-19 | 1 | -2/+0 |
| | |||||
* | install renderbuffer adaptors when color channel sizes need to be reduced | Brian Paul | 2006-05-19 | 1 | -0/+21 |
| | |||||
* | added rbadaptors.c | Brian Paul | 2006-05-19 | 1 | -0/+2 |
| | |||||
* | Renderbuffer adaptors. | Brian Paul | 2006-05-19 | 2 | -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 Paul | 2006-05-15 | 1 | -0/+30 |
| | | | | | fields are legal. May catch some driver development bugs. Called the first time a context is bound. | ||||
* | s/GLbyte/GLubyte/ | Brian Paul | 2006-05-14 | 1 | -2/+2 |
| | |||||
* | Clean up previous change slightly | Keith Whitwell | 2006-05-10 | 1 | -4/+2 |
| | |||||
* | Use a (much!) larger executable memory heap so that the glsl x86 | Keith Whitwell | 2006-05-10 | 1 | -2/+6 |
| | | | | allocations succeed. I'm not sure this is really necessary... | ||||
* | Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whether | Brian Paul | 2006-05-09 | 5 | -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 query | Brian Paul | 2006-05-09 | 1 | -4/+12 |
| | |||||
* | two more texture compression fixes | Brian Paul | 2006-05-08 | 1 | -3/+10 |
| | |||||
* | More updates for texture compression. | Brian Paul | 2006-05-08 | 4 | -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 Paul | 2006-05-08 | 5 | -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-ups | Brian Paul | 2006-05-07 | 1 | -35/+38 |
| | |||||
* | check for float->uint overflow in _mesa_unpack_depth_span() | Brian Paul | 2006-05-05 | 1 | -3/+16 |
| | |||||
* | Define VERT_RESULT_EDGE | Keith Whitwell | 2006-05-05 | 1 | -1/+2 |
| | |||||
* | fixes for CHAN_BITS!=8 | Brian Paul | 2006-04-27 | 1 | -14/+50 |
| | |||||
* | fix a few stride computations in _mesa_texstore_rgba() | Brian Paul | 2006-04-26 | 1 | -7/+9 |
| | |||||
* | remove _glthread_INIT_MUTEX() call | Brian Paul | 2006-04-26 | 1 | -1/+0 |
| | |||||
* | Remove carriage returns. | Michal Krol | 2006-04-25 | 3 | -23/+23 |
| | |||||
* | Put color index attribute into the 6th attribute slot. | Brian Paul | 2006-04-25 | 12 | -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. | ||||
* | No longer alias generic vertex attribs with conventional attribs for ↵ | Brian Paul | 2006-04-25 | 5 | -50/+514 |
| | | | | GL_ARB_vertex_program. | ||||
* | updated assertion | Brian Paul | 2006-04-23 | 1 | -4/+8 |
| | |||||
* | Fix yet another issue with popping GL_DRAW_BUFFER state with respect to | Brian Paul | 2006-04-22 | 1 | -12/+29 |
| | | | | single vs. multiple outputs and what kind of FBO is currently bound. | ||||
* | pass color index as float, not int | Brian Paul | 2006-04-21 | 1 | -2/+2 |
| | |||||
* | Make most of the _mesa_noop_*() functions static. | Brian Paul | 2006-04-20 | 2 | -231/+152 |
| | | | | | | | 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. | ||||
* | some tentative code for _mesa_update_framebuffer_visual() | Brian Paul | 2006-04-20 | 1 | -0/+7 |
| | |||||
* | When popping GL_DRAW_BUFFER state, need to re-do error checking since | Brian Paul | 2006-04-14 | 1 | -4/+15 |
| | | | | | | validity depends on whether a window-system FBO or user-created FBO is currently bound. glPopAttrib() may generate GL_INVALID_OPERATION because of this. | ||||
* | silence -pedantic warning | Brian Paul | 2006-04-14 | 1 | -0/+1 |
| | |||||
* | Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]Units | Brian Paul | 2006-04-14 | 3 | -32/+121 |
| | | | | | | in various places. Note that ctx->Texture.CurrentUnit needs to be tested against Coord/Image limits when referenced, not just in glActiveTexture(). | ||||
* | Fix comment about MaxTextureUnits, needs to be min of coord and image units. | Brian Paul | 2006-04-13 | 5 | -9/+17 |
| | | | | | | | | See bug 5994. Also add a few assertions. Use MaxTextureUnits in get.c code. There's probably other places where we need to clean-up the usage of the MaxTexture[Coord/Image]Units constants. | ||||
* | casts to fix some -pedantic warnings | Brian Paul | 2006-04-13 | 2 | -10/+12 |
| | |||||
* | Set array normalization flag for normals, colors (Keith) | Brian Paul | 2006-04-13 | 1 | -3/+3 |
| | |||||
* | updated tests for defining __FUNCTION__ (Dan Schikore) | Brian Paul | 2006-04-13 | 1 | -3/+6 |
| | |||||
* | More GLSL code: | Michal Krol | 2006-04-11 | 6 | -130/+232 |
| | | | | | | | | | | | | - use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs; | ||||
* | bump version to 6.5.1 | Brian Paul | 2006-04-07 | 1 | -4/+4 |
| | |||||
* | Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format. | Brian Paul | 2006-04-06 | 8 | -107/+192 |
| | | | | | | | This allows render to depth texture (we don't support floating pt. Z buffers). Rename MESA_FORMAT_DEPTH_COMPONENT16/32 as MESA_FORMAT_Z16/32. Software fallback for glCopyTexImage now uses integer temporary image instead of float, eliminates a lot of float/int conversions. | ||||
* | do additional checking for setting up depth/stencil wrappers | Brian Paul | 2006-04-06 | 1 | -3/+7 |
| | |||||
* | Remove the code that checks for duplicated framebuffer attachments (which | Brian Paul | 2006-04-05 | 1 | -21/+1 |
| | | | | | generated the error GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT). This was removed in version 117 of the GL_EXT_framebuffer_object spec. | ||||
* | Silence minor compiler warnings (-Wextra). | Brian Paul | 2006-04-05 | 6 | -10/+20 |
| | |||||
* | Bit set. | Michal Krol | 2006-04-04 | 1 | -0/+72 |
| | |||||
* | Return GLSL version string (1.10). | Michal Krol | 2006-04-04 | 1 | -3/+11 |
| | |||||
* | Define MAX_VERTEX_ATTRIBS to 16. | Michal Krol | 2006-04-04 | 1 | -2/+3 |
| | |||||
* | Fix the fetch_texel_ci8() code to deal with floating point color palettes. | Brian Paul | 2006-03-31 | 1 | -6/+49 |
| | | | | Fixes Quake on Windows bug. (Karl Schultz) |