7cdf292dc3a83ff8d6cb26fc15a679d6d2cdc25b |
|
07-Nov-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
st/mesa: fix SINT <-> UINT conversion during PBO upload / download This fixes use cases like glReadPixels from an RGBA8I framebuffer into a PBO with type GL_INT by clamping values appropriately when they fall outside the range of the destination format. Fixes parts of GL45-CTS.gtf32.GL3Tests.packed_pixels.packed_pixels_pbo. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
a1fa8b731fc5ae12b3f4961dd3a841b384177564 |
|
30-Sep-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
st/mesa: set a device reset callback when available Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
532db3b7881f3dfcd299320cbf44443d06b88373 |
|
27-Aug-2016 |
Kai Wasserbäch <kai@dev.carbon-project.org> |
gallium: Use enum pipe_shader_type in set_sampler_views() Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
ac032d800e5f4cb3ab9166187150a93c17a508aa |
|
02-Aug-2016 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: _NEW_TEXTURE & CONSTANTS shouldn't flag states that aren't used Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
412bd7360c46405de3158683ce0f349126c30b77 |
|
02-Aug-2016 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: don't update clip state if it has no effect Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
79dcd69afae4ada47fd4e746e9eec87c6d8028f0 |
|
17-Jul-2016 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: remove excessive shader state dirtying This just needs to be done by st_validate_state. v2: add "shaders_may_be_dirty" flags for not skipping st_validate_state on _NEW_PROGRAM to detect real shader changes Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
c8fe3b9dca73e3b91979d92ba4136b302001b3bb |
|
17-Jul-2016 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: completely rewrite state atoms The goal is to do this in st_validate_state: while (dirty) atoms[u_bit_scan(&dirty)]->update(st); That implies that atoms can't specify which flags they consume. There is exactly one ST_NEW_* flag for each atom. (58 flags in total) There are macros that combine multiple flags into one for easier use. All _NEW_* flags are translated into ST_NEW_* flags in st_invalidate_state. st/mesa doesn't keep the _NEW_* flags after that. torcs is 2% faster between the previous patch and the end of this series. v2: - add st_atom_list.h to Makefile.sources Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
53bc28920a8524d7bc795c3ce6398dc34a8e2152 |
|
17-Jul-2016 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: remove st_tracked_state::name Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
cc46fc3c0921c86baa0fbe25ba6a9c4858f04ab3 |
|
14-Jul-2016 |
Rob Clark <robdclark@gmail.com> |
mesa/st: reduce size of state->st bitmask In d035d50 this changed to 64b.. which I'm pretty sure was unintentional. Revert it back to 32b so the entire state struct is a nice round 64b. (Note sure that it would actually be measurable, but I did notice that check_state() was hot in some benchmarks.) Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
615ba115632c602d2a77535c1d52024f827a0ace |
|
08-Jun-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
st/mesa: add readpix_cache structure Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
d1bdc1238a39469e6760758876e8832019795a54 |
|
11-Jun-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
st/mesa: add support for GL_EXT_window_rectangles Make sure to pass the requisite information in draws, blits, and clears that work on the context's draw buffer. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
852d3fcd3b4e0a1612540045f18c46975a49dec6 |
|
26-Apr-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
st/mesa: add PBO download enable bit and fragment shaders For downloads, the fragment shader must know the source texture target, hence we may cache multiple fragment shaders. v2: break long line (Marek) Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
979688a0273cb88d6a977dcd2de189bf8e96cd9a |
|
26-Apr-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
st/mesa: rename pbo_upload to pbo At the same time, rename members that are upload-specific to say so. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
fe430b0310ed0f2f52d45b149e72b7802a6f2cad |
|
10-May-2016 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unused st_context::default_texture The code which used this was removed quite a while ago. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
af3454cad58be3df63c7fe6caf9604f651a6ce54 |
|
09-Mar-2016 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: remove ST_NEW_MESA flag (v2) Only used indirectly when checking dirty.st != 0 v2: also update st_cb_compute.c Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
44f48fead5ba62a7e5b12bbadafa2c393a5329aa |
|
19-Feb-2016 |
Brian Paul <brianp@vmware.com> |
st/mesa: implement a simple cache for glDrawPixels Instead of discarding the texture we created, keep it around in case the next glDrawPixels draws the same image again. This is intended to help application which draw the same image several times in a row, either within a frame or subsequent frames. Reviewed-by: Charmaine Lee <charmainel@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
06d3b0a006f35dc232d512d09f45a6cb4f13cfdf |
|
03-Feb-2016 |
Brian Paul <brianp@vmware.com> |
st/mesa: new st_DrawAtlasBitmaps() function for drawing bitmap text This basically saves the current pipeline state, sets up state for rendering, constructs a set of textured quads, renders, then restores the previous pipeline state. It shouldn't be hard to implement a similar function for non-gallium drives. With some code refactoring, the vertex definition code could probably be shared. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
b63fe0552b5f983bc19ab45231687dc684c5a267 |
|
16-Feb-2016 |
Brian Paul <brianp@vmware.com> |
st/mesa: overhaul vertex setup for clearing, glDrawPixels, glBitmap Define a new st_util_vertex structure which is a bit smaller (9 floats versus the previous 12 floats per vertex). Clean up the glClear, glDrawPixels and glBitmap code that sets up the vertex data and does the drawing so it's all very similar. This can lead to more consolidation. v2: add assertion that vertex buffer slot == 0 to catch possible future change in cso_get_aux_vertex_buffer_slot() behavior. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
78093167b18ac9cb40e449916e85590d595ab297 |
|
09-Jan-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
st/mesa: add an image atom for shader images Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
7c79c1e3e25857a45150f6a0bf2e813fed074a6c |
|
07-Jan-2016 |
Samuel Pitoiset <samuel.pitoiset@gmail.com> |
st/mesa: add compute shader states Changes from v2: - use as much common code as possible (eg. st_basic_variant) Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
08c46025c87654fbc885136a2c8cc4cce902dd37 |
|
05-Jan-2016 |
Samuel Pitoiset <samuel.pitoiset@gmail.com> |
st/mesa: add a second pipeline for compute Compute needs a new and different validation path. Changes from v2: - make use of unreachable() instead of assert() when the pipeline is invalid - move the st_pipeline enumeration to st_context.h instead of st_api.h Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
5e4de781fadea9e138e722c53a2e72eeb1d41a5a |
|
09-Feb-2016 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix bitmap texture target code and simplify tex sampler state Bitmaps may be drawn with a PIPE_TEXTURE_2D or PIPE_TEXTURE_RECT resource as determined at context creation by checking if PIPE_CAP_NPOT_TEXTURES is supported. But many places in the bitmap code were hard-coded to use PIPE_TEXTURE_2D. Use st->internal_target instead. I think an older NV chip is the only case where a gallium driver does not support NPOT textures. Bitmap drawing was probably broken for that GPU. Also, we only need one sampler state with texcoord normalization set up according to st->internal_target. Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
b8d31fdedfa3b2f060b42e7145771c5325340733 |
|
30-Jan-2016 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: unify variants and delete functions for TCS, TES, GS no difference between those Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
c99f2fe70ec6a9273786d123fa4ac9924b5911b2 |
|
21-Jan-2016 |
Nicolai Hähnle <nicolai.haehnle@amd.com> |
st/mesa: implement PBO upload for multiple layers Use instancing to generate two triangles for each destination layer and use a geometry shader to route the layer index. v2: - directly write layer in VS if supported by the driver (Marek Olšák) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
757071ca7cdda12d2974614f9a9d02d5a834f38c |
|
08-Jan-2016 |
Fredrik Höglund <fredrik@kde.org> |
st/mesa: Accelerate PBO uploads Create a PIPE_BUFFER sampler view on the pixel-unpack buffer, and draw the image on the texture with a fragment shader that maps fragment coordinates to buffer coordinates. Modifications by Nicolai Hähnle: - various cleanups and fixes (e.g. error handling, corner cases) - split try_pbo_upload into two functions, which will allow code to be shared with compressed texture uploads - modify the source format selection to only test for support against the PIPE_BUFFER target v2: - update handling of TGSI_SEMANTIC_POSITION for recent changes in master - MaxTextureBufferSize is number of texels, not bytes (Ilia Mirkin) - only enable when integers are supported (Marek Olšák) - try harder to hit the TextureBufferOffsetAlignment - remove unnecessary MOV from the fragment shader Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
688003669469d787847d58572956e9d3fcecaf3c |
|
18-Jan-2016 |
Ilia Mirkin <imirkin@alum.mit.edu> |
st/mesa: add support for SSBO binding and GLSL intrinsics Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> v1 -> v2: some 80 char reformatting
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
9d6f9ccf6b7ca7c9d1ac40354d6ae47c130e2024 |
|
20-Sep-2014 |
Ilia Mirkin <imirkin@alum.mit.edu> |
st/mesa: add atomic counter support Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
2860f20859454b38ce44e4e3377c036e67c20ae7 |
|
31-Dec-2015 |
Ilia Mirkin <imirkin@alum.mit.edu> |
st/mesa: add support for new mesa indirect draw interface This shifts all indirect draws to go through the new function. If the driver doesn't have support for multi draws, we break those up and perform N draws. Otherwise, we pass everything through for just a single draw call. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
3c0521cd0fe9b82c9481f9652bb971bd625d1e40 |
|
06-Jan-2016 |
Brian Paul <brianp@vmware.com> |
st/mesa: use GLbitfield in st_state_flags, add comments Use GLbitfield instead of GLuint to be consistent with other variables. Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
4cd1bd46edff7cb2c195c2dc19d74b1ba44122d2 |
|
06-Jan-2016 |
Brian Paul <brianp@vmware.com> |
s/GLuint/GLbitfield/ for st_invalidate_state() parameter To match dd_function_table::UpdateState(). Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
20dee333f3790b0a8f197efeaa54f91522cb606a |
|
29-Oct-2015 |
Ilia Mirkin <imirkin@alum.mit.edu> |
st/mesa: use PK2H/UP2H when supported Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
0aea83dc4ad8826648be7b400553083e0aeac004 |
|
12-Nov-2015 |
Nicolai Hähnle <nhaehnle@gmail.com> |
st/mesa: store mapping from perfmon counter to query type Previously, when a performance monitor was initialized, an inner loop through all driver queries with string comparisons for each enabled performance monitor counter was used. This hurts when a driver exposes lots of queries. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Tested-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
e57dd7a08bfeacab47d64c3adeb392f8c15ca793 |
|
28-Sep-2015 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: create shaders which have only one variant immediatelly (v2) v2: fix the condition when lacking sample shading Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
b99645f8190b267231443829aefad1e73c4c25d4 |
|
20-Oct-2015 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: negate the can_force_persample_interp flag Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
f4e938e9aee14d42e2175c84ebe7ee32b0bcf8c5 |
|
27-Sep-2015 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: decouple shaders from contexts if they are shareable Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
f15bb3e633d577fe6d8d7bc2c64497c6ac4c2021 |
|
04-Oct-2015 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: implement DrawPixels shader transformation using tgsi_transform_shader Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
b55b986dc9c89a3a4fb3956dcd269216f59b06ee |
|
04-Oct-2015 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: make Z/S drawpix shaders independent of variants, don't use Mesa IR v2 - there is no connection to user fragment shaders, so having these as shader variants makes no sense - don't use Mesa IR, use TGSI - don't create gl_fragment_program, just create the shader CSO v2: generate exactly the same shader as before to fix llvmpipe Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
4e9fc7e4e2fa3b3c77d08c4db545dcc279e849e9 |
|
27-Sep-2015 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: set force_persample_interp if ARB_sample_shading is used This is only a half of the work. The next patch will handle gl_SampleID/SamplePos, which is the other half of ARB_sample_shading. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
5142564734bd68f165b02e29e384ebbcf91cce38 |
|
28-Jul-2015 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: remove st_context::missing textures and get_passthrough_fs Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
768b4a25b95b95989dae3ff2f5a06172a2f4ab85 |
|
23-Jul-2015 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: fix GLSL 1.30 texture shadow functions with the GL_ALPHA depth mode (v2) Fixes piglit: spec@glsl-1.30@execution@fs-texture-sampler2dshadow-10 spec@glsl-1.30@execution@fs-texture-sampler2dshadow-11 v2: use st_shader_stage_to_ptarget Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
e39ece0d7856d0532a0f011cd5cb17bc85ee82e2 |
|
24-Jul-2015 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: don't ignore texture buffer state changes Fixes piglit: spec@arb_texture_buffer_range@ranges-2 Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
bda9094f1d69817ed1a51677d38e157ec3b37826 |
|
18-May-2015 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: set default tessellation levels
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
ba9fb96f86344f1631b82114bb0ce6f926d3853a |
|
12-Jul-2014 |
Ilia Mirkin <imirkin@alum.mit.edu> |
st/mesa: add tessellation shader states additional fixes by Marek
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
a0ad18580335d2255d4e1bf222886418c8e2302e |
|
29-Apr-2015 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: implement GetGraphicsResetStatus Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
164b3cd7577dc6c168eb59003306f241e501da7f |
|
26-Feb-2015 |
Brian Paul <brianp@vmware.com> |
st/mesa: replace INLINE with inline Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
33edda7d975f2cbf7ba86ba0f300dcadf087fb9b |
|
16-Feb-2015 |
Ilia Mirkin <imirkin@alum.mit.edu> |
st/mesa: pass etc2 textures to driver if supported If the driver actually supports ETC2, don't decode it in software. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
44c8957cfe7a77f53dbf21dcad8f43e20b4475ab |
|
16-Dec-2014 |
Brian Paul <brianp@vmware.com> |
st/mesa: add extern "C" to st_context.h Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
68db29c434e144891e5990b032b44495de52f6eb |
|
15-Nov-2014 |
Ilia Mirkin <imirkin@alum.mit.edu> |
st/mesa: add a fallback for clear_with_quad when no vs_layer Not all drivers can set gl_Layer from VS. Add a fallback that passes the instance id from VS to GS, and then uses the GS to set the layer. Tested by adding quad_buffers |= clear_buffers; clear_buffers = 0; to the st_Clear logic, and forcing set_vertex_shader_layered in all cases. No piglit regressions (on piglits with 'clear' in the name). Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Cc: "10.4 10.3" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
d035d50e0527ed2a471c5536bf327d7980167b2e |
|
07-Aug-2014 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: Convert NewDriverState to 64-bits i965 will have more than 32 bits when BRW_STATE_COMPUTE_PROGRAM is added. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
0127d26e6c25974a84102fba2f556e260ccbcaeb |
|
02-Aug-2014 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: convert the ETC1 format to an uncompressed one if unsupported I don't know of any hardware which supports it. With this, GL_OES_compressed_ETC1_RGB8_texture is supported if RGBA8 is supported. Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
38858207a11819a3c68f14b589c0779fb82152ff |
|
16-Mar-2014 |
Marek Olšák <marek.olsak@amd.com> |
gallium/u_gen_mipmap: rewrite using pipe->blit (v2) This replaces u_gen_mipmap with an extremely simple implementation based on pipe->blit. st/mesa is also cleaned up. Pros: - less code - correct mipmap generation for NPOT 3D textures (u_blitter uses a better formula) - queries are not affected by mipmap generation if drivers disable them v2: add "first_layer", "last_layer" parameters, drop "face" v2.1: add format v2.2: document the format parameter
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
8199d149edd21d74ff70bed652e50d176136aab6 |
|
04-Mar-2014 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: remove _NEW_POLYGON dependency from vertex shader We can just check the polygon mode when updating the edge flag state. Also, we can just flag ST_NEW_VERTEX_PROGRAM directly, which makes ST_NEW_EDGEFLAGS_DATA useless.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
4e634c524024fa05d9ea2047497cd065c905bcdf |
|
04-Mar-2014 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: implement zero-stride edge flag by culling primitives This was unimplemented.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
0705fa35cdaf15ec969c28dc85e88b8be1149a3b |
|
21-Jan-2014 |
Dave Airlie <airlied@redhat.com> |
st/mesa: add support for GL_ARB_viewport_array (v0.2) this just ties the mesa code to the pre-existing gallium interface, I'm not sure what to do with the CSO stuff yet. 0.2: fix min/max bounds Acked-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
877128505431adaf817dc8069172ebe4a1cdf5d8 |
|
17-Jan-2014 |
José Fonseca <jfonseca@vmware.com> |
s/Tungsten Graphics/VMware/ Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the old copyright name is creating unnecessary confusion, hence this change. This was the sed script I used: $ cat tg2vmw.sed # Run as: # # git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed # # Rename copyrights s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./ s/TUNGSTEN GRAPHICS/VMWARE/g # Rename emails s/alanh@tungstengraphics.com/alanh@vmware.com/ s/jens@tungstengraphics.com/jowen@vmware.com/g s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/ s/jrfonseca\?@tungstengraphics.com/jfonseca@vmware.com/g s/keithw\?@tungstengraphics.com/keithw@vmware.com/g s/michel@tungstengraphics.com/daenzer@vmware.com/g s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/ s/zack@tungstengraphics.com/zackr@vmware.com/ # Remove dead links s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g # C string src/gallium/state_trackers/vega/api_misc.c s/"Tungsten Graphics, Inc"/"VMware, Inc"/ Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
e47af58bb411c7779857ad96a7cc3306980311ae |
|
21-Nov-2013 |
Marek Olšák <marek.olsak@amd.com> |
st/mesa: implement layered framebuffer clear for the clear_with_quad fallback Same approach as in u_blitter.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
77d8fbcfd4b79fa022c021ed52bda157d72e1ca9 |
|
26-Apr-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: add & use a new driver flag for UBO updates instead of _NEW_BUFFER_OBJECT v2: move the flagging from intel_bufferobj_data to intel_bufferobj_alloc_buffer Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
99bd76d834e0c771274f327e1efe9b089ff273d4 |
|
15-Apr-2013 |
Marek Olšák <maraeo@gmail.com> |
mesa: convert _NEW_RASTERIZER_DISCARD to a driver flag Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
729abfd0f53c27ba58da95882bef985945933c65 |
|
12-Apr-2013 |
Christoph Bumiller <christoph.bumiller@speed.at> |
st/mesa: optionally apply texture swizzle to border color v2 This is the only sane solution for nv50 and nvc0 (really, trust me), but since on other hardware the border colour is tightly coupled with texture state they'd have to undo the swizzle, so I've added a cap. The dependency of update_sampler on the texture updates was introduced to avoid doing the apply_depthmode to the swizzle twice. v2: Moved swizzling helper to u_format.c, extended the CAP to provide more accurate information.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
3e10ab6b22341c06a9352b1e029b923f4d8405b9 |
|
14-Mar-2013 |
Marek Olšák <maraeo@gmail.com> |
gallium,st/mesa: don't use blit-based transfers with software rasterizers The blit-based paths for TexImage, GetTexImage, and ReadPixels aren't very fast with software rasterizer. Now Gallium drivers have the ability to turn them off. Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
8acaf862dfeac62550514b0e46f5aa6212b08992 |
|
15-Mar-2013 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
gallium: add TGSI_SEMANTIC_TEXCOORD,PCOORD v3 This makes it possible to identify gl_TexCoord and gl_PointCoord for drivers where sprite coordinate replacement is restricted. The new PIPE_CAP_TGSI_TEXCOORD decides whether these varyings should be hidden behind the GENERIC semantic or not. With this patch only nvc0 and nv30 will request that they be used. v2: introduce a CAP so other drivers don't have to bother with the new semantic v3: adapt to introduction gl_varying_slot enum
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
36b252e94724b2512ea941eff2b3a3abeb80be79 |
|
23-Feb-2013 |
Paul Berry <stereotype441@gmail.com> |
Replace gl_vert_result enum with gl_varying_slot. This patch makes the following search-and-replace changes: gl_vert_result -> gl_varying_slot VERT_RESULT_* -> VARYING_SLOT_* Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
07cdfdb708ac28aa487a738db30b128cb0df1dc3 |
|
14-Feb-2013 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: remove what is left from u_blit Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
4362bdadf3069ed3f8e7c9bfccbc649d320dbd76 |
|
31-Jan-2013 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: emit saturates in the vertex shader if Shader Model 3.0 is supported v2: change the requirement from GLSL 1.30 to SM 3.0 (R500 can do this)
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
cabe4fbb852f3c335937e3576db85d0143cb6c12 |
|
14-Jan-2013 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: always assume separate depth and stencil clear is supported All drivers implement it now. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
3160b0b9fc2b49b0e9fe684b955eebf3691024ff |
|
09-Dec-2012 |
José Fonseca <jose.r.fonseca@gmail.com> |
mesa/st: Implement GL_TIME_ELAPSED w/ PIPE_QUERY_TIMESTAMP. ARB/EXT_timer_query's definition of GL_TIME_ELAPSED match precisely the subtraction of two GL_TIMESTAMP queries. And for a lot of drivers, that's precisely how they have to implement internally -- by emitting two hardware timestamp queries. So, to simplify driver implementation, simply allow doing so in the state tracker. Eventually if no driver implements PIPE_QUERY_TIME_ELAPSED then we could retire it. Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Marek Olšák <maraeo@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
eae9674f187ea0f250723fef75d4f71bb3ba632e |
|
07-Dec-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: manage render condition in cso_context and fix postprocessing w/ it Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
9ec6ffd85d019cdba3bbeba24dbc49981791df28 |
|
07-Dec-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: remove a weird msaa hack It doesn't work and it's not clear how it's supposed to work. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
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/mesa/state_tracker/st_context.h
|
a6457c0692f1bc292ae4120ff5cd0bed340271b9 |
|
12-Apr-2012 |
Vadim Girlin <vadimgirlin@gmail.com> |
st/mesa: accept and handle configuration options from st/dri Currently there is a single option - force_glsl_extensions_warn. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
6c8a13215813841703e7c2efa233e8d4cf517dfd |
|
10-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: combine vertex/fragment sampler state in arrays As with other recent changes, put the vertex and fragment sampler state into arrays indexed by the shader type. This will let us easily add support for other types of shaders in the future.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
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/mesa/state_tracker/st_context.h
|
5749ae919e386e49dbf373e362dd74b513c96360 |
|
06-Aug-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: rename some vertex/fragment state fields for better consistency Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
284ad9c3b29a6d6f0bade050ea9e949d67967983 |
|
18-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
mesa: Make more consistent use of _mesa_is_{user,winsys}_fbo() A lot of code was still differentiating between between winsys and user fbos by testing the fbo's name against zero. This converts everything in core mesa, the state tracker, and src/mesa/program over to use _mesa_is_user_fbo() and _mesa_is_winsys_fbo(). Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
162b3ad94d52b28d83462202952987012387e12f |
|
22-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: flush the glBitmap cache before changing framebuffer state This fixes the piglit EXT_framebuffer_multisample/bitmap tests. Note that we must not rely on ctx->DrawBuffer when flushing the cache, because that's already updated with a new framebuffer. We want to draw into the old framebuffer where glBitmap was called. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
5ba15d8d38d98cb7b625fa55e7d818ef9c6629ce |
|
09-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement accelerated stencil blitting using shader stencil export Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
b4753dafcce4fc771ec3d7e3d5781bd4cae20326 |
|
12-May-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: atomize vertex array state This moves the state validation to where all the other states are validated.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
602913192db1beadd9cc4252ec9ec633cfe7a21b |
|
08-May-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
state_tracker: remove sw_primitive_restart from st_context The VBO module now can handle primitive restart in software if required. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
bb4c5d72d7c7cb1d9e7016e2c07c36875f30011a |
|
11-May-2012 |
Marek Olšák <maraeo@gmail.com> |
Merge branch 'gallium-userbuf' Conflicts: src/gallium/docs/source/screen.rst src/gallium/drivers/nv50/nv50_state.c src/gallium/include/pipe/p_defines.h src/mesa/state_tracker/st_draw.c
|
c5e473fbe25b20cb27aac44ff6e269701abd33a8 |
|
16-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa: add gl_context::NewDriverState and use it for vertex arrays The vbo module recomputes its states if _NEW_ARRAY is set, so it shouldn't use the same flag to notify the driver. Since we've run out of bits in NewState and NewState is for core Mesa anyway, we need to find another way. This patch is the first to start decoupling the state flags meant only for core Mesa and those only for drivers. The idea is to have two flag sets: - gl_context::NewState - used by core Mesa only - gl_context::NewDriverState - used by drivers only (the flags are defined by the driver and opaque to core Mesa) It makes perfect sense to use NewState|=_NEW_ARRAY to notify the vbo module that the user changed vertex arrays, and the vbo module in turn sets a driver-specific flag to notify the driver that it should update its vertex array bindings. The driver decides which bits of NewDriverState should be set and stores them in gl_context::DriverFlags. Then, Core Mesa can do this: ctx->NewDriverState |= ctx->DriverFlags.NewArray; This patch implements this behavior and adapts st/mesa. DriverFlags.NewArray is set to ST_NEW_VERTEX_ARRAYS. Core Mesa only sets NewDriverState. It's the driver's responsibility to read it whenever it wants and reset it to 0. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_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
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
4552fd50d959ab99546cfa994f8ba5bdf5d66bc7 |
|
24-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: add void *user_buffer in pipe_vertex_buffer This reduces CPU overhead in st_draw_vbo and removes a lot of unnecessary code in that function which was required only to comply with the gallium interface, but wasn't any useful really. Adapted drivers: i915, llvmpipe, r300, softpipe. No changes required in: r600, radeonsi. User vertex buffers have been disabled in nv30, nv50, nvc0 and svga to keep things working.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
7a0545972694e6afc6c5ac60db563defa79c20d9 |
|
24-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: make user constant buffers optional
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
8c655f499cf61211146a3d38f77532541f88aa88 |
|
24-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: make user index buffers optional v2: use a separate upload buffer for indices
/external/mesa3d/src/mesa/state_tracker/st_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
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
233da380a9c6af189547055ac91a188c19930212 |
|
15-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use bitshifting to define state flags Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
a8a478999c366cd08be2910ea83465d9b69181e8 |
|
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: write vertices directly into the buffer for glClear fallback
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
2b151bbb957284e7a1a272c1b5ec6c9307e6e623 |
|
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use u_upload_mgr to upload vertices for glClear fallback
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
3e8093d0688ce051d9e38ab9533d1d609bf8c9e9 |
|
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: write vertices directly into the buffer for glBitmap
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
76d9a99d6bafa5b2ad7839a79deda1a7d5e6d902 |
|
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use u_upload_mgr to upload vertices for glBitmap instead of recreating the vertex buffer for each draw_vbo call.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
bc1c8369384b5e16547c5bf9728aa78f8dfd66cc |
|
23-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: do vertex and fragment color clamping in shaders For ARB_color_buffer_float. Most hardware can't do it and st/mesa is the perfect place for a fallback. The exceptions are: - r500 (vertex clamp only) - nv50 (both) - nvc0 (both) - softpipe (both) We also have to take into account that r300 can do CLAMPED vertex colors only, while r600 can do UNCLAMPED vertex colors only. The difference can be expressed with the two new CAPs.
/external/mesa3d/src/mesa/state_tracker/st_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
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
72bd2b603bc400371a92d34ab59dbb2d2ef7a123 |
|
15-Apr-2011 |
Jakob Bornecrantz <jakob@vmware.com> |
st/mesa: Implement primitive restart in software
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
ac8fdbc1c723afb19eeaba5457ba78d0bf33b8d4 |
|
29-Jun-2011 |
Thomas Hellstrom <thellstrom@vmware.com> |
st-api: Rework how drawables are invalidated v3. The api and the state tracker manager code as well as the state tracker code assumed that only a single context could be bound to a drawable. That is not a valid assumption, since multiple contexts can bind to the same drawable. Fix this by making it the state tracker's responsibility to update all contexts binding to a drawable Note that the state trackers themselves don't use atomic stamps on frame-buffers. Multiple context rendering to the same drawable should be protected by the application. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
1c95c3ef9c51c0eb218f80959bbbf29d213a6af0 |
|
29-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: GenerateMipmap should not be killed by conditional rendering NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
c9aa3bbda44470c0a92c675abf4bbab83aba3fb7 |
|
14-May-2011 |
Dave Airlie <airlied@redhat.com> |
st/mesa: overhaul vertex/fragment sampler and sampler views. This fixes piglits fragment-and-vertex-texturing test on llvmpipe for me. I've no idea if someone had another plan for this that is smarter than what I've done here, but what I've basically done is split fragment and vertex sampler and sampler_view setup function, factor out the common chunks of both. side-cleanups: drop st->state.sampler_list - unused don't update border color if we have no border color. should fix https://bugs.freedesktop.org/show_bug.cgi?id=35849 Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
0c501bacef3738b55986292abca149dcfe76d72d |
|
07-Apr-2011 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Fix user buffer size computation when stride is zero. Although for GL a zero stride means tightly packed elements, Mesa internally uses zero strides for constant arrays. Therefore user buffers need to be defined from buffer_offset + src_offset + min_index*stride to buffer_offset + src_offset + max_index*stride + elem_size Simplifying the later with (max_index + 1)*stride will give zero sized buffers. This change also aggregates the st_context's info about user buffers into a single array.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
588fa884d212eba5ffbc69fda75db37d7c77214c |
|
09-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: notify drivers about possible changes in user buffer contents Also implement the redefine_user_buffer hook in the drivers.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
009cecf2465d9323a790977c35726364640980d0 |
|
29-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: remove unused members in st_context What were these for?
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
58c5e782e351621bde2693fa945d0c90d140b855 |
|
29-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: optimize constant buffer uploads 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.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
c451aade889c3c0733fabab691f2a33643e8a054 |
|
20-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove comment cruft from st_context.h. This was unintentionally added by commit 1525fb4afec0adc164948b4060ec1c0359441cd3.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
aa5ba96d294698809186cc4b59034abbd3076812 |
|
16-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: s/varient/variant
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
3d203b610045980853d26370ee21fb2ef4aed17e |
|
14-Dec-2010 |
Brian Paul <brianp@vmware.com> |
Squashed commit of the following (st-mesa-per-context-shaders branch): 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.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
61a467e515c31eb6b97b039bc3f97dbe6eafa7cb |
|
16-Oct-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix regressions in glDrawPixels(GL_STENCIL_INDEX) We need to keep track of three different fragment shaders: Z-only, stencil- only, and Z+stencil. Before, we were only keeping track of the first one we encountered.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
31aca27c08d6a385c595d34fe4ee06390bf5b0e8 |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLframebuffer typedef and just use struct gl_framebuffer
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
d3491e775fb07f891463b2185d74bbad62f3ed24 |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Rename GLvisual and __GLcontextModes to struct gl_config
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
3070e0ea41ab4aa24804e8fd26895924a8583830 |
|
06-Aug-2010 |
Luca Barbieri <luca@luca-barbieri.com> |
mesa/st: support using PIPE_TEXTURE_RECT internally Currently Gallium internals always use PIPE_TEXTURE_2D and normalized coordinates to access textures. However, PIPE_TEXTURE_2D is not always supported for NPOT textures, and PIPE_TEXTURE_RECT requires unnormalized coordinates. Hence, this change adds support for both kinds of normalization.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
1525fb4afec0adc164948b4060ec1c0359441cd3 |
|
05-Aug-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Clean up header file inclusion in st_context.h.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
57c654324f5577d30c5239cd0c2c3eb7ad474143 |
|
23-Jun-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Add support for multiple APIs. Add st_gl_api_create_es1 and st_gl_api_create_es2 to create OpeGL ES 1.1 and OpenGL ES 2.0 contexts respectively.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
da7bd6a90e1fee5c16327338fd251c0f6be34e36 |
|
28-Jun-2010 |
Zack Rusin <zackr@vmware.com> |
mesa: initial support for ARB_geometry_shader4 laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
ec2b92f98c2e7f161521b447cc1d9a36bce3707c |
|
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
783083c3b81c51bae541e0a86801f0492ca352cd |
|
29-May-2010 |
Roland Scheidegger <sroland@vmware.com> |
st/mesa: use new ability to clear only depth or stencil
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
a93f9f343a64ce91587af66761399f9d4c180015 |
|
21-May-2010 |
Jakob Bornecrantz <jakob@vmware.com> |
gallium: Fix invalidate framebuffer with old libGL libraries
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
127328bfadaa5f080730fd41f404f1bc74f490d3 |
|
17-May-2010 |
Roland Scheidegger <sroland@vmware.com> |
mesa/st: adapt to interface changes adapt to blit changes, and also handle a bit more msaa state in theory (incomplete, doesn't handle resolves in any way for now).
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
99bee1570bc23d8070c7ac3da67e46bdb2e6ec0d |
|
23-Apr-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Remove dead members.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
da8412ec19ad00627ae9139dc02f46f344bbb6ac |
|
12-Apr-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Drop st_public support. There is no user of st_public now.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
287c94ea4987033f9c99a2f91c5750c9083504ca |
|
10-Apr-2010 |
Keith Whitwell <keithw@vmware.com> |
Squashed commit of the following: commit 0189cb2fde9f5d7326fd4bfbc2e52db4cce73b3e Author: Keith Whitwell <keithw@vmware.com> Date: Sat Apr 10 12:48:43 2010 +0100 gallium: don't use generic get_transfer func for textures It doesn't know and can't fill in the stride value. commit 65bc6f88fd9ce8ff90175b250e580bef2739ea35 Author: Chia-I Wu <olv@lunarg.com> Date: Sat Apr 10 13:49:34 2010 +0800 i915g: Initialize screen surface function. commit eb56e64986790aa2fa35534ce652b78656b0c3c5 Merge: f8b0a7f e7f1e5c Author: Keith Whitwell <keithw@vmware.com> Date: Sat Apr 10 00:38:43 2010 +0100 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/drivers/r300/r300_texture.c commit f8b0a7f6a3a98fd36ce90a81073ec8c8f09b684c Merge: a3c9980 f43c679 Author: Keith Whitwell <keithw@vmware.com> Date: Sat Apr 10 00:35:09 2010 +0100 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/drivers/r300/r300_texture.c commit a3c99807de37dc2c072f1d75ed3a11da333bc9a1 Author: unknown <michal@.(none)> Date: Fri Apr 9 18:51:39 2010 +0200 scons: Add missing sources. commit 927cec79cedb457efa9e6f335727cfcb8e4908e2 Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Apr 9 18:07:56 2010 +0200 gallium: fix another compile warning after merge. Hmpf. commit 52953cd7b0e51deafecb812bdc40f9e45f9ac62a Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Apr 9 18:02:11 2010 +0200 gallium: fix comment commit 7c8763aa6cfc74adf1ea49c2bab25ca17b32575f Author: unknown <michal@.(none)> Date: Fri Apr 9 18:05:20 2010 +0200 util: Fix type cast. commit 9d0086411a104b7cc9297aac0d1f82853118d7bf Author: unknown <michal@.(none)> Date: Fri Apr 9 18:04:33 2010 +0200 libgl-gdi: Use proper unwrap functions for resources. commit 251a5cdd18ba31c690ef61f133dfc65cd4a45cf8 Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Apr 9 17:51:23 2010 +0200 gallium: more comments fixup commit 8f3f9d5e1e9c0de98a3dfb19e81250d2c32ee4e9 Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Apr 9 17:48:18 2010 +0200 gallium: another fix after merge commit 41f00a32ee5be91512c048bacb89ede0e04bc08d Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Apr 9 17:44:30 2010 +0200 gallium: more pipe_texture/resource fixes after merge commit faf53328d1154c51d8a59513f2bfcae62272b0bf Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Apr 9 17:44:24 2010 +0200 gallium: fix comments for changed USAGE flags commit fdcb17bea4b0798d316b56deea69832f41142adf Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Apr 9 16:40:07 2010 +0200 gallium/pb: pb uses PB_USAGE_ flags, not PIPE_TRANSFER_ (same value anyway) commit c95f7278ecc6db417ec1053279f2a8172c47aee9 Author: Keith Whitwell <keithw@vmware.com> Date: Fri Apr 9 13:44:35 2010 +0100 llvmpipe: fix merge glitches commit 28f8b8683175149a381be5eff263d4c20568bce7 Author: Keith Whitwell <keithw@vmware.com> Date: Fri Apr 9 13:41:39 2010 +0100 r300g: update after merge for pipe_resources commit 248c93cbc066ba6e3fadd94c5fcf3bdbb373d8fd Author: Keith Whitwell <keithw@vmware.com> Date: Fri Apr 9 13:41:20 2010 +0100 st/mesa: fix old pipe_texture usages commit a563b1c5c2cb57b3ef28a3654d9b477460d13ced Author: Keith Whitwell <keithw@vmware.com> Date: Fri Apr 9 13:40:56 2010 +0100 r300g: remove unused variable commit 734500131d828c9dfd68c5fa26b3e6b07e086d2d Author: Keith Whitwell <keithw@vmware.com> Date: Fri Apr 9 13:40:36 2010 +0100 nv50: fix compiler warning commit efd402e13037e5c3e29759fa5b1c754c6d65d0e2 Merge: fec8a1d 5452615 Author: Keith Whitwell <keithw@vmware.com> Date: Fri Apr 9 13:33:57 2010 +0100 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/gallium/drivers/cell/ppu/cell_texture.c src/gallium/drivers/llvmpipe/lp_screen.c src/gallium/drivers/r300/r300_context.c src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_screen.c src/gallium/drivers/r300/r300_state.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/r300/r300_transfer.c src/gallium/state_trackers/egl/common/egl_g3d.h src/gallium/state_trackers/egl/kms/native_kms.c src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_ximage.c commit fec8a1db13fac04ef56f6ece799d1f20aa3011db Author: Marek Olšák <maraeo@gmail.com> Date: Sat Apr 3 07:58:34 2010 +0200 util: fix assertion failures in pipe_buffer_flush_mapped_range commit 1ff3984c2edce9927744f3cce3e7b07778990170 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Apr 8 17:44:54 2010 +0200 docs: fix transfer_map description commit 20bf14be8ac6438cb1afa38212e306fc06a5ed40 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Apr 8 14:39:13 2010 +0100 util: fix up several uses of pipe_map_buffer_range This function used to return a pointer to where the start of the actual buffer would have been, even though only the requested range is being mapped. In the resources change, the function was modified to use a transfer internally, and started returning the pointer to the beginning of the transfer, ie the mapped range. Some users of the function were changed to reflect this new behaviour, some were not. Since then the function has reverted to its original behaviour, matching master. This change restores some of the users of the map_buffer_range helper to expect the old/original behaviour. commit 33179a86058b68b518f40971030db337dc26fe6e Author: Keith Whitwell <keithw@vmware.com> Date: Thu Apr 8 14:38:54 2010 +0100 mesa/st: fix up several uses of pipe_map_buffer_range This function used to return a pointer to where the start of the actual buffer would have been, even though only the requested range is being mapped. In the resources change, the function was modified to use a transfer internally, and started returning the pointer to the beginning of the transfer, ie the mapped range. Some users of the function were changed to reflect this new behaviour, some were not. Since then the function has reverted to its original behaviour, matching master. This change restores some of the users of the map_buffer_range helper to expect the old/original behaviour. commit 3f5363d4dc9d7ad48467ae82d58d5f3d9bd10698 Author: Keith Whitwell <keithw@vmware.com> Date: Wed Apr 7 17:26:52 2010 +0100 util: map_range and flush_range have offsets relative to start of buffer commit 7eb1bfb97a790c73188d6b616d54fb3849e69b1e Author: Keith Whitwell <keithw@vmware.com> Date: Wed Apr 7 17:26:08 2010 +0100 nv50: fix compiler warning commit d040daff0642dd791ac38e9b353dc251b03fc873 Author: Keith Whitwell <keithw@vmware.com> Date: Wed Apr 7 17:25:58 2010 +0100 nvfx: fix compiler warning commit 49ec01dffb8e99ab3ff8f856287db7b4df3efed6 Author: Chia-I Wu <olv@lunarg.com> Date: Mon Apr 5 11:58:53 2010 +0800 mesa/es: Fixes for gallium-resources. commit 47c87ada452be45766928a01b6d69da63e3a5f5e Author: Marek Olšák <maraeo@gmail.com> Date: Sat Apr 3 05:19:20 2010 +0200 r300g: fix transfers for textures created from winsys handles commit 5f2701fddaef9c18d85c049311c2819c49cc1ae0 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Sat Apr 3 03:52:38 2010 +0200 nouveau: don't use the staging usage Maybe it could make sense, but for now dynamic is enough. None of these avoid uncached reads from GART on AGP cards. commit 0db20fa49e008f35911007fa7ed9be1d678a2161 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Sat Apr 3 03:27:19 2010 +0200 i965: add brw_resource.c to Makefile commit b94f3e7389cbd1b6465de3c04e8059ce73f1ea1f Author: Luca Barbieri <luca@luca-barbieri.com> Date: Sat Apr 3 01:48:33 2010 +0200 nouveau: fix for gallium-resources commit a01ff99a19986e6beb7903431e60a074945b09bc Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Apr 1 19:26:35 2010 +0200 gallium: fix missing includes commit 26aeded562ce947a6deeb867fe22bf8daf7b1a1a Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Apr 1 19:19:18 2010 +0200 gallium: remove video interface and related stuff These interfaces weren't quite was needed, and building disabled for a while. Some code actually build since some branch merge, and were now not fully converted to gallium-resources. See http://www.mail-archive.com/mesa3d-dev@lists.sourceforge.net/msg09619.html for a discussion of this. Video related work is done in origin/pipe-video branch. commit c64285aea45997a276fb141d7badc8a04f617c7c Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Apr 1 18:45:54 2010 +0200 python: fixes for resource changes doesn't look quite ok yet, but sort of compiles. commit 03d4d5a41f5cf158a358fd705c695e1c987a328f Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Apr 1 18:34:46 2010 +0200 gallium: s/u_box_orgin_2d/u_box_origin_2d commit 2444f023142bcaf7bd310b44794580f273254408 Author: Marek Olšák <maraeo@gmail.com> Date: Thu Apr 1 03:26:50 2010 +0200 r300g: fix segfault when the transfers functions are used Still broken. commit 6f09bf4066ab651b323c131bb07978e700519805 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Apr 1 00:05:12 2010 +0200 r300g: compile fixes commit 76711ff40d2092f9ef03d452de7458c4e76d9246 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Apr 1 00:04:47 2010 +0200 nvfx: more compile fixes commit c5d2e90c9cc119447a447dc04a4bce4ab91fc671 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Mar 31 23:18:50 2010 +0200 gallium: more mostly merge fallout fixes... commit fbc3722696790857f4adc936190406e74dffd969 Merge: 86d9225 d97f696 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Mar 31 22:09:35 2010 +0200 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/gallium/drivers/i915/i915_buffer.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i915/i915_resource_texture.c src/gallium/drivers/i915/i915_screen.c src/gallium/drivers/i915/i915_state_emit.c src/gallium/drivers/i965/brw_resource_texture.c src/gallium/drivers/llvmpipe/lp_screen.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/nvfx/nv30_fragtex.c src/gallium/drivers/nvfx/nv40_fragtex.c src/gallium/drivers/nvfx/nvfx_miptree.c src/gallium/drivers/nvfx/nvfx_screen.c src/gallium/drivers/nvfx/nvfx_transfer.c src/gallium/drivers/r300/r300_state.c src/gallium/drivers/svga/svga_screen_texture.c src/gallium/state_trackers/dri/common/dri_drawable.c src/gallium/state_trackers/dri/common/dri_screen.c src/gallium/state_trackers/dri/common/dri_st_api.h src/gallium/state_trackers/dri/drm/dri1.c src/gallium/state_trackers/dri/drm/dri1.h src/gallium/state_trackers/dri/drm/dri2.c src/gallium/state_trackers/python/st_device.c src/gallium/state_trackers/python/st_sample.c src/mesa/state_tracker/st_cb_clear.c src/mesa/state_tracker/st_cb_drawpixels.c src/mesa/state_tracker/st_cb_readpixels.c src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_extensions.c commit 86d9225d19d194eebbbe95b059695697c3307d15 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Mar 31 19:06:06 2010 +0200 gallium: more fixes for bind changes commit a215ef0606347e34669a580ec8df93ede7e46399 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Mar 31 18:48:36 2010 +0200 gallium/docs: some updates for bind changes commit c6c7e6746cbc7af59f7972719ed76f43e8ac16fc Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 30 20:24:26 2010 +0200 gallium: more bind change compile fixes commit a83fa1504b78180524a5eb454ae186741a27cdf8 Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 30 17:37:13 2010 +0200 compile fixes commit 30dc8afcd243d6a160571bac5f06d773e54a4196 Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 30 16:56:28 2010 +0200 fix some merge issues commit 30aa617fee11fe50c0a9c2f33fcd120a474f5e34 Merge: 1dde609 3a830bc Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 30 16:09:45 2010 +0200 Merge commit 'origin/gallium-buffer-usage-cleanup' into gallium-resources Conflicts: src/gallium/drivers/nouveau/nouveau_screen.c src/gallium/drivers/nvfx/nvfx_transfer.c src/gallium/winsys/drm/radeon/core/radeon_drm_buffer.c commit 1dde609ad6c9d2dfa0a5f7167f3c5bcf023b7c4d Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Mar 24 02:35:00 2010 +0100 docs: some updates for pipe_resource commit f236f9660d31b936f54b64ae07e569f8637067bd Author: Luca Barbieri <luca@luca-barbieri.com> Date: Wed Mar 24 01:31:28 2010 +0100 nvfx: fix for gallium-resources It seems to work with basic applications but almost surely needs more work. In particular, it probably shouldn't use PIPE_BUFFER_USAGE_* flags and should use PIPE_TRANSFER_* in several places. Also, we probably don't want the vtable indirect calls and that ought to be replaced with something better instead. commit 5a136ad7b63768cb9a753eff8686c44592e62325 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Wed Mar 24 01:31:19 2010 +0100 nv50: fix build in gallium-resources Not actually tested. Also needs next patch tee to actually build, this is just the nv50 part split from the rest. commit 3a830bc4a3f0f60c925b9434845a6bcad9a913c5 Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 23 14:00:52 2010 -0700 st/egl: fix up for binding flags commit c6a80dc32ef17bc972d4137ce7444ebed4d28ebb Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 23 13:52:15 2010 -0700 r300: restore 4k alignment for oqbo buffers commit e75a8d5ea9e0ffcf67bc858e08937e10b4fc74ba Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 23 13:00:07 2010 -0700 gallium: bind flags commit 1f5b509543a7f399835fd9edf27c18e1643fab7d Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 23 19:32:21 2010 +0100 i965g: scons compile fixes commit 2c385f8f905ec794d9119c05c6293e0b1b9b565a Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 23 19:20:33 2010 +0100 nouveau: drm compile fix commit b285086ebd5132b47c340897c4622cc9fbd286cb Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 23 18:36:19 2010 +0100 r300g: pipe_resource compile fixes bring back mistakenly deleted radeon_buffer.h plus some more commit 7810606f423ef2f51f0a14b919640c2fd2c931aa Author: Michal Krol <michal@vmware.com> Date: Tue Mar 23 16:21:03 2010 +0100 softpipe: Map GS constants, too. commit 366f1176fb89d2b1978da6cfe60000b76bbc7338 Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 23 15:51:52 2010 +0100 failover: update for pipe_resources commit 615f44d70d293704ed821bc0b21fcfe6e363895d Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 23 15:51:02 2010 +0100 identity: remove double is_resource_reference assignment commit 7008586020395905ddfff333d02b3893de369796 Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Mar 23 15:50:32 2010 +0100 trace: compile fix commit 058c5697bda4c9cf7b49d26ee27a34586544efaa Merge: dd7ba13 b33fd3c Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 23 06:40:39 2010 -0700 Merge commit 'origin/gallium-resources' into gallium-buffer-usage-cleanup Conflicts: src/gallium/state_trackers/vega/api_filters.c src/mesa/state_tracker/st_cb_drawpixels.c commit b33fd3ce3daf2921a895367d0ed3fd9c718a8575 Author: Michal Krol <michal@vmware.com> Date: Mon Mar 22 21:03:26 2010 +0100 gallium: Usage parameter of get_transfer/transfer_inline_write is a bitfield. commit 9c1162d9d656062a490a529997def3f674cc61fc Author: Michal Krol <michal@vmware.com> Date: Mon Mar 22 20:50:49 2010 +0100 scons: Update file lists after gallium-resources changes. commit af9793ab9e5386b150d6b25c0d1978fdc67172e4 Author: Michal Krol <michal@vmware.com> Date: Mon Mar 22 20:04:39 2010 +0100 gallium: Do not use `template` for formal parameter names. commit dc2e12d714c444af9ff1acdd5a7e91408b116c99 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:41:34 2010 +0000 ws/nouveau: remove pipe_texture reference commit b94c72329f1be85887d40d49b0586979da469d77 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:40:41 2010 +0000 ws/xlib: remove pipe_buffer reference in comment commit 0a2af3eeae7de1d1cb433f0a2c35136b115f9920 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:39:34 2010 +0000 st/vega: clean up reference to pipe_texture commit 437ce98daae46be5d532fbb04c7cbf4a503c1623 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:39:02 2010 +0000 st/python: begin conversion to pipe_resources, much more to do commit 1b02e1ee3e5e87774f0c9e5f0e1898b7f8de1b16 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:29:34 2010 +0000 st/xorg: update for pipe_resources commit eb39977fe7a1d9f0c3f4f2d4303a93c2c613cc3b Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:23:51 2010 +0000 st/dri: update for pipe_resources commit e447aeff597a4d8c0f5de25854c14c99f2cc138c Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:23:36 2010 +0000 st/egl: update for pipe_resources commit e4cc48da8fdbd7d521257a6d7cd10e6fc5aa1a65 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:08:44 2010 +0000 r300: drop use of R300 DONT SYNC flag commit 129a83ab4d32e44ded5faea3f86ae5e1e62cddb6 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:08:17 2010 +0000 pipebuffer: use transfer flag commit 575b35ee6b683d77095ef21c573c1de207107e79 Merge: f29ac73 9fc6c8b Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 22:03:25 2010 +0000 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/r300/r300_context.c src/gallium/drivers/r300/r300_texture.c src/gallium/winsys/drm/radeon/core/radeon_buffer.h commit f29ac73f3f626d5779a627b7fa6fecdb60a35aab Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 18:37:25 2010 +0000 cell: attempt to convert to pipe_resources Can't even compile test this driver. commit 484b1947f4af81bab60b41f21c3c23ea6f67488c Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 17:25:50 2010 +0000 nvfx: restore usage of pipe_winsys The interface that cannot be killed... commit ac76ac6eb30f4f9aa9f5733d60358b357925953a Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 17:25:10 2010 +0000 nv50: fix warning commit 9683f4423449fa5acf6c019c571223650473bd82 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 17:14:31 2010 +0000 util: restore u_simple_screen, nouveau still relies on it commit 961cbcb62232689c959965384c6aa9b8eca697c1 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 16:51:54 2010 +0000 nouveau: convert nvfx and nv50 to pipe_resources Compile tested only. This was a deeper change than I was hoping for, due to the layering of the pipe_texture implementation in each driver on top of a shared pipe_buffer implementation in the shared code. Have modified the shared code to act as a set of convenience routines operating on nouveau_bo objects. Each driver now uses the u_resource_vtbl technique to split the implementation of pipe_resources between the existing miptree code for textures and a new, minimal buffer implementation in each driver. Eventually these should be combined, not least because APIs are now allowing things like binding buffer resources as textures and render targets. commit 18ba74016db13b23282f5033ee37b628a12ee566 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 10:02:54 2010 +0000 r300: fix compilation after merge Also build r300 by default. commit eb9c0175c8e4baca3fcb0b8364f83ceba9d74e0d Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 09:59:49 2010 +0000 st/vega: fix up after merge commit ea8dd1d4ae7b58c9315c3491046ef3852ddd3377 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 09:59:44 2010 +0000 aux: remove unused piperesource helpers commit be7af29d3ad1a10409b0ea689d882cf30a4e1d62 Merge: d22c2c6 12deb9e Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 21 09:54:53 2010 +0000 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/auxiliary/cso_cache/cso_context.c src/gallium/auxiliary/cso_cache/cso_context.h src/gallium/drivers/r300/r300_context.c src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state.c src/gallium/drivers/r300/r300_state_derived.c src/gallium/state_trackers/vega/api_filters.c src/gallium/state_trackers/vega/image.c src/gallium/state_trackers/vega/image.h src/gallium/state_trackers/vega/mask.c src/gallium/state_trackers/vega/mask.h src/gallium/state_trackers/vega/paint.c src/gallium/state_trackers/vega/paint.h src/gallium/state_trackers/vega/renderer.c src/gallium/state_trackers/vega/renderer.h src/gallium/state_trackers/vega/shader.c src/gallium/state_trackers/vega/vg_context.h src/gallium/state_trackers/vega/vg_tracker.c src/mesa/state_tracker/st_manager.c commit d22c2c6cb23a063e3334a165d0c5c3d73f05d234 Author: Keith Whitwell <keithw@vmware.com> Date: Sat Mar 20 11:48:54 2010 +0000 drm/r300: update for r300g pipe_resources conversion Remove old files that related to pipe_buffers but weren't being built. Hopefully this is correct. commit f07b2c836958bee5796899123eca4ed05ac6242b Author: Keith Whitwell <keithw@vmware.com> Date: Sat Mar 20 11:47:03 2010 +0000 r300: convert to pipe_resources Do a very shallow conversion - basically keeping the existing buffer and texture code intact and using a vtbl struct inside our resource struct to select between the two implementations. The buffer and texture treatments could be further merged without much effort, but try to keep the existing code working at this point. commit feca9c3ca62daaf0d8745370106d4e3b22340c49 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 18 06:00:34 2010 +0000 gallium: update new merges to pipe_resource commit 1cad983eac77a0c5333e6a3ce92b90ac87407714 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 18 06:00:19 2010 +0000 drm/sw: update new merges to pipe_resource commit 191d39490ed792c569f98d42cf05891b264f71f8 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 18 06:00:01 2010 +0000 vg: update new merges to pipe_resource commit b727c59bc44812ad503d9390505c92b738a5b8b0 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 18 05:59:38 2010 +0000 llvmpipe: update new merges to pipe_resource commit 5f4b64b37fdcd70162c382b2ebbd494bef751dbd Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 18 05:59:23 2010 +0000 brw: pipe_resource fixes commit d4aca209f531f1b65bf706ce1e5fc0375b587eb6 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 18 05:59:06 2010 +0000 util: update new merges to pipe_resource commit cf6bef0afee10763c78509a3d17e9a6e49bcd3c8 Merge: 1997231 6de8e56 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 18 05:38:50 2010 +0000 Merge commit 'origin/master' into gallium-resources commit 1997231916144485c3c4a36f53eda39fce460272 Merge: ad88ac7 e1ee3ea Author: Keith Whitwell <keithw@vmware.com> Date: Wed Mar 17 08:46:38 2010 +0000 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/auxiliary/Makefile src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_blit.h src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/auxiliary/util/u_gen_mipmap.h src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_gen_mipmap.c commit ad88ac79034a91670940276e722bdd398d5c9023 Merge: 77bc770 8cdfd12 Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 16 09:13:07 2010 +0000 Merge branch 'gallium-sampler-view' into gallium-resources Conflicts: src/gallium/auxiliary/cso_cache/cso_context.c src/gallium/auxiliary/util/u_blit.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_texture.c src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c src/mesa/state_tracker/st_texture.c commit 77bc770c991ea025c82eaa4e0e2390efd825d96d Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 15 22:21:48 2010 +0000 util: missing file commit f83c91db8ae63a3c3a34ff21492427a5663fb760 Merge: c1d4774 42910eb Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 15 09:48:58 2010 +0000 Merge commit 'origin/gallium-sampler-view' into gallium-resources Conflicts: src/gallium/drivers/nv40/nv40_transfer.c src/gallium/drivers/nvfx/nvfx_transfer.c src/gallium/drivers/trace/tr_drm.c commit dd7ba1378fc50710667724d30d6d4cf1125ad61e Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 23:54:36 2010 +0000 gallium: start a cleanup of buffer_usage Remove fairly meaningless CPU/GPU READ/WRITE flags and replace with proper usages. commit c1d4774187189f4af8ff421b210824f3d53ceefb Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 23:05:45 2010 +0000 llvmpipe: don't FREE userbuffer data commit 9bfa07afe179f8060e7beefb754a29c4d9c6e349 Merge: 65757a1 08cddfe Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 22:54:51 2010 +0000 Merge commit 'origin/master' into gallium-resources Conflicts: src/gallium/drivers/llvmpipe/lp_rast.c src/gallium/drivers/llvmpipe/lp_scene.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/llvmpipe/lp_texture.h src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/svga/svga_screen_texture.c commit 65757a143f8e3fcd7afbc1ff92db44a823edf46c Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 22:41:17 2010 +0000 svga: build fixes commit 2f5435220501d4b3050cab2bb1dce6174cd13ff6 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 22:39:25 2010 +0000 gallivm: build fix commit 42642ec0984107d82b740711f2debbf38457a06e Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 22:38:33 2010 +0000 llvmpipe: convert to pipe_resources commit 7bbcb21e20cb545ef8dd5fc61d67ed931c69e813 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 22:19:30 2010 +0000 gallivm: convert to pipe_resources commit 88ae0d04610ca52649b42e32141a52af6d5a739b Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 21:01:22 2010 +0000 configs: build svga commit 0e112bc69828e65085ebfaef895ecd78fe53f1c4 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 21:01:17 2010 +0000 gallium: restore PIPE_BUFFER_USAGE_CUSTOM commit 102aca688b95c976b7178b84092fba7d041ff9d2 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 21:00:41 2010 +0000 util: more transfer helpers commit a79f6a4a0836fc64c07f9aeec21d914474fe3649 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 20:59:36 2010 +0000 svga: convert to use pipe_resrource As with others so far, a fairly shallow conversion. commit 087fb54492fa5e3baf040c5efbf7dacd98a8849b Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 18:38:08 2010 +0000 brw: fix function name commit cfc9dd707d16e06fd23b6926da3a6e2269f31dc8 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 18:19:06 2010 +0000 gallium: enable brw compile commit 8a5b86d76bdd3c7de63322423f59940a4dc2ee25 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 18:18:50 2010 +0000 brw: compiles with pipe_resource commit 563ca458b548c41ca4dca559354c16ca1a80d009 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 18:18:42 2010 +0000 i915: hook up userbuffer create commit b5095b48247b6020e36cc942ac145c3fccbe9a19 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 17:20:51 2010 +0000 i915: use helpers for is_resource_referenced commit d5392bdc6d70002acf9c5bac0fde14ba405c4d84 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 17:20:38 2010 +0000 util: helpers for is_resource_referenced commit 2f3492a5aefbb2e745f6700d8e910ebb5cbb98cf Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 17:08:50 2010 +0000 i915: remove buffer.c again commit 1373a35b65fcc25ec6cdfea2703bbb3417de2c6d Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 17:08:34 2010 +0000 i915: add new files to scons commit 0251612d70e57fe38e10e75915b394631d224f2c Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 16:38:29 2010 +0000 i915: compiling with pipe_resources commit 9a0235864252929a8eedd44dbd2fe30fe54c531d Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 13:51:16 2010 +0000 gallium: remove inline_read transfer commit a6ba315e25793e0c228d3a4ae2f8201634dc9ff0 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 13:50:32 2010 +0000 trace: get running Some dumping will be incorrect or disabled, but it runs without crashing commit 2133f1d90aa919662a8420a0cf3b4557e6ec1afd Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 13:49:42 2010 +0000 gallium: remove the inline_read transfer There aren't enough users of this to justify it. commit bccaf1fa30881f6b4fb189a9b74fc7af79c3b481 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 12:30:37 2010 +0000 identity: hook up inline transfer operations commit e4c152a344f2f53c842b810724a2ae7cb4554f58 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 12:21:54 2010 +0000 gallium: build trace and identity commit 0b5a311db78852fa9fd021e17b5968a1e0436b49 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 12:21:36 2010 +0000 gallium: add more of the transfer state to pipe_transfer Not really sure if recording all the arguments to the create_{transfer,texture,surface,etc} functions in the result of those calls is a great idea, but it seems we're fairly dependent on it throughout the code. commit a23985c26eafe76b0a7dacc892e50cb589f211fe Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 12:19:46 2010 +0000 identity: compiles with pipe_resources commit d0d630944304c208f6dade6ef8836763ee2bc7b4 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 12:13:02 2010 +0000 trace: compiles with pipe_resources commit a4451ea459cc8bfc915fe6aed2891b90854b6c9d Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 11:39:50 2010 +0000 softpipe: give userbuffers a format other than NONE Most mesa demos working commit 32bb1bd4ba29884a4ecfa11c8441d33dfceabcef Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 11:39:21 2010 +0000 util: correct argument order in pipe_buffer_map commit 7e2696c06445282feb781047277b260308760a33 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 11:32:55 2010 +0000 softpipe: transfer flush commit a0543b13c042e3c1142522d9d136f16fd4cabf78 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 11:32:13 2010 +0000 util: noop implementation of transfer_flush_region commit ce418533be752dbeb164e7ff82a99483048e482b Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 11:26:07 2010 +0000 gallium: softpipe runs gears with pipe_resources commit bfda4f2eb34498e4b7f3c608d30fccff6bb9651b Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 11:25:48 2010 +0000 util: get clip_tile working again commit f5ef219c3bed62b6a0da842e675fae16268e0fbe Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 09:43:20 2010 +0000 softpipe: use u_transfer helpers commit 072957aab25affecf0702e925310e46c694a5ee4 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 09:42:46 2010 +0000 util: helpers for inline transfers commit 9c45561fb0d7a52400093bcb2ce5f727fafd7777 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 09:42:25 2010 +0000 util: fix typo calculating transfer box commit f3e98fd47f36804d019a684d49ff230df3ab0cf5 Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 09:25:46 2010 +0000 st/vega: convert to pipe_resource commit d1b7b00afc944f6499c83d676c7642115d62a62c Author: Keith Whitwell <keithw@vmware.com> Date: Sun Mar 14 08:37:56 2010 +0000 gallium: begin converting drivers to pipe_resource Work in progress... commit 51c25117f5d6da1926a2be5ecc66677952a8abf0 Author: Keith Whitwell <keithw@vmware.com> Date: Sat Mar 13 20:16:27 2010 +0000 gallium: work in progress on layering resources on top of old textures Helper code in an aux module to avoid rewriting all the drivers. commit fb6764d3ce95c55aa78af2f1c8cbb17b79ce1ba2 Author: Keith Whitwell <keithw@vmware.com> Date: Sat Mar 13 19:19:09 2010 +0000 heaps of wip commit ee6b3bc730fcdaf8da3646d62f04578ec06d36a1 Author: Keith Whitwell <keithw@vmware.com> Date: Sat Mar 13 16:38:02 2010 +0000 wip2 commit 1830880212445189fe267d615075239ed17c7cc0 Merge: 90b4045 47bfbd4 Author: Keith Whitwell <keithw@vmware.com> Date: Sat Mar 13 15:14:03 2010 +0000 Merge branch 'gallium-sampler-view' into gallium-resources Conflicts: src/gallium/include/pipe/p_context.h src/mesa/state_tracker/st_atom_texture.c src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_drawpixels.c src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_context.c src/mesa/state_tracker/st_context.h src/mesa/state_tracker/st_texture.h commit 90b4045fbc0a093fcd04efba7e045ec259c490b8 Author: Keith Whitwell <keithw@vmware.com> Date: Sat Mar 13 14:52:43 2010 +0000 wip
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
8cdfd1219a2d13d252a8691ee6dddb0d773bdc77 |
|
16-Mar-2010 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'origin/master' into gallium-sampler-view This branch already seems to have the nv50_tex.c fix. Conflicts: src/gallium/drivers/nv50/nv50_tex.c
|
47bfbd452c93e6a8db013fb90d9f42210cf24889 |
|
13-Mar-2010 |
Keith Whitwell <keithw@vmware.com> |
Merge commit 'origin/master' into gallium-sampler-view Conflicts: src/gallium/auxiliary/util/u_tile.c src/gallium/auxiliary/util/u_tile.h src/gallium/drivers/identity/id_context.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_setup.h src/gallium/drivers/softpipe/sp_tex_tile_cache.c src/gallium/include/pipe/p_context.h src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_drawpixels.c
|
b8030c6561e019e079b5be2fe64ec804df4bfa03 |
|
12-Mar-2010 |
Michal Krol <michal@vmware.com> |
st/mesa: Associate a sampler view with an st texture object. Lazily create a sampler view when the texture is being bound for the first time.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
de8a879f5c77dbf5c31251e07b2f1b8d2635716c |
|
07-Feb-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Implement st_api.h. There is currently no user of this new interface. As the inteface can coexist with st_public.h, everthing should work as before. ST_TEXTURE_2D is both defined by st_public.h and st_api.h. Reorder the headers in st/dri to avoid conflicts.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
e4848d21e8f384f4157076d5e7c7c9d38da6598e |
|
10-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
gallium: Do not mix winsys-drawable-handle and context-private. update_buffer should be called with context-private, not winsys-drawable-handle.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
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
|
ae7b7bf1edcf6c492b4dcc162bca28a0090f601e |
|
09-Mar-2010 |
Roland Scheidegger <sroland@vmware.com> |
st/mesa: fix clear/drawpixels/bitmap for new cso vertex elements interface somehow those got lost...
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
a9aa811af01273cef8a73118abdc87313f365ad3 |
|
24-Feb-2010 |
Michal Krol <michal@vmware.com> |
st/mesa: Reset clip state when clearing with quads.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
32f2fd1c5d6088692551c80352b7d6fa35b0cd09 |
|
19-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
46c7cd665c9bc93e7254771b16b010fb10ce3707 |
|
23-Jan-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect freeing of drawpixels vertex shaders These shaders are not st_vertex_shaders, but tgsi ureg shaders. Fixes fd.o bug 25959.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
f44b0ff84338c2184ef4f2cbb752bf62f4fff1fc |
|
23-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
gallium: adapt state trackers etc. to pipe_constant_buffer removal
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
420ff89067515a74c9625a103cadc267d5f64bd4 |
|
19-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
gallium: don't use edgeflags if the app didn't supply them
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
07fafc7c9346aa260829603bf3188596481e9e62 |
|
15-Nov-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: refactor vertex and fragment shader translation Translate vertex shaders independently of fragment shaders. Previously tried to make fragment shader semantic indexes always start at zero and exclude holes. This was unnecessary but meant that vertex shader translation had to be adjusted to take this into account. Now use a fixed scheme for labelling special FS input semantics (color, etc), and another fixed scheme for the generics. With this, vertex shaders can be translated independently of the bound fragment shader, assuming mesa has done its own job and ensured that the vertex shader provides at least the inputs the fragment shader is looking for. The state-tracker didn't attempt to do anything about this previously, so it shouldn't be needed now.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
b85b315ebbe25efbd118887bdc87a562d4334fcc |
|
01-May-2009 |
Brian Paul <brianp@vmware.com> |
st: added st_renderbuffer::defined flag Indicates whether there's defined image contents, or garbage/don't care. This is set when we draw into a renderbuffer and cleared when we resize/ reallocate a renderbuffer or do a buffer swap (back buffer becomes undefined). We use this to determine whether the front color buffer has been drawn to, and whether to display its contents upon glFlush/Finish(), when the new st_swapbuffers() function is used.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
106f2b031cbb83a54fa2949cb07357ecea68b92a |
|
28-Apr-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: remove duplicate offset calculation
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
3eeefa47d08c91e4d3c14343dd0cab1be4252b8c |
|
22-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: use the static atoms[] array directly We can simplify this now that we no longer have any dynamic atoms.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
401cbd0d2365e5b2d371a2a01edf1cecca4a99dd |
|
21-Mar-2009 |
Brian Paul <brianp@vmware.com> |
gallium: remove use of origin_lower_left This was used to indicate OpenGL's lower-left origin for fragment window coordinates for polygon stipple and gl_FragCoord. Now: - fragment coordinate origin is always upper-left corner - GL polygon stipple is inverted and shifted before given to gallium - GL fragment programs that use INPUT[WPOS] are modified to use an inverted window coord which is placed in a temp register. Note: the origin_lower_left field still exists in pipe_rasterizer_state. Remove it when all the drivers, etc. no longer reference it.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
fa0f48504a32642d688d4b81f62eea54c693b23f |
|
13-Mar-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: no need to keep a copy of shader tokens in state tracker Any driver who needs a copy of the shader tokens must organize to do so itself. This has been the case for a long time, but there was still defensive code in the state tracker, which is now removed. Any bugs resulting from this need to be fixed in the offending driver...
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
f1a59a6dd7b7b0523db191d82b3af1a841c6475d |
|
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use new ST_CALLOC_STRUCT() macro in gallium state tracker
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
d2c2e9316d043ab584794a3524f22776deb4c777 |
|
12-Dec-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: avoid mapping same vertex buffer in subsequent frames Quite a few util modules were maintaining a single vertex buffer over multiple frames, and potentially reusing it in subsequent frames. Unfortunately that would force us into syncrhonous rendering as the buffer manager would be forced to wait for the previous rendering to complete prior to allowing the map. This resolves that issue, but requires the state tracker to issue a few new flush() calls at the end of each frame.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
281055987a535d7fa226cfbd9e1acb7777b2b3dd |
|
26-Nov-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: replace 2 with PIPE_SHADER_TYPES
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
1a820f52f6fa125786538c1adf2aa350e66b8c1e |
|
17-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: clean-up/fix msaa override in state tracker
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
8f6d9e12be0be086ca2aab0b56dff8d2181addd9 |
|
14-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: use a default texture in update_textures(), update_samplers() when needed The default texture is used when the current fragment shader has texture sample instructions but the user has not provided/bound a texture.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
479174c398b5d15998852d7776900bf7ec0b1bcd |
|
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-tex-surfaces
|
5c431c22227fdc552b34a5feabf1d339dcfe9848 |
|
20-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: clean-up glDraw/CopyPixels shaders when destroying context
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
1a82d9648b3db780e58e4966924157542d148c58 |
|
08-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix some render to texture bugs Before, we were sometimes rendering into a stale texture because st_finalize_texture() would discard the old texture and create a new one. Moved st_update_framebuffer atom after texture validation so that we can create a new renderbuffer surface if the texture changes. Also, split texture validation into two parts: finalize_textures and update_textures. Do finalize_textures first to avoid getting into the situtation where we're doing a pipe->surface_copy() mid-way through state validation. Some debug code still in place, but disabled...
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
eefb9d3b51e40867ac3fee43b6496a62b1888b3c |
|
30-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: simplify texture format selection
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
1cf164142768d8338527ee8cab8dee83af82af0b |
|
26-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove unneeded st->bitmap_texcoord_bias
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
332b77b852905224741084c5a4f5d2f4625dd119 |
|
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: use simple color pass-through fragment shader if textures don't exist If we run out of texture memory we may not have the texture needed by the fragment shader. If this happens, plug in a color passthrough shader. So instead of crashing, we just don't see the texture. GL_OUT_OF_MEMORY is raised, of course.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
33f3938d2d6340b31d758c96bd35f858c6c8267d |
|
23-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix some bitmap frag shader issues If texturing happens to be enabled when glBitmap() is called, need to be careful about choosing a sampler unit, etc.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
4b822a101680532ce6df52904af91194b78a16ba |
|
17-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: implement RGBA pixel maps in the pixel transfer fragment program
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
311e40268414649f047ee177ba22a17a2d437843 |
|
10-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: more elaborate tracking of front color buffer state This fixes the case where the app calls SwapBuffers then calls glReadPixels to read the front color buffer. We now keep track of when the front buffer is a _logically_ copy of the back buffer (after SwapBuffers) and read from the back color buffer instead of the front.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
a52faa9325db178601811f4bdad6d9747de5f238 |
|
10-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove unneeded st->haveFramebufferSurfaces field.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
ce5c867cbb17b2444ebc3db5c6a03cee5e2edb8a |
|
03-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: streamline viewport/raster/shader state for clearing with quads Move init of these items to new st_init_clear().
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
e66cb602b79f52bd1f01b1c3f7af039eeff283a6 |
|
31-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: turn on clipping for bitmaps Bitmaps can extend beyond window edges so we need to clip. Also, move some state atom vars to st_context to be a bit more efficient.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
c62b197b528293abb56b099503344e3cdd7d6c40 |
|
28-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: implement a glBitmap cache The bitmap cache attempts to accumulate a series of glBitmap calls in a buffer to effectively render a whole bunch of bitmaps at once. The cache can be disabled, if needed, by setting UseBitmapCache=GL_FALSE.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
6f8286163c79a8187c2912a9b673a6f11f4f60c6 |
|
27-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: Update calls to the simple shader functions
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
f6cd3778c54c0329c3f497a7368a158087d653d3 |
|
20-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: glBitmap code now separe from glDraw/CopyPixels code Also, glBitmap now re-uses the vertex buffer to avoid frequent allocations/ deallocations. And, use u_simple_shaders utility code.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
e1406c8d2366dccac0037e5329217d1c8c265eaf |
|
20-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: create one vertex buffer and re-use, also enable bypass_clipping Quad clears should be a little more efficient now.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
85e4ec6d118e340eaccd176aa622221642a2e754 |
|
20-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: use the utility pasthrough shaders This avoids the Mesa->TGSI translation step.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
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/mesa/state_tracker/st_context.h
|
0df877a0ee68359d106ba84e3dd3b7c42ae20d5a |
|
19-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: plug in and init GL_EXT_framebuffer_blit function/extension
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
088c6404fcae07dec6dcf16d2cb0777aa7b446ad |
|
17-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: use new gallium utility code for generating mipmaps
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
339e7ec6805e6de8794514c0a935081b5d36d38f |
|
12-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: rework CSO-related code in state tracker Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers...
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
4528287e040415c2071012d02f20979ff995c754 |
|
05-Mar-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: michel's patch to rework texture/sampler binding interface Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
07d6347e8a51fc7bbd5c586a5739f17c68c5eafd |
|
01-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: change st->state.sampler_texture[] to store pipe_texture pointers This is a better fix for the previous check-in. Fixes texadd.c conform test, and probably other bugs.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
58edb0683db45c449b219988a8715cf8fd69e42d |
|
20-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: state tracker didn't always notify drivers of texobj data changes Calling glTexSubImage() or glTexImage() to replace texture data didn't reliably cause pipe->set_sampler_texture() to get called so drivers didn't always get notified of new texture data. The st_texture_object->pt pointer doesn't always indicate changed data so added a dirtyData field.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
6d53b8f42349c507e7184aa567a4b2a4fc7b037f |
|
13-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: move gen-mipmap global/static vars into st_context This fixes potential problems with multi-context programs.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
4650b35846e8e87fb0d74573a5f66452bb449b4b |
|
06-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: add bitmap/drawpixels texcoord bias support The state tracker will call pipe->get_paramf(PIPE_CAP_BITMAP_TEXCOORD_BIAS) to get a bias factor for adjusting the texcoords used in bitmap/drawpixels. This allows us to compensate for small differences in rasterization from one device to another.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
756d52ec12c41ee90ee9598dc9028cc134806bd2 |
|
25-Jan-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Simplify winsys buffer interface. The properties of a buffer represented by struct pipe_buffer_handle are now basically constant over its lifetime. The state tracker gets to deal with any more complex buffer semantics it may need to provide.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
ac95fee4fffee77bb7bd798d094ed2e3a7c4019b |
|
15-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
Fix problems with vertex shaders and the private draw module. The CSO returned by pipe->create_vs_state() can't be passed to the private draw module. That was causing glRasterPos to blow up. Add a 'draw_shader' field to st_vertex_program for use with the private draw module. Change st_context->state.vs type from cso_vertex_shader to st_vertex_program.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
c664302c3e34a29b4bbb02fd3789dd3f7d92849c |
|
19-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix problem with initial viewport/scissor size. If an app never called glViewport, the viewport size was always 0 by 0 pixels. Now pass initial size to st_create_framebuffer() and initialize the viewport and scissor bounds in st_make_current(). This could also be fixed by ensuring the gl_framebuffers passed to _mesa_make_current() were initialized to the right size. But that involves allocating the renderbuffers/pipe_surfaces earlier and that runs into some other issues ATM. Also remove obsolete createRenderbuffers param to st_create_framebuffer().
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
bfe79babf99e6b9435195178d1ea64687c60d161 |
|
17-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: incorporate alpha state into depth_stencil state object.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
c3af68dc5022715cc8f126b7df12f3f5248aefe7 |
|
11-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: remove set_sampler_units interface The effect of this mapping can be acheived by the state tracker and setting up the pipe texture state pointers to incorporate its affects.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
94cadef31f9d4ee9fce1bfa66fabb0a403a6f049 |
|
11-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: remove redundant clear_color state.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
48731280d08bef51c406703e82986643e17b4757 |
|
11-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: Remove feedback interfaces from pipe driver. Something similar will return when geometry shaders are added, but for now this interface is not required.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
b859cdf6f191b4d8b56537c8dc30082a7e2d94b3 |
|
07-Dec-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Eliminate struct pipe_region. Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
753db0d8407147393a7b0622ae3fa28f68d0353d |
|
30-Nov-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Hide texture layout details from the state tracker. pipe->get_tex_surface() has to be used for access to texture image data.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
aa880bdfa05d8ff2486ef8266f93dea983b7c6fd |
|
17-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Reimplement glRasterPos using the private 'draw' module.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
9b0f71e37f2ed129997b247d58f8d5e9004f4935 |
|
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
move st_invalidate_state() prototype to st_context.h
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
e39f1b4cbea6d41dc09430bd3d811cb7bbdea5f8 |
|
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Update xlib driver to use newer state tracker context/framebuffer functions. XMesaContext has an st_context * which contains a mesa context.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
794e03d3926614036d285f2033d8708c7667814a |
|
02-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Introduce st_framebuffer type and st_create_framebuffer(), st_make_current()
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
520c71161ad0929a4b43e8e1e75067e10920f596 |
|
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement shader concatenation for glBitmap.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
d6a739f6b0658414a81715bf690159f7cfdb4961 |
|
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Use program serial numbers to avoid re-generating fragment programs for glDrawPixels.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
df174bdb818d4e21652d49c73ff17722e34a38b9 |
|
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added pixel_transfer_cache
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
0be546fa53753119a770d6368ced380bdf69c69b |
|
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
added pixel_transfer_program field
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
b19a93393043371776af6d50662a3eb0a9a965ce |
|
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
comment unused 'cb' field
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
cc9b4df5cbcb4e77cd5ee06e97e450fc0d78006e |
|
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
update comments, fix typo
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
0007cd7ba0a61fcbcf9c9d19e014408be25ae496 |
|
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Alternate CopyPixels path based on get/put_tile(). For some drivers (like Xlib) it's not possible to treat the front/back color buffers as pipe_regions. So pipe->region_copy() won't work. Added a new state tracker field indicating if we can use regions for colorbuffer accesses. This should probably be re-considered someday...
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
a7e997cfc5d909eebbc16ba5b0362e9778f01561 |
|
01-Oct-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Get rid of ST_NEW_SHADER flag and the dependency on _NEW_PROGRAM which is being hit all the time. Done by Keith really.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
07f31a29b41be572c48fc1b440eaeb6a6b010cc8 |
|
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
some clean-up of ST_NEW_ shader flags
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
40c543eb71368c646259afb87d5c76551f6b45b7 |
|
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Translate mesa vertex/fragment programs to TGSI programs at same time to do proper linking. Previously, programs were translated independently during validation. The problem is the translation to TGSI format, which packs shader input/outputs into continuous slots, depends on which vertex program is being paired with which fragment shader. Now, we look at the outputs of the vertex program in conjunction with the inputs of the fragment shader to be sure the attributes match up correctly. The new 'linked_program_pair' class keeps track of the associations between vertex and fragment shaders. It's also the place where the TGSI tokens are kept since they're no longer per-program state but per-linkage. Still a few loose ends, like implementing some kind of hash/lookup table for linked_program_pairs.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
6cb87cf26f904b891faa42268f373864fa33541d |
|
21-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Make the alpha test state a cso.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
086734502a614e7778533018846ee66a66df9821 |
|
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Checkpoint: vertex attribute clean-up. Remove/disable the attrib/slot mapping arrays in a few places. Work in progress...
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
7a06c026ad24b74048f6d125383faf25deb1dfbb |
|
20-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Fix failover state binding and convert the sampler to use the new state constant state object semantics.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
a6c0c5532f7bfa50ae54c36cf4d74ad4b9f926f8 |
|
20-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Convert depth_stencil state to the new semantics.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
daf5b0f41baa50951e7c2f9ea5cd90b119085a7f |
|
20-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Switch fragment/vertex shaders to the new caching semantics. Allow driver custom allocation within cached objects. The shaders are currently twiced (by cso layer and by the program itself).
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
fe555c39bb7fd530298b5be4a8f06bff41726c86 |
|
19-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Convert the rasterizer cso to the new semantics. Basically make cso hold the driver specific struct, while managing the template.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
c0bf7322088715bb411068c3d631b0c4be8cdff5 |
|
19-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Redo the cso cache to map driver data in a lot more pleasing way. Drivers can now create whatever they want from the state template. We use cso_state object to store the template (necessary during lookups), and the driver data. Convert blend state to the new semantics.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
ccd63b54cfbb6bb241d55f7ac95afcd14819f469 |
|
18-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Convert shader to an immutable state object.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
294401814d1d89cc731de1c22c25333aa5d59374 |
|
17-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
converting the setup state to immutable object and renaming it to rasterizer state
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
d6ac959833a8e40a27907940969c622692f749b1 |
|
17-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Combing depth and stencil objects and making them immutable. Converting depth and stencil objects into a single state object (d3d10 like) and making it immutable.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
f117327a3f246713abfd4dc4320d4a1a7f1b811a |
|
17-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Make sampler an immutable state object. Switch the sample to be an immutable state object.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
9780327c5d95586a88fce94d7b47342355ead118 |
|
14-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
First stab at immutable state objects (create/bind/delete) We want our state objects to be immutable, handled via the create/bind/delete calls instead of struct propagation. Only implementing the blend state to see how it would look like and work.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
b4bacd1fca336f043d1ee3c3a346fbd42a3b02eb |
|
17-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Plug in selection/feedback code. Not quite finished yet. Selection/feedback are done with a private instance of the 'draw' module in the state tracker. Not quite all the draw context's state is set yet, namely vertex format info. Hold off on that for a bit...
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
bee148cb7d5c974a1b5534a0307b2c082eea27e2 |
|
11-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
plug in rasterpos/feedback code
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
4185da4681405f3cc4d0cc601d428f2f44d0dda8 |
|
25-Aug-2007 |
keithw <keithw@keithw-laptop.(none)> |
add names to tracked state atoms to improve debug
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
07d97e80e616d9fdc437d3b41055c347d5c54932 |
|
24-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
checkpoint in constant tracking rework
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
fa8cbc45e883762f3c3f1f11497a035c217f8d65 |
|
23-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Need to store vendor and renderer strings in the context. As it was, we always returned the same pointer. So glxinfo, which calls glGetString() before printing anything, was printing the same string for both vendor and renderer.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
c0bb4ba9e665e40a325d82aa2ee48d7b8abd603b |
|
22-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Rework of shader constant buffers. They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
1f026d98dd77b6d26cc76946d92f69a9e6091b8e |
|
18-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Create a default vertex attribute buffer which mirrors ctx->Current.Attrrib[] Used when the vertex shader references attributes which aren't present in VBOs.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
de653b4c9bddcec46f3ddf411ec082dd178d7b38 |
|
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Begin added vertex shader state/support. Renamed pipe_fs_state to pipe_shader_state since it can be used for both vertex and fragment shader info.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
4698483f849ba8dfde20a5d649f1ea099291f241 |
|
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added st_fb_orientation() function to determine the up/down orientation of the framebuffer.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
8cc668a4a8d67af21af6883e18fe7423f28999f9 |
|
13-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix some issues with texture/mipmap_tree state tracking
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
39407fd85467141fceafbedf52d9e55e008eb011 |
|
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Move string functions to state_tracker, add queries to pipe, winsys.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
5c2c05600081f811e001a81a600778de0fcab85d |
|
10-Aug-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Handle glFlush/glFinish through the state tracker.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
6da9234fd437f97267e7831f034c78b31156d939 |
|
06-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
New st_init_*_functions() to initialize the driver functions table. We need to do these initializations before initializing the Mesa context because context init involves creating texture/program/etc objects.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
4824c342c864e870251a7d343c95e51274e50d23 |
|
19-Jul-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Trigger tgsi compilation for fragment programs. Not sure the generated program looks correct though...
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
284efcfc27aaeb447e0898ae3342e9fee20c584a |
|
04-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
hook in state tracking for blend color
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
ea92566ed9cabf5eb5d0993b39c4372d5bfcf3f1 |
|
02-Jul-2007 |
Brian <brian.paul@tungstengraphics.com> |
rename a few structs (use _state suffix consistantly), reorder/sort fields in some structs
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
1be17dc446aa6b0770d76a3eccf79d0faf6608c0 |
|
27-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
consolidate point/line state into pipe_setup_state
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
13682d959ddacde1ce65843aa8c5b43dc9017b32 |
|
22-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
more texture sampler work
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
73f96c51052bf5233191d852ef463462306bf1d5 |
|
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Initial work for glClear(), clear color state.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
6cb2d0cb71d2019bd2c941a8c042e56275b22c1c |
|
20-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
hook up point state
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
493f7b5f3ae2eb64eaa65e24e79a7a071c359b81 |
|
19-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
Added alpha test state.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
8f6b6eed35832733674372dea7bd5ce69a965c4e |
|
15-Jun-2007 |
Brian <brian.paul@tungstengraphics.com> |
initial framebuffer state
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
943964a1e5bad86bdceb0a06d60fb3b302ebce6a |
|
14-Jun-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Rename directories again?! Some git wierdness going on.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|
6393cda6766b707ef01e925d378239a66d143ae0 |
|
14-Jun-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
Renamed softpipe directories and files to something less confusing. softpipe/state_tracker --> state_tracker/ softpipe/ --> pipe/ softpipe/generic --> pipe/softpipe/ I don't think pipe is a great name, but I disliked all the others too. Luckily it's fairly easy to rename with git, so this can be revisited later.
/external/mesa3d/src/mesa/state_tracker/st_context.h
|