History log of /external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cab2fed135bc1edf7b65ddca3236020638427061 10-Aug-2012 Brian Paul <brianp@vmware.com> gallium: remove PIPE_MAX_VERTEX/GEOMETRY_SAMPLERS #define

PIPE_MAX_SAMPLERS, PIPE_MAX_VERTEX_SAMPLERS and PIPE_MAX_GEOMETRY_SAMPLERS
were all defined to the same value (16).

In various places we're creating arrays such as
sampler_views[PIPE_SHADER_TYPES][PIPE_MAX_SAMPLERS] so we were assuming
the same number of max samplers for all shader stages anyway.

Of course, drivers are still free to advertise different numbers of max
samplers for different shaders.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
3487b93cc4b8bea44f966a4f5cfd29b26dbbcff2 10-Aug-2012 Brian Paul <brianp@vmware.com> cso: rearrange some structure fields for consistency
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
e7689303a8e4790c38cc69ae7a197712f98e8f5b 24-Jul-2012 Marek Olšák <maraeo@gmail.com> gallium: set sample mask to ~0 for clear, blit and gen_mipmap

The sample mask affects single-sampled rendering too (it's orthogonal
to the color mask).

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
832706a80beb1643ec777a0a795a4ddcf6dfaca4 03-Aug-2012 Brian Paul <brianp@vmware.com> cso: remove unreachable break statements
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
076e5eacf1e5653acd1e99f0e7fdfe7499da5665 03-Aug-2012 Brian Paul <brianp@vmware.com> cso: 80-column wrapping, remove trailing whitespace, etc
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
ea6f035ae90895bd4ee3247408eb179dfdf96d22 02-Aug-2012 Brian Paul <brianp@vmware.com> gallium: consolidate CSO sampler and sampler_view functions

Merge the vertex/fragment versions of the cso_set/save/restore_samplers()
functions. Now we pass the shader stage (PIPE_SHADER_x) to the function
to indicate vertex/fragment/geometry samplers. For example:

cso_single_sampler(cso, PIPE_SHADER_FRAGMENT, unit, sampler);

This results in quite a bit of code reduction, fewer CSO functions and
support for geometry shaders.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
46fe17930ec71be3489fbb844de2bf16d877437e 29-Apr-2012 Marek Olšák <maraeo@gmail.com> cso: cso_context should install u_vbuf by itself and not st/mesa

so that it's installed in the other state trackers too
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
e0773da1e897164ed7597437070e32b867734ee5 10-Apr-2012 Marek Olšák <maraeo@gmail.com> gallium: make user vertex buffers optional

This couldn't be split because it would break bisecting.

Summary:
* r300g,r600g: stop using u_vbuf
* r300g,r600g: also report that the FIXED vertex type is unsupported
* u_vbuf: refactor for use in the state tracker
* cso: wire up u_vbuf with cso_context
* st/mesa: conditionally install u_vbuf
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
76eefcc70cc62db7d226591de3f918ff102f6de3 11-Apr-2012 Marek Olšák <maraeo@gmail.com> cso: add set_index_buffer and draw_vbo passthrough functions

v2: use util_draw_init_info

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
6f03692775ed49035802d660516b7d7464c7a1ad 10-Apr-2012 Marek Olšák <maraeo@gmail.com> cso: unreference saved vertex buffers when restoring

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
32f833e5a58d886065309da5414a63924e61e9d9 17-Feb-2012 Marek Olšák <maraeo@gmail.com> gallium/cso: kill off non-functional shader caching

Suggested by José.

