Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Protect _swrast_read_rgba_span with RENDER_START/FINISH | Keith Whitwell | 2006-06-14 | 1 | -0/+10 |
| | |||||
* | free convolved image / fix mem leak (bug 7077) | Brian Paul | 2006-05-30 | 1 | -0/+1 |
| | |||||
* | Add const qualifiers in a number of places. | Brian Paul | 2006-05-23 | 1 | -1/+1 |
| | |||||
* | GL_INDEX_OFFSET didn't work with CI->RGB mappings. | Brian Paul | 2006-05-22 | 1 | -18/+20 |
| | | | | Added some const qualifiers. | ||||
* | some new comments | Brian Paul | 2006-05-19 | 1 | -2/+10 |
| | |||||
* | replace FORMAT var with RB_TYPE | Brian Paul | 2006-05-19 | 1 | -51/+28 |
| | |||||
* | minor simplification | Brian Paul | 2006-05-18 | 1 | -4/+1 |
| | |||||
* | texture EnvColor needs to be converted to GLchan, not GLint | Brian Paul | 2006-05-18 | 1 | -8/+8 |
| | |||||
* | minor clean-ups around DepthScale/Bias | Brian Paul | 2006-05-07 | 2 | -8/+7 |
| | |||||
* | Check for overflow when converting floating pt Z values to 32-bit GLuint. | Brian Paul | 2006-05-06 | 1 | -8/+39 |
| | |||||
* | fixes for CHAN_BITS!=8 | Brian Paul | 2006-04-27 | 3 | -25/+38 |
| | |||||
* | fix an assertion | Brian Paul | 2006-04-26 | 1 | -1/+1 |
| | |||||
* | update some tests for visual bit depths to use renderbuffers | Brian Paul | 2006-04-25 | 2 | -5/+6 |
| | |||||
* | Remove carriage returns. | Michal Krol | 2006-04-25 | 2 | -37/+37 |
| | |||||
* | silence warnings | Brian Paul | 2006-04-25 | 1 | -3/+10 |
| | |||||
* | don't need s_depth.h | Brian Paul | 2006-04-14 | 1 | -1/+0 |
| | |||||
* | Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]Units | Brian Paul | 2006-04-14 | 2 | -8/+6 |
| | | | | | | in various places. Note that ctx->Texture.CurrentUnit needs to be tested against Coord/Image limits when referenced, not just in glActiveTexture(). | ||||
* | More GLSL code: | Michal Krol | 2006-04-11 | 5 | -117/+237 |
| | | | | | | | | | | | | - 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; | ||||
* | remove unused var | Brian Paul | 2006-04-06 | 1 | -2/+0 |
| | |||||
* | Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format. | Brian Paul | 2006-04-06 | 3 | -21/+106 |
| | | | | | | | 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. | ||||
* | Check/use texture border color when sampling depth textures. (bug 6498) | Brian Paul | 2006-04-05 | 1 | -9/+16 |
| | | | | Silence some warnings. | ||||
* | Fix texcoord interpolation for fragment shaders. | Michal Krol | 2006-04-04 | 1 | -9/+12 |
| | |||||
* | put braces around RENDER_SPAN macro when called, not when defined. Fixes ↵ | Brian Paul | 2006-03-29 | 2 | -7/+9 |
| | | | | -pedantic warnings in x11 driver | ||||
* | fix a GLuint vs GLushort test, new assertions | Brian Paul | 2006-03-29 | 1 | -1/+4 |
| | |||||
* | merge from texman branchmesa_20060325 | Brian Paul | 2006-03-26 | 3 | -0/+92 |
| | |||||
* | remove carriage returns | Brian Paul | 2006-03-25 | 1 | -732/+732 |
| | |||||
* | Need to check for new state and do readpixels/drawpixels clipping after | Brian Paul | 2006-03-22 | 2 | -9/+25 |
| | | | | | we call RENDER_START since that may involve validating the drawable and updating its dimensions. | ||||
* | GLSL fixes: | Michal Krol | 2006-03-21 | 3 | -741/+742 |
| | | | | | | | | | | | | | | | | | | - 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; | ||||
* | minor clean-ups | Brian Paul | 2006-03-19 | 1 | -4/+4 |
| | |||||
* | s/GLuint/GLushort/ in read_depth_stencil_image() | Brian Paul | 2006-03-15 | 1 | -1/+2 |
| | |||||
* | Committing in . | Jouk Jansen | 2006-03-07 | 1 | -1/+1 |
| | | | | | | | | | Update OpenVMS makefiles Modified Files: Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms ---------------------------------------------------------------------- | ||||
* | Fix bogus span mask in s_atifragshader.c leading to trouble when the pixel ↵ | Roland Scheidegger | 2006-03-03 | 2 | -6/+8 |
| | | | | was later discarded by z test (this fixes doom3 r200 renderpath with swrast). Fix calling _swrast_alpha_test potentially leading to bogus results when Alpha Test might not be enabled. While here, don't disable deferred_texture (early z) when ATI_fragment_shader is active, as it is not necessary (for the record, this boosts doom3 swrast performance by roughly a factor of 2 (4 seconds per frame now...) with the r200 render path, might be a worthwile optimization for fragment programs which don't write z). | ||||
* | implementation of _swrast_BlitFramebuffer() | Brian Paul | 2006-03-02 | 2 | -8/+758 |
| | |||||
* | added s_blit.c | Brian Paul | 2006-03-01 | 1 | -2/+4 |
| | |||||
* | _swrast_blit_framebuffer() function | Brian Paul | 2006-03-01 | 2 | -0/+46 |
| | |||||
* | only run shader on active fragments in the span | Brian Paul | 2006-02-28 | 1 | -0/+3 |
| | |||||
* | check if active fragment shader for deferred texturing/shading | Brian Paul | 2006-02-28 | 1 | -1/+2 |
| | |||||
* | check for active shader, set FRAGPROG_BIT in raster mask | Brian Paul | 2006-02-28 | 1 | -0/+5 |
| | |||||
* | More GLSL code: | Michal Krol | 2006-02-27 | 1 | -45/+25 |
| | | | | | | | | | | | | | - add x86 code generator; - add full support for uniforms in ARB_shader_objects; - add assembly instruction: global_addr; - reorganize #includes; - built-in uniforms accessed by index, rather than by name; - add some entries to x86sse rtasm; - add configurations to VC6 projects: 'Release x86' and 'Debug x86'; - #define SLANG_X86 active only on VC6 x86 builds; - introduce code export table for a shader; - remove GNU license from the noise library; | ||||
* | include proper header file, remove local extern declarations | Brian Paul | 2006-02-22 | 1 | -6/+3 |
| | |||||
* | Committing in . | Jouk Jansen | 2006-02-21 | 1 | -5/+7 |
| | | | | | | | | | Update OpenVMS makefiles Modified Files: Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms ---------------------------------------------------------------------- | ||||
* | Add arbshader stage. | Michal Krol | 2006-02-15 | 3 | -5/+167 |
| | |||||
* | New comments, clean-up of fields related to point/line/triangle validation. | Brian Paul | 2006-01-26 | 2 | -15/+24 |
| | |||||
* | Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can be | Brian Paul | 2005-12-14 | 5 | -168/+2 |
| | | | | done with fragment programs nowadays. | ||||
* | Fix bugzilla 5253. Add {} around code in RENDER_SPAN macros when code ↵ | Karl Schultz | 2005-12-07 | 1 | -4/+4 |
| | | | | includes a variable declaration. | ||||
* | C++ fixes, mostly casts (Stephane Conversy) | Brian Paul | 2005-12-06 | 2 | -7/+7 |
| | |||||
* | get depthBits from the current drawbuffer | Brian Paul | 2005-12-01 | 1 | -3/+3 |
| | |||||
* | Make Saturate a 2-bit field again, renamed to SaturateMode with three | Brian Paul | 2005-11-20 | 1 | -1/+1 |
| | | | | possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE. | ||||
* | No longer derive 'ati_fragment_shader' from 'program' class. Only the | Brian Paul | 2005-11-19 | 1 | -10/+2 |
| | | | | | program->Id and program->RefCount fields were used and ATI fragment shaders didn't have too much in common with ARB/NV vertex/fragment programs anyway. | ||||
* | optimize drawing GL_DEPTH_STENCIL pixels into a GL_DEPTH_STENCIL renderbuffer | Brian Paul | 2005-11-17 | 1 | -67/+99 |
| |