summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* No longer alias generic vertex attribs with conventional attribs for ↵Brian Paul2006-04-255-50/+514
| | | | GL_ARB_vertex_program.
* updated assertionBrian Paul2006-04-231-4/+8
|
* Fix yet another issue with popping GL_DRAW_BUFFER state with respect toBrian Paul2006-04-221-12/+29
| | | | single vs. multiple outputs and what kind of FBO is currently bound.
* pass color index as float, not intBrian Paul2006-04-211-2/+2
|
* Make most of the _mesa_noop_*() functions static.Brian Paul2006-04-202-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 Paul2006-04-201-0/+7
|
* When popping GL_DRAW_BUFFER state, need to re-do error checking sinceBrian Paul2006-04-141-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 warningBrian Paul2006-04-141-0/+1
|
* Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]UnitsBrian Paul2006-04-143-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 Paul2006-04-135-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 warningsBrian Paul2006-04-132-10/+12
|
* Set array normalization flag for normals, colors (Keith)Brian Paul2006-04-131-3/+3
|
* updated tests for defining __FUNCTION__ (Dan Schikore)Brian Paul2006-04-131-3/+6
|
* More GLSL code:Michal Krol2006-04-116-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.1Brian Paul2006-04-071-4/+4
|
* Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format.Brian Paul2006-04-068-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 wrappersBrian Paul2006-04-061-3/+7
|
* Remove the code that checks for duplicated framebuffer attachments (whichBrian Paul2006-04-051-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 Paul2006-04-056-10/+20
|
* Bit set.Michal Krol2006-04-041-0/+72
|
* Return GLSL version string (1.10).Michal Krol2006-04-041-3/+11
|
* Define MAX_VERTEX_ATTRIBS to 16.Michal Krol2006-04-041-2/+3
|
* Fix the fetch_texel_ci8() code to deal with floating point color palettes.Brian Paul2006-03-311-6/+49
| | | | Fixes Quake on Windows bug. (Karl Schultz)
* Revert my change from 1.37 as being bogus (see ensuing list discussion forAdam Jackson2006-03-301-3/+2
| | | | rationale).
* comments regarding assertionsBrian Paul2006-03-301-0/+5
|
* Update the _WindowMap matrix in _mesa_set_viewport() and _mesa_DepthRange().Brian Paul2006-03-291-6/+28
| | | | | This is a temporary fix for the DRI drivers. Should really only have to update the matrix via _mesa_update_state().
* minor clean-upBrian Paul2006-03-293-9/+8
|
* fix components initialization in two places (Ewald Snel)Brian Paul2006-03-291-2/+2
|
* Committing in .Jouk Jansen2006-03-293-29/+29
| | | | | | | | | Removing <CR> Modified Files: Mesa/src/mesa/main/fog.c Mesa/src/mesa/main/hint.c Mesa/src/mesa/main/mtypes.h ----------------------------------------------------------------------
* New code for rendering to depth/stencil textures.Brian Paul2006-03-291-68/+178
| | | | Re-org of the renderbuffer wrapper code.
* new tests for GL_DEPTH_STENCIL_EXTBrian Paul2006-03-291-2/+4
|
* a few new assertionsBrian Paul2006-03-291-0/+3
|
* Move the computation of the viewport matrix into a new update_viewport_matrix()Brian Paul2006-03-293-48/+34
| | | | | | | function since the matrix depends on the viewport params and the framebuffer's depth buffer resolution. Fixes some renderbuffer / depth range issues. This simplifies the _mesa_set_viewport() and _mesa_DepthRange() functions too.
* updated comment about framebuffer's Visual fieldBrian Paul2006-03-281-2/+4
|
* update conditional for render to GL_DEPTH_STENCIL texture, check for valid ↵Brian Paul2006-03-281-3/+4
| | | | teximage before calling ctx->Driver.RenderTexture()
* fix #6072 (Keith Whitwell)Aapo Tahkola2006-03-281-12/+17
|
* enable GL_ARB_half_float_pixel, was GL_MESAX_half_float_pixelBrian Paul2006-03-281-2/+2
|
* comment about byteswapping in _mesa_unpack_depth_span()Brian Paul2006-03-281-0/+1
|
* merge from texman branchmesa_20060325Brian Paul2006-03-2620-469/+863
|
* fix issue in _mesa_free_framebuffer_data()Brian Paul2006-03-251-1/+1
|
* check for incomplete FBO in _mesa_Clear()Brian Paul2006-03-251-1/+7
|
* Clean up the recent code related to texture_override(). Pass params in aBrian Paul2006-03-241-45/+56
| | | | | | | more logical order. Remove a mess of stray ^M chars. Fix a bug when checking if the texture object's format is GL_COLOR_INDEX or GL_DEPTH_COMPONENT. This fixes a segfault when GL_TEXTURE_BASE_LEVEL!=0.
* added some missing formats in _mesa_source/dest_buffer_exists()Brian Paul2006-03-241-2/+16
|
* GL_EXT_packed_depth_stencil should be off by defaultBrian Paul2006-03-211-1/+1
|
* GLSL fixes:Michal Krol2006-03-214-26/+44
| | | | | | | | | | | | | | | | | | - generate error on NULL pointers in glShaderSourceARB; - reinstall program object, if current, in glLinkProgramARB; - vertex and fragment shaders are optional in program object; - floor asm was wrongly computed for x86 back-end; - allow for (void) idiom in function prototypes; - all fixed-state uniforms are updated; - local variable initializers are working; - implement texture* and shadow* functions for vertex processor; - generate error if too many arguments in general constructor; - trim unused data in general constructor; - struct r-value field select was badly relocated; Changes: - add derived state gl_fog_attrib::_Scale; - add derived state gl_light::_CosCutoffNeg;