History log of /external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2e1cfcc431471c68ba79c9323716bed7da79c909 19-Aug-2016 Charmaine Lee <charmainel@vmware.com> svga: add guest statistic gathering interface

With this patch, guest statistic gathering interface is added to
svga winsys interface that can be used to gather svga driver
statistic. The winsys module can then share the statistic info with
the VMX host via the mksstats interface.

The statistic enums used in the svga driver are defined in
svga_stats_count and svga_stats_time in svga_winsys.h

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
2dbc20e45689e09766552517a74e2270e49817b5 19-Dec-2015 Roland Scheidegger <sroland@vmware.com> draw: nuke the interp parameter from vertex_info

draw emit couldn't care less what the interpolation mode is...
This somehow looked like it would matter, all drivers more or less
dutifully filled that in correctly. But this is only used for emit,
if draw needs to know about interpolation mode (for clipping for instance)
it will get that information from the vs anyway.
softpipe actually used to depend on that interpolation parameter, as it
abused that structure quite a bit but no longer.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
e054251ed11e25a080f64b92db9334c9b07c8c76 13-Aug-2015 Brian Paul <brianp@vmware.com> svga: update driver for version 10 GPU interface

This is a squash commit of roughly two years of development work.
Authors include:
Brian Paul
Charmaine Lee
Thomas Hellstrom
Jakob Bornecrantz
Sinclair Yeh
Mingcheng Chen
Kai Ninomiya
MengLin Wu

The driver supports OpenGL 3.3.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
f9e2c24326869542c9b43220f63dd9841c6de38f 29-Oct-2013 Matthew McClure <mcclurem@vmware.com> draw,llvmpipe,util: add depth bias calculation for arb_depth_buffer_float

With this patch, the llvmpipe and draw modules will calculate the depth bias
according to floating point depth buffer semantics described in the
arb_depth_buffer_float specification, when the driver has a z buffer bound
with a format type of UTIL_FORMAT_TYPE_FLOAT.

By default, the driver will use the existing UNORM calculation for depth bias.

A new function, draw_set_zs_format, was added to calculate the Minimum
Resolvable Depth value and floating point depth sense for the draw module.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
92cbfded6a3000e19385191bcf30f57e2eb933b6 26-Aug-2013 Brian Paul <brianp@vmware.com> svga: replace 0 with PIPE_OK in a few places
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
d6b3a193d4d525c5048ebf793e6a63fd98f92d64 31-Jul-2013 Zack Rusin <zackr@vmware.com> draw: inject frontface info into wireframe outputs

Draw module can decompose primitives into wireframe models, which
is a fancy word for 'lines', unfortunately that decomposition means
that we weren't able to preserve the original front-face info which
could be derived from the original primitives (lines don't have a
'face'). To fix it allow draw module to inject a fake face semantic
into outputs from which the backends can figure out the original
frontfacing info of the primitives.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
eaabb4ead07ae043ecc789024028e225ebd0f318 24-May-2013 Zack Rusin <zackr@vmware.com> gallium: Add support for multiple viewports

Gallium supported only a single viewport/scissor combination. This
commit changes the interface to allow us to add support for multiple
viewports/scissors.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Reviewed-by: José Fonseca<jfonseca@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
e73bf3b805de78299f1a652668ba4e6eab9bac94 29-Mar-2012 Marek Olšák <maraeo@gmail.com> gallium: add start_slot parameter to set_vertex_buffers

This allows updating only a subrange of buffer bindings.

set_vertex_buffers(pipe, start_slot, count, NULL) unbinds buffers in that
range. Binding NULL resources unbinds buffers too (both buffer and user_buffer
must be NULL).

The meta ops are adapted to only save, change, and restore the single slot
they use. The cso_context can save and restore only one vertex buffer slot.
The clients can query which one it is using cso_get_aux_vertex_buffer_slot.
It's currently set to 0. (the Draw module breaks if it's set to non-zero)

It should decrease the CPU overhead when using a lot of meta ops, but
the drivers must be able to treat each vertex buffer slot as a separate
state (only r600g does so at the moment).

