mesa/src/mesa
Eduardo Lima Mitev e48f27ee64 st: Pass TextureTiling option from texture to memory obj
If tiling is linear, also adds the corresponding pipe bind flag
to the resource template when creating a new resource from the
memory object.

Modified TexParameteri to update the TextureTiling option only when the
texObj is not immutable (before TexStorageMem*DEXT is called to create
the texture from external memory).

v2: Ensure that memory object is not NULL before setting the
TextureTiling option (fixes TexStorage*D).

v3: Also add flag PIPE_SHARED to bindings (needed for some gallium
drivers).

v4: Use PIPE_BIND_LINEAR instead of adding a new PIPE_RESOURCE_FLAG
(Marek Olšák)

Co-authored-by: Eduardo Lima Mitev <elima@igalia.com>
Co-authored-by: Eleni Maria Stea <estea@igalia.com>
Co-authored-by: Hyunjun Ko <zzoon@igalia.com>
Reviewed-by: Rohan Garg <rohan.garg@collabora.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4565>
2020-08-18 20:40:40 +00:00
..
drivers driconf: Support selection by Vulkan applicationName. 2020-08-18 20:31:07 +02:00
main st: Pass TextureTiling option from texture to memory obj 2020-08-18 20:40:40 +00:00
math mesa: Add function to calculate an orthographic projection 2020-05-14 15:35:43 +00:00
program mesa/ptn: Use nir_variable_create 2020-07-29 17:38:58 +00:00
sparc sparc: Reuse m_vector_asm.h. 2019-07-01 11:14:29 -07:00
state_tracker st: Pass TextureTiling option from texture to memory obj 2020-08-18 20:40:40 +00:00
swrast mesa/swrast: use logf2 instead of util_fast_log2 2020-06-30 21:43:22 +00:00
swrast_setup remove final imports.h and imports.c bits 2020-04-21 11:09:04 -07:00
tnl remove final imports.h and imports.c bits 2020-04-21 11:09:04 -07:00
tnl_dd
vbo src/mesa: add GL_NV_half_float extension support (v2) 2020-08-11 19:55:22 +00:00
x86 remove final imports.h and imports.c bits 2020-04-21 11:09:04 -07:00
x86-64 mesa: add support for CET to x86/x86-64 asm files. 2019-08-16 09:00:35 +10:00
Android.gen.mk mesa: try to fix the android build 2020-03-26 18:43:42 -04:00
Android.libmesa_dricore.mk android: mesa: Revert "android: mesa: revert "Enable asm unconditionally"" 2019-11-12 18:09:43 +00:00
Android.libmesa_git_sha1.mk git_sha1: simplify logic 2018-08-16 17:38:31 +01:00
Android.libmesa_glsl_utils.mk remove final imports.h and imports.c bits 2020-04-21 11:09:04 -07:00
Android.libmesa_sse41.mk intel: compiler option msse2 and mstackrealign 2018-09-07 13:45:46 +01:00
Android.libmesa_st_mesa.mk android: mesa: Revert "android: mesa: revert "Enable asm unconditionally"" 2019-11-12 18:09:43 +00:00
Android.mk mesa: Replace gen_matypes with a simple header for V4F/mat layout. 2019-07-01 11:12:15 -07:00
Makefile.sources glthread: upload non-VBO vertices and indices for non-Indirect non-IBM draws 2020-04-30 22:01:55 +00:00
meson.build meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
SConscript scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00