Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | set SamplerUnit[] entry in load_texture() just to be safe | Brian | 2007-12-14 | 1 | -0/+4 |
| | |||||
* | set program->SamplersUsed bit when using a texture instruction | Brian | 2007-12-14 | 1 | -1/+3 |
| | |||||
* | prefix some #includes | Brian | 2007-12-11 | 1 | -5/+5 |
| | |||||
* | Rework gallium and mesa queries a little. | Keith Whitwell | 2007-12-11 | 3 | -5/+18 |
| | | | | | | Add a 'CheckQuery()' driver callback to mesa to check query completion. Make pipe_query an opaque type. Rework softpipe queries, support overlapping occlusion queries. | ||||
* | Fix endianness bug in _mesa_texstore_argb8888() | Brian | 2007-12-05 | 1 | -13/+15 |
| | | | | | On big-endian, storing in _mesa_texformat_argb8888 format produced wrong results. Also, clean-up nearby code to match. | ||||
* | in check_end_texture_render(), test for presence of a renderbuffer and texobj | Brian | 2007-11-08 | 1 | -2/+1 |
| | |||||
* | Determine GL extensions/limits by making pipe queries. | Brian | 2007-11-05 | 1 | -1/+1 |
| | | | | | | The state tracker calls pipe->get_param() to determine the GL limits and which OpenGL extensions are supported. This is an initial implementation that'll probably change... | ||||
* | no-op glCopyPixels if width or height is zero | Brian | 2007-11-05 | 1 | -1/+1 |
| | |||||
* | disable the driverContext assertions | Brian | 2007-11-01 | 1 | -2/+2 |
| | |||||
* | Update texenvprogram.c code to use prog_cache.c routines. | Brian | 2007-10-31 | 4 | -155/+9 |
| | |||||
* | more flags for MaintainTnlProgram case, update #includes | Brian | 2007-10-31 | 1 | -2/+4 |
| | |||||
* | Use ffvertex_prog.c code instead of t_vp_build.c code. | Brian | 2007-10-31 | 1 | -0/+2 |
| | |||||
* | Lift fixed function vertex program generation up from tnl module. | Brian | 2007-10-31 | 2 | -0/+1588 |
| | |||||
* | alloc caches for fixed-func vertex/fragment progs | Brian | 2007-10-31 | 1 | -0/+7 |
| | |||||
* | Set _NEW_BUFFERS in glRead/DrawBuffer(). | Brian | 2007-10-30 | 2 | -3/+3 |
| | | | | | | | | | Previously, we set _NEW_PIXEL and _NEW_COLOR in these functions, respectively. That correponds to the GL attribute groups, but doesn't make much sense otherwise. This could improve validation efficiency in a few places too. It looks like all the drivers are already checking for _NEW_BUFFERS in the right places (since that's the bit for FBO state) so we can trim out _NEW_PIXEL and _NEW_COLOR at any time. | ||||
* | Rewrite update_program() to use _mesa_get_fixed_func_fragment/vertex_program(). | Brian | 2007-10-29 | 1 | -52/+74 |
| | |||||
* | Remove ctx field from texenvprog_cache | Brian | 2007-10-29 | 2 | -13/+11 |
| | |||||
* | Refactor _mesa_UpdateTexEnvProgram() | Brian | 2007-10-29 | 2 | -32/+39 |
| | | | | Will be replaced by _mesa_get_fixed_func_fragment_program(). | ||||
* | Rename 'mms-config.' to 'mms.config'. | Michal Krol | 2007-10-29 | 1 | -1/+1 |
| | | | | | It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'. | ||||
* | Disable the else clause which assigns the default fragment program to ↵ | Brian | 2007-10-29 | 1 | -0/+2 |
| | | | | | | | | ctx->FragmentProgram._Current The _Current field should either point to the fragment program which is to be run (GLSL, ARB_f_p, fixed-func-generated, etc) or be NULL if conventional fixed-function code is to be used. Matches TNL program code. | ||||
* | Re-implement GLSL texture sampler variables. | Brian | 2007-10-26 | 2 | -0/+7 |
| | | | | | | | | | | GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime. | ||||
* | properly init dst reg's CondMask/Swizzle fields | Brian | 2007-10-23 | 1 | -2/+2 |
| | |||||
* | bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many ↵ | Brian | 2007-10-23 | 1 | -3/+6 |
| | | | | instructions | ||||
* | call Driver.Flush() in _mesa_notifySwapBuffers() | Brian | 2007-10-19 | 1 | -2/+4 |
| | |||||
* | Add some FLUSH_CURRENT() calls. | Brian | 2007-10-17 | 2 | -0/+4 |
| | | | | | | | Without these we can find ourselves in _mesa_load_state_parameters() computing derived lighting/material values whhen the current material properties haven't been updated from the VBO. This may be a somewhat wide-spread problem that needs more attention... | ||||
* | check for width or height = 0 before calling driver Bitmap func | Brian | 2007-10-15 | 1 | -1/+1 |
| | |||||
* | Generate a texenv fragment program if there's a GLSL vertex shader but no ↵ | Brian | 2007-10-02 | 1 | -1/+2 |
| | | | | | | GLSL fragment shader. This allows Glean glsl1 test to get pretty far. | ||||
* | don't use scissored bounds in _mesa_clip_copytexsubimage() | Brian | 2007-09-26 | 1 | -1/+1 |
| | |||||
* | Added new _mesa_clip_copytexsubimage() function to do avoid clipping down in ↵ | Brian | 2007-09-26 | 3 | -7/+60 |
| | | | | | | the drivers. This should probably be pulled into main-line Mesa... | ||||
* | include programopt.h | Brian | 2007-09-25 | 1 | -0/+1 |
| | |||||
* | Disable vertex shader fog, compute fog in fragment shader. | Brian | 2007-09-25 | 1 | -5/+11 |
| | |||||
* | temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabled | Brian | 2007-09-18 | 1 | -0/+1 |
| | |||||
* | Implement query object interface. | Brian | 2007-09-11 | 4 | -54/+70 |
| | | | | | | This replaces the temporary occlusion counter functions we had before. Added new ctx->Driver.WaitQuery() function which should block until the result is ready. Sketch out some code for vertex transformation feedback counters. | ||||
* | move FLUSH_CURRENT | Brian | 2007-09-10 | 1 | -0/+3 |
| | |||||
* | Move guts of glRasterPos down into T&L module. | Brian | 2007-09-06 | 2 | -530/+39 |
| | |||||
* | don't map element buffer in _mesa_validate_DrawElements() unless necessary | Brian | 2007-08-20 | 1 | -12/+19 |
| | |||||
* | remove some temp pipe hacks | Brian | 2007-08-11 | 1 | -15/+0 |
| | |||||
* | remove some temporary hacks | Brian | 2007-08-10 | 1 | -47/+3 |
| | |||||
* | Add printf handlers, pass pci id and move texlayout code to driver. | Keith Whitwell | 2007-08-10 | 1 | -3/+1 |
| | |||||
* | Checkpoint intel_renderbuffer removal. | Brian | 2007-08-09 | 2 | -4/+12 |
| | | | | | | Remove surface ptr from gl_renderbuffer. Use st_renderbuffer in most places. More clean-up. | ||||
* | remove st_draw.h include | Brian | 2007-08-02 | 1 | -2/+0 |
| | |||||
* | Reroute some clear functionality. | Keith Whitwell | 2007-08-02 | 1 | -8/+0 |
| | | | | | Still require the intelClear() call to flush batchbuffers. That will be removed later... | ||||
* | s/Z24_S8/S8_Z24/ (stencil is in the high byte) | Brian | 2007-08-01 | 1 | -1/+1 |
| | |||||
* | Checkpoint: glClear changes - working, bug very rough. | Brian | 2007-08-01 | 1 | -0/+10 |
| | |||||
* | sp_z_surface.h is dead | Brian | 2007-07-31 | 1 | -1/+0 |
| | |||||
* | Redesign pipe_surface in terms of pipe_region. | Brian | 2007-07-31 | 1 | -20/+34 |
| | | | | | | struct pipe_buffer goes away. Added basic region functions to softpipe to allocate/release malloc'd regions. Surface-related code is fairly coherent now. | ||||
* | 32 and z24s8 softpipe buffers | Brian | 2007-07-30 | 1 | -1/+7 |
| | |||||
* | Lots of improvements to the surface-related code. | Brian | 2007-07-30 | 2 | -2/+23 |
| | | | | | | Z testing now works with i915 driver. Add gl_renderbuffer::surface pointer (and reverse pointer). Remove intel_surface and xmesa_surface types - no longer used. | ||||
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵ | michal | 2007-07-27 | 16 | -82/+142 |
|\ | | | | | | | into softpipe_0_1_branch | ||||
| * | remove unused MAX_3D_TEXTURE_SIZE, reformattting | Brian | 2007-07-24 | 1 | -20/+17 |
| | |