summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
2008-04-24gallium: Initial support for pixel formats with unused storage components.Michel Dänzer
Also clarify that RGB formats with no (used) alpha component are treated as having alpha = 1.0.
2008-04-22gallium: fix some bitmap frag shader issuesBrian Paul
If texturing happens to be enabled when glBitmap() is called, need to be careful about choosing a sampler unit, etc.
2008-04-22gallium: don't set buffer status to undefined in display_front_buffer()Brian Paul
2008-04-22gallium: st_translate_fragment_program() is void nowBrian Paul
The return value was never used.
2008-04-22gallium: How about restoring shaders instead of saving them again...Michel Dänzer
2008-04-21use cso fs/vs handle functionsKeith Whitwell
2008-04-21mesa: remove st_cache.cKeith Whitwell
2008-04-21gallium: Use CSO cache for shaders.Michel Dänzer
2008-04-19draw: move incoming vertex state into draw->ptKeith Whitwell
This state is effectively private to the vertex processing part of the draw module.
2008-04-19draw: move some pipeline-specific code & state to draw_pipe.[ch]Keith Whitwell
2008-04-18gallium: get rid of unnecessary surface mappingBrian Paul
2008-04-18gallium: Always pass colour clear value to driver as A8R8G8B8.Michel Dänzer
2008-04-17gallium: add missing pipe_surface_unmap() callBrian Paul
2008-04-17gallium: plug in a select_destroy() function (fixes segfault on exit)Brian Paul
2008-04-17gallium: reorder some of the destroy context codeBrian Paul
2008-04-16gallium: implement RGBA pixel maps in the pixel transfer fragment programBrian Paul
2008-04-16gallium: make choose_format() non-static: st_choose_format()Brian Paul
2008-04-16gallium: finish-up and fix support for GL_COLOR matrix on pixel xfer pathBrian Paul
2008-04-14gallium: fix semantic indexes for outputsBrian
2008-04-14gallium: fix multi drawbuffer fb stateBrian
2008-04-14gallium: set ctx->Const.MaxDrawBuffersBrian
2008-04-11gallium: Flush render cache at the beginning of fallback_copy_texsubimage().Michel Dänzer
It may get stale bits otherwise.
2008-04-10gallium: fix readback of z16 valuesBrian Paul
2008-04-09gallium: more elaborate tracking of front color buffer stateBrian Paul
This fixes the case where the app calls SwapBuffers then calls glReadPixels to read the front color buffer. We now keep track of when the front buffer is a _logically_ copy of the back buffer (after SwapBuffers) and read from the back color buffer instead of the front.
2008-04-09gallium: more flush/finish changesBrian Paul
New, separate is_front_buffer_dirty() function.
2008-04-09gallium: reorder funcsBrian Paul
2008-04-09gallium: call_flush_front_buffer() from st_glFinish()Brian Paul
2008-04-09gallium: fold st_gl_flush() into st_glFlush()Brian Paul
2008-04-09gallium: refactor code, new flush_front_buffer() functionBrian Paul
2008-04-09gallium: remove unneeded st->haveFramebufferSurfaces field.Brian Paul
2008-04-07gallium: check ctx->DrawBuffer before flushing bitmap cache.Brian Paul
During context unbind, we may not have a draw buffer. This fixes demos/tunnel2.c
2008-04-07gallium: fix the texture case in default_deep_rgba_format()Brian Paul
Fixes glean pixelFormat test
2008-04-07gallium: slightly improved accum clear/mad operationsBrian Paul
Instead of get/put_tile(), map the buffer and operate on values directly.
2008-04-07gallium: accum buffer fixesBrian Paul
If the driver can't create a PIPE_FORMAT_R16G16B16A16_SNORM surface, create an accum surface using a shallower format and taller height. Since only the accum buffer code accesses the surface the actual format doesn't really matter, just that there's enough memory.
2008-04-07gallium: remove stray commentBrian Paul
2008-04-07gallium: clean-up in st_renderbuffer_alloc_storage()Brian Paul
2008-04-04gallium: always pass size=4 to make_immediate()Brian
Mesa always packs 4 immediates into each parameter/const buffer slot. I think we were just getting lucky with this as it was.
2008-04-04gallium: adjust the code in update_textures() to look more like ↵Brian
update_samplers()
2008-04-04gallium: state tracker fixes for compressed texturesRoland Scheidegger
2008-04-04gallium: add new call to st_flush_bitmap_cache() to fix recent regressionBrian Paul
2008-04-04gallium: make sure to set the SamplersUsed field for bitmap/drawpixels shadersBrian Paul
Also, make sure that field is copied/updated in the program clone and combine functions. Without this we weren't getting SAMP declarations in the TGSI shaders.
2008-04-04gallium: Revert st_gl_flush() changes from when the **fence argument was added.Michel Dänzer
As st_gl_flush() isn't used by st_finish() anymore, it doesn't have to make sure pipe->flush() always gets called.
2008-04-04gallium: Call st_flush() instead of st_gl_flush() in st_finish().Michel Dänzer
This is enough for the current purpose of st_finish(), which is to wait for things to settle down before context teardown.
2008-04-04gallium: fix two-side stencil handlingRoland Scheidegger
Previously all drivers were in twosided mode since they checked for stencil.enable[1] flag which was a copy of stencil.enable[0]. Note that drivers should not reference stencil[1] state (other than the enable) if twosided stenciling is disabled (for now the stencil state is still copied but for instance clear_with_quads won't provide useful values in there). Also, use _TestTwoSide instead of TestTwoSide since results would be bogus otherwise if using APIs with implicit two side stencil enable (i.e. core ogl 2.0).
2008-04-04gallium: Always allocate new const buffers instead of modifying existing ones.Michel Dänzer
2008-04-03gallium: test if PIPE_FORMAT_YCBCR[_REV] is supported and enable ↵Brian
GL_MESA_ycbcr_texture Update texture format selection code too.
2008-04-03gallium: set rasterizer.gl_rasterization_rules = 1 in a few more placesBrian
2008-04-03gallium: streamline viewport/raster/shader state for clearing with quadsBrian Paul
Move init of these items to new st_init_clear().
2008-04-03gallium: include st_cb_bitmap.h to silence warningBrian Paul
2008-04-03gallium: remove the temporary/test TEST_DRAW_PASSTHROUGH codeBrian Paul