c760677c85a1019eef67b2ce0ce97e8218918f44 |
|
24-Jan-2013 |
Brian Paul <brianp@vmware.com> |
st/mesa: do proper error checking for u_upload_alloc() calls We weren't properly checking the return value of these calls (and calls to u_upload_data()) to detect OOM errors. Note: This is a candidate for the 9.0 branch. Reviewed-by: Jose Fonseca <jfonseca@vmware.com> (cherry picked from commit 8c3f9ea07392177b6de9d946d40f97128fa51632)
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
738d1ae3b59b073605c7fb58ec6f0a85a185ffd3 |
|
25-Oct-2012 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Don't use 4bits for GL_UNSIGNED_BYTE_3_3_2(_REV) 4bits and 3bits quantitization values differ significantly for values other than 0 and 1. Fixes piglit draw-pixels for softpipe/llvmpipe. NOTE: Probably a candidate for stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Marek Olšák <maraeo@gmail.com> (cherry picked from commit 0cb0c38ccea84ab524d10447585000d41fbb8c74)
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
03b78ceb50b97611bcaa2d2354ff5b505306b0a1 |
|
04-Aug-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: don't clamp fragment color with integer colorbuffer
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
ea6f035ae90895bd4ee3247408eb179dfdf96d22 |
|
02-Aug-2012 |
Brian Paul <brianp@vmware.com> |
gallium: consolidate CSO sampler and sampler_view functions Merge the vertex/fragment versions of the cso_set/save/restore_samplers() functions. Now we pass the shader stage (PIPE_SHADER_x) to the function to indicate vertex/fragment/geometry samplers. For example: cso_single_sampler(cso, PIPE_SHADER_FRAGMENT, unit, sampler); This results in quite a bit of code reduction, fewer CSO functions and support for geometry shaders. Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
9ad8f431b2a47060bf05517246ab0fa8d249c800 |
|
25-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa: add glformats integer type/format detection routines _mesa_is_integer_format is moved to formats.c and renamed as _mesa_is_enum_format_integer. _mesa_is_format_unsigned, _mesa_is_type_integer, _mesa_is_type_unsigned, and _mesa_is_enum_format_or_type_integer are added. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
1a06e8454ec714e950bc88882cd985534a18bf1f |
|
12-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
mesa,st/mesa: implement GL_RGB565 from ARB_ES2_compatibility This was not implemented, because the spec was changed just recently. Everything has been in place already. Gallium has PIPE_FORMAT_B5G6R5_UNORM, while Mesa has MESA_FORMAT_RGB565. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
76db2c121c5436dc37a66d398fcaa9b26478c5ec |
|
07-Jul-2012 |
Marek Olšák <maraeo@gmail.com> |
gallium: add util_format_stencil_only helper function used for stencil sampler views. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
fc855ed5d968c6d650df77505540bfbdaa5fb35e |
|
19-Jun-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: clamp glDrawPixels size to max texture size
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
7f4786ad29abbbbc4b0ebfcec8114921c1c8f6e3 |
|
19-Jun-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: move st_validate_state() call earlier in st_DrawPixels()
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
f677954e07c6c1fd59b13622a7420c97d68a6029 |
|
08-Jun-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix glDrawPixels(GL_DEPTH_COMPONENT) color output When drawing a depth image the fragment shader also needs to emit the current raster color. The new piglit drawpix-z test exercises this. NOTE: This is a candiate for the 8.0 branch.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
99ed0b2f9b95a484aa78aeee0277bb669611be5b |
|
21-Apr-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: no-op glCopyPixels if source region is out of bounds If the source region for a glCopyPixels is completely outside the source buffer bounds, no-op the copy. Fixes a failed assertion. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
6c1fbe912f1623cbcf474a0b985841e44122a911 |
|
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: write vertices directly into the buffer in glDrawPixels
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
b69dad1683f092e3ce9d0f3f8fb1bdf96bdff0c7 |
|
13-Apr-2012 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: use u_upload_mgr to upload vertices for glDrawPixels
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
62c69c340e71e97ddeaa757e033b8132399b9438 |
|
20-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: stop using MAX_WIDTH in st_cb_drawpixels.c Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
5e81d3b85300077a0df1f1d77646a7e939d32a7f |
|
12-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: use _mesa_pack_ubyte_stencil_row() in draw_stencil_pixels() Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
d765c8ee8c761bb73d634bb274cfc5061892c9a8 |
|
11-Feb-2012 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove st_renderbuffer::format We only used it in a few places that can implemented differently. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
dc4c821f0817a3db716f965692fb701079f66340 |
|
10-Jan-2012 |
Marek Olšák <maraeo@gmail.com> |
Squash-merge branch 'gallium-clip-state' Conflicts: src/gallium/auxiliary/tgsi/tgsi_strings.c src/mesa/state_tracker/st_atom_clip.c commit d919791f2742e913173d6b335128e7d4c63c0840 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 17:59:22 2012 +0100 d3d1x: adapt to new clip state commit cfec82bca3fefcdefafca3f4555285ec1d1ae421 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 14:16:51 2012 +0100 gallium/docs: update for clip state changes commit c02bfeb81ad9f62041a2285ea6373bbbd602912a Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 14:21:43 2012 +0100 tgsi: add TGSI_PROPERTY_PROHIBIT_UCPS commit d4e0a785a6a23ad2f6819fd72e236acb9750028d Author: Brian Paul <brianp@vmware.com> Date: Thu Jan 5 08:30:00 2012 -0700 tgsi: consolidate TGSI string arrays in new tgsi_strings.h There was some duplication between the tgsi_dump.c and tgsi_text.c files. Also use some static assertions to help catch errors when adding new TGSI values. v2: put strings in tgsi_strings.c file instead of the .h file. Reviewed-by: Dave Airlie <airlied@redhat.com> commit c28584ce0d8c62bd92c8f140729d344f88a0b3cd Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 12:48:09 2012 +0100 gallium: extend user_clip_plane_enable to apply to clip distances commit f1d5016c07f786229ed057effbe55fbfd160b019 Author: Marek Olšák <maraeo@gmail.com> Date: Fri Jan 6 02:39:09 2012 +0100 nvfx: adapt to new clip state commit 6f6fa1c26bd19f797c1996731708e3569c9bfe24 Author: Marek Olšák <maraeo@gmail.com> Date: Fri Jan 6 01:41:39 2012 +0100 st/mesa: fix DrawPixels with GL_DEPTH_CLAMP commit c86ad730aa1c017788ae88a55f54071bf222be12 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Tue Jan 3 23:51:30 2012 +0100 nv50: adapt to new clip state commit 3a8ae6ac243bae5970729dc4057fe02d992543dc Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Tue Jan 3 23:32:36 2012 +0100 nvc0: adapt to new clip state commit 6243a8246997f8d2fcc69ab741a2c2dea080ff11 Author: Marek Olšák <maraeo@gmail.com> Date: Thu Dec 29 01:32:51 2011 +0100 draw: initalize pt.user.planes in draw_init This fixes a crash in glean/fpexceptions. commit e3056524b19b56d473f4faff84ffa0eb41497408 Author: Marek Olšák <maraeo@gmail.com> Date: Mon Dec 26 06:26:55 2011 +0100 svga: adapt to new clip state commit c5bfa8b37d6d489271df457229081d6bbb51b4b7 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 14:11:51 2011 +0100 r600g: adapt to new clip state commit f11890905362f62627c4a28a8255b76eb7de7df2 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 14:10:26 2011 +0100 r300g: adapt to new clip state commit e37465327c79a01112f15f6278d9accc5bf3103f Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 12:39:16 2011 +0100 draw: adapt to new clip state This adds a regression in the LLVM clipping path. Can anybody see anything wrong with the code? It works for every other case, just glean/fpexceptions crashes when doing the "Infinite clip plane test". commit b474d2b18c72d965eefae4e427c269cba5ce6ba2 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 13:14:59 2011 +0100 u_blitter: don't save/set/restore clip state commit 9dd240ea91f523a677af45e8d0adb9e661e28602 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 13:11:56 2011 +0100 gallium: don't cso_save/set/restore clip state The enable bits are in the rasterizer state. commit a4f7031179f5f4ad524b34b394214b984ac950f6 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 12:58:55 2011 +0100 gallium: default depth_clip to 1 depth_clip = !depth_clamp commit fe21147a00ab90e549d63fe12ee4625c9c2ffcc3 Author: Marek Olšák <maraeo@gmail.com> Date: Mon Dec 26 06:14:19 2011 +0100 trace,util: update state logging to new clip state Also dump the other missing flags. commit 2a3b96e84ac872dcc5bc1de049fe76bb58d64b23 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 10:43:43 2011 +0100 st/mesa: adapt to new clip state commit b7b656a42fca19d7c85267f42649a206a85a2c72 Author: Marek Olšák <maraeo@gmail.com> Date: Sat Dec 17 15:45:19 2011 +0100 gallium: move state enable bits from clip_state to rasterizer_state
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
d69d287068e0a6b5e2f3c13b1f55335a9b6ce03b |
|
02-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove the dstX/Y/Zoffset params to _mesa_texstore() functions The were always zero. When doing a sub-texture replacement we account for the dstX/Y/Zoffsets when we map the texture image. So no need to pass them into the texstore code anymore. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
c05fafa4a0fd93d4264c46578e23a83ecf2b481e |
|
09-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement EXT_transform_feedback and ARB_transform_feedback2
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
02d12719e356ee9e3348db67ae55ae790dad058f |
|
10-Dec-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: stop using _DepthBuffer, _StencilBuffer fields We never want to use the depth/stencil buffer wrappers so always just use the attachment renderbuffers. This is a step toward removing the _DepthBuffer, _StencilBuffer fields. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e99df05cce8a5ecf69fdb634f76898a279456ea4 |
|
20-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: quick fix of CopyPixels with GL_DEPTH_STENCIL This fixes: - depthstencil-default_fb-copypixels - fbo-depthstencil-GL_DEPTH24_STENCIL8-copypixels Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
3754ebb33dc6bfb3db59f23f0b3690134a71aa15 |
|
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove dependencies on code in st_cb_readpixels.c st_cb_readpixels.c is going away next. Acked-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
245edfb0058fdb22ab31a77b18fb045be4aad178 |
|
07-Nov-2011 |
Morgan Armand <morgan.devel@gmail.com> |
st/mesa: fix memory leaks Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
33ca21fc3ca78d9e93d2a750b6da3505346d2b86 |
|
07-Nov-2011 |
Morgan Armand <morgan.devel@gmail.com> |
st/mesa: fix indentation Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
d2633af696f2e4ff98f669061e4e222e8643312c |
|
04-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: set geometry shader to NULL when doing internal drawing The code expects the geometry shader to be NULL. We don't have geometry shaders now, but it's good to be prepared. v2: check for support in the cso context
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
866f9b18c68ede63c00917ec9c3dae3524ca8826 |
|
11-Sep-2011 |
Dave Airlie <airlied@redhat.com> |
gallium: rename ZS stencil type to UINT (v2) these are never USCALED, always UINT in reality. taken from some work by Christoph Bumiller v2: fixup formatting of table + tabs Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
5253cf98057dad54e25b4b8c36f8cf24f559314c |
|
05-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: get rid of imageOffsets arrays in texstore code These were used to find the start of a 3D image slice (or 2D array texture slice) given a base address. Instead, use a simple array of address of image slices instead. This is a step toward getting rid of the gl_texture_image::ImageOffsets field. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
4683529048ee133481b2d8f1cae1685aa1736f9a |
|
04-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
Merge branch 'glsl-to-tgsi' Conflicts: src/mesa/state_tracker/st_atom_pixeltransfer.c src/mesa/state_tracker/st_program.c
|
9adcab9cd464d659288e31e6767efb5dee3894ff |
|
04-Aug-2011 |
Bryan Cain <bryancain3@gmail.com> |
st/mesa: replace duplicated create_color_map_texture() function with shared function
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
c0dcab2882a4731dccd363a40c3ebcabc88b9c5d |
|
09-Jul-2011 |
Bryan Cain <bryancain3@gmail.com> |
st/mesa, glsl_to_tgsi: support glDrawPixels/glCopyPixels with a GLSL fragment shader active Since this was previously implemented using Mesa IR and _mesa_combine_programs, this commit adds a new code path that works with glsl_to_tgsi.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
c369fb42ee00598396e16faf1cd98995bf72c0b7 |
|
11-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: choose a matching depth internal format for DrawPixels This makes it easier to hit the fast path and get a float format when we ask for it. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
2df4b6117b27acb4ea46222b47353ffb9f513204 |
|
11-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: get rid of unnecessary 'goto' in DrawPixels Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
ab4d629613d5a7a8a94f3fe3f1acac347f39e2ec |
|
11-Jul-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: derive a stencil sampler format from the actual texture format Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e517e5ac7c89b133f341a1075db95e14d0ba23c2 |
|
27-Jun-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: implement read/draw/copypixels for Z32F and Z32F_S8X24
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
9b5c538726d279c79c1c74047fe19a6caab5321e |
|
28-Jun-2011 |
Emil Velikov <emil.l.velikov@gmail.com> |
st/mesa: Use correct internal target Commit 1a339b6c(st/mesa: prefer native texture formats when possible) introduced two new arguments to the st_choose_format() functions. This patch fixes the order and passes the correct internal_target rather than GL_NONE NOTE: This is a candidate for the 7.11 branch Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
1a339b6c71ebab6e1a64f05b2e133022d3bbcd15 |
|
23-Jun-2011 |
Stéphane Marchesin <marcheu@chromium.org> |
st/mesa: prefer native texture formats when possible. If possible, we want to match the hardware format to what the app uses. By doing so, we avoid the need for pixel conversions and therefore greatly speed up texture uploads.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
1b37a41661f791b22f12b8477053a8dff6e33d6d |
|
29-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: don't use resource_copy_region for CopyPixels with conditional render The conditional rendering should be able to kill CopyPixels. I assume the render condition has no effect on resource_copy_region. This fixes piglit: - NV_conditional_render/copypixels NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
3e06803c2c6cf83009708b23d3ebafc0ea3dc525 |
|
26-May-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: simplify some st_context(ctx)->pipe code
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
bf14ab417c6638afd19206e11ee69bdb9fb93d9e |
|
26-May-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect texture level/face/slice accesses If we use FBOs to access mipmap levels with glRead/Draw/CopyPixels() we need to be sure to access the correct mipmap level/face/slice. Before, we were just passing zero in quite a few places. This fixes the new piglit fbo-mipmap-copypix test. NOTE: This is a candidate for the 7.10 branch.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
ad2999d2113356d526b39774eb8114e974dac048 |
|
14-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: set correct baseInternalFormat for _mesa_texstore in DrawPixels GL_RGBA was always used for baseInternalFormat regardless of the chosen texture internal format. https://bugs.freedesktop.org/show_bug.cgi?id=37154 Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
fb8786bda320fef12219bf71ea83d703be6aa48f |
|
01-May-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: remove set-but-unused variables
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e62530a6c00da71c0f7bf1f4c425fe6c5b452df6 |
|
26-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: support EXT_packed_float Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
1da44f5923c5715d78a48dc300bbc6cbd3f3ea99 |
|
26-Apr-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: support EXT_texture_shared_exponent Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
b518f4d0ea72dc3872f351250034aa9155756dd3 |
|
15-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: choose an appropriate texture format for DrawPixels
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
47e3896dfd89a26abbe4ca2469c2480f3982b204 |
|
16-Feb-2011 |
Luca Barbieri <luca@luca-barbieri.com> |
gallium: implement clamping controls (ARB_color_buffer_float) BTW this changes the gallium interface. Some rather cosmetic changes by Marek. Squashed commit of the following: commit 513b37d484f0318311e84bb86ed4c93cdff71f13 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:17:54 2010 +0200 mesa/st: respect fragment clamping in st_DrawPixels commit 546a31e42cad459d7a7a10ebf77fc5ffcf89e9b8 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:17:28 2010 +0200 mesa/st: support fragment and vertex color clamping commit c406514a1fbee6891da4cf9ac3eebe4e4407ec13 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Tue Aug 24 21:56:37 2010 +0200 mesa/st: expose ARB_color_buffer_float if unclamping is supported commit d0c5ea11b6f75f3da2f4ca989115f150ebc7cf8d Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 17:53:41 2010 +0200 mesa/st: use unclamped colors This assumes that Gallium is to be interpreted as given drivers the responsibility to clamp these colors if necessary. commit aef5c3c6be6edd076e955e37c80905bc447f8a82 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:12:34 2010 +0200 mesa, mesa/st: handle read color clamping properly We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where the operation mandates it. (see the removed XXX comment. -Marek) TODO: did I get the set of operations mandating it right? commit 76bdfcfe3ff4145a1818e6cb6e227b730a5f12d8 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Thu Aug 26 18:18:25 2010 +0200 gallium: add color clamping to the interface
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
aa878f94ab77fe3be352d820aaa950b32836c814 |
|
15-Mar-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: use BITFIELD64_BIT() macro in a few more places
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e968975cb57eb854769292f7c6ff773c64a386c3 |
|
08-Mar-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: remove the geom_flags param from is_format_supported
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
b70610b9823fc7dc3672735c11be1a75fbb1a2a4 |
|
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move PBO-related functions into a new file
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
09f14a60867ed902a27307da090e429546d8e838 |
|
18-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: check buffer orientation in blit_copy_pixels() Can't invert the region if copying between surfaces with different orientations.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
b736b4a2b5c07b502e15e49ba2a9f10b0c5f3ab7 |
|
18-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: implement blit-based path for glCopyPixels If doing a simple non-overlapping glCopyPixels with no per-fragment ops we can use pipe_context::resource_copy_region().
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
de2f25de269894d591b144ac0583a78f5a5e992b |
|
17-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: indentation fix
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
d1becefb057ce89eeb93e130cb0d0c63de4be3d8 |
|
17-Feb-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect glCopyPixels position on fallback path If we hit the pipe_get/put_tile() path for setting up the glCopyPixels texture we were passing the wrong x/y position to pipe_get_tile(). The x/y position was already accounted for in the pipe_get_transfer() call so we were effectively reading from 2*readX, 2*readY. NOTE: This is a candidate for the 7.9 and 7.10 branches.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
eafb7f234d11a290b00dcaf5492b9bdad1cf5148 |
|
13-Feb-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: add usage parameter to pipe_buffer_create And set a reasonable buffer usage flag everywhere instead of just PIPE_USAGE_DEFAULT.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
d5062fb3a315c46d77d5c954a3e3c14be1907d33 |
|
09-Jan-2011 |
Marek Olšák <maraeo@gmail.com> |
gallium: always save and restore vertex buffers using cso_cache
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
db3a8af7f900e4970ea18659e86a824b4ebdefc7 |
|
29-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: pass layers param to st_texture_create()
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
9d380f487a4f2628594821a4fed5fe587ce52031 |
|
23-Jan-2011 |
Brian Paul <brianp@vmware.com> |
st/mesa: ensure that all pixel paths operation on linear RGB data, not sRGB Before, we were converting between linear/sRGB in glReadPixels, glDrawPixels, glAccum, etc if the renderbuffer was an sRGB texture. Those all need to operate on pixel values as-is without conversion. Also, when setting up render-to-texture, if the texture is sRGB the pipe_surface view must be linear RGB. This will change when we support GL_ARB_framebuffer_sRGB. This fixes http://bugs.freedesktop.org/show_bug.cgi?id=33353
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
edc09358f72cd48cb2315daf23c82e7646aeaea3 |
|
09-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Include mfeatures.h in files that perform feature tests.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
20d85865ec75f2cf2ae2a62ed3cf419e9af3eca3 |
|
06-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Include mtypes.h in st_cb_drawpixels.c. Include mtypes.h for gl_context symbol.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
aa5ba96d294698809186cc4b59034abbd3076812 |
|
16-Dec-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: s/varient/variant
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
4c7001462607e6e99e474d6271dd481d3f8f201c |
|
02-Dec-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: support for array textures and related changes resources have a array_size parameter now. get_tex_surface and tex_surface_destroy have been renamed to create_surface and surface_destroy and moved to context, similar to sampler views (and create_surface now uses a template just like create_sampler_view). Surfaces now really should only be used for rendering. In particular they shouldn't be used as some kind of 2d abstraction for sharing a texture. offset/layout fields don't make sense any longer and have been removed, width/height should go too. surfaces and sampler views now specify a layer range (for texture resources), layer is either array slice, depth slice or cube face. pipe_subresource is gone array slices (or cube faces) are now treated the same as depth slices in transfers etc. (that is, they use the z coord of the respective functions). Squashed commit of the following: commit a45bd509014743d21a532194d7b658a1aeb00cb7 Merge: 1aeca28 32e1e59 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Dec 2 04:32:06 2010 +0100 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/drivers/i915/i915_resource_texture.c src/gallium/drivers/i915/i915_state_emit.c src/gallium/drivers/i915/i915_surface.c commit 1aeca287a827f29206078fa1204715a477072c08 Merge: 912f042 6f7c8c3 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Dec 2 00:37:11 2010 +0100 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/state_trackers/vega/api_filters.c src/gallium/state_trackers/vega/api_images.c src/gallium/state_trackers/vega/mask.c src/gallium/state_trackers/vega/paint.c src/gallium/state_trackers/vega/renderer.c src/gallium/state_trackers/vega/st_inlines.h src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/vega/vg_manager.c commit 912f042e1d439de17b36be9a740358c876fcd144 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Dec 1 03:01:55 2010 +0100 gallium: even more compile fixes after merge commit 6fc95a58866d2a291def333608ba9c10c3f07e82 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Dec 1 00:22:26 2010 +0100 gallium: some fixes after merge commit a8d5ffaeb5397ffaa12fb422e4e7efdf0494c3e2 Merge: f7a202f 2da02e7 Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Nov 30 23:41:26 2010 +0100 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/drivers/i915/i915_state_emit.c src/gallium/state_trackers/vega/api_images.c src/gallium/state_trackers/vega/vg_context.c commit f7a202fde2aea2ec78ef58830f945a5e214e56ab Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Nov 24 19:19:32 2010 +0100 gallium: even more fixes/cleanups after merge commit 6895a7f969ed7f9fa8ceb788810df8dbcf04c4c9 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Nov 24 03:07:36 2010 +0100 gallium: more compile fixes after merge commit af0501a5103b9756bc4d79167bd81051ad6e8670 Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Nov 23 19:24:45 2010 +0100 gallium: lots of compile fixes after merge commit 0332003c2feb60f2a20e9a40368180c4ecd33e6b Merge: 26c6346 b6b91fa Author: Roland Scheidegger <sroland@vmware.com> Date: Tue Nov 23 17:02:26 2010 +0100 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/auxiliary/gallivm/lp_bld_sample.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_blitter.c src/gallium/auxiliary/util/u_inlines.h src/gallium/auxiliary/util/u_surface.c src/gallium/auxiliary/util/u_surfaces.c src/gallium/docs/source/context.rst src/gallium/drivers/llvmpipe/lp_rast.c src/gallium/drivers/nv50/nv50_state_validate.c src/gallium/drivers/nvfx/nv04_surface_2d.c src/gallium/drivers/nvfx/nv04_surface_2d.h src/gallium/drivers/nvfx/nvfx_buffer.c src/gallium/drivers/nvfx/nvfx_miptree.c src/gallium/drivers/nvfx/nvfx_resource.c src/gallium/drivers/nvfx/nvfx_resource.h src/gallium/drivers/nvfx/nvfx_state_fb.c src/gallium/drivers/nvfx/nvfx_surface.c src/gallium/drivers/nvfx/nvfx_transfer.c src/gallium/drivers/r300/r300_state_derived.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/r600/r600_blit.c src/gallium/drivers/r600/r600_buffer.c src/gallium/drivers/r600/r600_context.h src/gallium/drivers/r600/r600_screen.c src/gallium/drivers/r600/r600_screen.h src/gallium/drivers/r600/r600_state.c src/gallium/drivers/r600/r600_texture.c src/gallium/include/pipe/p_defines.h src/gallium/state_trackers/egl/common/egl_g3d_api.c src/gallium/state_trackers/glx/xlib/xm_st.c src/gallium/targets/libgl-gdi/gdi_softpipe_winsys.c src/gallium/targets/libgl-gdi/libgl_gdi.c src/gallium/tests/graw/tri.c src/mesa/state_tracker/st_cb_blit.c src/mesa/state_tracker/st_cb_readpixels.c commit 26c6346b385929fba94775f33838d0cceaaf1127 Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Aug 2 19:37:21 2010 +0200 fix more merge breakage commit b30d87c6025eefe7f6979ffa8e369bbe755d5c1d Merge: 9461bf3 1f1928d Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Aug 2 19:15:38 2010 +0200 Merge remote branch 'origin/master' into gallium-array-textures Conflicts: src/gallium/drivers/llvmpipe/lp_rast.c src/gallium/drivers/llvmpipe/lp_rast_priv.h src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_screen_buffer.c src/gallium/drivers/r300/r300_state_derived.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/r300/r300_texture.h src/gallium/drivers/r300/r300_transfer.c src/gallium/drivers/r600/r600_screen.c src/gallium/drivers/r600/r600_state.c src/gallium/drivers/r600/r600_texture.c src/gallium/drivers/r600/r600_texture.h src/gallium/state_trackers/dri/common/dri1_helper.c src/gallium/state_trackers/dri/sw/drisw.c src/gallium/state_trackers/xorg/xorg_exa.c commit 9461bf3cfb647d2301364ae29fc3084fff52862a Merge: 17492d7 0eaccb3 Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jul 15 20:13:45 2010 +0200 Merge commit 'origin/master' into gallium-array-textures Conflicts: src/gallium/auxiliary/util/u_blitter.c src/gallium/drivers/llvmpipe/lp_rast.c src/gallium/drivers/llvmpipe/lp_surface.c src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/r300/r300_transfer.c src/gallium/tests/trivial/quad-tex.c commit 17492d705e7b7f607b71db045c3bf344cb6842b3 Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Jun 18 10:58:08 2010 +0100 gallium: rename element_offset/width fields in views to first/last_element This is much more consistent with the other fields used there (first/last level, first/last layer). Actually thinking about removing the ugly union/structs again and rename first/last_layer to something even more generic which could also be used for buffers (like first/last_member) without inducing headaches. commit 1b717a289299f942de834dcccafbab91361e20ab Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 17 14:46:09 2010 +0100 gallium: remove PIPE_SURFACE_LAYOUT_LINEAR definition This was only used by the layout field of pipe_surface, but this driver internal stuff is gone so there's no need for this driver independent layout definition neither. commit 10cb644b31b3ef47e6c7b55e514ad24bb891fac4 Merge: 5691db9 c85971d Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 17 12:20:41 2010 +0100 Merge commit 'origin/master' into gallium-array-textures Conflicts: src/gallium/docs/source/glossary.rst src/gallium/tests/graw/fs-test.c src/gallium/tests/graw/gs-test.c commit 5691db960ca3d525ce7d6c32d9c7a28f5e907f3b Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 17 11:29:03 2010 +0100 st/wgl: fix interface changes bugs commit 2303ec32143d363b46e59e4b7c91b0ebd34a16b2 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Jun 16 19:42:32 2010 +0100 gallium: adapt code to interface changes... commit dcae4f586f0d0885b72674a355e5d56d47afe77d Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Jun 16 19:42:05 2010 +0100 gallium: separate depth0 and array_size in the resource itself. These fields are still mutually exclusive (since no 3d array textures exist) but it ultimately seemed to error-prone to adapt all code accept the new meaning of depth0 (drivers stick that into hardware regs, calculate mipmap sizes etc.). And it isn't really cleaner anyway. So, array textures will have depth0 of 1, but instead use array_size, 3D textures will continue to use depth0 (and have array_size of 1). Cube maps also will use array_size to indicate their 6 faces, but since all drivers should just be fine by inferring this themselves from the fact it's a cube map as they always used to nothing should break. commit 621737a638d187d208712250fc19a91978fdea6b Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Jun 16 17:47:38 2010 +0100 gallium: adapt code to interface changes There are still usages of pipe_surface where pipe_resource should be used, which should eventually be fixed. commit 2d17f5efe166b2c3d51957c76294165ab30b8ae2 Author: Roland Scheidegger <sroland@vmware.com> Date: Wed Jun 16 17:46:14 2010 +0100 gallium: more interface changes In particular to enable usage of buffers in views, and ability to use a different pipe_format in pipe_surface. Get rid of layout and offset parameter in pipe_surface - the former was not used in any (public) code anyway, and the latter should either be computed on-demand or driver can use subclass of pipe_surface. Also make create_surface() use a template to be more consistent with other functions. commit 71f885ee16aa5cf2742c44bfaf0dc5b8734b9901 Merge: 3232d11 8ad410d Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Jun 14 14:19:51 2010 +0100 Merge commit 'origin/master' into gallium-array-textures Conflicts: src/gallium/auxiliary/util/u_box.h src/gallium/drivers/nv50/nv50_surface.c src/gallium/drivers/nvfx/nvfx_surface.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/r300/r300_transfer.c src/gallium/drivers/r600/r600_blit.c src/gallium/drivers/r600/r600_screen.h src/gallium/include/pipe/p_state.h commit 3232d11fe3ebf7686286013c357b404714853984 Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Jun 14 11:40:04 2010 +0100 mesa/st: adapt to interface changes still need to fix pipe_surface sharing (as that is now per-context). Also broken is depth0 handling - half the code assumes this is also used for array textures (and hence by extension of that cube maps would have depth 6), half the code does not... commit f433b7f7f552720e5eade0b4078db94590ee85e1 Author: Roland Scheidegger <sroland@vmware.com> Date: Mon Jun 14 11:35:52 2010 +0100 gallium: fix a couple of bugs in interface chnage fixes commit 818366b28ea18f514dc791646248ce6f08d9bbcf Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:42:11 2010 +0200 targets: adapt to interface changes Yes even that needs adjustments... commit 66c511ab1682c9918e0200902039247793acb41e Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:41:13 2010 +0200 tests: adapt to interface changes Everything needs to be fixed :-(. commit 6b494635d9dbdaa7605bc87b1ebf682b138c5808 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:39:50 2010 +0200 st: adapt non-rendering state trackers to interface changes might not be quite right in all places, but they really don't want to use pipe_surface. commit 00c4289a35d86e4fe85919ec32aa9f5ffe69d16d Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:38:48 2010 +0200 winsys: adapt to interface changes commit 39d858554dc9ed5dbc795626fec3ef9deae552a0 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:26:54 2010 +0200 st/python: adapt to interface changes don't think that will work, sorry. commit 6e9336bc49b32139cec4e683857d0958000e15e3 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:26:07 2010 +0200 st/vega: adapt to interface changes commit e07f2ae9aaf8842757d5d50865f76f8276245e11 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:25:56 2010 +0200 st/xorg: adapt to interface changes commit 05531c10a74a4358103e30d3b38a5eceb25c947f Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:24:53 2010 +0200 nv50: adapt to interface changes commit 97704f388d7042121c6d496ba8c003afa3ea2bf3 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:24:45 2010 +0200 nvfx: adapt to interface changes commit a8a9c93d703af6e8f5c12e1cea9ec665add1abe0 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:24:01 2010 +0200 i965g: adapt to interface changes commit 0dde209589872d20cc34ed0b237e3ed7ae0e2de3 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:22:38 2010 +0200 i915g: adapt to interface changes commit 5cac9beede69d12f5807ee1a247a4c864652799e Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:20:58 2010 +0200 svga: adapt to interface changes resource_copy_region still looking fishy. Was not very suited to unified zslice/face approach... commit 08b5a6af4b963a3e4c75fc336bf6c0772dce5150 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:20:01 2010 +0200 rbug: adapt to interface changes Not sure if that won't need changes elsewhere? commit c9fd24b1f586bcef2e0a6e76b68e40fca3408964 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:19:31 2010 +0200 trace: adapt to interface changes commit ed84e010afc5635a1a47390b32247a266f65b8d1 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:19:21 2010 +0200 failover: adapt to interface changes commit a1d4b4a293da933276908e3393435ec4b43cf201 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:19:12 2010 +0200 identity: adapt to interface changes commit a8dd73e2c56c7d95ffcf174408f38f4f35fd2f4c Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:18:55 2010 +0200 softpipe: adapt to interface changes commit a886085893e461e8473978e8206ec2312b7077ff Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:18:44 2010 +0200 llvmpipe: adapt to interface changes commit 70523f6d567d8b7cfda682157556370fd3c43460 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:18:14 2010 +0200 r600g: adapt to interface changes commit 3f4bc72bd80994865eb9f6b8dfd11e2b97060d19 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:18:05 2010 +0200 r300g: adapt to interface changes commit 5d353b55ee14db0ac0515b5a3cf9389430832c19 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:17:37 2010 +0200 cell: adapt to interface changes not even compile tested commit cf5d03601322c2dcb12d7a9c2f1745e2b2a35eb4 Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:14:59 2010 +0200 util: adapt to interface changes amazing how much code changes just due to some subtle interface changes? commit dc98d713c6937c0e177fc2caf23020402cc7ea7b Author: Roland Scheidegger <sroland@vmware.com> Date: Sat Jun 12 02:12:40 2010 +0200 gallium: more interface fail, docs this also changes flush_frontbuffer to use a pipe_resource instead of a pipe_surface - pipe_surface is not meant to be (or at least no longer) an abstraction for standalone 2d images which get passed around. (This has also implications for the non-rendering state-trackers.) commit 08436d27ddd59857c22827c609b692aa0c407b7b Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 10 17:42:52 2010 +0200 gallium: fix array texture interface changes bugs, docs commit 4a4d927609b62b4d7fb9dffa35158afe282f277b Author: Roland Scheidegger <sroland@vmware.com> Date: Thu Jun 3 22:02:44 2010 +0200 gallium: interface changes for array textures and related cleanups This patch introduces array textures to gallium (note they are not immediately usable without the associated changes to the shader side). Also, this abandons pipe_subresource in favor of using level and layer parameters since the distinction between several faces (which was part of pipe_subresource for cube textures) and several z slices (which were not part of pipe_subresource but instead part of pipe_box where appropriate for 3d textures) is gone at the resource level. Textures, be it array, cube, or 3d, now use a "unified" set of parameters, there is no distinction between array members, cube faces, or 3d zslices. This is unlike d3d10, whose subresource index includes layer information for array textures, but which considers all z slices of a 3d texture to be part of the same subresource. In contrast to d3d10, OpenGL though reuses old 2d and 3d function entry points for 1d and 2d array textures, respectively, which also implies that for instance it is possible to specify all layers of a 2d array texture at once (note that this is not possible for cube maps, which use the 2d entry points, although it is possible for cube map arrays, which aren't supported yet in gallium). This should possibly make drivers a bit simpler, and also get rid of mutually exclusive parameters in some functions (as z and face were exclusive), one potential downside would be that 3d array textures could not easily be supported without reverting this, but those are nowhere to be seen. Also along with adjusting to new parameters, rename get_tex_surface / tex_surface_destroy to create_surface / surface_destroy and move them from screen to context, which reflects much better what those do (they are analogous to create_sampler_view / sampler_view_destroy). PIPE_CAP_ARRAY_TEXTURES is used to indicate if a driver supports all of this functionality (that is, both sampling from array texture as well as use a range of layers as a render target, with selecting the layer from the geometry shader).
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
20c2debce82e36166ae0326a3fb94be42d71be4a |
|
16-Nov-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix glDrawPixels(depth/stencil) bugs When drawing GL_DEPTH_COMPONENT the usual fragment pipeline steps apply so don't override the depth state. When drawing GL_STENCIL_INDEX (or GL_DEPTH_STENCIL) the fragment pipeline does not apply (only the stencil and Z writemasks apply) so disable writes to the color buffers. Fixes some regressions from commit ef8bb7ada98f1ddc8e2554a7336af5d669cb1290
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e6ac8d5353dda1b859dbc1219ca4e91c9183ae85 |
|
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: be smarter choosing texture format for glDrawPixels() This lets us get an integer texture format for integer pixel formats.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
1c131752c3e07ef91f49d4970dafca6d26585334 |
|
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: split up the image.c file New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
81c27dbfb943df8dc5cf65a2654d96fe5d7c1df4 |
|
16-Oct-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: update function name, comments
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
cba65f7e0e0269bbb30efd886dd7868f5e3ccc38 |
|
16-Oct-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: reformatting in st_cb_drawpixels.c
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
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_cb_drawpixels.c
|
ef8bb7ada98f1ddc8e2554a7336af5d669cb1290 |
|
06-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
st/mesa: use shader stencil export to accelerate shader drawpixels. If the pipe driver has shader stencil export we can accelerate DrawPixels using it. It tries to pick an S8 texture and works its way to X24S8 and S8X24 if that isn't supported.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
06642c61757b459f4f9283b721ad93b6f15386a7 |
|
07-Oct-2010 |
Dave Airlie <airlied@redhat.com> |
st/mesa: add option to choose a texture format that we won't render to. We need a texture to put the drawpixels stuff into, an S8 texture is less memory/bandwidth than the 32-bit X24S8, but we might not be able to render directly to an S8, so this lets us specify we won't be rendering to this texture.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
f5c810c42f9dfcb660303ea898975b64f060b238 |
|
24-Sep-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: use the wrapped renderbuffer in CopyPixels() Fixes assertion failures when copying stencil pixels. NOTE: this is a candidate for the 7.9 branch.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
ce9a6e6a7d855bac9bc088a97a19373bb0484829 |
|
21-Aug-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Removed another unused variable.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
a5888d3113f4d1010c38f5925da912f08cfae519 |
|
21-Aug-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Remove unsused local variable.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
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_cb_drawpixels.c
|
3293bcdc80cdfa20a2381aae2b94505bdf95d857 |
|
21-May-2010 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'gallium-msaa' Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
|
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_cb_drawpixels.c
|
14a92b26ff76550c5010ddf8bcbf5226dae5183f |
|
31-Mar-2010 |
Chia-I Wu <olv@lunarg.com> |
st/mesa: Make st_cb_{bitmap,drawpixels}.h FEATURE_drawpix aware. This change allows st_cb_{bitmap,drawpixels}.h to be used without knowing if FEATURE_drawpix is enabled.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
edbc302ad678e1a4a8803ba0e827a13dd27105d2 |
|
11-May-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa/st+tgsi: Provide a free callback to match with ureg_get_tokens(). This fixes crashes with the memory debugging routines on Windows. NOTE: This is a candidate for the 7.8 stable branch
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
b0427bedde80e3189524651a327235bdfddbc613 |
|
11-May-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa/st: Remove internal flushes from Mesa state tracker. Now that transfers are context operations it is the driver's responsibility to ensure that transfers happen in order with all other context operations, so flushes and finishes inside Mesa should be no longer necessary. The attached patch implements that. This should proportionate significant improvements for hardware drivers which are able to stream transfers in the command buffers. You can use the softpipe/llvmpipe_flush_resource() as reference implementation of the worst case scenario, where the driver is not able to streamline transfers. But the expectation is that driver implementators will want to avoid flushing as much as possible.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
76c7ad2e7d387feefe58dc2116b613fe11a8b273 |
|
23-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: clean-up: use st_context() everywhere
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
ef9a619ba9c49e27ac3fd1c2925ae6b288cd4a09 |
|
19-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: s/st_sampler_view_from_texture/st_create_texture_sampler_view/
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
75b8c4a8f869f63991c774caa7e1cec7e988c5ec |
|
09-Apr-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch '7.8'
|
bab6c0a03527f3d3b5124c6540cc167e3989c068 |
|
08-Apr-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix glDrawPixels(GL_DEPTH_COMPONENT) regression Commit 1454f20a991ddda35f1a2ffda953012078b407ba caused the regression. When the vertex shader emitted both a texcoord and color we were grabbing the wrong vertex attributes. Fix the draw_quad() code to put texcoords in slot[1] and color in slot[2]. That's a bit cleaner than changing the vertex shader code. Tested with progs/tests/zreaddraw.c
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
6fb364a1717858d8201b2caf234076ce5d4832ac |
|
30-Mar-2010 |
Roland Scheidegger <sroland@vmware.com> |
gallium: adapt all code to the renamed depth/stencil formats
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
182c42c8da6edfa66819eef02f4dea310c1f68d7 |
|
22-Mar-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch '7.8' Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/mesa/state_tracker/st_cb_drawpixels.c
|
b7e8039132830a2cd7a75691d11750d2ccc0a4e2 |
|
18-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: s/unpack/pack/ to be more consistent
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
c11d582411a999ed40db4c02143dd380113e0ffd |
|
17-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: plug in default for pipe_context::surface_copy() if needed This lets us avoid conditionals and duplicated code in several places.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
ef92fe85de114cb50ca4b3070d0594aade54526c |
|
17-Mar-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch '7.8' Conflicts: src/mesa/state_tracker/st_cb_drawpixels.c
|
1bfc314596256b039df59f751d59dac82e3ceba1 |
|
17-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix glCopyPixels bugs/crashes when src region need clipping Use the _mesa_clip_readpixels() function to clip the src region against the buffer's bounds. Neatly, the resulting pixel unpack object's SkipPixels/SkipRows fields can be used to determine the position of the region in the destination texture. Fixes crash in progs/samples/copy.c and probably other cases.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.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_cb_drawpixels.c
|
d35ecca5ee231c072687578642e0c22c6c0590b1 |
|
11-Mar-2010 |
Keith Whitwell <keithw@vmware.com> |
gallium: remove pipe_context member from pipe_transfer There was very little use for this beyond permitting the pipe_context::tex_transfer_destroy() function to omit the pipe_context argument. This change adds the pipe_context argument into tex_transfer_destroy() so that it looks like other pipe_context functions, and removes the pipe_context pointer from pipe_transfer.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
b43c182f19c6291c88420fa12714f952c2b461fb |
|
11-Mar-2010 |
Keith Whitwell <keithw@vmware.com> |
Squashed commit of gallium-context-transfers: commit 7a2ee04629681e59ea147b440856c4f9a33ae9f8 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 11 14:19:17 2010 +0000 nv: convert to context transfers commit 188a3f5331c8e5966729fd59d02975afb7324adc Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 11 14:11:10 2010 +0000 nouveau: remove unused variable commit 5c8e880ab4dc020358c08728b8adb1637d2dc5bc Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 11 12:31:21 2010 +0000 mesa/st: fix compilation after merge commit c552595333f860c2a4807e195596acdf5d6a5ef8 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 11 12:31:06 2010 +0000 util: fix compilation after merge commit e80836878a3617b0e350d2a8f92311832a1476cb Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 11 12:30:47 2010 +0000 r300g: fix compilation after merge commit 0e4883e9511b9db4e75a4dbc78d7bb970badc15d Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 11 12:18:45 2010 +0000 i965g: fix incorrect merge commit 17d74133d8168eebf93bf1390de79930fc8da231 Merge: cb81c79 aa311ae Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 11 12:08:32 2010 +0000 Merge commit 'origin/master' into gallium-context-transfers Conflicts: src/gallium/drivers/i965/brw_screen_texture.c src/gallium/drivers/r300/r300_screen.c src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/svga/svga_screen_texture.c src/gallium/state_trackers/egl/x11/native_ximage.c commit cb81c79098bc3a92a4d2a3dcc0edc972dfb407be Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 2 16:04:01 2010 +0000 egl/x11: hack for context transfers There is a better approach to this in the winsys-handle branch, but for now avoid using transfers at all by always allocating our own backing store directly. commit f44a24e1d4ad7563f3eedd6b3a5688f53a36265c Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 2 16:03:16 2010 +0000 llvmpipe: context transfers commit 4d7475ef8104b3b478c7c6ce77cd3506c57e25d1 Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 2 16:02:50 2010 +0000 llvmpipe: disable testprogs build Not working. commit a9bf98c4d36bd92a76f81e83747eb9b8f0a0515f Merge: ee0f97e 0c616da Author: Keith Whitwell <keithw@vmware.com> Date: Tue Mar 2 15:28:25 2010 +0000 Merge commit 'origin/master' into gallium-context-transfers Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_bitmap.c commit ee0f97e8d9fd5ef57211a8e1268f505c9829e246 Merge: a7f078e 828f545 Author: Keith Whitwell <keithw@vmware.com> Date: Fri Feb 19 13:00:29 2010 +0000 Merge commit 'origin/master' into gallium-context-transfers Conflicts: src/gallium/auxiliary/util/u_debug.h src/gallium/drivers/i915/i915_context.h src/gallium/drivers/llvmpipe/lp_flush.c src/gallium/drivers/nv30/nv30_screen.h src/gallium/drivers/nv40/nv40_context.h src/gallium/drivers/nv40/nv40_screen.h src/gallium/drivers/nv50/nv50_context.h src/gallium/drivers/r300/r300_screen.c src/gallium/drivers/r300/r300_winsys.h src/gallium/drivers/softpipe/sp_context.c src/gallium/drivers/trace/tr_context.c src/gallium/state_trackers/dri/dri_context.c src/gallium/state_trackers/egl/common/egl_g3d.c src/gallium/state_trackers/python/st_device.c src/gallium/winsys/drm/radeon/core/radeon_drm.c commit a7f078e16d851b53ef316066dcced46eb39ebe24 Author: Keith Whitwell <keithw@vmware.com> Date: Fri Feb 5 14:16:11 2010 +0000 gallium: move texture transfers to pipe_context commit 7b2ffc2019d72e833afea7eebf3e80121187375d Merge: 51e190e c036d13 Author: Keith Whitwell <keithw@vmware.com> Date: Fri Feb 5 09:55:02 2010 +0000 Merge commit 'origin/master' into gallium-screen-context Conflicts: src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c This branch has got a pretty tortured history now, I expect a squash merge will be appropriate when it is done. commit 51e190e95acf120f72768fafb29e9721e358df1b Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 17:58:02 2010 +0000 gallium: fix some build issues commit f524bdaa723fb181637ad30c6ad708aeedabe25b Merge: f906212 3aba0a2 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 17:51:32 2010 +0000 Merge commit 'origin/master' into gallium-screen-context commit f9062126883199eabf045714c717cd35f4b7b313 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 17:17:12 2010 +0000 gallium/docs: small description of screen::create_context commit efcb37bd3d5ed37f06c6105bd2d750b374ec0927 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:42:42 2010 +0000 drm/radeon: more dead create_context wrapper removal commit 6badc0dd9e06cf2ec936940bcf12b9ef5324b301 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:42:30 2010 +0000 drm/i965: more dead create_context wrapper removal commit cf04ebd5a54b18b2d894cfdab2b0f2fd55626ffc Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:42:05 2010 +0000 st/python: more dead create_context wrapper removal commit 444f114c3516abf71c430e6e9d0d2ae3b80679d3 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:37:58 2010 +0000 idenity: wrapped context creation commit 5a6d09cb9e468d1ee6c8d54b887618819d8d94f2 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:28:47 2010 +0000 ws/gdi: remove dead context_create wrapper commit 132b55f4bec39386ac625f09aaa11f609664024c Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:27:52 2010 +0000 ws/gdi: remove dead context_create wrapper commit 56d2d21a0cdcb197a364049d354c2f15a4fc026a Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:25:38 2010 +0000 st/xorg: use screen::context_create commit 838c5cfe56b2af6c644909bed3c5e7cdd64c336a Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:23:20 2010 +0000 glx/xlib: simplify creation of trace-wrapped contexts Trace screen knows how to properly wrap context creation in the wrapped screen, so nothing special to do here. commit c99404c03ebaec4175f08a2f363e43c9085f2635 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:18:24 2010 +0000 st/python: no need to special case context creation for trace commit 193a527a682b6877bb1faecd8092df4dfd055a18 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:15:30 2010 +0000 drm/radeon: remove dead create_context declaration commit bb984eecc25cf23bc77e1c818b81165ba1a07c9a Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:14:58 2010 +0000 nv/drm: remove dead create_context ref commit e809313a44287dc4e16c28e9e74ef3b2b5271aa1 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:12:51 2010 +0000 st/egl: remove a layer of wrappers around screen::create_context commit 39caa6672a04122f185c22e17aab86d1c40938bf Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:05:28 2010 +0000 r300g: fill in screen::context_create commit 407f12556d16ba0656774d8a1d9ebda22f82f473 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 16:04:04 2010 +0000 cell: adapt for screen::create_context, untested commit d02b0c6ce321a04c76fdabb09e0e4380ce1c1376 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:50:24 2010 +0000 drm/nv: adapt for screen::create_context All contexts now created directly through the screen, so remove equivalent code here. Remove apparently un-needed array of contexts in the winsys. commit 53eec5b1349aa1b6892a75a7bff7e7530957aeae Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:50:08 2010 +0000 stw: adapt for screen::create_context, untested commit c6a64de3eb381bc9a88e9fbdecbf87d77925aaf5 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:49:20 2010 +0000 trace: expose the wrapped context's priv data If we are going to keep this priv idea, really want an accessor function for it so that trace and other drivers can wrap that. commit 75d6104e11d86ec2b0749627ed58e35f856ee6eb Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:47:55 2010 +0000 nv30: adapt to screen::context_create commit 12f5deb6ed9723e9b5d34577052b8365813ca14e Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:44:47 2010 +0000 nv40: adapt to screen::context_create commit 14baccaa3b6bbb3b91056126f6521828e786dc62 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:35:27 2010 +0000 nv50: adapt to screen::create_context Not build tested. Need to figure out how to build nouveau. commit a0e94505ccd2d7f3e604465a2ac302f1286b73b6 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:22:27 2010 +0000 llvmpipe: update for screen::create_context, untested commit 0eae17107c950346030e4f7e0ec232f868d3893d Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 15:16:57 2010 +0000 xlib/llvmpipe: remove dead winsys context creation path commit 2f69f9ffaa7e2a01d2483277246ed13051ae4ca3 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 14:58:27 2010 +0000 gallium: convert most code to use screen::create_context I wish I could build all of gallium at once to find breakages. commit d7b57f4061b82322cbcae176125913d9f0dea6c1 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 12:46:21 2010 +0000 glx: permit building with older protocol headers I'd like to be able to build mesa on current distro releases without having to upgrade from the standard dri2proto and glproto headers. With this change I'm able to build on ancient releases such as Ubuntu 9-10... In general, it would be nice to be able to build-test mesa to check for unintended breakages without having to follow the external dependencies of every group working on the codebase. commit 57adedd6fb06c98572ed8d4aef19203df4c4eea2 Merge: da71847 e1906ae Author: Keith Whitwell <keithw@vmware.com> Date: Thu Feb 4 11:38:15 2010 +0000 Merge commit 'origin/master' into gallium-screen-context Conflicts: src/gallium/drivers/softpipe/sp_video_context.h src/gallium/drivers/trace/tr_context.c src/gallium/state_trackers/wgl/shared/stw_context.c src/gallium/winsys/gdi/gdi_softpipe_winsys.c commit da71847ea6414d7e352c6094f8963bb4eda344dc Author: José Fonseca <jfonseca@vmware.com> Date: Sat May 2 08:57:39 2009 +0100 wgl: Use pipe_screen::context_create. commit 2595a188f93fd903600ef5d8517737ee0592035d Author: José Fonseca <jfonseca@vmware.com> Date: Sat May 2 08:56:47 2009 +0100 trace: Implement pipe_screen::context_create. commit f3640e4ae37a5260cbfba999d079f827de0a313a Author: José Fonseca <jfonseca@vmware.com> Date: Sat May 2 08:56:17 2009 +0100 softpipe: Implement pipe_screen::context_create. commit 347266bddc8bd39c711bacb2193793759d0f3696 Author: José Fonseca <jfonseca@vmware.com> Date: Sat May 2 08:55:31 2009 +0100 gallium: New pipe_screen::context_create callback.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
a2fe774e0985358a125c5c2e7b89a6b0bc0914d1 |
|
10-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: consolidate duplicated texture allocation code
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
f60524938e76befd9b14e9ec6506aefece94f995 |
|
10-Mar-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch '7.8'
|
b60aa251e4fb4dd32db3fe167e078bf0092cb726 |
|
10-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect glCopyPixels between window/FBO There was a DrawBuffer/ReadBuffer typo and we were neglecting to invert the texture coords when copying from a window to an FBO. Plus, add some surface dump/debug code (disabled). (cherry picked from commit 34f02071618624263eba839b5aeb930d0e794078)
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
c78ac7fcfa37a78b835fc596441a9fbe1e679e4a |
|
10-Mar-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix incorrect glDrawPixels into FBO We weren't inverting the textured quad when drawing into an fbo. (cherry picked from commit 8d3f629a13afb0d6acafc7a007972fdc5efe6847)
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
3ce4375912c8ea488460e593e07c5bb15b92dca9 |
|
10-Mar-2010 |
Michal Krol <michal@vmware.com> |
Merge branch 'master' into gallium-sampler-view Conflicts: src/gallium/auxiliary/Makefile src/gallium/auxiliary/SConscript src/gallium/auxiliary/tgsi/tgsi_exec.c src/gallium/auxiliary/util/u_blitter.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i965/brw_context.h src/gallium/drivers/llvmpipe/lp_context.h src/gallium/drivers/nv50/nv50_context.h src/gallium/drivers/nv50/nv50_state_validate.c src/gallium/drivers/nv50/nv50_tex.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_context.h src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state.c src/gallium/drivers/softpipe/sp_context.h src/gallium/drivers/svga/svga_context.h src/gallium/drivers/svga/svga_pipe_sampler.c
|
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_cb_drawpixels.c
|
7d1a79a04eb1266649956f6924f25071d85e20fe |
|
01-Mar-2010 |
José Fonseca <jfonseca@vmware.com> |
mesa: Rename pipe formats.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
5d8aae55f29fe35ec3d514b54b05b6c6fc8bebe2 |
|
24-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: use util_format_get_blocksize()
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
cfdd1ca69521446b5d937d95e7d8bfb27f6d68eb |
|
22-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: change viewport Z scale/bias for glBitmap/glDrawPixels This fixes incorrect Z position of glBitmap, glDraw/CopyPixels for the svga driver. Now we use 0.5, 0.5 as is typical for ordinary 3D rendering. (cherry picked from commit bcd561c66777e58dbb29a573c4d2279772bac6c5)
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
08cfe3ab421491644cf1bebaf47e8bc897e495c5 |
|
15-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: minor assorted clean-ups
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
f4ded0ea5c156a79a78ea62098fa8f9515adb256 |
|
15-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: change some function return types
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
33681bcf5672ed7b8ffff52c5d88ba3d28a8349d |
|
15-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: use _mesa_clone_fragment_program()
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
cd0a32924d9795fc693d6145baa546ad03650cc3 |
|
12-Feb-2010 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove unused var
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
45dac0d82a5a69166e86dce77c2550f7512c541e |
|
03-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
Merge branch 'gallium-embedded'
|
28486880ca3ec39419ccee0cb1a3bedc9ef7117c |
|
02-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
gallium: pipe/p_inlines.h -> util/u_inlines.h
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e1906ae98ef4d8f153553056552c06ac4292d1f5 |
|
01-Feb-2010 |
Keith Whitwell <keithw@vmware.com> |
st/mesa: remove duplicate calculation of fp input mapping This was being calculated the same way in two different places. Now just do it in st_translate_fragment_program().
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
cd8614b0287dc5a69725ec4ee0208fad61f7789e |
|
22-Jan-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
|
89950fbe24a351fbb10330b6695d653c9f2d6887 |
|
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary header from st_cb_drawpixels.c.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
668d871d95e74862953c90e04e4f04ed02526421 |
|
16-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
st/mesa: Remove unnecessary headers from st_cb_drawpixels.c.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
b1ed72ebe2599ec178f51d86fd42f26486b9a19b |
|
17-Dec-2009 |
Michal Krol <michal@vmware.com> |
Move the remaining format pf_get_* functions to u_format.h. Previously they depended on format blocks, but after removing those they started depending on format encoding.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
16c6dce013f089d072256652f012b3b604781bfd |
|
17-Dec-2009 |
Michal Krol <michal@vmware.com> |
Merge branch 'master' into pipe-format-simplify Conflicts: src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/auxiliary/draw/draw_pipe_pstipple.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/auxiliary/util/u_surface.c src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/drivers/cell/ppu/cell_texture.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/softpipe/sp_tile_cache.c src/gallium/drivers/svga/svga_state_vs.c src/gallium/include/pipe/p_format.h src/gallium/state_trackers/dri/dri_drawable.c src/gallium/state_trackers/egl/egl_surface.c src/gallium/state_trackers/python/p_device.i src/gallium/state_trackers/python/st_softpipe_winsys.c src/gallium/state_trackers/vega/api_filters.c src/gallium/state_trackers/vega/image.c src/gallium/state_trackers/vega/mask.c src/gallium/state_trackers/vega/paint.c src/gallium/state_trackers/vega/renderer.c src/gallium/state_trackers/vega/vg_tracker.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/gallium/state_trackers/xorg/xvmc/surface.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_buffer.c src/gallium/winsys/egl_xlib/sw_winsys.c src/gallium/winsys/g3dvl/xlib/xsp_winsys.c src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c src/gallium/winsys/gdi/gdi_softpipe_winsys.c src/gallium/winsys/xlib/xlib_cell.c src/gallium/winsys/xlib/xlib_llvmpipe.c src/gallium/winsys/xlib/xlib_softpipe.c src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_texture.c
|
f6106566081978f663cf08e54bb8908cb58a5316 |
|
19-Feb-2010 |
Michal Krol <michal@vmware.com> |
gallium: WIP: Introduce sampler views.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
9c6a9363ef96c00dd0ad63e340b32479e43fea45 |
|
04-Dec-2009 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'gallium-noblocks' Conflicts: src/gallium/state_trackers/xorg/xorg_exa.c
|
f5bd93fae2e4f46665eb1f09ca64cb39ff2b8a79 |
|
03-Dec-2009 |
Michal Krol <michal@vmware.com> |
Move pf_get_component_bits() to u_format auxiliary module.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
0bed834be4a174d20b31a6cbcf066774bf749929 |
|
03-Dec-2009 |
Michal Krol <michal@vmware.com> |
Move pf_is_depth_and_stencil() to u_format auxiliary module.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e197652ce08cacf0fdbf0509db5eb26500d556c5 |
|
01-Dec-2009 |
Michal Krol <michal@vmware.com> |
st: Update for renamed sampler/texture state setters.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
ac400ffce62be47fc77e8d10cabcd39b92b6c627 |
|
30-Nov-2009 |
Roland Scheidegger <sroland@vmware.com> |
gallium: interface cleanups, remove nblocksx/y from pipe_texture and more This patch removes nblocksx, nblocksy arrays from pipe_texture (can be recalculated if needed). Furthermore, pipe_format_block struct is gone completely (again, contains just derived state). nblocksx, nblocksy, block are also removed from pipe_transfer, together with the format enum (can be obtained from the texture associated with the transfer).
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
c95cbd45c657ac47e908a4d99d118737034bde43 |
|
27-Nov-2009 |
Roland Scheidegger <sroland@vmware.com> |
Merge branch 'width0' Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
|
683e35f726a182ed9fc6b6d5cb07146eebe14dea |
|
19-Nov-2009 |
Keith Whitwell <keithw@vmware.com> |
gallium: don't use arrays for texture width,height,depth
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
1454f20a991ddda35f1a2ffda953012078b407ba |
|
15-Nov-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: emit tgsi vertex shader directly for drawpixels One of several cases where we build mesa shaders and then translate them to tgsi. Many of those cases it's because we're combining two mesa programs and there are helpers for that, but in this case at least can go straight to tgsi.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
4bced42341d13303ae023957d3001a640cf7ea2d |
|
03-Nov-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
a0cd2b7029e1ac6699b807baa255e7fd2abe7f54 |
|
03-Nov-2009 |
Marek Olšák <maraeo@gmail.com> |
st/mesa: clip pixels in draw_stencil_pixels to avoid crash Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
1f196b786d6bd0c6a5dbdc638574ff716cc3d4de |
|
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'texformat-rework' Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
|
bb567357bc1366df7115e0daa68c2470e3bf6ba6 |
|
18-Oct-2009 |
Corbin Simpson <MostAwesomeDude@gmail.com> |
gallium: Permit surface_copy and surface_fill to be NULL. Uf. Lots of files touched. Would people with working vega, xorg, dri1, etc. please make sure you are not broken, and fix yourself up if you are. There were only two or three places where the code did not have painful fallbacks, so I would advise st maintainers to find less painful workarounds, or consider overhauling util_surface_copy and util_surface_fill. Per ymanton, darktama, and Dr_Jakob's suggestions, clear has been left as-is. I will not add PIPE_CAP_BLITTER unless it is deemed necessary.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
2ef1aae1633db98fc52f440ca33b8f2a6f153d45 |
|
07-Oct-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: pass pipe_screen, not pipe_context to st_choose_format() functions These don't depend on context state, but use a screen pointer.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
55770d09c18c4d33403abb97dfef4f897efbbe2a |
|
05-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
|
b02ef740b90029bc40629e5b81270a8cf77101d3 |
|
05-Oct-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: add ST_DEBUG environment variable At last it's possible to turn on tgsi dumps and other debugging in the state tracker without modifying sources...
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
b154497bef386e5ed0d9a2f6e25a4141759c6846 |
|
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: silence hidden parameter warning
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
884d1abb2ac1a2ce872a5b09fd4228159defcf26 |
|
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: update comment
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
1f7c914ad0beea8a29c1a171c7cd1a12f2efe0fa |
|
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace gl_texture_format with gl_format Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
6480210b89dc8ae0990c450d27870c7b7930f251 |
|
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: use _mesa_texstore()
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e07862d2c949bcae7c71e9fc8e90e4694ed25bb3 |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: use _mesa_get_texstore_func()
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
4781c1f45925031a9e4a5f8ebf80cfd821312e3c |
|
11-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: use st_context() helper
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
beb05393c8d92d71ccb0f4af0bcdbe58ae8a9cdd |
|
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: fix glCopyPixels(GL_STENCIL_INDEX) inverted position If the renderbuffer orientation is Y=0=TOP we need to invert the dstY position.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
1b448c7a5cafa68eeead2a4c45f4362a9883383b |
|
03-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate PBO map/unmap helpers Instead of _mesa_map_readpix_pbo() use _mesa_map_pbo_source(). Instead of _mesa_map_drawpix_pbo() and _mesa_map_bitmap_pbo() use _mesa_map_pbo_dest().
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
1359d69f11f2d81ad3a1d44b7f729ee243d7f53d |
|
07-Aug-2009 |
Brian Paul <brianp@vmware.com> |
st/mesa: remove redundant calls to _mesa_set_vp_override() Called from core Mesa now.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
fc3d564daeacdbd76b97de2ffc10e15931a18c7a |
|
01-Aug-2009 |
Patrice Mandin <patmandin@gmail.com> |
mesa st: Use POT texture for draw pixels operations if NPOT texture is not supported
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
71633abafc935c25da9731bab48c228ceb9b4097 |
|
07-Jul-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Fixes for clobbering stencil values in combined depth/stencil textures. Also fix one case where a 32 bit depth value was incorrectly converted to a combined depth/stencil value.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
862c7b8cd34ff5606465b97b09fd5fafda50c33b |
|
11-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Remove dead code.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
41cf68153568d4e75ff3cda627293d101f8a8003 |
|
11-Jun-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
mesa: Only do read write when we don't have a depth value to write
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
48d816b8fff5d01b8c35bd2f933220e41d976e4c |
|
11-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Take the format from the right structure.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
96aca15c9d5b6f03fc9b407f02d6966fffeb4f5d |
|
11-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
meas: Use a read/write transfer when writing stencil component, but not touching the depth component.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
0a4fcabe4451af6472245e2630f8c8834aa9d351 |
|
10-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Fix draw_stencil_pixels for PIPE_FORMAT_Z24S8_UNORM. Reversed component order. This fixes glean depthStencil test failures for PIPE_FORMAT_Z24S8_UNORM visuals.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e90beb93a89f77bffce8ab3d54457ea65868e93c |
|
07-May-2009 |
Keith Whitwell <keithw@vmware.com> |
mesa/st: keep surface_copy arguments positive The src/dest x,y, and w,h arguments of the pipe->surface_copy function are unsigned and the drivers aren't expecting negative (or extremly-large unsigned) values as inputs. Trim the requests at the state-tracker level before passing down.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
f057f6543da469f231d551cb5728d98df8add4fa |
|
20-Apr-2009 |
Thomas Hellstrom <thellstrom-at-vmware-dot-com> |
gallium: Reinstate unconditional flushes. Lost in commit e50dd26ca6d0eb0d0f97c2780020ea16e3d4a687. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
c76a2444a3db4fef4b7892cfd99aa41681b4eb0a |
|
20-Apr-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Fix glDraw/CopyPixels fragment program leak.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e50dd26ca6d0eb0d0f97c2780020ea16e3d4a687 |
|
17-Apr-2009 |
Thomas Hellstrom <thellstrom-at-vmware-dot-com> |
gallium: Create OGL state tracker wrappers for various CPU access operations. There are two usage types of buffer CPU accesses: One where we try to use the buffer contents for multiple draw commands in a batch. (batch := sequence of commands that are flushed together), like incrementally adding bitmaps to a bitmap texture that is reallocated on flush. And one where we assume we can safely overwrite the old buffer contexts, like glTexSubImage. In this case we need to make sure all old drawing commands referencing the buffer are flushed before we map the buffer. This is easily forgotten. Add wrappers for the most common of these operations. The first type is prefixed with "st_no_flush" and the second type is prefixed with "st_cond_flush", where "cond" indicates that we attmpt to only flush if there is indeed unflushed draw commands referencing the buffer. Prefixed functions are screen::get_tex_transfer pipe_buffer_write pipe_buffer_read pipe_buffer_map Please use the wrappers whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
9b75627fab5bf2ea90f27ddd31b60c54895f6de6 |
|
15-Apr-2009 |
Thomas Hellstrom <thellstrom-at-vmware-dot-com> |
gallium: Make sure we flush before some texture / buffer operations. Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
f12201567463c7aeb9b76c32f000d577a82e7f92 |
|
09-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: remove comp_byte parameter to st_texture_create() We can determine if the texture is compressed by checking the format.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
b7615e5240707b022b81478dde545cec7fb9397f |
|
08-Apr-2009 |
Brian Paul <brianp@vmware.com> |
st: implement GL_DEPTH_STENCIL format for glReadPixels and DrawPixels()
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
f7039fde4f9e1175c3dae534e5b91e22e693124a |
|
03-Apr-2009 |
Alan Hourihane <alanh@vmware.com> |
mesa: ensure pbo stencil buffers are mapped before use
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e0a55dc9dae39384c18dd275081c24b7dce14eeb |
|
27-Mar-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Support Z24S8 wherever S8Z24 is supported.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
f500f3a72c6be61ff9b8e1166f734e408d00aded |
|
13-Mar-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
gallium: Remove do_flip argument from surface_copy I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
62ef614eb3a9e28c39606657f576e320f158623e |
|
09-Mar-2009 |
Brian Paul <brianp@vmware.com> |
st: remove unused DrawPixels code
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
5e27cd46c04a9e7b5904cc014bffd0f4daae31fe |
|
04-Mar-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Unify reference counting. The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
8d475822e6e19fa79719c856a2db5b6a205db1b9 |
|
28-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rename, reorder FRAG_RESULT_x tokens s/FRAG_RESULT_DEPR/FRAG_RESULT_DEPTH/ s/FRAG_RESULT_COLR/FRAG_RESULT/COLOR/ Remove FRAG_RESULT_COLH (NV half-precision) output since we never used it. Next, we might merge the COLOR and DATA outputs (COLOR0, COLOR1, etc).
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
693fac8ae2e5812265222b1335695bd33b90bd8a |
|
24-Feb-2009 |
José Fonseca <jfonseca@vmware.com> |
gallium: Add pipe_buffer_write/read inlines. Saves code, and will simplify future interface changes.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
59d54334c96f44ed1d8bf660dc96221362a77d04 |
|
16-Feb-2009 |
Keith Whitwell <keithw@vmware.com> |
Merge branch 'master' into gallium-texture-transfer Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c
|
7c8836e9ef49d938aa55a1c385b95c6371c301f1 |
|
13-Feb-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Various coordinate fixups for texture transfers. Fixes glReadPixels, gl(Copy)TexSubImage, glCopyPixels.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
513fc6078431e1f5672795d3601e3255f378c9f8 |
|
12-Feb-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: Fix GL_DEPTH CopyPixels tile coordinates.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
1a2f4dd8768703fbc1b2a0d5be342345644805b4 |
|
12-Feb-2009 |
Brian Paul <brianp@vmware.com> |
mesa: consistantly use mesa memory-functions in gallium state tracker Use _mesa_malloc(), _mesa_free(), etc everywhere, not malloc(), free(), etc. Still using CALLOC_STRUCT() at this point.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
4617981ec72f7985941bee4b03c534d97ff96bc6 |
|
05-Feb-2009 |
Michel Dänzer <daenzer@vmware.com> |
gallium: No longer allow CPU mapping surfaces directly. Instead, a new pipe_transfer object has to be created and mapped for transferring data between the CPU and a texture. This gives the driver more flexibility for textures in address spaces that aren't CPU accessible. This is a first pass; softpipe/xlib builds and runs glxgears, but it only shows a black window. Looks like something's off related to the Z buffer, so the depth test always fails.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
6d4d51d647c27288aa625560bc080231099c0b01 |
|
10-Oct-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: new _mesa_set_vp_override() function for driver-override of vertex program Patch provide by Keith. Used in state tracker by DrawPixels to indicate that the state tracker (driver) is using its own vertex program. This prevents the texenvprogram code from replacing conventional shader inputs with state vars. Fixes glDraw/CopyPixels regressions.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
f637a96e85a51a66f2c53b91118a6815bb61d6e6 |
|
03-Sep-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context. We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
4f25420bdd834e81a3e22733304efc5261c2998a |
|
25-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h Also, rename p_tile.[ch] to u_tile.[ch]
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e3f3e22cf7e9af4c5416d37329b7b8ee50f0cfcb |
|
19-Aug-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix vertex program output translation/mapping bug In some cases, the vertex program output's semantic info didn't match up with the fragment program's input semantic info. This info is now explicitly passed into the st_translate_fragment_program() function.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
8aafc03b260ab8923f1b373f7effa75bcdb40a72 |
|
18-Jul-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Finer grained is_format_supported.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
6c534b830c6f5427c391c5225c34561141c201ba |
|
15-Jul-2008 |
Michal Krol <michal@tungstengraphics.com> |
st: Silence compiler warnings on Windows.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
36dd89c8a7f2a911e8f7f18d1edcaf982a75a438 |
|
13-Jul-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
util: Eliminate pipe from the arguments to pipe_get/put_tile_xxx functions. You don't need a pipe_context * for this, and all other necessary info is already inside pipe_surface.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
4ddd65967915ca4846f2831bc676c878a29dae4a |
|
27-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
gallium: Drop pipe_texture->cpp and pipe_surface->cpp. The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
5c1a78b7a85d23ad1358b34d03a0002a19483655 |
|
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: More signed/unsigned float/integer fixes.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
18ec140ef27b6488bea9d54e21b08b0a3afbcafe |
|
24-Jun-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
mesa: Use appropriate unsigned/signed, float/integer types.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
54fbd8bbd4e5a484d59907bae852908e3a8b8f3c |
|
19-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
Merge branch 'gallium-0.1' into gallium-tex-surfaces
|
1de0af303acc4fb973bbfea6641ba62a2f24b266 |
|
17-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
s/PIPE_FORMAT_U_S8/PIPE_FORMAT_S8_UNORM/
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
a7e8e31eeee320bbc563536389587520875c3b57 |
|
09-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: replace pipe_buffer_destroy() call with pipe_buffer_reference(NULL)
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e93243cb80ee3ae834a50efe7bacd232d8846305 |
|
09-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: clean-up, minor fix
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
296378b6c8b205048244746e260739448c4ee590 |
|
06-May-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: create drawing surfaces as GPU_READ/WRITE only Create different temporary surfaces for CPU_READ/WRITE when needed (such as for glReadPixels, glAccum, some glCopy/DrawPixels, glCopyTexSubImage, etc).
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
d0279fc4b38c72356a341173317bcd45d9093f45 |
|
06-May-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Make sure to release texture surfaces (at the right time).
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
a73ae3d5eb8419feab5aea26573aa41b72f941eb |
|
02-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: Add texture usage flags, special-case allocation of display targets For many envirionments it's necessary to allocate display targets in a window-system friendly manner. Add facilities so that a driver can tell if a texture is likely to be used to generate a display surface and if use special allocation paths if necessary. Hook up softpipe to call into the winsys->surface_alloc_storage() routine in this case, though we probably want to change that interface slightly also.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
c9ed86a96483063f3d6789ed16645a3dca77d726 |
|
01-May-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: tex surface checkpoint
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
99fba5466bfd14c4e052041c0571821be529e762 |
|
30-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: use new buffer wrapper functions in p_inlines.h This allows us to remove most of the direct references to winsys in the state tracker.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
44c79f88b8abbbcafe4e6e462d7f0d8505265e2b |
|
28-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: replace some code with a call to st_choose_format()
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
1cf164142768d8338527ee8cab8dee83af82af0b |
|
26-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove unneeded st->bitmap_texcoord_bias
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
1437b41d9068017dbe981a784285d5773c1d1ead |
|
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
149a4175fafdb4dfcf31b28377f83092c9edf335 |
|
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: consolidate quad drawing code
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
7dcbbdf353fe14401ba23e5b486658d2b46c550e |
|
25-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: use util_draw_vertex_buffer() instead of st_draw_vertices()
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
01dfa6cde157321f565bab949f23f367ed20fa0e |
|
21-Apr-2008 |
Keith Whitwell <keith@tungstengraphics.com> |
use cso fs/vs handle functions
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
65efe807b9067aa07b382e3c4d9cea6222c5fc6b |
|
21-Apr-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Use CSO cache for shaders.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
39c06c4336ee44ad2c0ff12705a384dede050bee |
|
18-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: get rid of unnecessary surface mapping
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
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_cb_drawpixels.c
|
a52faa9325db178601811f4bdad6d9747de5f238 |
|
10-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: remove unneeded st->haveFramebufferSurfaces field.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
72f2c55069f167a46560005931382e3b472f92ed |
|
04-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: make sure to set the SamplersUsed field for bitmap/drawpixels shaders Also, make sure that field is copied/updated in the program clone and combine functions. Without this we weren't getting SAMP declarations in the TGSI shaders.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
f07fe3c728aec5a715cf615822151e11a00cda44 |
|
03-Apr-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: set gl_rasterization_rules
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
ddc0f91bfc571dcd05c13f094c179b4250e53bcc |
|
31-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: use cso_save/restore_sampler_textures() functions
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
4abe1eb980ed76d2b2d3383eaab520d0aa2ae6f4 |
|
26-Mar-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: Change pipe->flush() interface to optionally return a fence. The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
070a7446221e26aee5ab6e6e12988ea9c1688ba6 |
|
25-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: added some debug code (disable)
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e27127a61c80c8da0ffc0273688ff79b5166e163 |
|
25-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: save/restore samplers in draw_textured_quad()
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
a39091bc5b68e4d4f5302f1d3f1a138798f54b77 |
|
21-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
Refactor PBO validate/map code. We always need to do PBO validation, so do that in core Mesa before calling driv er routine. cherry-picked from Mesa/master.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
f1626f0bfd2b14ad8ca2afaad2ea8afb539e6491 |
|
21-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: implement PBO operations for glDraw/ReadPixels and glBitmap At this time there are no optimizations for directly blitting between buffer objects and surfaces (always go through mappings). glean pbo test passes now
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
4984487bc3338fc351a0631eaa4515e4adbb86a9 |
|
20-Mar-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: add face, dirtyLevels params to pipe->texture_update() This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
7d95efde0a0e13e13c59444703bc47eb13926385 |
|
19-Mar-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: implement CSO save/restore functions for use by meta operations (blit, gen-mipmaps, quad-clear, etc) Also, additional cso_set_*() functions for viewport, framebuffer, blend color, etc. state.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
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_cb_drawpixels.c
|
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_cb_drawpixels.c
|
0b47eb4808aa47e2ab276ab60493e28774cef21a |
|
29-Feb-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix glCopyPixels(GL_DEPTH) when Z format conversion is needed
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
70126588cf78b8a835dfced2b7ca7f1e05afeb67 |
|
28-Feb-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
gallium: fix surface/texture format conversion in st_CopyPixels If the src buffer's format isn't supported as a texture format, find a different texture format.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
476cc931f2bba69d4075b7c44985b145c3999af5 |
|
28-Feb-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
galliums: s/uint/enum pipe_format/
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
6f715dcc219071e574e363a9db4365c9c31ebbd3 |
|
27-Feb-2008 |
Brian <brian@i915.localnet.net> |
gallium: remove pipe_context->texture_create/release/get_tex_surface() These functions are now per-screen, not per-context.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
364f8cad0f8f02fd39d9c51ea0774d349121b58d |
|
27-Feb-2008 |
Brian <brian@i915.localnet.net> |
gallium: move is_format_supported() to pipe_screen struct
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
8383f798b41df9a305e0a33afe8afa028d5d5dfb |
|
27-Feb-2008 |
Brian <brian@i915.localnet.net> |
gallium: start removing pipe_context->get_name/vendor/param/paramf These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
dc2b6e2c33b44c1ffc0578b6bf52d05f7c68bb5c |
|
27-Feb-2008 |
Brian <brian@i915.localnet.net> |
gallium: use pipe_texture_reference() instead of pipe->texture_release()
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
6acd63a4980951727939c0dd545a0324965b3834 |
|
15-Feb-2008 |
José Fonseca <jrfonseca@tungstengraphics.com> |
Code reorganization: update build. Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e922adbe1d6c1764968377658ea92ae6de0585db |
|
13-Feb-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
gallium: pipe->surface_copy can flip the contents vertically when necessary. Fixes gears being upside down on the box in demos/gearbox.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
9677336845511be4852520d2e50f91f1df362f58 |
|
13-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: rename st_fragment_program's fs field to cso to match st_vertex_program
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
1d62a057bcb3ee4ef6ebedd93f62ed2e0d8061ba |
|
12-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: remove unused first_level param from st_texture_create()
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
0b64ee6960f9e099bc1a6ca6fa10720fee875b3a |
|
08-Feb-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: added inClipCoords param to st_draw_vertices() to indicate coord system of vertices Also, export st_make_passthrough_vertex_shader() from st_cb_drawpixels.c
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
8de2331e432e2ea6f978acb6c80666da99c6c4a1 |
|
23-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
gallium: remove support for separate depth/stencil buffers. Always combined now.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
13bfa87b09294607e73d3993878956d5b344bbb3 |
|
16-Jan-2008 |
Brian <brian.paul@tungstengraphics.com> |
tweaks to quad drawing, set UsesKill in bitmap shader
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
2014e0bacbd2661bf98d084120a109b1c0bf0df2 |
|
14-Jan-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
Remove pipe->get/put_tile_rgba. pipe_get/put_tile_rgba() now use pipe->get/put_tile internally. Also simplify the <format>_get/put_tile_rgba() helper functions and clean up some inconsitencies in them.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
c76efb96b405e43e3261d1dc9e8812fdb2cfbac8 |
|
10-Jan-2008 |
Michel Dänzer <michel@tungstengraphics.com> |
Remove mapping fields from struct pipe_surface. It's now the responsibility of surface users to keep track of their mappings.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
a85535b7cb0886f23e5686e37d1fa54394cdece4 |
|
20-Dec-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
gallium: make state tracker explictly ask for rendercache flushes
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
88723b2fc84628c1bc1e0008b88602b85e8668be |
|
11-Dec-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Remove internal_format field from struct pipe_texture. It's state tracker specific / not really necessary anyway.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
4f58d9af9addb1506a1b2abc7dd8012147772b78 |
|
10-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Add 'type' parameter to is_format_supported() to specify texture vs. drawing surface, etc. Additional types may be added in the future.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
54fc80ab31f89520d3119196bfa9c6332b35fe2f |
|
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Define PIPE_FORMAT_ tokens as an enum set, rather than #defines. This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
d3e05111c8c8f87db7f577eb7096d65479a7e481 |
|
08-Dec-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace "duplicate" formats
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
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_cb_drawpixels.c
|
11a80160fd60d1eb1541b49128c659526a5d8ac8 |
|
28-Nov-2007 |
Michel Dänzer <michel@tungstengraphics.com> |
Move dimensions from struct pipe_region to struct pipe_surface.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e2feb80a90f3e9300c70a4a4eb3e966131f5c313 |
|
06-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Remove pipe->max_texture_size(), use get_param() instead. Also, in st_init_limits(), clamp driver's values against Mesa's internal limits.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
fda91cfa4b7b7868172a563da49cb0d7ba6cf5e0 |
|
05-Nov-2007 |
Brian <brian.paul@tungstengraphics.com> |
Check if the user/texenvprogram is just a pass-through program and skip program concatenation.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
520c71161ad0929a4b43e8e1e75067e10920f596 |
|
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Implement shader concatenation for glBitmap.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
2dfe0c4a24feef8b7ffc5951d9d1867661493bf2 |
|
31-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
combine shaders for glCopyPixels
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
ee70c02b62f7692de6293045928c47168652bd1c |
|
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Before calling texformat->StoreImage() set _ImageTransferState=0 since we'll do pixel transfer in the fragment program.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
ab3f6015aa7227da3137b60456deb3905680f95f |
|
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Disable debug code. Basic code for PixelTranslfer ops and glDrawPixels works now. A pixel transfer program is generated and combined with the current fragment shader.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
de38d9c498b999d80b51679ece6b4caccd80a2b8 |
|
30-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
checkpoint: combine pixel transfer and user shader for glDrawPixels
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
7de874ec2c7b9e3aff7f81b7e30045b45381fbad |
|
29-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Make it compile under linux. Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
3c8121967224f91bfcd5431b4069d66eecbc5952 |
|
28-Oct-2007 |
Michal Krol <michal@tungstengraphics.com> |
Replace supported_formats with is_format_supported interface. The old supported_formats interface returned a list of formats supported by a pipe/winsys implementation. This was reasonable when gallium had a fixed list of predefined format. Now things has changed and the definition of PIPE_FORMAT is more flexible. The new shiny is_format_supported interface gets PIPE_FORMAT as an argument and returns a boolean whether this particular format is supported.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
ef6940f17220f1149dce6daf548bd0103d91a281 |
|
27-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move mesa_to_tgsi.[ch] to state_tracker
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
f684120417c6b3ca9e7486ffeb24fe88e428834d |
|
26-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move region_alloc() and region_release() to pipe_winsys. This allows regions to be allocated w/out a rendering context.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
ee80e0b620c5b9af62dac8ad64a84042b46f5264 |
|
26-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Move the get/put_tile() functions to pipe_context. The _rgba versions are temporary until the state tracker is updated.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
b78e90807abc31f58492992cdfe5e01bfd53e68b |
|
24-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
flush pipe in draw_stencil_pixels()
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
874b6b9960ee3778182cf331f6faf59d477eb214 |
|
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix off-by-one error in CopyPixels src position
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
d44e515fd77d088862c5f19ef9a7aa92b04b5f13 |
|
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix upside down CopyPixels image
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
563584a4ee853c45b7a4b60c68ac8dea4d92942d |
|
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
checkpoint: code refactoring for glCopyPixels
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
bdc574c5bd3cf1a493d70863436b773d0a8a73a7 |
|
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
start implementing glCopyPixels (stencil works)
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
f953c223df26293f955f7d0621a6f917e9cc9768 |
|
18-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove #include vf.h
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
2dd27cfdd981b3b2c973066082b1168c4cb6f42c |
|
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Fix viewport Z scale/bias to get the right Z values from drawing the quad.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
29cfec1581769c1bf25a221dbc89623722d422c2 |
|
17-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
remove debug assertion
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
369eefc34c8d7acdb881ea5b0516406d71344fc4 |
|
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
add 'normalized_coords' field to pipe_sampler_state This controls whether texcoords are interpreted as-is or scaled up from [0,1]. Fixes glDrawPixels/glBitmap problems on i915 when image is non power-of-two. Also, cleans up the CSO sampler state for i915 a bit.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
583c11d38375c535d3835d89012fa5318bbd34ce |
|
15-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
simplify KIL usage for bitmap fragprog
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
fa1d442879f1279cf510a52a1002367b904d35ad |
|
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
GL_STENCIL_INDEX support
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
a2c8b0e861e7c84d927b636663ac39f8cdc504a3 |
|
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
glDrawPixels support for GL_DEPTH_COMPONENT
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
89414d951d329cd70f947a3b85dee714c518dcc8 |
|
13-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
Use KIL in glBitmap shader to cull the fragments for 0 bits.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e552b9bd099b9fce1cd58ce7922a0c9f74cad034 |
|
12-Oct-2007 |
Brian <brian.paul@tungstengraphics.com> |
initial use of KIL for glBitmap rendering
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
636480cc9c7836daf879cb45644900922cf31f47 |
|
28-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Instead of linked program pairs, keep a list of vertex programs translated for each fragment program.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
960fe21008eb00bf778f82476e3d00df0a5c34db |
|
26-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
comments, null ptr checks, etc.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
b28f4a27d586b3ba3a7e87db761b6d624dd3e672 |
|
26-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't apply pixelzoom to bitmaps
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
0dfa5506a318b202ac955a59cc7c9b22b5ff3867 |
|
26-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
st_draw_vertices() no longer needs attribs[] array parameter
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
ccff14de0d6291aa0866ce5d207af416caec69e7 |
|
26-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Simple implementation of glBitmap rendering. Create a texture matching the bitmap image and use a fragment program to modulate current raster color by the boolean-valued texture. Need to eventually use fragment culling (see comments in code).
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
02ea8b81414b50936b8b6b7b8031511e12ef55cd |
|
25-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
re-org/prep for glBitmap
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
6cb87cf26f904b891faa42268f373864fa33541d |
|
21-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Make the alpha test state a cso.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
a6c0c5532f7bfa50ae54c36cf4d74ad4b9f926f8 |
|
20-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Convert depth_stencil state to the new semantics.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
37cf13ed9a429c755f121daa1776b1b30a985ab3 |
|
20-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Checkpoint: replacement of TGSI_ATTRIB_x tokens with input/output semantics. TGSI_ATTRIB_x tokens still present and used in a few places. Expanded set of TGSI_SEMANTIC_x tokens for describing the meaning of inputs/outputs. These tokens are in a crude state ATM. Lots of #if 0 / disabled code to be removed yet, etc... Softpipe and i915 drivers should be in working condition but not heavily tested.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
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_cb_drawpixels.c
|
f22e920f478d8732695913ec0d1f7244b451a8f5 |
|
19-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Finish up conversions of shaders to immutable objects. Create/Delete calls should be split since in create we'll be compiling them so we want to know which one it is (vertex/fragment).
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
bb611c5f1f6aec7ac51d4fa3301422b47f6de795 |
|
19-Sep-2007 |
Brian <brian.paul@tungstengraphics.com> |
Checkpoint: rework shader input/output register mapping. This is a step toward removing TGSI_ATTRIB_ tokens. Basically, when translating Mesa programs to TGSI programs, pass in input and output register re-maps, plus interpolation info. There's some known breakage (cubemap.c) so more to be done...
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
ccd63b54cfbb6bb241d55f7ac95afcd14819f469 |
|
18-Sep-2007 |
Zack Rusin <zack@tungstengraphics.com> |
Convert shader to an immutable state object.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
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_cb_drawpixels.c
|
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_cb_drawpixels.c
|
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_cb_drawpixels.c
|
6ef1bdbdaaf1d30d891475f3dbf27ec791ff40eb |
|
24-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
add some warnings about bitmaps/copypixels
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
d640198b2d52c104c707522e79d53a36f708ccd0 |
|
20-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Set viewport state so viewport matches window dims. trivial/readpixels.c works again.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
d054331c4788b0a5f13f4d7a9b497d274d267acb |
|
21-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Update glClear and glDrawPixels code. Since they're implemented by drawing quadrilaterals (and go through vertex transformation and viewport mapping) we don't have to invert Y coords.
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
51da8ee85eccf0df3721cbd863cd174382d1ddfd |
|
21-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
Start to remove the temporary draw_vb() and draw_vertices() code. new st_draw_vertices() utility used by glClear and glDrawPixels
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
94a4910c9a1ef48470f45c01c379254cb033119f |
|
16-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added PIPE_PRIM_x tokens (matching GL), use in a few places
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
267052c735f25dda7b49ded7b46cc59cb84ecaaa |
|
14-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added glCopyPixels stub
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
498c9e9782186a572885ff9927114706c3d93a22 |
|
11-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added Bitmap() stub, call st_validate_state() in DrawPixels
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
8fbd81b4ed59e371aa616b87296e4263d8992bff |
|
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
added pipe->max_texture_size() query, use it in st_drawpixels()
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
12e3bb1a65bbff82dabc64110249c57a711501c1 |
|
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix image orientation
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
bc4aa83794c6336358793c5f428973fb22184050 |
|
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
setup sampler state, computed wincoords with pixel zoom factors
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
6ccdd5bb15d03b7eadc0f1e3ddba8848de4f146e |
|
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
don't hardcode cpp
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
e51aa572934c39fe3c99470343f776be4e783f42 |
|
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
basic texture-based glDrawPixels path works
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
9ac1a8d416c2bd50ca10186ca09f5e86f6fa4ce6 |
|
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
pipe->region_alloc() now takes width instead of pitch, plus a flags param
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
519aacef031e3271e16693308ca462346a8a160c |
|
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
fix asst glitches
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
f8ab24760d0d3f07e9ee81c98207ddf92dfe74da |
|
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
rename st_cb_teximage.h st_format.h
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
c19a95510f89401125ac3641725749c957f35d96 |
|
10-Aug-2007 |
Brian <brian.paul@tungstengraphics.com> |
more work toward texture-based glDrawPixels
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
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_cb_drawpixels.c
|
fc9ff31298952f0a7e4cdfae95059144a5be6e1b |
|
03-Aug-2007 |
Brian <brian@i915.localnet.net> |
trim #includes
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|
d09f4e2007b3043ceb9dd3cb9cfab0dcd0226ba6 |
|
02-Aug-2007 |
Brian <brian@i915.localnet.net> |
initial work for textured-quad glDrawPixels
/external/mesa3d/src/mesa/state_tracker/st_cb_drawpixels.c
|