summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2008-03-14mesa: clamp point size in vertex program when computing attenuated sizeBrian Paul
2008-03-10fix Height2/Depth2 init problem when using texture bordersBrian
2008-02-25Remove files of unsupported build systems.José Fonseca
2008-02-11gallium: take pitch/stride into account in mipmap generationBrian
2008-02-11code refactoring, new next_mipmap_level_size() functionBrian
2008-02-11added _mesa_tex_target_to_face()Brian
2008-02-11refactor code, export _mesa_generate_mipmap_level()Brian
2008-02-11move _mesa_format_to_type_and_comps() to texformat.cBrian
2008-02-11reorder cases in do_row()Brian
2008-02-11re-indent do_row()Brian
2008-02-11checkpoint- consolidation in do_row()Brian
2008-02-11checkpoint- remove dependencies on gl_texture_format to make code re-usable ↵Brian
by state tracker
2008-02-08Remove unused texunit parameter to ctx->Driver.GenerateMipmap()Brian
2008-02-06Added ctx->Driver.GenerateMipmap() driver hookBrian
2008-01-18use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating ↵Brian
immediates/literals
2008-01-01fix mem leak (free key)Brian
2008-01-01free Default1D/2DArray objectsBrian
2007-12-14set SamplerUnit[] entry in load_texture() just to be safeBrian
2007-12-14set program->SamplersUsed bit when using a texture instructionBrian
2007-12-11prefix some #includesBrian
2007-12-11Rework gallium and mesa queries a little.Keith Whitwell
Add a 'CheckQuery()' driver callback to mesa to check query completion. Make pipe_query an opaque type. Rework softpipe queries, support overlapping occlusion queries.
2007-12-05Fix endianness bug in _mesa_texstore_argb8888()Brian
On big-endian, storing in _mesa_texformat_argb8888 format produced wrong results. Also, clean-up nearby code to match.
2007-11-08in check_end_texture_render(), test for presence of a renderbuffer and texobjBrian
2007-11-05Determine GL extensions/limits by making pipe queries.Brian
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...
2007-11-05no-op glCopyPixels if width or height is zeroBrian
2007-11-01disable the driverContext assertionsBrian
2007-10-31Update texenvprogram.c code to use prog_cache.c routines.Brian
2007-10-31more flags for MaintainTnlProgram case, update #includesBrian
2007-10-31Use ffvertex_prog.c code instead of t_vp_build.c code.Brian
2007-10-31Lift fixed function vertex program generation up from tnl module.Brian
2007-10-31alloc caches for fixed-func vertex/fragment progsBrian
2007-10-30Set _NEW_BUFFERS in glRead/DrawBuffer().Brian
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.
2007-10-29Rewrite update_program() to use _mesa_get_fixed_func_fragment/vertex_program().Brian
2007-10-29Remove ctx field from texenvprog_cacheBrian
2007-10-29Refactor _mesa_UpdateTexEnvProgram()Brian
Will be replaced by _mesa_get_fixed_func_fragment_program().
2007-10-29Rename 'mms-config.' to 'mms.config'.Michal Krol
It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'.
2007-10-29Disable the else clause which assigns the default fragment program to ↵Brian
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.
2007-10-26Re-implement GLSL texture sampler variables.Brian
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.
2007-10-23properly init dst reg's CondMask/Swizzle fieldsBrian
2007-10-23bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many ↵Brian
instructions
2007-10-19call Driver.Flush() in _mesa_notifySwapBuffers()Brian
2007-10-17Add some FLUSH_CURRENT() calls.Brian
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...
2007-10-15check for width or height = 0 before calling driver Bitmap funcBrian
2007-10-02Generate a texenv fragment program if there's a GLSL vertex shader but no ↵Brian
GLSL fragment shader. This allows Glean glsl1 test to get pretty far.
2007-09-26don't use scissored bounds in _mesa_clip_copytexsubimage()Brian
2007-09-26Added new _mesa_clip_copytexsubimage() function to do avoid clipping down in ↵Brian
the drivers. This should probably be pulled into main-line Mesa...
2007-09-25include programopt.hBrian
2007-09-25Disable vertex shader fog, compute fog in fragment shader.Brian
2007-09-18temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabledBrian
2007-09-11Implement query object interface.Brian
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.