summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
2008-03-28gallium: re-work texture format selection codeBrian Paul
Use same code for choosing texture format and renderbuffer format.
2008-03-28gallium: remove redundant compare bit in sampler stateRoland Scheidegger
2008-03-27gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBSBrian
The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated.
2008-03-27gallium: Update calls to the simple shader functionsBrian
2008-03-27gallium: fix Element() macro redefinition warningBrian
2008-03-26gallium: need to call st_validate_state() in Bitmap()Brian Paul
2008-03-26gallium: Change pipe->flush() interface to optionally return a fence.Michel Dänzer
The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it.
2008-03-25gallium: disable the selection/feedback draw module's options for wide ↵Brian Paul
lines, points, etc. Disable paths that would convert points/lines to tris as that upsets selection, feedback, rastpos.
2008-03-25gallium: added some debug code (disable)Brian Paul
2008-03-24gallium: don't enable stencil test if no stencil buffer.Brian Paul
Also, if not doing two-sided stencil, set back-face state = front-face state.
2008-03-24gallium: save/restore samplers in draw_textured_quad()Brian
2008-03-24gallium: fix a few texture border/mipmap glitches found w/ conformBrian Paul
2008-03-24gallium: check SamplersUsed to determine if texture needed, as in ↵Brian Paul
st_atom_sampler.c Otherwise, we were sometimes setting texture state but not the corresponding sampler state.
2008-03-24gallium: free bitmap fragment shaders, misc clean-upBrian Paul
2008-03-24gallium: add missing cso_save_samplers() callBrian Paul
2008-03-24gallium: pass the filter mode to util_gen_mipmap().Brian
Remove util_gen_mipmap_filter() when no longer used.
2008-03-22gallium: fix a few more shader-related mem leaksBrian
2008-03-22gallium: fix a few mem leaks when deleting programsBrian
2008-03-21gallium: fix const buffer update bugBrian
If only glUniform is called between two renderings, the const buffers weren't getting updated. Need to set the _NEW_PROGRAM flag in st_upload_constants() as that's the dirty flag set by glUniform. Fixes glean tapi2 test.
2008-03-21Refactor PBO validate/map code.Brian
We always need to do PBO validation, so do that in core Mesa before calling driv er routine. cherry-picked from Mesa/master.
2008-03-21gallium: implement PBO operations for glDraw/ReadPixels and glBitmapBrian Paul
At this time there are no optimizations for directly blitting between buffer objects and surfaces (always go through mappings). glean pbo test passes now
2008-03-21gallium: use is_format_supported(PIPE_FORMAT_DXT5_RGBA) to check if s3tc is ↵Brian Paul
supported The PIPE_CAP_S3TC token will be deprecated.
2008-03-21gallium: use is_format_supported() to determine if GL_EXT_texture_sRGB is ↵Brian Paul
supported
2008-03-20gallium: catch some out of memory conditions in the texture image code.Brian Paul
st_finalize_texture()'s return code now indicates success/fail instead of presence of texture border (which we discard earlier).
2008-03-20gallium: assign framebuffer width, heightBrian
2008-03-20gallium: unused var silence warningBrian
2008-03-20gallium: glBitmap code now separe from glDraw/CopyPixels codeBrian
Also, glBitmap now re-uses the vertex buffer to avoid frequent allocations/ deallocations. And, use u_simple_shaders utility code.
2008-03-20gallium: glBitmap code now separated from glDraw/CopyPixels codeBrian
2008-03-20gallium: Y-invert blit depending on framebuffer orientationBrian
2008-03-20gallium: in clear_with_quad() check fb orientation, invert Y if neededBrian
2008-03-20gallium: create one vertex buffer and re-use, also enable bypass_clippingBrian
Quad clears should be a little more efficient now.
2008-03-20gallium: use the utility pasthrough shadersBrian
This avoids the Mesa->TGSI translation step.
2008-03-19gallium: add face, dirtyLevels params to pipe->texture_update()Brian Paul
This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed.
2008-03-19gallium: need to set/save framebuffer state in st_context since we use it ↵Brian Paul
elsewhere
2008-03-19gallium: implement CSO save/restore functions for use by meta operations ↵Brian
(blit, gen-mipmaps, quad-clear, etc) Also, additional cso_set_*() functions for viewport, framebuffer, blend color, etc. state.
2008-03-19gallium: remove old commented-out codeBrian
2008-03-18gallium: plug in and init GL_EXT_framebuffer_blit function/extensionBrian
2008-03-18gallium: glFramebufferBlitEXT() implementationBrian
2008-03-18gallium: fix typosBrian
2008-03-18gallium: restore additional state after clearing with quadBrian
2008-03-18gallium: use new color packing utility functionsBrian
2008-03-17gallium: use new gallium utility code for generating mipmapsBrian
2008-03-17gallium: set min_mip_filter = PIPE_TEX_MIPFILTER_NEARESTBrian Paul
Plus, comments, clean-ups.
2008-03-17gallium: in gen_mipmap, also set sampler lod_bias and do a flush() after ↵Brian Paul
rendering each level
2008-03-14gallium: if point size not computed per vertex, apply size clamp immediately.Brian Paul
Fixes glean pointAtten failure.
2008-03-14gallium: in st_program_string_notify() free shader tokens.Brian
When the shader instructions change, free the TGSI tokens. This signals the state tracker to recompile the shader. Fixes a regression caused by recent shader/state-tracker changes.
2008-03-13gallium: for TEST_DRAW_PASSTHROUGH, pass inClipCoords=FALSE to ↵Brian
st_draw_vertices() When pass-through mode is fully supported we'll clean this up more.
2008-03-13gallium: add some temporary code for testing draw module vertex passthroughBrian
Set TEST_DRAW_PASSTHROUGH=1, run progs/trivial/clear-scissor
2008-03-13gallium: remove semantic info from pipe_shader_stateBrian Paul
Brian's patch to clean up the shader interfaces.
2008-03-12gallium: in clear_stencil_buffer() check surface format to determine stencil ↵Brian
clear value ... as we do for the Z and Z+stencil cases