summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
2011-01-15mesa: begin implementation of GL_ARB_draw_buffers_blendBrian Paul
2011-01-15st/mesa: GL_ARB_instanced_arrays supportBrian Paul
2011-01-15st/mesa: move/consolidate an assignmentBrian Paul
2011-01-15Merge branch 'draw-instanced'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_llvm.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/glsl/ir_set_program_inouts.cpp src/mesa/tnl/t_vb_program.c
2011-01-13st/mesa: fix a regression from cae2bb76Fredrik Höglund
stObj->pt is null when a TFP texture is passed to st_finalize_texture, and with the changes introduced in the above commit this resulted in a new texture being created and the existing image being copied into it. NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-01-12st/mesa: add st_BeginQuery() case for GL_ANY_SAMPLES_PASSEDBrian Paul
Fixes piglit occlusion_query2 failure.
2011-01-09st/mesa: Include mfeatures.h in files that perform feature tests.Vinson Lee
2011-01-06st/mesa: remove unused members in st_contextMarek Olšák
What were these for?
2011-01-06st/mesa: optimize constant buffer uploadsMarek Olšák
The overhead of resource_create, transfer_inline_write, and resource_destroy to upload constant data is very visible with some apps in sysprof, and as such should be eliminated. My approach uses a user buffer to pass a pointer to a driver. This gives the driver the freedom it needs to take the fast path, which may differ for each driver. This commit addresses the same issue as Jakob's one that suballocates out of a big constant buffer, but it also eliminates the copy to the buffer.
2011-01-06st/mesa: do sanity checks on states only in debug buildsMarek Olšák
2011-01-05st/mesa: Include mtypes.h in st_cb_drawpixels.c.Vinson Lee
Include mtypes.h for gl_context symbol.
2011-01-04st/mesa: advertise GL_ARB_half_float_pixelMarek Olšák
This extension doesn't appear to need any driver-specific parts.
2011-01-04st/mesa: skip glDrawPixels/glBitmap-related code for ES buildBrian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32560
2011-01-03st/mesa: fix renderbuffer pointer check in st_Clear()Brian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=30694 NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-03st/mesa: 80-column wrappingBrian Paul
2011-01-03st/mesa: 80-column wrappingBrian Paul
2010-12-31st/mesa: Handle wrapped depth buffers in st_copy_texsubimage().Henri Verbeet
2010-12-24st/mesa: Clean up header file inclusion in st_mesa_to_tgsi.h.Vinson Lee
2010-12-24st/mesa: Clean up header file inclusion in st_gen_mipmap.h.Vinson Lee
2010-12-24mesa/st: set the color write cbuf property for fragColor writesDave Airlie
2010-12-23st/mesa: do not require all texture formats to be renderableMarek Olšák
This is a bandaid on the problem that if some formats were not renderable (like luminance_alpha), st/mesa fell back to some RGBA format, so basically some non-renderable formats were actually not used at all. This is only a problem with hardware drivers, softpipe can render to anything. Instead, require only RGB8/RGBA8 to be renderable.
2010-12-23st/mesa: use the formats RGB233, ARGB2101010, AL44, AL1616, A16, L16, I16Marek Olšák
2010-12-23st/mesa: if Z32 is unsupported, prefer Z24 to Z16Marek Olšák
2010-12-23st/mesa: use RGBA16 for RGB12 and RGB16Marek Olšák
To provide enough precision if a user wants it.
2010-12-23st/mesa: use DXT SRGB formats for COMPRESSED_SRGBMarek Olšák
And also check if the formats are supported to return something meaningful if compression cannot be used.
2010-12-23st/mesa: Remove unnecessary header.Vinson Lee
2010-12-21st/mesa: Clean up header file inclusion in st_format.h.Vinson Lee
2010-12-21st/mesa: Clean up header file inclusion in st_draw.h.Vinson Lee
2010-12-20gallium: remove unused 'buf' parameter in pipe_buffer_unmapMarek Olšák
2010-12-20st/mesa: Remove comment cruft from st_context.h.Vinson Lee
This was unintentionally added by commit 1525fb4afec0adc164948b4060ec1c0359441cd3.
2010-12-20st/mesa: Clean up header file inclusion in st_cb_texture.h.Vinson Lee
2010-12-20st/mesa: Clean up header file inclusion in st_cb_readpixels.h.Vinson Lee
2010-12-18st/mesa: Clean up header file inclusion in st_cb_program.h.Vinson Lee
2010-12-18st/mesa: Clean up header file inclusion in st_cb_accum.h.Vinson Lee
2010-12-18mesa/swrast/st: add ARB_occlusion_query2 support.Dave Airlie
This gets my vote for most pointless extension of all time, I'm guessing some driver could possibly optimise for this instead of counting it might just get a true/false, but I'm not really sure. need this to eventually advertise 3.3 despite its total uselessness. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-16st/mesa: s/varient/variantBrian Paul
2010-12-14st/mesa: fix incorrect prev pointer in destroy_program_variants()Brian Paul
2010-12-14st/mesa: rename the varient release functionsBrian Paul
2010-12-13st/mesa: 80-columns wrapping, whitespace fixes in st_cb_bitmap.cBrian Paul
2010-12-13st/mesa: add geom program code in destroy_program_variants()Brian Paul
2010-12-13st/mesa: program struct commentsBrian Paul
2010-12-13st/mesa: use st_fragment_program() instead of castBrian Paul
2010-12-13st/mesa: rename variableBrian Paul
2010-12-13st/mesa: minor re-indentingBrian Paul
2010-12-13st/mesa: make st_delete_program() staticBrian Paul
2010-12-13st/mesa: add comments, fix formatting in st_cb_program.cBrian Paul
2010-12-13Squashed commit of the following (st-mesa-per-context-shaders branch):Brian Paul
commit 4f106f44a32eaddb6cf3fea6ba5ee9787bff609a Author: Brian Paul <brianp@vmware.com> Date: Mon Dec 13 14:06:08 2010 -0700 st/mesa: reorganize vertex program translation code Now it looks like the fragment and geometry program code. Also remove the serial number fields from programs. It was used to determine when new translations were needed. Now the variant key is used for that. And the st_program_string_notify() callback removes all variants when the program's code is changed. commit e12d6791c5e4bff60bb2e6c04414b1b4d1325f3e Author: Brian Paul <brianp@vmware.com> Date: Mon Dec 13 13:38:12 2010 -0700 st/mesa: implement geometry shader varients Only needed in order to support per-context gallium shaders. commit c5751c673644808ab069259a852f24c4c0e92b9d Author: Brian Paul <brianp@vmware.com> Date: Sun Dec 12 15:28:57 2010 -0700 st/mesa: restore glDraw/CopyPixels using new fragment program variants Clean up the logic for fragment programs for glDraw/CopyPixels. We now generate fragment program variants for glDraw/CopyPixels as needed which do texture sampling, pixel scale/bias, pixelmap lookups, etc. commit 7b0bb99bab6547f503a0176b5c0aef1482b02c97 Author: Brian Paul <brianp@vmware.com> Date: Fri Dec 10 17:03:23 2010 -0700 st/mesa: checkpoint: implement fragment program variants The fragment programs variants are per-context, as the vertex programs. NOTE: glDrawPixels is totally broken at this point. commit 2cc926183f957f8abac18d71276dd5bbd1f27be2 Author: Brian Paul <brianp@vmware.com> Date: Fri Dec 10 14:59:32 2010 -0700 st/mesa: make vertex shader variants per-context Gallium shaders are per-context but OpenGL shaders aren't. So we need to make a different variant for each context. During context tear-down we need to walk over all shaders/programs and free all variants for the context being destroyed.
2010-12-13mesa, st/mesa: disable GL_ARB_geometry_shader4Brian Paul
The new GLSL compiler doesn't support geom shaders yet so disable the GL_ARB_geometry_shader4 extension. Undo this when geom shaders work again. NOTE: This is a candidate for the 7.10 branch.
2010-12-08st/mesa: translate shader system inputsBrian Paul
2010-12-06st/mesa: Unbind all constant buffersJakob Bornecrantz