We don't provide shader caching in CSO. Most of the time the api provides
object semantics for shaders anyway, and the cases where it doesn't
(eg mesa's internall-generated texenv programs), it will be up to
the state tracker to implement their own specialized caching.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
dc4c821f0817a3db716f965692fb701079f66340 10-Jan-2012 Marek Olšák <maraeo@gmail.com> Squash-merge branch 'gallium-clip-state'

Conflicts:
src/gallium/auxiliary/tgsi/tgsi_strings.c
src/mesa/state_tracker/st_atom_clip.c

commit d919791f2742e913173d6b335128e7d4c63c0840
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 17:59:22 2012 +0100

d3d1x: adapt to new clip state

commit cfec82bca3fefcdefafca3f4555285ec1d1ae421
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 14:16:51 2012 +0100

gallium/docs: update for clip state changes

commit c02bfeb81ad9f62041a2285ea6373bbbd602912a
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 14:21:43 2012 +0100

tgsi: add TGSI_PROPERTY_PROHIBIT_UCPS

commit d4e0a785a6a23ad2f6819fd72e236acb9750028d
Author: Brian Paul <brianp@vmware.com>
Date: Thu Jan 5 08:30:00 2012 -0700

tgsi: consolidate TGSI string arrays in new tgsi_strings.h

There was some duplication between the tgsi_dump.c and tgsi_text.c
files. Also use some static assertions to help catch errors when
adding new TGSI values.

v2: put strings in tgsi_strings.c file instead of the .h file.

Reviewed-by: Dave Airlie <airlied@redhat.com>

commit c28584ce0d8c62bd92c8f140729d344f88a0b3cd
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 12:48:09 2012 +0100

gallium: extend user_clip_plane_enable to apply to clip distances

commit f1d5016c07f786229ed057effbe55fbfd160b019
Author: Marek Olšák <maraeo@gmail.com>
Date: Fri Jan 6 02:39:09 2012 +0100

nvfx: adapt to new clip state

commit 6f6fa1c26bd19f797c1996731708e3569c9bfe24
Author: Marek Olšák <maraeo@gmail.com>
Date: Fri Jan 6 01:41:39 2012 +0100

st/mesa: fix DrawPixels with GL_DEPTH_CLAMP

commit c86ad730aa1c017788ae88a55f54071bf222be12
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Tue Jan 3 23:51:30 2012 +0100

nv50: adapt to new clip state

commit 3a8ae6ac243bae5970729dc4057fe02d992543dc
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Tue Jan 3 23:32:36 2012 +0100

nvc0: adapt to new clip state

commit 6243a8246997f8d2fcc69ab741a2c2dea080ff11
Author: Marek Olšák <maraeo@gmail.com>
Date: Thu Dec 29 01:32:51 2011 +0100

draw: initalize pt.user.planes in draw_init

This fixes a crash in glean/fpexceptions.

commit e3056524b19b56d473f4faff84ffa0eb41497408
Author: Marek Olšák <maraeo@gmail.com>
Date: Mon Dec 26 06:26:55 2011 +0100

svga: adapt to new clip state

commit c5bfa8b37d6d489271df457229081d6bbb51b4b7
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 14:11:51 2011 +0100

r600g: adapt to new clip state

commit f11890905362f62627c4a28a8255b76eb7de7df2
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 14:10:26 2011 +0100

r300g: adapt to new clip state

commit e37465327c79a01112f15f6278d9accc5bf3103f
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 12:39:16 2011 +0100

draw: adapt to new clip state

This adds a regression in the LLVM clipping path. Can anybody see anything
wrong with the code? It works for every other case, just glean/fpexceptions
crashes when doing the "Infinite clip plane test".

commit b474d2b18c72d965eefae4e427c269cba5ce6ba2
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 13:14:59 2011 +0100

u_blitter: don't save/set/restore clip state

commit 9dd240ea91f523a677af45e8d0adb9e661e28602
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 13:11:56 2011 +0100

gallium: don't cso_save/set/restore clip state

The enable bits are in the rasterizer state.

commit a4f7031179f5f4ad524b34b394214b984ac950f6
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 12:58:55 2011 +0100

gallium: default depth_clip to 1

depth_clip = !depth_clamp

commit fe21147a00ab90e549d63fe12ee4625c9c2ffcc3
Author: Marek Olšák <maraeo@gmail.com>
Date: Mon Dec 26 06:14:19 2011 +0100

trace,util: update state logging to new clip state

Also dump the other missing flags.

commit 2a3b96e84ac872dcc5bc1de049fe76bb58d64b23
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 10:43:43 2011 +0100

st/mesa: adapt to new clip state

commit b7b656a42fca19d7c85267f42649a206a85a2c72
Author: Marek Olšák <maraeo@gmail.com>
Date: Sat Dec 17 15:45:19 2011 +0100

gallium: move state enable bits from clip_state to rasterizer_state
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
cf5948380829ff44aafb12c911b0fc064360d352 15-Dec-2011 Fredrik Höglund <fredrik@kde.org> gallium: fix a crash in drivers that don't support stream output
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
c05fafa4a0fd93d4264c46578e23a83ecf2b481e 09-Dec-2011 Marek Olšák <maraeo@gmail.com> st/mesa: implement EXT_transform_feedback and ARB_transform_feedback2
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
d2633af696f2e4ff98f669061e4e222e8643312c 04-Nov-2011 Marek Olšák <maraeo@gmail.com> st/mesa: set geometry shader to NULL when doing internal drawing

The code expects the geometry shader to be NULL.
We don't have geometry shaders now, but it's good to be prepared.

v2: check for support in the cso context
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
c5e48025ed8dd44de63144ee3621c6aa4b5add81 04-Nov-2011 Marek Olšák <maraeo@gmail.com> gallium/cso_cache: remove one call to pipe_sampler_view_reference
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
d5062fb3a315c46d77d5c954a3e3c14be1907d33 09-Jan-2011 Marek Olšák <maraeo@gmail.com> gallium: always save and restore vertex buffers using cso_cache
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
c5fb2c60bfe114d993da6c416a39c7873ab9cb3d 03-Feb-2011 Brian Paul <brianp@vmware.com> cso: don't tell drivers to bind null samplers, sampler views

Before, the set_sampler_views() and restore_sampler_views() functions
used MAX2(old,new) to tell the driver how many samplers or sampler
views to set. This could result in cases such as:

pipe->set_fragment_sampler_views(pipe, 4, views={foo, bar, NULL, NULL})

Many/most gallium drivers would take this as-is and set
ctx->num_sampler_views=4 and ctx->sampler_views={foo, bar, NULL, NULL, ...}.
Later, loops over ctx->num_sampler_views would have to check for null
pointers. Worse, the number of sampler views and number of sampler CSOs
could get out of sync:

ctx->num_samplers = 2
ctx->samplers = {foo, bar, ...}
ctx->num_sampler_views = 4
ctx->sampler_views={Foo, Bar, NULL, NULL, ...}

So loops over the num_samplers could run into null sampler_views pointers
or vice versa.

This fixes a failed assertion in the SVGA driver when running the Mesa
engine demo in AA line mode (and possibly other cases).

It looks like all gallium drivers are careful to unreference views
and null-out sampler CSO pointers for the units beyond what's set
with the pipe::bind_x_sampler_states() and pipe::set_x_sampler_views()
functions.

I'll update the gallium docs to explain this as well.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
c06fa98c86abbff730a098ffbe980347b3c7d0e6 03-Feb-2011 Brian Paul <brianp@vmware.com> cso: refactor texture sampler and sampler view code

This consolidates the code duplicated between the fragment sampler
and vertex sampler functions. Plus, it'll make adding support for
geometry shader samplers trivial.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
5f30e0b2316c5d0a50f1b331e7cdb4c46882e918 03-Feb-2011 Brian Paul <brianp@vmware.com> cso: rename fragment sampler-related fields

To better distinguish from vertex sampler fields.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
d087cfaabf386c462329fb62f54311523a89f106 03-Feb-2011 Brian Paul <brianp@vmware.com> cso: fix loop bound in cso_set_vertex_samplers()

Before we were looping to nr_samplers, which is the number of fragment
samplers, not vertex samplers.

NOTE: This is a candidate for the 7.9 and 7.10 branches.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
4460e9f0a1931c74ea364f19d7b1c458b6bc62d4 21-Jul-2010 Marek Olšák <maraeo@gmail.com> cso: handle depth clamp
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
e845765f0f8791a0e6c2e54b91ebf9f0e831d19f 02-Jul-2010 Brian Paul <brianp@vmware.com> gallium/cso: check for set_vertex_sampler_views != NULL before calling it

Not all drivers implement this method.
Fixes regression reported by Chris Rankin and bug 28889.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
1d298a3764cef6a7119524fdc8f3c0d2589d6070 01-Jul-2010 Brian Paul <brianp@vmware.com> gallium/cso: unbind sampler views in cso_release_all()
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
0ae2f59c0287f4baec6c7de5f2f0fdf736fba26d 04-May-2010 Roland Scheidegger <sroland@vmware.com> Merge commit 'origin/master' into gallium-msaa
9b02f41cac36286d6838339532c7a95a0615b645 04-May-2010 Brian Paul <brianp@vmware.com> cso: use framebuffer utility functions
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
7662e3519bef3802024da3050b886068281e02b1 30-Apr-2010 Roland Scheidegger <sroland@vmware.com> Merge commit 'origin/master' into gallium-msaa
4ccee747257192ef584d26d8854f8bc17cc57284 29-Apr-2010 Brian Paul <brianp@vmware.com> cso: remove commented-out code, update function docs
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
9a966b93c03aecac8eb72e6133aa9a2f2c7673f3 27-Apr-2010 Roland Scheidegger <sroland@vmware.com> gallium: fix glaring bugs in last commit
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
aac2cccccfd701ae8d7ce0813c28c64498d4a076 26-Apr-2010 Roland Scheidegger <sroland@vmware.com> gallium: interface changes for multisampling

add function to set sample mask, and state for alpha-to-coverage and
alpha-to-one. Also make it possible to query for supported sample count
with is_msaa_supported().

Use explicit resource_resolve() to resolve a resource. Note that it is illegal
to bind a unresolved resource as a sampler view, must be resolved first (as per
d3d10 and OGL APIs, binding unresolved resource would mean that special texture
fetch functions need to be used which give explicit control over what samples
to fetch, which isn't supported yet).

Also change surface_fill() and surface_copy() to operate directly on resources.
Blits should operate directly on resources, most often state trackers just used
get_tex_surface() then did a blit. Note this also means the blit bind flags are
gone, if a driver implements this functionality it is expected to handle it for
all resources having depth_stencil/render_target/sampler_view bind flags (might
even require it for all bind flags?).

Might want to introduce quality levels for MSAA later.
Might need to revisit this for hw which does instant resolve.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
53499c64b212c68527f84f5e672cdfc95935f643 24-Apr-2010 José Fonseca <jfonseca@vmware.com> cso_cache: Ensure irrelevant state of the blend state is zeroed.

Otherwise drivers that bake the full blend state in a key end up having
uninitialized memory in their key.

Courtesy of valgrind.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
45d1dc26072ea83ee10cf1c8907cfdf5df51928e 22-Mar-2010 Vinson Lee <vlee@vmware.com> cso: Remove unnecessary header.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
3b9555094d128052bdaf9957fe9062b35f7f5392 19-Mar-2010 Roland Scheidegger <sroland@vmware.com> cso: remove cso_set/save/restore_sampler_textures

no longer used after all statetrackers have been converted.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
6420aca08ba6910dce22ab9f813cc57d611b0aa8 15-Mar-2010 Keith Whitwell <keithw@vmware.com> cso: Do not hold references to bound textures.

Sampler views already hold references to those.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
faa14818856e1e9a4ee624c2bc04d7aecabd07ab 12-Mar-2010 Michal Krol <michal@vmware.com> cso: Remove set/save/restore_vertex_sampler_textures().
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
08f89988c8738029c60e89c61c9da0522bd53087 12-Mar-2010 Michal Krol <michal@vmware.com> cso: Add entry points for vertex/fragment sampler views.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
3ce4375912c8ea488460e593e07c5bb15b92dca9 10-Mar-2010 Michal Krol <michal@vmware.com> Merge branch 'master' into gallium-sampler-view

Conflicts:
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/SConscript
src/gallium/auxiliary/tgsi/tgsi_exec.c
src/gallium/auxiliary/util/u_blitter.c
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i965/brw_context.h
src/gallium/drivers/llvmpipe/lp_context.h
src/gallium/drivers/nv50/nv50_context.h
src/gallium/drivers/nv50/nv50_state_validate.c
src/gallium/drivers/nv50/nv50_tex.c
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/softpipe/sp_context.h
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_sampler.c
0d6b0b0d9d5257cc8fb95786b6cd77d088bdb35e 09-Mar-2010 Roland Scheidegger <sroland@vmware.com> cso: don't forget to release vertex elements state
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
a73fd447d4bb3d509fedf52b18a50fccab618298 09-Mar-2010 Corbin Simpson <MostAwesomeDude@gmail.com> cso: Fix typo in assert.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
685340a53e1dcb2a888e634ee71ba24356befe69 09-Mar-2010 Roland Scheidegger <sroland@vmware.com> Merge branch 'gallium-vertexelementcso'

Conflicts:
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_gen_mipmap.c
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i965/brw_draw_upload.c
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r300/r300_state_derived.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_clear.c
fe9f8536f1b1e7a3a2ac10afd8078e8f4d327578 09-Mar-2010 Roland Scheidegger <sroland@vmware.com> auxiliary: fix vertex elements cso

potentially could have got a match even though the cso was different
(in case of different count and first few elements the same).
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
227ae7b968c1351921babdbf6f052239766ffce4 24-Feb-2010 Michal Krol <michal@vmware.com> cso: Track clip state with cso context.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
51d139f03898e5e46af6363c6bba131455738cc4 18-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: use cso state handling for pipe_vertex_element state
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
263406addb90ca7599ddfb210944ab0dd63b973c 11-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: give pipe_stencil_ref its own cso_save/restore functions

seems cleaner, and other dynamic state like viewport is handled that way too
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
b75adabc89e34083ac302ac9bafc8d80b62ac14c 11-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alpha

makes life of state trackers easier
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
1a859ecf4a4728cb321b1f68d51491cd285a3c03 09-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: don't put stencil ref value in pipe_depth_stencil_alpha_state

This will make driver's life a bit harder, however it makes sense that stencil
reference value is not part of the pipe_depth_stencil_alpha_state, because
it often (there are some algorithms which require this) changes more frequently
than the rest of the dsa state. This is also encouraged by some graphic APIs.
Treat it similar to pipe_blend_color.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
28486880ca3ec39419ccee0cb1a3bedc9ef7117c 02-Feb-2010 José Fonseca <jfonseca@vmware.com> gallium: pipe/p_inlines.h -> util/u_inlines.h
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
847ac8ec5ff683076dff17d8e0426a64b4ad65e7 30-Jan-2010 Roland Scheidegger <sroland@vmware.com> gallium: fix blend state cso

if independent blend state was disabled, only the data from first rt was
stored, however the comparison used the full state, hence there never was
a match and always a new object was created.
Fixes a huge performance drop with llvmpipe due to recompilation.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
cbb8d35a3ae999f0192dfdca35f7cbc1d494fabb 25-Jan-2010 Roland Scheidegger <sroland@vmware.com> gallium: fix cast for size calc of pipe_blend_state
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
bef610f693266c338b99511b4d1eea5d5b97644e 20-Jan-2010 Roland Scheidegger <sroland@vmware.com> gallium: prepare for per-rendertarget blend enables, writemasks, blend funcs

GL 3.0 (EXT_draw_buffers2) and other APIs allow independent blend enables and
write masks per render target, ARB_draw_buffers_blend (and other APIs) also
allow independent blend functions. Things like dithering, logic ops however
are not extended to be per rendertarget, that might be conceptually possible
however it doesn't look like any API wants to expose this.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
90cdf0d67c1086a8fd274689aa2e1b8da3a9ebdc 18-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> cso: Add set_vertex_samplers function
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
89d8577fb3036547ef0b47498cc8dc5c77f886e0 14-Dec-2009 Zack Rusin <zackr@vmware.com> gallium: add geometry shader support to gallium
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
f6106566081978f663cf08e54bb8908cb58a5316 19-Feb-2010 Michal Krol <michal@vmware.com> gallium: WIP: Introduce sampler views.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
debc0b6fa8ce110eb4febc376d8327336259742c 02-Dec-2009 Brian Paul <brianp@vmware.com> cso: check if pipe_context::bind_vertex_sampler_states is non-null

Fixes segfaults upon exit when the CSO module is releasing its objects.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
fd4aa4f32365a5f054e7fc36b558680dcac66d1b 01-Dec-2009 Michal Krol <michal@vmware.com> cso: Add support for separate vertex sampler state.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
389021220d27c376b81a6221a31d0ee33c24e67f 02-Oct-2009 Brian Paul <brianp@vmware.com> gallium: replace // comments with /* */
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
124a6b1958c630ea049025e2b72547096fdc8f2c 24-Jun-2009 Zack Rusin <zack@kde.org> gallium: rearrange some members to avoid memory holes/padding

plus it saves us a cacheline in the cso
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
45bde75bd67e7e920f0113842d1fa58613ccc3ec 04-Mar-2009 Michel Dänzer <daenzer@vmware.com> gallium: Remove some superfluous instances of #include "p_inlines.h".
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
2299f21f8da816fc4588492965e7dac422da1a96 26-Jan-2009 Zack Rusin <zackr@vmware.com> gallium: standardize api on the prefix "nr"
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
f68d2a0febca38bc7b31f9ab9718e944935b48bc 18-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix surface object memory leak in cso module
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
f10e7f0d288530a31a7ed3bc976a537fe640ce69 17-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix lack of surface reference counting in cso_set/save/restore_framebuffer()

Fixes asst problems with FBO / render to texture.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
4f25420bdd834e81a3e22733304efc5261c2998a 25-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h

Also, rename p_tile.[ch] to u_tile.[ch]
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
c208a2c791fa24c7c5887fc496738cbddbfafc72 27-Jul-2008 José Fonseca <jrfonseca@tungstengraphics.com> Merge tgsi/exec and tgsi/util directories.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
359058e7b77ddbac5eec7e8d1c77232bcbb1adbf 25-May-2008 Keith Whitwell <keith@tungstengraphics.com> cso: use memcpy rather than structure asignment for copying

Apparently gcc will omit to copy hidden padding bytes under some circumstances,
which means later on memcmp() will indicate a difference between structs
even though all the visible members are identical.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
d2ec02f44026244130b4e6f9d87eac6a03a9c6c1 08-May-2008 Michel Dänzer <michel@tungstengraphics.com> Merge branch 'gallium-0.1' into gallium-tex-surfaces
1dfb3d4729ce4cd71a593c14dbb2907cd987f8ab 08-May-2008 Michel Dänzer <michel@tungstengraphics.com> cso_cache: Fix test for currently bound blend state.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
251db95945c6b484a093336e7bf12aed6091de54 01-May-2008 Keith Whitwell <keith@tungstengraphics.com> cso: can memcmp-compare pipe_framebuffer_state now it includes fb dimensions
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
026e31a068981724fb0c98f6d1fc87d086fd2da6 30-Apr-2008 Zack Rusin <zack@tungstengraphics.com> try to fix the deleting of the bound cso during cleanup of the hash
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
386102c62a3315182ffbc6319351cb883234511a 24-Apr-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: make cso_release_all() public
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
a41804909d5799cddfbf48a46524f78c736408d4 24-Apr-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: minor clean-ups, comments
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
ac79532a15a7109bf0fbd0e40a1ba8e65ed8c435 24-Apr-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: tweak the new shader delete funcs
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
f2c31257167f85df276322be1b8523064e8b66a9 24-Apr-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: added cso_delete_vertex_fragment_shader() functions

The state tracker now uses these functions to free shaders, rather than
the pipe->delete_vs/fs-state() functions. Before, we could get in a situation
where we free() a shader and happen to alloc() a new one at the same address.
The cso_set_vertex/fragment_shader() function would no-op the state change
since the pointers were the same. This led to problems elsewhere, of course.

The new delete functions null-out the CSO's current shader pointers.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
4f93a3a680560940630c44be0066b72a86ff008a 23-Apr-2008 José Fonseca <jrfonseca@tungstengraphics.com> gallium: Fix texture refcount leak.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
8f4f89c04383b2100f6d856270cad62dfe8a6354 22-Apr-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: remove assertions

It's possible the current vs/fs is null when cso_save_vertex/fragment_shader()
is called.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
88f8eed3c4430505b1436b6c5b0114d34c33f822 22-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> cso: fix vs/fs confusion
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
ed187d39a6e0fd921b2a45a143d88ac4b66eee91 21-Apr-2008 Zack Rusin <zack@tungstengraphics.com> make the api consistent (all set functions return pipe_error status)
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
0879237725eca893318137b795d4234300a37e9a 21-Apr-2008 Zack Rusin <zack@tungstengraphics.com> handle some of the possible allocation failures within the hash itself
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
9fe63929011cd9c4d86ab6525555a3e53423c854 21-Apr-2008 Zack Rusin <zack@tungstengraphics.com> initial stab at error handling in cso
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
9a0e6860d3b4602515f39593ed9af00cee7bb106 21-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> cso: disable not-really-working cso_set_*_shader() funcs
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
1dc5e56f3e48b629daa18c2d8631c96bda638eb6 21-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> cso: provide functions to bind fs/vs handles directly
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
d3045ebb0642b09b4d353be6d4a258e6766061e6 21-Apr-2008 José Fonseca <jrfonseca@tungstengraphics.com> gallium: Hash the fragment shader tokens, instead of pipe_shader_state.

PS: pipe_shader_state should probably go away now that it is reduced to a single pointer.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
08717d94619802f7816420be155c0c92fa727109 21-Apr-2008 José Fonseca <jrfonseca@tungstengraphics.com> gallium: Do not mistake pipe state objects for state tracker state objects.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
29858e1b553cee1fd7e3380ea62c69d2a6b91b95 20-Apr-2008 José Fonseca <jrfonseca@tungstengraphics.com> gallium: Refcount textures.

Pipe driver does refcount textures. If cso_context does not, dangling
pointers appear.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
8dd90ee19d97c4b032c2b057d96b3e674be3e1fd 20-Mar-2008 Brian <brian.paul@tungstengraphics.com> gallium: temporarily disable the memcmp() in cso_set_framebuffer()

The memcmp() fails to detect buffer size changes...
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
b45669283fe4b9af9f2e78ac3c0c84207cf63775 19-Mar-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix bug in cso_single_sampler_done() in computation of nr_samplers

Need to find highest used sampler so search from end toward beginning.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
7d95efde0a0e13e13c59444703bc47eb13926385 19-Mar-2008 Brian <brian.paul@tungstengraphics.com> gallium: implement CSO save/restore functions for use by meta operations (blit, gen-mipmaps, quad-clear, etc)

Also, additional cso_set_*() functions for viewport, framebuffer, blend color,
etc. state.
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
e5b19a0f833b5a3d5ffcf50d25a620d00bd8914b 19-Mar-2008 Brian <brian.paul@tungstengraphics.com> gallium: added cso_unset_*() functions

If we go behind the CSO context's back and set pipe state directly we
need to invalidate the CSO's 'current' pointers.
This will be revisited...
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
cb294542bcaca7d9847067ce502a68fd8e92f42e 12-Mar-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: remove a debug printf
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
30fab81de8ea7bf81181db7bd605f376d4e4fca2 11-Mar-2008 Brian <brian.paul@tungstengraphics.com> gallium: fix fs/vs typo in cso_set_vertex_shader()
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
b041dbe9019ff8cb16ff15d0baaa803c7dc654db 09-Mar-2008 Keith Whitwell <keith@tungstengraphics.com> gallium: avoid deleting currently-bound CSO's on cache destruction
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
d8d6569e288fe3324473fb19ade798502dfbba8e 09-Mar-2008 Keith Whitwell <keith@tungstengraphics.com> cso: fix line endings
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
ac87bc18359825890a53d4dbfda5c6eecd916afd 09-Mar-2008 Keith Whitwell <keith@tungstengraphics.com> cso: Use MALLOC
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c
5d802d8c8460cecf306b130eb29ef05069173e30 09-Mar-2008 Keith Whitwell <keith@tungstengraphics.com> cso: add a higher-level interface which does all pipe interactions to set a given state
/external/mesa3d/src/gallium/auxiliary/cso_cache/cso_context.c