I can imagine this also being useful for optimizing some OpenGL use cases.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
ffbac58746a18591499aea212e62b32159cc0f58 17-Oct-2012 Brian Paul <brianp@vmware.com> svga: silence MSVC double/float assignment warnings
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
25cd2c2a8a730d694fb9e4fe839c25c72ddee9a8 17-Oct-2012 Brian Paul <brianp@vmware.com> svga: silence some MSVC signed/unsigned comparison warnings
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
1ca48b3161449945b769b27c33f88f397f98084a 04-Nov-2011 Brian Paul <brianp@vmware.com> svga: fix varying var remapping for unused FS outputs

If the VS has outputs that aren't consumed by the FS we were mapping
them all to one unused VS output index, but that's illegal. Instead,
map unused VS outputs to unique indexes.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
022e270b1b972b6d04890f1ac1fc2a4a4ed03ff7 04-Nov-2011 Brian Paul <brianp@vmware.com> svga: pass fragment shader to draw module

If we use the draw-module for wide point/line/etc drawing we'll need
a fragment shader too (like we pass in the vertex shader).

This fixes sprite point rendering when forcing the swtnl path.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
58ea42b7db72586563914dea6fed9656caaf7678 04-Nov-2011 Brian Paul <brianp@vmware.com> svga: implement generic variable index remapping

The state tracker may generate shaders that use generic vs outputs /
fs inputs like:

DCL IN[0], GENERIC[0]
DCL IN[1], GENERIC[10]
DCL IN[2], GENERIC[11]

This patch remaps 0, 10, 11 to small integers like 1, 2, 3 so that we
stay inside the SVGA3D limit (8).

The remapping is done to both the vertex shader outputs and the
fragment shader inputs. The same mapping must be used for a vs/fs
pair.

Note that 'union svga_compile_key' is now 'struct svga_compile_key'
because we needed to add the register remapping table. The change in
size isn't really significant though (it's not a search key).

Also, add assertions when building up SVGA3D src/dst registers to we
don't try to store too large of value for the bitfield size.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
e8f646fa7e9cf6f6793864384128157735aa03b3 02-Nov-2011 José Fonseca <jfonseca@vmware.com> svga: Update state prototypes to return pipe_error.

Fixes a bunch of prototype mismatch warnings..
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
f0ca9f71341f494be961aacc08bddd9cea28fca2 11-Feb-2011 José Fonseca <jfonseca@vmware.com> svga: Stippled lines can also be drawn with triangles.
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
8f3bdeaad610d7d5a5c6e73e1e9c721219595754 19-Apr-2010 Brian Paul <brianp@vmware.com> Merge branch '7.8'

Conflicts:

src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/drivers/llvmpipe/lp_context.c
e3a34cc7f6c9f959cdc2af4486e84587fab4d0d7 19-Apr-2010 Brian Paul <brianp@vmware.com> gallium/draw: use correct rasterization state for wide/AA points/lines

When points or lines are decomposed into triangles, we need to be sure
to disable polygon culling, stippling, "un-filled" modes, etc.

This patch sets the rasterization state to disable those things prior to
drawing points/lines with triangles, then restores the previous state
afterward.

The new piglit point-no-line-cull test checks this problem & solution.
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
b1676a953eb61838e9ef03532792bc723f4d4ada 01-Mar-2010 Roland Scheidegger <sroland@vmware.com> svga: adapt to new vertex element cso
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
28486880ca3ec39419ccee0cb1a3bedc9ef7117c 02-Feb-2010 José Fonseca <jfonseca@vmware.com> gallium: pipe/p_inlines.h -> util/u_inlines.h
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
cd8614b0287dc5a69725ec4ee0208fad61f7789e 22-Jan-2010 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

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
c50fe2c55cfe9c858b7b7859da79edb0693ee8bd 21-Jan-2010 Vinson Lee <vlee@vmware.com> svga: Remove unnecessary headers.
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
b0575151b66c9f5387c0433f41db9c19a848d45e 19-Dec-2009 Zack Rusin <zackr@vmware.com> gs: fix drivers so they work with geometry shaders
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
429f0e3b37e33a33289f8488369474b20bfd5247 19-Dec-2009 Roland Scheidegger <sroland@vmware.com> gallium: fix up drivers for edgeflag changes

several drivers which chose to ignore edgeflags might require some more work,
while edgeflags never worked there they might now crash.
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c
3192633d4abe262d413e41feb871fe8deed409d8 16-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> svga: Add svga driver
/external/mesa3d/src/gallium/drivers/svga/svga_swtnl_state.c