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/drivers/ilo/ilo_resource.c
|
9daaa6f5a66ab6cc99c6f0af37fc1007ab3d09af |
|
21-Aug-2016 |
Marek Olšák <marek.olsak@amd.com> |
gallium: add a pipe_context parameter to resource_get_handle radeonsi needs to do some operations (DCC decompression) for OpenGL-OpenCL interop and this is the only way to make it coherent with the current context. It can optionally be set to NULL. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
ea327dc451c1c8e46ff49a368c0d9c1485889fd3 |
|
14-Apr-2016 |
Jakob Sinclair <sinclair.jakob@openmailbox.org> |
gallium: Remove every double semi-colon Signed-off-by: Jakob Sinclair <sinclair.jakob@openmailbox.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@intel.com>
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
82db518f1519cec9e3842f23455a105e2006afbd |
|
24-Feb-2016 |
Marek Olšák <marek.olsak@amd.com> |
gallium: add external usage flags to resource_from(get)_handle (v2) This will allow drivers to make better decisions about texture sharing for DRI2, DRI3, Wayland, and OpenCL. v2: add read/write flags, take advantage of __DRI_IMAGE_USE_BACKBUFFER Reviewed-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
f9f79d29ce75c681c46bdbac5aa3f19ee1adb93b |
|
05-Jul-2015 |
Marek Olšák <marek.olsak@amd.com> |
gallium: add BIND flags for R/W buffers and images PIPE_CAPs and TGSI support will be added later. The TGSI support should be straightforward. We only need to split TGSI_FILE_RESOURCE into TGSI_FILE_IMAGE and TGSI_FILE_BUFFER, though duplicating all opcodes shouldn't be necessary. The idea is: * ARB_shader_image_load_store should use set_shader_images. * ARB_shader_storage_buffer_object should use set_shader_buffers(slots 0..M-1) if M shader storage buffers are supported. * ARB_shader_atomic_counters should use set_shader_buffers(slots M..N) if N-M+1 atomic counter buffers are supported. PIPE_CAPs can describe various constraints for early DX11 hardware. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
3c6af396f9526bdc8351ff61bcc6c42a3892e6b8 |
|
29-Jun-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: add image_set_gen6_bo_size() It replaces img_calculate_bo_size().
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
cbdc26aa3f76dc20285caa7e62ca8809cb2fe638 |
|
25-Jun-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: replace pipe_format by gen_surface_format Replace pipe_format by gen_surface_format in ilo_image. Change how depth format is specified in ilo_state_zs.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
2ee95f6d64aca9e9490c1ac293dd711b5f60a16b |
|
25-Jun-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: always use the specified image format Move silent promotion of PIPE_FORMAT_ETC1_RGB8 or combined depth/stencil out of core.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
dc2e92b2d3d216fc9657f2ef594d7c5d0b03370e |
|
24-Jun-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: replace pipe_texture_target by gen_surface_type Replace pipe_texture_target by gen_surface_type in ilo_image. Change how GEN6_SURFTYPE_CUBE is specified in ilo_state_surface and ilo_state_zs.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
934e4a469fd37dac03b8280cce41df4d9f4ed123 |
|
24-Jun-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: initialize ilo_image from ilo_image_info Convert pipe_resource to ilo_image_info for image initialization.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
f825fe8e13adfec4cd488bac3663b7e9c90a8c06 |
|
25-Jun-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: remove ilo_image_disable_aux() Fail resource creation when aux bo allocation fails.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
9871646c132ba137709b0bfebfe285985dc351e6 |
|
26-Jun-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: remove ilo_buffer Since the addition of ilo_vma, it was used only to pad a bo for sampling engine surfaces. Replace it entirely with these functions ilo_state_surface_buffer_size() ilo_state_vertex_buffer_size() ilo_state_index_buffer_size() ilo_state_sol_buffer_size()
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
36d107e92cc4c1d2b60e0017dbe998af3a2e8b75 |
|
24-Jun-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: introduce ilo_vma This cleans up the code a bit and makes ilo_state_vector_resource_renamed() simpler and more robust. It also allows a single bo to back mulitple VMAs.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
58f95b332d0cbad226f5bb2e96cd0cad8864fe79 |
|
22-Jun-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: align vertex buffer size in buf_create() With ilo_format.[ch] moved out of core, the aligning of vertex buffers does not belong to core anymore.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
9cb0df4b50593e69f65b65704f5b64f3a12be9b5 |
|
22-May-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: add ilo_image_disable_aux() When aux bo allocation fails, ilo_image_disable_aux() should be called to disable aux buffer.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
1885ac490834e70d831b5b4a287c272b4148761c |
|
21-May-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: avoid resource owning in core It is up to the users whether to reference count the BOs or not.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
9b705ec32d8cd527ab8d6ebc89f6550d52908c62 |
|
02-May-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: add ilo_image_can_enable_aux() It replaces ilo_texture_can_enable_hiz().
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
f6ca4084c7eca649e5444ac20218d94bd2a88057 |
|
02-May-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: add ilo_image_init_for_imported() It replaces ilo_image_update_for_imported_bo() and enables more error checkings for imported textures.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
c209aa7a8f08acb89f7294328589f47a88b44703 |
|
01-May-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: improve readability of ilo_image Improve docs, rename struct fields, and reorder walk types. No real changes.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
8ab18262c5984736b11b28a30a7facda0d6c65e8 |
|
01-May-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: add ilo_buffer.h to core Rename the original ilo_buffer to ilo_buffer_resource to avoid name conflict.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
3afbeb115ab19164fb2e5bf8df88b6d03d39254b |
|
24-Mar-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: move BOs from ilo_texture to ilo_image We want to work with ilo_image instead of ilo_texture in core.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
ac47563cb40a79ec2bf149c6d9916a9d66361753 |
|
08-Mar-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: move ilo_layout.[ch] to core as ilo_image.[ch] Move files and s/layout/image/.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
82527655324b09c0d347a948e9bc66e79e48f201 |
|
25-Mar-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: add ilo_format.[ch] to core The original ilo_format.[ch] are removed.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
19351af53dfffb8543d21a58be9c9f9a52b3ba62 |
|
07-Mar-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: move intel_winsys to ilo_dev_info We want to use ilo_dev_info instead of ilo_screen in core.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
bca6c8572f68a21e43982ffec057b30f35465965 |
|
06-Mar-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: clarify valid and preferred tilings We did it right until the switch to gen_surface_tiling, which has GEN8_TILING_W. Generally, GEN8_TILING_W may be valid but not preferred.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
4ddd981e407f9e97fcbb862c241f1ce165616fd4 |
|
05-Mar-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: add more convenient intel_bo_{ref,unref}() They both check for NULL and intel_bo_ref() returns the referenced bo. They replace intel_bo_{reference,unreference}().
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
70ef171e91582f60a010a4f0ea9f7ff5ba971ab4 |
|
05-Mar-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: add intel_bo_set_tiling() Make intel_winsys_alloc_bo() always allocate a linear bo, and add intel_bo_set_tiling() to set the tiling. Document the purpose of tiling.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
0ac706535a07d003b9a40f8bad5445dd50f6c35b |
|
05-Mar-2015 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: replace intel_tiling_mode by gen_surface_tiling The former is used by the kernel driver to set up fence registers and to pass tiling info across processes. It lacks INTEL_TILING_W, which made our code less expressive.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
56d2ebb019f38d727a41f8f4a8ebd4f1aeee19e0 |
|
12-Sep-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: use an accessor for dev->gen It should enable us to do specialized builds by making the accessor return a constant.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
fbb869c1aaf6aa5400028556e23bbbb1ba41ce42 |
|
25-Aug-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: replace domains by reloc flags It is simpler and is supported by the kernel. It cannot be used with libdrm_intel yet though.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
fb3d506431871fdb04fc84bbcc916d8f9d7c9954 |
|
08-Aug-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: migrate to ilo_layout Embed an ilo_layout in ilo_texture, and remove now duplicated members.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
7395432f2e792f8719b03bb39b0cf5cba8ba583b |
|
28-Jul-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: try unblocking a transfer with a staging bo When mapping a busy resource with PIPE_TRANSFER_DISCARD_RANGE or PIPE_TRANSFER_FLUSH_EXPLICIT, we can avoid blocking by allocating and mapping a staging bo, and emit pipelined copies at proper places. Since the staging bo is never bound to GPU, we give it packed layout to save space.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
0a0e57b0705925d2350b79a32d007d29980499d6 |
|
28-Jul-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: enable persistent and coherent transfers Enable PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT and reorder caps a bit.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
9d6166880da83887e3246fb4498c3a07d979cc3b |
|
24-Jul-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: check the tilings of imported handles Just to be cautious.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
cbc943c43ec5ce5ba625b2833bf7f911e798254e |
|
24-Jul-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: clean up resource bo renaming s/alloc_bo/rename_bo/ as that is what the functions do. Simplify bo allocation and move the complexity to bo renaming.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
cf8c9947a844c570eb420eefc3a0ab2bef82dc96 |
|
24-Jul-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: share some code between {tex,buf}_create_bo Add resource_get_bo_name() and resource_get_bo_initial_domain() for use by both functions.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
c1a1a627c47f7d6eca1c36afc81ca4584e965963 |
|
24-Jul-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: use native 3-component vertex formats on GEN7.5+ GEN7.5 gains support for those formats natively.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
c25fe88ebf0939ac1972cc0994819c27408ca59e |
|
15-Jul-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: raise texture size limits Report the hardware limits now that max-texture-size piglit test has been fixed.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
81d7f33e30e7f54c5b721085057a53f9cd958fe2 |
|
14-Jul-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: move away from drm_intel_bo_alloc_tiled We want to know the exact sizes of the BOs, and the driver has the knowledge to do so. Refactoring of the resource allocation code is needed though.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
3e324f99d3b8f6b9da00c3f90719fba19e77ae7d |
|
08-Mar-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: replace bo alloc flags by initial domains The only alloc flag is INTEL_ALLOC_FOR_RENDER, which can as well be expressed by specifying the initial write domain. The change makes it obvious that we failed to set INTEL_ALLOC_FOR_RENDER in several places.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
76713ed5d64028a434c15f4eb6572b01e5acacca |
|
08-Mar-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: remove intel_bo_get_size() Commit bfa8d21759c5f2b5b0885c696842167bd4c64fee uses it to work around a hardware limitation. But there are other ways to do it without the need for intel_bo_get_size().
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
e7307fe7088aeda0c3449104239562bbe1c6be46 |
|
20-Feb-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: pipe_texture::usage is not a bitfield It happens to work because PIPE_USAGE_STAGING is 0x100.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
f8d19a58dcb4fbdc453549cfd3884145ae28f073 |
|
14-Jan-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: set ILO_TEXTURE_CPU_WRITE for imported textures Assume the bo has been written by another process, which will trigger a HiZ resolve.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
7fdab3b201bd2a011e8e0b0b15aca7b7fb5a7aa5 |
|
14-Jan-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: disable HiZ for misaligned levels We need to disable HiZ for non-8x4 aligned levels, except for level 0, layer 0. For the very first layer we can adjust Width and Height fields of 3DSTATE_DEPTH_BUFFER to make it aligned. Specifically, add ILO_TEXTURE_HIZ and set the flag only for properly aligned levels. ilo_texture_can_enable_hiz() is updated to check for the flag. In tex_layout_validate(), align the depth bo to 8x4 so that we can adjust Width/Height of 3DSTATE_DEPTH_BUFFER without introducing out-of-bound access. Finally in rectlist blitter, add the ability to adjust 3DSTATE_DEPTH_BUFFER.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
1427c3f79faf3d502e5cc7d467c73e095bcd66de |
|
12-Jan-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: decide on hiz first in texture allocation Add tex_layout_init_hiz() before tex_layout_init_format() to decide whether HiZ should be enabled. On GEN6, because of layer offsetting, HiZ is enabled only when the texture is non-mipmapped and non-array. PIPE_USAGE_STAGING is also taken as a hint to disable HiZ.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
c6605c51de99955c5ade7e241c38886372c1c850 |
|
14-Jan-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: use HALIGN_4 on GEN7 for depth buffers The comment was no longer true since 6642381e7513926b847d6bc10bf590e1c0c54859.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
e90e3e39c24e0120558b33006bc5e2b69f4638b0 |
|
14-Jan-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: OOM for HiZ is fatal on GEN6 On GEN6, HiZ and Separate Stencil Buffer must be enabled at the same time.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
5b1c516080989c950796a1e9087a07284887602b |
|
14-Jan-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: fix a HiZ bo leakage Dereference the HiZ bo when the texture is destroyed.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
76edf44f9ed7ea8d8e8f44d0d01b5ed26606903e |
|
06-Jan-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: enable HiZ The support is still early. Fast depth buffer clear is not enabled yet. HiZ can be forced off with ILO_DEBUG=nohiz.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
846f70a6ef8be5297eb6f4cf9cf8dc36ce22b818 |
|
26-Dec-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: rename and add an accessor for texture slices Rename ilo_texture::slice_offsets to ilo_texture::slices and add an accessor, ilo_texture_get_slice().
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
546416d49597c4879d045707d5587317e77e160c |
|
06-Jan-2014 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: add support for HiZ allocation Add tex_create_hiz() to create HiZ bo. It is not really called yet.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
e372819589c2a66620e63a2cd11582c6ce5fb8f0 |
|
21-Dec-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: refactor separate stencil allocation Move separate stencil allocation code to tex_create_separate_stencil to keep tex_create sane.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
e8f9195e5fb34a45783d6491d2e0305a0b137439 |
|
15-Aug-2013 |
Axel Davy <axel.davy@ens.fr> |
gallium, intel: Implements new __DRI_IMAGE_USE_LINEAR and PIPE_BIND_LINEAR flags to enforce no tiling. Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
045bf0db5215789bdaa9043c9a3075d3c3a71d64 |
|
09-Jul-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: honor surface padding requirements The PRM specifies several padding requirements that we failed to honor.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
39226705b7ee79504b5b09669e5420cd7c374713 |
|
12-Jun-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: update winsys interface The motivation is to kill tiling and pitch in struct intel_bo. That requires us to make tiling and pitch not queryable, and be passed around as function parameters.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
cdfb2163c4cf6b54b6d8ba61f5460a29f58e3184 |
|
12-Jun-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: get rid of function tables in winsys We are moving toward making struct intel_bo alias drm_intel_bo. As a first step, we cannot have function tables.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
3f79188854fd7f63ad1eb0d4ab1fc24117fd0d78 |
|
11-Jun-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: remove unnecessary tex_set_bo/buf_set_bo Merge the bodies to tex_create_bo/buf_create_bo respectively.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
6b894e6900c2705c31d1af920a85389262e90bb3 |
|
14-May-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: add support for stencil resources on GEN7+ For allocations, we need to support stencil-only and separate stencil resources. For mapping, we need to support software tiling and packing/unpacking for separate stencil resources.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
ca349e02171058c47fea610b2d884e4b08b371ac |
|
14-May-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: simplify ilo_texture_get_slice_offset() Always return a tile-aligned offset. Also fix for W tiling.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
176ad54c04f5b945e47b61a3cad4b6c87d883a41 |
|
13-May-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: rework ilo_texture Use ilo_buffer for buffer resources and ilo_texture for texture resources. A major cleanup is necessitated by the separation.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
768296dd05fce98b7ad5219c647ded087b287742 |
|
13-May-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: rename ilo_resource to ilo_texture In preparation for the introduction of ilo_buffer.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
528ac68f7a5225be5d624b6eca91be11122dfa91 |
|
13-May-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: move transfer-related functions to a new file Resource mapping is distinct from resource allocation, and is going to get more and more complex. Move the related functions to a new file to make the separation clear.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
5471e3949cb6482f1a6dcb969332f2544a758e46 |
|
10-May-2013 |
Vinson Lee <vlee@freedesktop.org> |
ilo: Initialize read_back in transfer_map_sys. Fixes "Uninitialized scalar variable" defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
a8e46140718b85fd33be97c693050f8722db1def |
|
09-May-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: add support for PIPE_FORMAT_ETC1_RGB8 It is decompressed to and stored as PIPE_FORMAT_R8G8B8X8_UNORM on-the-fly.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
183ea823fd3a8a043ceb0e5d774eee459155a6f6 |
|
09-May-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: support mapping with a staging system buffer It can be used for unpacking compressed texture on-the-fly or to support explicit transfer flushing.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
baa44db06586f8f844046a6397ea609f55cd3b97 |
|
09-May-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: allow for different mapping methods We want to or need to use a different mapping method when when the resource is busy, the bo format differs from the requested format, and etc.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
7cca1aac9dba97cc7a97d3fd7690bc4af4bda0a6 |
|
08-May-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: allow bo format to differ from that requested For separate stencil buffer or formats not supported natively, the real format of the bo may differ from that requested.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
dd62e7bc02f705c367af37a38f572758a8d1bc37 |
|
30-Apr-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: fix tiling/size for special-purpose resources We do not allocate such resources yet though.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
7726e9500c15814955cea6ee626de27493870b60 |
|
29-Apr-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: use UMS layout for render targets As we do not advertise MSAA support, this change should not make any difference yet.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
334abed8286ab80691c563027424b7a7abcb41b5 |
|
29-Apr-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: support and prefer compact array spacing There is no reason to waste the memory when the HW can support compact array spacing (ARYSPC_LOD0).
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
bb1f635dcc8f6d817b49785edcf6ec6b46ca5405 |
|
29-Apr-2013 |
Chia-I Wu <olvaffe@gmail.com> |
ilo: add ilo_dev_info shared by the screen and contexts The struct is used to describe the device information, such as PCI ID, GEN, GT, and etc.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
d3602dfac6fbd93173c34e46f1d54976ae1215ec |
|
12-Dec-2012 |
Chia-I Wu <olv@lunarg.com> |
ilo: add GEN6 GPE GEN6 GPE (Graphics Processing Engine) is a low-level interface to emit 3D commands and states.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
8f949bc1dac399b8806e17efafe2bb2d9cc86c54 |
|
12-Dec-2012 |
Chia-I Wu <olv@lunarg.com> |
ilo: hook up pipe context transfer functions
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
3a4a570c34eb20d28c24d1fd18c9781740abf6e5 |
|
12-Dec-2012 |
Chia-I Wu <olv@lunarg.com> |
ilo: hook up pipe screen resource functions
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|
63b572010554d62c3463c8db4e016ecbed117178 |
|
12-Dec-2012 |
Chia-I Wu <olv@lunarg.com> |
ilo: new pipe driver for Intel GEN6+ This commit adds some boilerplate code. The header files found under include/ are copied from i965.
/external/mesa3d/src/gallium/drivers/ilo/ilo_resource.c
|