mesa/src
Eric Anholt 84ed8b67c5 vc4: Set shareable BOs as T tiled if possible
X11 and GL compositor performance on VC4 has been terrible because of our
SHARED-usage buffers all being forced to linear.  This swaps SHARED &&
!LINEAR buffers over to being tiled.

This is an expected win for all GL compositors during rendering (a full
copy of each shared texture per draw call), allows X11 to be used with
decent performance without a GL compositor, and improves X11 windowed
swapbuffers performance as well.  It also halves the memory usage of
shared buffers that get textured from.  The only cost should be idle
systems with a scanout-only buffer that isn't flagged as LINEAR, in which
case the memory bandwidth cost of scanout goes up ~25%.

This implements the EGL_EXT_image_dma_buf_import_modifiers extension,
supporting the VC4 T_TILED modifier.

v2: Added modifier support to resource creation/import, and
    advertisement (by daniels).
v3: Fix old-kernel fallback path, fix compiler error and warnings, and
    comment touchups (by anholt).

Reviewed-by: Daniel Stone <daniels@collabora.com>
2017-07-12 10:58:33 -07:00
..
amd radv/ac: drop setting xnack 2017-07-09 22:21:43 +01:00
broadcom vc4: automake: include vc4_cl_dump.h in 2017-07-04 09:37:19 +02:00
compiler spirv: Fix reaching unreachable for compare exchange on images 2017-07-10 14:13:37 -07:00
egl egl: set KHR_gl_texture_3D_image only when the requirements are met. 2017-07-12 15:45:27 +01:00
gallium vc4: Set shareable BOs as T tiled if possible 2017-07-12 10:58:33 -07:00
gbm gbm: add XBGR8888 support for dumb buffers 2017-06-30 08:44:19 +01:00
getopt
glx egl: turn one more boolean int into a bool 2017-06-21 21:42:14 +01:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel intel: Move the DRM uapi headers to a non-Intel location. 2017-07-12 10:58:33 -07:00
loader egl: turn one more boolean int into a bool 2017-06-21 21:42:14 +01:00
mapi Update Khronos-supplied headers 2017-06-30 15:29:50 +02:00
mesa intel: Move the DRM uapi headers to a non-Intel location. 2017-07-12 10:58:33 -07:00
util gallium: use "ull" number suffix to keep the QtCreator parser happy 2017-07-10 22:44:48 +02:00
vulkan Android: vulkan: fix build error due to extra ) 2017-06-08 07:26:04 -05:00
Makefile.am build systems: move git_sha1_gen.sh to bin/ 2017-07-06 22:59:39 +01:00
SConscript build systems: move git_sha1_gen.sh to bin/ 2017-07-06 22:59:39 +01:00