summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_extensions.c
AgeCommit message (Collapse)Author
2010-03-01mesa: Rename pipe formats.José Fonseca
2010-02-28st/mesa: do not advertise S3TC if the external lib is not availableMarek Olšák
2010-02-09Merge branch 'gallium-nopointsizeminmax'Roland Scheidegger
Conflicts: src/gallium/drivers/nv10/nv10_state.c src/gallium/drivers/nv20/nv20_state.c src/gallium/drivers/nv50/nv50_program.c
2010-02-08st/mesa: fix wrong initialization of MaxPointSizeRoland Scheidegger
2010-02-04gallium: add point size clamp to implementation limits in vertex shaderRoland Scheidegger
The point size min/max registers (unused by mesa state tracker) were removed since most hardware couldn't do much with them. However, we don't want to have to rely on hw to do point size clamping correctly to implementation dependent limits, hence have to do that in the vertex shader. This should also solve a potential problem with (non-AA) points smaller than 1.0 which according to OGL still have size 1.0. Note that OGL point rendering is odd, in particular point sprites are rasterized differently to points. Some hardware might support those different modes, but in any case the different clamping values used for smooth/multisampled/sprite enabled points might help a bit for hw which rasterizes points the same as point sprites. Also tweak mesa's ff to vertex shader translation so don't have to clamp twice in case of point attenuation.
2010-01-29st/mesa: Gallium support for ARB_fragment_coord_conventions (v4)Luca Barbieri
Changes in v4; - Implemented Brian Paul's style suggestions Changes in v3: - Use positive caps instead of negative ones Changes in v2: - Updated formatting The state tracker will use the TGSI convention properties if the hardware exposes the appropriate capability, and otherwise adjust WPOS itself. This will also fix some drivers that were previously broken due to their incorrect, inadvertent, use of conventions other than upper_left+half_integer.
2010-01-28Merge commit 'origin/perrtblend'Roland Scheidegger
Conflicts: src/gallium/drivers/softpipe/sp_screen.c src/gallium/include/pipe/p_defines.h
2010-01-25st/mesa: handle EXT_draw_buffers2 per rendertarget blend enables / colormasksRoland Scheidegger
uses the new gallium per-rt blend functionality
2010-01-22Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
2010-01-20Merge remote branch 'origin/opengl-es-v2'Chia-I Wu
2010-01-19st/mesa: enable EXT_framebuffer_multisampleMarek Olšák
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-14st/mesa: Remove unnecessary header from st_extensions.c.Vinson Lee
2010-01-12Merge branch 'master' into opengl-es-v2Chia-I Wu
Conflicts: src/mesa/main/dd.h
2009-12-31st/mesa: implement conditional renderingBrian Paul
2009-12-01mesa: Update vertex texture code after gallium changes.Michal Krol
2009-11-06mesa: Export S3_s3tc as well.José Fonseca
Used in Quake3.
2009-11-05mesa/es: Add support for GL_OES_draw_texture.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-05Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/state.c
2009-08-03st/mesa: we don't support GL_NV_point_sprite (see comment)Brian Paul
2009-07-14gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from ↵Patrice Mandin
default extension list
2009-06-29st/mesa: enable GL_ARB_framebuffer_objectBrian Paul
All gallium drivers should be able to support mixed-size color/depth/stencil buffers. If not, we'll need a new PIPE_CAP_ query.
2009-06-29mesa: alphabetize linesBrian Paul
2009-06-26st/mesa: query PIPE_CAP_TGSI_CONT_SUPPORTEDBrian Paul
2009-06-26Merge branch 'arb_vertex_array_object'Brian Paul
2009-06-26Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile src/gallium/drivers/softpipe/sp_screen.c src/mesa/main/version.h
2009-06-22st/mesa: alphabetize linesBrian Paul
2009-06-22st/mesa: enable GL_ARB_vertex_array_objectBrian Paul
2009-06-19Merge branch 'ext-provoking-vertex'Brian Paul
Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S
2009-06-15Merge branch 'arb_map_buffer_range'Brian Paul
Conflicts: docs/relnotes-7.6.html src/mesa/main/mtypes.h
2009-06-12set/mesa: enable GL_NV_texture_env_combine4Brian Paul
This is handled entirely in core Mesa where the combiner state is converted into a fragment program.
2009-06-09st/mesa: enable EXT_provoking_vertexBrian Paul
2009-06-08st/mesa: enable GL_ARB_map_buffer_rangeBrian Paul
2009-06-02st/mesa: implement/enable GL_ARB_copy_buffer extensionBrian Paul
2009-05-21st: add support for GL_EXT_vertex_array_bgraBrian Paul
2009-05-13st/mesa: enable GL_APPLE_vertex_array_object for gallium driversBrian Paul
2009-02-19mesa: support GL_EXT_stencil_two_side in gallium/mesa state trackerBrian Paul
Since Ian's patch of a few weeks ago, we can enable all three variations of two-sided stencil. Update the state tracker to handle the extra back- face state and turn on the EXT. Note: there's a new Glean test for two-sided stencil now...
2009-01-26gallium: updated comments in st_extensions.cBrian Paul
2009-01-04gallium: fix MaxTextureCoordUnits initBrian Paul
Fixes Cell regression.
2009-01-02gallium: assorted state tracker fixes for > 8 texture samplersBrian Paul
2009-01-02gallium: clamp MaxVertexTextureImageUnits against Mesa limitBrian Paul
2008-12-12gallium: fixes for srgb, new srgb formatsRoland Scheidegger
add some more srgb texture formats, including compressed ones various fixes relating to srgb formats issues: the util code for generating mipmaps will not handle srgb formats correctly (would need to use a linear->srgb conversion shader)
2008-12-04gallium: query PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS to set ↵Brian
ctx->Constants.MaxVertexTextureImageUnits
2008-08-14gallium: added queries to determin GL_EXT_packed_depth_stencil supportBrian Paul
2008-08-06gallium: added PIPE_CAP_TEXTURE_MIRROR_CLAMP, PIPE_CAP_TEXTURE_MIRROR_REPEATBrian Paul
Check for these caps in state tracker and enable corresponding GL extensions if supported.
2008-07-19gallium: Finer grained is_format_supported.José Fonseca
2008-06-24mesa: Use appropriate unsigned/signed, float/integer types.José Fonseca
2008-05-02Some changed for non-C99 compilersAlan Hourihane
2008-04-25gallium: remove unneeded st->bitmap_texcoord_biasBrian Paul
2008-04-16gallium: finish-up and fix support for GL_COLOR matrix on pixel xfer pathBrian Paul
2008-04-14gallium: set ctx->Const.MaxDrawBuffersBrian