9b5f5de9e9efd6a0c0f53806c0f4b5890c84f98b |
|
28-Dec-2016 |
Masanori Kakura <kakurasan@gmail.com> |
st/nine: Don't call u_box_union_* when dirty region is empty When dirty region is empty, u_box_union_* incorrectly expands the new region. This fixes broken font rendering issue in WOLF RPG Editor v2.10 games. Signed-off-by: Masanori Kakura <kakurasan@gmail.com> Reviewed-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
76e392d85239718e6a7b20c914b4827db2828b40 |
|
05-Dec-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Fix leak with cubetexture dtor The last level was not released. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
942778099ea597ee6b04ebdc74f506667fc7782c |
|
21-Oct-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Use align_calloc instead of align_malloc We are not sure exactly what needs to be 0 initialized, but we are missing some cases. 0 initialize all our current aligned allocation. Fixes Tree of Savior visual issues. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
485cba7eb4f53ccd40a24d229cb7307ce4be27de |
|
16-Sep-2016 |
Patrick Rudolph <siro@das-labor.org> |
st/nine: Switch {Set/Get/Free}PrivateData functions Switch {Set/Get/Free}PrivateData function to introduced IUnknown functions. Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
5981ab544562c667c882526c31a6f8c2ce6eba12 |
|
07-Sep-2016 |
Marek Olšák <marek.olsak@amd.com> |
gallium: remove PIPE_BIND_TRANSFER_READ/WRITE not used in any useful way Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
77d6c11f8fa87ba1070028cb036807dc8a115633 |
|
07-Feb-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Align stack for entry points For 32 bits, incoming stack is 4-byte aligned. We need to realign the stack to 16-byte at some point, or there are issues later (crash with SSE, llvm, etc). This patch chooses to align the stack at API entry points. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
6cba347530433c61b218d2b897fb57f33835b37b |
|
26-Jan-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: SCRATCH does support all formats Add new argument to d3d9_to_pipe_format_checked to be able to bypass format support checks. This argument is set to TRUE when the requested Pool is SCRATCH. Signed-off-by: Axel Davy <axel.davy@ens.fr> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
3a2e0c77848120f44031d2deb91108ff8e951d85 |
|
26-Jan-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Support ATI1/ATI2 for CubeTexture Texture and CubeTexture use common code, and thus ATI1/ATI2 is already implemented for CubeTexture. Signed-off-by: Axel Davy <axel.davy@ens.fr> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
6c4774bbe4f259cf7af329ce6493d9b50310689f |
|
26-Jan-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Clean pSharedHandle Texture ctors checks Clarify the behaviour and clean the checks Signed-off-by: Axel Davy <axel.davy@ens.fr> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
bb65b189f34fb497b69e1b267cb355a6829d4b6b |
|
26-Jan-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Move texture creation checks We were having checks at both Create*Texture functions and in ctors. Move all Create*Texture checks to ctors. Signed-off-by: Axel Davy <axel.davy@ens.fr> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
94d91c67077a5efd13b9505fe01a3c80ccb37bc9 |
|
28-Jan-2016 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Use align_free when needed Use align_free to free memory allocated with align_malloc. Signed-off-by: Axel Davy <axel.davy@ens.fr> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
d48cab9fa6b75db054e3a53819b465611923e9bc |
|
16-Aug-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Silent warning in NineCubeTexture9_ctor The compiler was complaining the value may be uninitialised when it is used (which is wrong). Initialize to NULL to silent the warning.
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
d0daec1797a22b51f7a3f5aa585ad6826af06cd3 |
|
14-May-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Impose restrictions on DXTN texture sizes This is the expected behaviour. Fixes wine tests. Signed-off-by: Axel Davy <axel.davy@ens.fr> Reviewed-by: David Heidelberg <david@ixit.cz>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
43d5c5a11b35dc09f369b08ff7066ccc8ab34e82 |
|
04-May-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Textures start dirty According to the spec all textures start dirty. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
e139e0debd2e0dfa1f233adafab4a0c322598a7e |
|
03-May-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Track dirty region for SYSTEMMEM too Dirty regions should be tracked for both MANAGED and SYSTEMMEM. Until now we didn't bother to track for SYSTEMMEM, because we hadn't implemented using the dirty region to avoid some copies Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
8a61894cdb0f97df48775f5a16ba60d33519e36a |
|
03-May-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Add missing BASETEX_REGISTER_UPDATE calls If the texture is bound and dirty_mip is true, BASETEX_REGISTER_UPDATE adds the texture to the list of things to update before the next draw call. Some calls to it were missing. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
886227d363b7e889e2a9162c27059e2a9fe79cb7 |
|
12-May-2015 |
Patrick Rudolph <siro@das-labor.org> |
st/nine: Align texture memory Align texture memory on 32 byte boundry to allow SSE/AVX memcpy to work on locked rects. This fixes some crashes with games using SSE. Reviewed-by: David Heidelberg <david@ixit.cz> Reviewed-by: Axel Davy <axel.davy@ens.fr> Signed-off-by: Patrick Rudolph <siro@das-labor.org>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
090ebc7638e64592716ac4ecd4c29609b2f35421 |
|
19-Feb-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Bound the dirty regions to resource size Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
e558ce98f2b01e11ff79c29efaea2877121ae04a |
|
19-Feb-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Encapsulate variables for MANAGED resource Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
35fe920e1ec877d487e5dd33c9aea7e1ec1dbe11 |
|
19-Feb-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Rework texture data allocation Some applications assume the memory for multilevel textures is allocated per continuous blocks. This patch implements that behaviour. v2: cache offsets Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
87868d38328a3875881fe1ca6861eb7816a5b0cf |
|
22-Mar-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Add debug warning when application uses sw processing Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
27e438e35630819914bd42c5aa27fe6e53ebe491 |
|
10-Jan-2015 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Refactor format d3d9 to pipe conversion Move the checks of whether the format is supported into a common place. The advantage is that allows to handle when a d3d9 format can be mapped to several formats, and that cards don't support all of them. Reviewed-by: Tiziano Bacocco <tizbac2@gmail.com> Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
77f0ecf9cead20ee6f61149f66663258cebd6179 |
|
07-Dec-2014 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Add ATI1 and ATI2 support Adds ATI1 and ATI2 support to nine. They map to PIPE_FORMAT_RGTC1_UNORM and PIPE_FORMAT_RGTC2_UNORM, but need special handling. Reviewed-by: David Heidelberg <david@ixit.cz> Signed-off-by: Axel Davy <axel.davy@ens.fr> Signed-off-by: Xavier Bouchoux <xavierb@gmail.com> Cc: "10.4" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
0abfb80dacf80c1f2d0a6a4142b9ab84695aa9e7 |
|
07-Dec-2014 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Return D3DERR_INVALIDCALL when trying to create a texture of bad format Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: David Heidelberg <david@ixit.cz> Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
92321611787207f8f2c02a226c1370f85cb99573 |
|
02-Dec-2014 |
Axel Davy <axel.davy@ens.fr> |
st/nine: CubeTexture: fix GetLevelDesc This->surfaces contains the surfaces associated to the levels and faces. This->surfaces[6*Level] is what we want here, since it gives us a face descriptor for the level 'Level'. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: David Heidelberg <david@ixit.cz> Signed-off-by: Axel Davy <axel.davy@ens.fr> Signed-off-by: Xavier Bouchoux <xavierb@gmail.com> Cc: "10.4" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
7f74b9d47928979fdad445db1e0f249688c62991 |
|
25-Nov-2014 |
Stanislaw Halik <sthalik@misaki.pl> |
st/nine: call DBG() at more external entry points Cc: "10.4" <mesa-stable@lists.freedesktop.org> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: David Heidelberg <david@ixit.cz> Reviewed-by: Axel Davy <axel.davy@ens.fr> Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
6aeae7442d1d5a8b1ff77b6f50f4ac7333cd22b0 |
|
25-Nov-2014 |
Axel Davy <axel.davy@ens.fr> |
st/nine: rework the way D3DPOOL_SYSTEMMEM is handled This patch moves the data field from Resource9 to Surface9 and cleans D3DPOOL_SYSTEMMEM handling in Texture9. This fixes HL2 lost coast. It also removes in Texture9 some code written to support importing and exporting non D3DPOOL_SYSTEMMEM shared buffers. This code hadn't the design required to support the feature and wasn't used. Cc: "10.4" <mesa-stable@lists.freedesktop.org> Tested-by: David Heidelberg <david@ixit.cz> Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
133b2087c5ba9942527bc1b218a32205fb7a10a6 |
|
25-Nov-2014 |
Axel Davy <axel.davy@ens.fr> |
st/nine: Rework Basetexture9 and Resource9. Instead of having parts of the structures initialised by the parents, have them initialised by the children. Cc: "10.4" <mesa-stable@lists.freedesktop.org> Tested-by: David Heidelberg <david@ixit.cz> Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|
fdd96578ef2dfe9c4ad5aab5858036298d444a64 |
|
04-Aug-2011 |
Joakim Sindholt <opensource@zhasha.com> |
nine: Add state tracker nine for Direct3D9 (v3) Work of Joakim Sindholt (zhasha) and Christoph Bumiller (chrisbmr). DRI3 port done by Axel Davy (mannerov). v2: - nine_debug.c: klass extended from 32 chars to 96 (for sure) by glennk - Nine improvements by Axel Davy (which also fixed some wine tests) - by Emil Velikov: - convert to static/shared drivers - Sort and cleanup the includes - Use AM_CPPFLAGS for the defines - Add the linker garbage collector - Restrict the exported symbols (think llvm) v3: - small nine fixes - build system improvements by Emil Velikov v4: [Emil Velikov] - Do no link against libudev. No longer needed. Acked-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Axel Davy <axel.davy@ens.fr> Signed-off-by: David Heidelberg <david@ixit.cz>
/external/mesa3d/src/gallium/state_trackers/nine/cubetexture9.c
|