summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
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.
2006-04-20some tentative code for _mesa_update_framebuffer_visual()Brian Paul
2006-04-14When popping GL_DRAW_BUFFER state, need to re-do error checking sinceBrian Paul
validity depends on whether a window-system FBO or user-created FBO is currently bound. glPopAttrib() may generate GL_INVALID_OPERATION because of this.
2006-04-14silence -pedantic warningBrian Paul
2006-04-14Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]UnitsBrian Paul
in various places. Note that ctx->Texture.CurrentUnit needs to be tested against Coord/Image limits when referenced, not just in glActiveTexture().
2006-04-13Fix comment about MaxTextureUnits, needs to be min of coord and image units.Brian Paul
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.
2006-04-13casts to fix some -pedantic warningsBrian Paul
2006-04-13Set array normalization flag for normals, colors (Keith)Brian Paul
2006-04-13updated tests for defining __FUNCTION__ (Dan Schikore)Brian Paul
2006-04-11More GLSL code:Michal Krol
- 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;
2006-04-07bump version to 6.5.1Brian Paul
2006-04-06Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format.Brian Paul
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.
2006-04-06do additional checking for setting up depth/stencil wrappersBrian Paul
2006-04-05Remove the code that checks for duplicated framebuffer attachments (whichBrian Paul
generated the error GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT). This was removed in version 117 of the GL_EXT_framebuffer_object spec.
2006-04-05Silence minor compiler warnings (-Wextra).Brian Paul
2006-04-04Bit set.Michal Krol
2006-04-04Return GLSL version string (1.10).Michal Krol
2006-04-04Define MAX_VERTEX_ATTRIBS to 16.Michal Krol
2006-03-31Fix the fetch_texel_ci8() code to deal with floating point color palettes.Brian Paul
Fixes Quake on Windows bug. (Karl Schultz)
2006-03-30Revert my change from 1.37 as being bogus (see ensuing list discussion forAdam Jackson
rationale).
2006-03-30comments regarding assertionsBrian Paul
2006-03-29Update the _WindowMap matrix in _mesa_set_viewport() and _mesa_DepthRange().Brian Paul
This is a temporary fix for the DRI drivers. Should really only have to update the matrix via _mesa_update_state().
2006-03-29minor clean-upBrian Paul
2006-03-29fix components initialization in two places (Ewald Snel)Brian Paul
2006-03-29 Committing in .Jouk Jansen
Removing <CR> Modified Files: Mesa/src/mesa/main/fog.c Mesa/src/mesa/main/hint.c Mesa/src/mesa/main/mtypes.h ----------------------------------------------------------------------
2006-03-29New code for rendering to depth/stencil textures.Brian Paul
Re-org of the renderbuffer wrapper code.