summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
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-22gallium: Don't link x86sse.c into libmesa.a.Michel Dänzer
Otherwise we get a symbol clash with the copy in src/gallium/util .
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-16mesa: added internal post color matrix scale/bias varsBrian 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-14fix GL_ARB_texture_rectangle breakageBrian Paul
2008-04-14mesa: define #extension GL_ARB_texture_rectangleDavid Flynn
2008-04-11mesa: fix broken x86_call()Keith Whitwell
2008-04-11gallium: Flush render cache at the beginning of fallback_copy_texsubimage().Michel Dänzer
It may get stale bits otherwise.
2008-04-11mesa: Fix glBegin-time test for invalid programs/shaders.Brian Paul
Cherry-picked from master.
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-08gallium: Fix up scons build.Michel Dänzer
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-07mesa: call _mesa_remove_varying_reads() after compiling vertex shadersBrian
2008-04-07mesa: new _mesa_remove_varying_reads() functionBrian
We'll apply this function to GLSL vertex programs. In GLSL it's legal to read and write varying (output) vars in a vertex shader. But reading from an output register isn't supported by all hardware. This routine examines the vertex program for that condition and rewrites it to use temporary registers where needed.
2008-04-07mesa: added _mesa_insert_instructions()Brian
Also, use new _mesa_free_instructions() in a few places.
2008-04-07mesa: added _mesa_free_instructions()Brian
2008-04-04mesa: no longer combine vertex/fragment shader parameters/uniformsBrian
GLSL Vertex and fragment shaders now have independent parameter buffers. A new gl_uniform_list is used to keep track of program uniforms and where each uniform is located in each shader's parameter buffer. This makes better use of the space in each buffer and simplifies shader linking.
2008-04-04mesa: new functions for managing list/index of uniformsBrian
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()