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.
so_context.c
|
3487b93cc4b8bea44f966a4f5cfd29b26dbbcff2 |
10-Aug-2012 |
Brian Paul <brianp@vmware.com> |
cso: rearrange some structure fields for consistency
so_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>
so_context.c
so_context.h
|
832706a80beb1643ec777a0a795a4ddcf6dfaca4 |
03-Aug-2012 |
Brian Paul <brianp@vmware.com> |
cso: remove unreachable break statements
so_context.c
|
076e5eacf1e5653acd1e99f0e7fdfe7499da5665 |
03-Aug-2012 |
Brian Paul <brianp@vmware.com> |
cso: 80-column wrapping, remove trailing whitespace, etc
so_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>
so_context.c
so_context.h
|
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
so_context.c
so_context.h
|
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
so_context.c
so_context.h
|
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>
so_context.c
so_context.h
|
6f03692775ed49035802d660516b7d7464c7a1ad |
10-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
cso: unreference saved vertex buffers when restoring Reviewed-by: Brian Paul <brianp@vmware.com>
so_context.c
|
3dd7b53178cb085a1ff3d87844fa51487f8892fc |
22-Feb-2012 |
José Fonseca <jfonseca@vmware.com> |
gallium/cso: Put the comment about shader in the code for future reference.
so_context.h
|
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.
so_cache.c
so_cache.h
so_context.c
so_context.h
|
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
so_context.c
|
cf5948380829ff44aafb12c911b0fc064360d352 |
15-Dec-2011 |
Fredrik Höglund <fredrik@kde.org> |
gallium: fix a crash in drivers that don't support stream output
so_context.c
|
c05fafa4a0fd93d4264c46578e23a83ecf2b481e |
09-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement EXT_transform_feedback and ARB_transform_feedback2
so_context.c
so_context.h
|
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
so_context.c
|
c5e48025ed8dd44de63144ee3621c6aa4b5add81 |
04-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium/cso_cache: remove one call to pipe_sampler_view_reference
so_context.c
|
1dbcb83881f508280ed78dae6834d341936712f2 |
03-Jun-2011 |
Dave Airlie <airlied@redhat.com> |
cso: move cso hashes to a more table driven scheme this removes a bad branch pain in the hash table lookup fn. Signed-off-by: Dave Airlie <airlied@redhat.com>
so_cache.c
so_cache.h
|
d5062fb3a315c46d77d5c954a3e3c14be1907d33 |
09-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: always save and restore vertex buffers using cso_cache
so_context.c
so_context.h
|
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.
so_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.
so_context.c
|
5f30e0b2316c5d0a50f1b331e7cdb4c46882e918 |
03-Feb-2011 |
Brian Paul <brianp@vmware.com> |
cso: rename fragment sampler-related fields To better distinguish from vertex sampler fields.
so_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.
so_context.c
|
4460e9f0a1931c74ea364f19d7b1c458b6bc62d4 |
21-Jul-2010 |
Marek Olšák <maraeo@gmail.com> |
cso: handle depth clamp
so_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.
so_context.c
|
1d298a3764cef6a7119524fdc8f3c0d2589d6070 |
01-Jul-2010 |
Brian Paul <brianp@vmware.com> |
gallium/cso: unbind sampler views in cso_release_all()
so_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
so_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
so_context.c
|
9a966b93c03aecac8eb72e6133aa9a2f2c7673f3 |
27-Apr-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: fix glaring bugs in last commit
so_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.
so_context.c
so_context.h
|
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.
so_context.c
|
45d1dc26072ea83ee10cf1c8907cfdf5df51928e |
22-Mar-2010 |
Vinson Lee <vlee@vmware.com> |
cso: Remove unnecessary header.
so_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.
so_context.c
so_context.h
|
6420aca08ba6910dce22ab9f813cc57d611b0aa8 |
15-Mar-2010 |
Keith Whitwell <keithw@vmware.com> |
cso: Do not hold references to bound textures. Sampler views already hold references to those.
so_context.c
|
faa14818856e1e9a4ee624c2bc04d7aecabd07ab |
12-Mar-2010 |
Michal Krol <michal@vmware.com> |
cso: Remove set/save/restore_vertex_sampler_textures().
so_context.c
so_context.h
|
08f89988c8738029c60e89c61c9da0522bd53087 |
12-Mar-2010 |
Michal Krol <michal@vmware.com> |
cso: Add entry points for vertex/fragment sampler views.
so_context.c
so_context.h
|
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
so_context.c
|
a73fd447d4bb3d509fedf52b18a50fccab618298 |
09-Mar-2010 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
cso: Fix typo in assert.
so_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).
so_cache.h
so_context.c
|
227ae7b968c1351921babdbf6f052239766ffce4 |
24-Feb-2010 |
Michal Krol <michal@vmware.com> |
cso: Track clip state with cso context.
so_context.c
so_context.h
|
51d139f03898e5e46af6363c6bba131455738cc4 |
18-Feb-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: use cso state handling for pipe_vertex_element state
so_cache.c
so_cache.h
so_context.c
so_context.h
|
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
so_context.c
so_context.h
|
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
so_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.
so_context.c
so_context.h
|
28486880ca3ec39419ccee0cb1a3bedc9ef7117c |
02-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
gallium: pipe/p_inlines.h -> util/u_inlines.h
so_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.
so_cache.c
so_cache.h
so_context.c
|
cbb8d35a3ae999f0192dfdca35f7cbc1d494fabb |
25-Jan-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: fix cast for size calc of pipe_blend_state
so_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.
so_context.c
|
90cdf0d67c1086a8fd274689aa2e1b8da3a9ebdc |
18-Jan-2010 |
Jakob Bornecrantz <jakob@vmware.com> |
cso: Add set_vertex_samplers function
so_context.c
so_context.h
|
c847a13d38d4e8c5f4c386d060dcc8ec09e491a3 |
01-Jan-2010 |
José Fonseca <jfonseca@vmware.com> |
gallium: Generate a single library for auxiliaries with Make too.
akefile
|
f8f4757d46627fb453f08dc63fde3d7f458eafe2 |
31-Dec-2009 |
José Fonseca <jfonseca@vmware.com> |
scons: Aggregate all tiny libraries in a single library. Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
Conscript
|
89d8577fb3036547ef0b47498cc8dc5c77f886e0 |
14-Dec-2009 |
Zack Rusin <zackr@vmware.com> |
gallium: add geometry shader support to gallium
so_context.c
so_context.h
|
f6106566081978f663cf08e54bb8908cb58a5316 |
19-Feb-2010 |
Michal Krol <michal@vmware.com> |
gallium: WIP: Introduce sampler views.
so_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.
so_context.c
|
7a43c39d202333a74745e7724a76f36d66d8763b |
01-Dec-2009 |
Michal Krol <michal@vmware.com> |
cso: Fix function prototype.
so_context.h
|
fd4aa4f32365a5f054e7fc36b558680dcac66d1b |
01-Dec-2009 |
Michal Krol <michal@vmware.com> |
cso: Add support for separate vertex sampler state.
so_context.c
so_context.h
|
3a49497f102f2b64a8755d3cf65b7c0386e95aac |
25-Oct-2009 |
José Fonseca <jfonseca@vmware.com> |
gallium: Move enum pipe_error into p_defines.h. It's really just another define. No need for its own header.
so_context.h
|
389021220d27c376b81a6221a31d0ee33c24e67f |
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
gallium: replace // comments with /* */
so_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
so_context.c
|
f311893bf4cd4e20e5b43fa404c4a2f656791943 |
21-Jun-2009 |
Zack Rusin <zack@kde.org> |
cso: possible null pointer dereference reported by clang static analyzer
so_cache.c
|
45bde75bd67e7e920f0113842d1fa58613ccc3ec |
04-Mar-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Remove some superfluous instances of #include "p_inlines.h".
so_context.c
|
d9602e5144bc76b9791fa3382ca38c880df96198 |
20-Feb-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
gallium: Improve makefiles for libraries The template makefile that most libraries in gallium included was based on dri and had a bunch unrelevant junk in it. Update it and improve the depending makefiles.
akefile
|
ea4bf267e4b023b08043f91ac44592fed1736e7f |
18-Feb-2009 |
José Fonseca <jfonseca@vmware.com> |
util: Move p_debug.h into util module. The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
so_cache.c
so_hash.c
|
2299f21f8da816fc4588492965e7dac422da1a96 |
26-Jan-2009 |
Zack Rusin <zackr@vmware.com> |
gallium: standardize api on the prefix "nr"
so_context.c
|
4fe186f8dc4fc7eeab3b1069c886458cfc2e517c |
24-Sep-2008 |
Alan Hourihane <alanh@tungstengraphics.com> |
add cso_hash_contains() function
so_hash.c
so_hash.h
|
f68d2a0febca38bc7b31f9ab9718e944935b48bc |
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix surface object memory leak in cso module
so_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.
so_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]
so_cache.c
so_context.c
so_hash.c
|
c208a2c791fa24c7c5887fc496738cbddbfafc72 |
27-Jul-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Merge tgsi/exec and tgsi/util directories.
so_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.
so_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.
so_context.c
|
251db95945c6b484a093336e7bf12aed6091de54 |
01-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
cso: can memcmp-compare pipe_framebuffer_state now it includes fb dimensions
so_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
so_cache.c
so_cache.h
so_context.c
|
386102c62a3315182ffbc6319351cb883234511a |
24-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: make cso_release_all() public
so_context.c
so_context.h
|
a41804909d5799cddfbf48a46524f78c736408d4 |
24-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: minor clean-ups, comments
so_context.c
|
ac79532a15a7109bf0fbd0e40a1ba8e65ed8c435 |
24-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: tweak the new shader delete funcs
so_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.
so_context.c
so_context.h
|
5fcd84ab39318a371253b1a7285bc657fb82efed |
23-Apr-2008 |
Zack Rusin <zack@tungstengraphics.com> |
Create a sharable translate_cache and use it.
so_hash.h
|
e1180c2d694851ed12e86027aa406ee20546e6d3 |
23-Apr-2008 |
Zack Rusin <zack@tungstengraphics.com> |
fix the simple hash finding function and use it
so_cache.c
|
4f93a3a680560940630c44be0066b72a86ff008a |
23-Apr-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Fix texture refcount leak.
so_context.c
|
36feb5eacf16467d06d5cd9f63d19f17f933f1ef |
23-Apr-2008 |
Zack Rusin <zack@tungstengraphics.com> |
In case the 'func' is deleting the state move the iterator before calling it.
so_cache.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.
so_context.c
|
88f8eed3c4430505b1436b6c5b0114d34c33f822 |
22-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
cso: fix vs/fs confusion
so_context.c
|
83fec372b45eb0af9e2d83549b3d92afb17c38af |
22-Apr-2008 |
Michal Krol <michal@tungstengraphics.com> |
cso: Fix build on Win32.
so_hash.c
|
ed187d39a6e0fd921b2a45a143d88ac4b66eee91 |
21-Apr-2008 |
Zack Rusin <zack@tungstengraphics.com> |
make the api consistent (all set functions return pipe_error status)
so_context.c
so_context.h
|
0879237725eca893318137b795d4234300a37e9a |
21-Apr-2008 |
Zack Rusin <zack@tungstengraphics.com> |
handle some of the possible allocation failures within the hash itself
so_context.c
so_hash.c
|
9fe63929011cd9c4d86ab6525555a3e53423c854 |
21-Apr-2008 |
Zack Rusin <zack@tungstengraphics.com> |
initial stab at error handling in cso
so_context.c
so_context.h
|
9a0e6860d3b4602515f39593ed9af00cee7bb106 |
21-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
cso: disable not-really-working cso_set_*_shader() funcs
so_context.c
|
1dc5e56f3e48b629daa18c2d8631c96bda638eb6 |
21-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
cso: provide functions to bind fs/vs handles directly
so_context.c
so_context.h
|
785831fc6fc56815d9637c7dd2acbcee6dfbbb0a |
21-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
cso: propogate one easy error - many more
so_cache.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.
so_context.c
|
08717d94619802f7816420be155c0c92fa727109 |
21-Apr-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Do not mistake pipe state objects for state tracker state objects.
so_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.
so_context.c
|
38dc0f809d5f72b382676be6f72ea675a3929455 |
23-Mar-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Fix memory leak. pipe cso's were being destroyed, but the hash elements themselves not. proper fix is IMHO add a destructor callback to cso_hash.
so_cache.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...
so_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.
so_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.
so_context.c
so_context.h
|
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...
so_context.c
so_context.h
|
a889928d85ac8ba7e1a7fe15393858a9422cf750 |
13-Mar-2008 |
Zack Rusin <zack@tungstengraphics.com> |
add a way of removing an exact iterator from the hash
so_hash.c
so_hash.h
|
cb294542bcaca7d9847067ce502a68fd8e92f42e |
12-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove a debug printf
so_context.c
|
e584eb888fac90783c5f62333a39e6735be3e488 |
13-Mar-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Add a bit of documentation to cso_hash.
so_hash.h
|
a1d56728655a3fc87360b45ac8b348bcfdf6ac15 |
13-Mar-2008 |
Zack Rusin <zack@tungstengraphics.com> |
document hash collision resolutions
so_hash.h
|
34a0ac7f2b93d6d0f3fc85106e7dacb38c4229b6 |
11-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix some cso_state_callback cast warnings
so_cache.h
|
30fab81de8ea7bf81181db7bd605f376d4e4fca2 |
11-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: fix fs/vs typo in cso_set_vertex_shader()
so_context.c
|
be9a2457388d99a2185f258aeb5ef5183ccfbbb2 |
11-Mar-2008 |
Zack Rusin <zack@tungstengraphics.com> |
fix double deletion plus, if the current hash is bigger than max size make sure we delete enough from it
so_cache.c
so_hash.c
|
b041dbe9019ff8cb16ff15d0baaa803c7dc654db |
09-Mar-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: avoid deleting currently-bound CSO's on cache destruction
so_context.c
|
d8d6569e288fe3324473fb19ade798502dfbba8e |
09-Mar-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
cso: fix line endings
so_context.c
|
ac87bc18359825890a53d4dbfda5c6eecd916afd |
09-Mar-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
cso: Use MALLOC
so_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
akefile
Conscript
so_context.c
so_context.h
|
8902ce06e85f48a436ee3794c77f7abf59f56594 |
27-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Use stricter types. VC++ won't silently convert a pointer to a function with typed pointer arguments to one with void pointer arguments.
so_cache.h
|
ad6bb870de6103ed240fa1f9f828bd13a4401a9a |
26-Feb-2008 |
Michal Krol <michal@tungstengraphics.com> |
gallium: Fix build on Windows.
so_cache.c
|
7838aaffdb9d34427ebcb73aac585c85d9622018 |
26-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
implement cache limits for cso by default set to 4096, which might be on the large side
so_cache.c
so_hash.c
so_hash.h
|
e7985105695a18c29c13deb2b8f40c15eef72ee6 |
26-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
add an explicit callback decleration and use it to silence warnings
so_cache.c
so_cache.h
|
bf1c2f3602038440ffacf7ae494cb4e9bacc9bb9 |
26-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
hide cso cache definition and add some initial code for size limiting the caches
so_cache.c
so_cache.h
|
6abb82da7e676384e7e2c9732307b23f8ed7157d |
26-Feb-2008 |
Zack Rusin <zack@tungstengraphics.com> |
implement deleting of driver side cached state in cso's
so_cache.c
so_cache.h
so_hash.h
|
2a0675eb75b8ca52efab739218bf93922bf884b5 |
25-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Replace standand library functions by portable ones.
so_cache.c
so_hash.c
|
b75706764b4cf18f3b41bf4a97d82b3c528064d8 |
25-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Add Zack's comments about CSOs.
so_cache.h
|
f1bef2cba2e6e4c0988b05306dd1435b8c0df3d5 |
22-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Countour MSVC's pickyness for structures returned by value.
so_cache.h
|
901b03e84dce21f4241375da179b2199a3162e0c |
22-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Wrap decls in extern "C".
so_cache.h
so_hash.h
|
6c597238b2e168b63738ac8cc9167c1d09185aad |
22-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Add cso convenience routine (from Keith's patch).
so_cache.c
so_hash.h
|
2cf860b866d80595b7287d6991dc96abc3ca8dd3 |
22-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: MSVC fixes.
so_hash.c
|
b62f0ddd09f8ef9c400feca321412b3f0bc77e63 |
19-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Portability fixes. Eliminate C99/C++ constructs. (We should actually disable gcc C99 syntax options if we are serious about portability.)
so_hash.c
|
90b2beb661f630966788a6e909dc759c99e38973 |
19-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Simplify makefile boilerplate code. Don't define ASM_SOURCES variable globally -- reserve that variable to be defined locally by makefiles, together with C_SOURCES and CPP_SOURCES.
akefile
|
33ceb6716a2166db75659fa66d85fb4cfb9633c7 |
18-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Update scons build for new code layout.
Conscript
|
bfd5916eafb9a97ad10f1d4a8738e7dcb02e04f4 |
18-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Code reorganization: split gallium and mesa makefiles. In other words, don't build src/gallium source code from within src/mesa/Makefile. Also, allow to customize which gallium auxiliary dirs, driver driver, winsys dirs get built from the config/* files.
akefile
|
92fcbf6e7bc622dcace226bb70ff6d5cdbdbaecb |
15-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Code reorganization: s/aux/auxiliary/. "aux" is a reserved name on Windows (X_X)
so_cache.c
so_cache.h
so_hash.c
so_hash.h
|