Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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) | ||||
* | Revert my change from 1.37 as being bogus (see ensuing list discussion for | Adam Jackson | 2006-03-30 | 1 | -3/+2 |
| | | | | rationale). | ||||
* | comments regarding assertions | Brian Paul | 2006-03-30 | 1 | -0/+5 |
| | |||||
* | Update the _WindowMap matrix in _mesa_set_viewport() and _mesa_DepthRange(). | Brian Paul | 2006-03-29 | 1 | -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-up | Brian Paul | 2006-03-29 | 3 | -9/+8 |
| | |||||
* | fix components initialization in two places (Ewald Snel) | Brian Paul | 2006-03-29 | 1 | -2/+2 |
| | |||||
* | Committing in . | Jouk Jansen | 2006-03-29 | 3 | -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 Paul | 2006-03-29 | 1 | -68/+178 |
| | | | | Re-org of the renderbuffer wrapper code. | ||||
* | new tests for GL_DEPTH_STENCIL_EXT | Brian Paul | 2006-03-29 | 1 | -2/+4 |
| | |||||
* | a few new assertions | Brian Paul | 2006-03-29 | 1 | -0/+3 |
| | |||||
* | Move the computation of the viewport matrix into a new update_viewport_matrix() | Brian Paul | 2006-03-29 | 3 | -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 field | Brian Paul | 2006-03-28 | 1 | -2/+4 |
| | |||||
* | update conditional for render to GL_DEPTH_STENCIL texture, check for valid ↵ | Brian Paul | 2006-03-28 | 1 | -3/+4 |
| | | | | teximage before calling ctx->Driver.RenderTexture() | ||||
* | fix #6072 (Keith Whitwell) | Aapo Tahkola | 2006-03-28 | 1 | -12/+17 |
| | |||||
* | enable GL_ARB_half_float_pixel, was GL_MESAX_half_float_pixel | Brian Paul | 2006-03-28 | 1 | -2/+2 |
| | |||||
* | comment about byteswapping in _mesa_unpack_depth_span() | Brian Paul | 2006-03-28 | 1 | -0/+1 |
| | |||||
* | merge from texman branchmesa_20060325 | Brian Paul | 2006-03-26 | 20 | -469/+863 |
| | |||||
* | fix issue in _mesa_free_framebuffer_data() | Brian Paul | 2006-03-25 | 1 | -1/+1 |
| | |||||
* | check for incomplete FBO in _mesa_Clear() | Brian Paul | 2006-03-25 | 1 | -1/+7 |
| | |||||
* | Clean up the recent code related to texture_override(). Pass params in a | Brian Paul | 2006-03-24 | 1 | -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 Paul | 2006-03-24 | 1 | -2/+16 |
| | |||||
* | GL_EXT_packed_depth_stencil should be off by default | Brian Paul | 2006-03-21 | 1 | -1/+1 |
| | |||||
* | GLSL fixes: | Michal Krol | 2006-03-21 | 4 | -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; | ||||
* | Lots of changes/fixes for rendering to framebuffer objects. | Brian Paul | 2006-03-20 | 7 | -94/+211 |
| | | | | | | | - When deleting texture objects, unbind from FBOs if necessary. - Changed driver hooks for starting/ending render to texture. - Now properly handle case where gl[Copy]TexImage() is called after glFramebufferTexture[123]D(). That didn't work before. | ||||
* | additional assertions and debug code for testing FBO completeness | Brian Paul | 2006-03-20 | 1 | -1/+31 |
| | |||||
* | additional error checking to be sure source renderbuffer exists for ↵ | Brian Paul | 2006-03-20 | 1 | -2/+36 |
| | | | | glCopyTex[Sub]Image() | ||||
* | use new _mesa_sourc/dest_buffer_exists() functions | Brian Paul | 2006-03-20 | 1 | -48/+26 |
| | |||||
* | added _mesa_source/dest_buffer_exists() function to easily test if ↵ | Brian Paul | 2006-03-20 | 2 | -2/+130 |
| | | | | particular renderbuffers are present | ||||
* | fix some buffer binding tests in _mesa_make_current() | Brian Paul | 2006-03-20 | 1 | -3/+9 |
| | |||||
* | slightly improved error message | Brian Paul | 2006-03-20 | 1 | -2/+2 |
| | |||||
* | Queries of GL_READ_BUFFER and GL_DRAW_BUFFER were still returning the | Brian Paul | 2006-03-19 | 2 | -24/+24 |
| | | | | | pre-GL_EXT_framebuffer_object state. Now return the read/draw state stored in the framebuffer objects. | ||||
* | Don't call Driver->Bitmap() if no image to render | Brian Paul | 2006-03-18 | 1 | -5/+7 |
| | |||||
* | Committing in . | Jouk Jansen | 2006-03-17 | 1 | -25/+25 |
| | | | | | | | | | | Mesa/src/mesa/main/imports.h : removed <CR> Mesa/src/mesa/shader/slang/descrip.mms : added new sources Modified Files: Mesa/src/mesa/main/imports.h Mesa/src/mesa/shader/slang/descrip.mms ---------------------------------------------------------------------- | ||||
* | Init FogCoordFuncs[0..5] too, remove some unneeded #includes | Brian Paul | 2006-03-17 | 1 | -3/+7 |
| | |||||
* | remove another test for IN_DRI_DRIVER | Brian Paul | 2006-03-17 | 1 | -36/+3 |
| | |||||
* | Moved _glapi_check_multithread() call into drivers, instead of in | Brian Paul | 2006-03-16 | 1 | -8/+1 |
| | | | | | _mesa_make_current(). This removes an ugly #if !defined(IN_DRI_DRIVER) from core Mesa. | ||||
* | finish up some loose ends in _mesa_texstore_z24_s8() | Brian Paul | 2006-03-16 | 1 | -2/+40 |
| | |||||
* | sync with texmem branch | Brian Paul | 2006-03-15 | 3 | -3/+15 |
| | |||||
* | init Red/Green/EtcBits = 0 in soft_renderbuffer_storage() | Brian Paul | 2006-03-14 | 1 | -1/+10 |
| | |||||
* | More GLSL code: | Michal Krol | 2006-03-14 | 1 | -63/+44 |
| | | | | | - add texture sampling support; - fix assembly codegen bugs; | ||||
* | just a comment for check_compatible() | Brian Paul | 2006-03-07 | 1 | -0/+5 |
| |