skia2/include/gpu
Greg Daniel e82c1c11bc Add support for vk drm format modifiers.
On linux we need to support drm format modifiers on vulkan images. When
we have a modifier it can restrict the allowed usages/features of the
VkImage.

The current use case we have for images coming into skia that have
these modifiers are from video decoders. All these images are only used
as sampled images in draws and they have no filtering applied.
Therefore, for now, instead of tracking all format and modifier pairs
to know what is supported, we internally set these images to be external
which already restricts their use to basic in shader sampling.

Additionally in chrome, all these images are coming in ycbcr conversions
already which we treat as external.

Bug: skia:12336
Change-Id: I59a564f937f49a6d906efe954b24cebe5c7470ff
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/441298
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2021-10-26 18:22:07 +00:00
..
d3d Reland "Add new GrSurfaceInfo class and related backend structs." 2021-09-20 20:44:53 +00:00
dawn Reland "Add new GrSurfaceInfo class and related backend structs." 2021-09-20 20:44:53 +00:00
gl Reland "Add new GrSurfaceInfo class and related backend structs." 2021-09-20 20:44:53 +00:00
mock Reland "Add new GrSurfaceInfo class and related backend structs." 2021-09-20 20:44:53 +00:00
mtl Reland "Add new GrSurfaceInfo class and related backend structs." 2021-09-20 20:44:53 +00:00
vk Add memoryless attachment support for vulkan dmsaa. 2021-09-22 19:06:02 +00:00
GrBackendDrawableInfo.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrBackendSemaphore.h Rename some GrD3DTypes* header files. 2021-08-31 18:49:46 +00:00
GrBackendSurface.h Add support for vk drm format modifiers. 2021-10-26 18:22:07 +00:00
GrBackendSurfaceMutableState.h Remove ableist language 2021-06-16 21:37:21 +00:00
GrConfig.h Fix checks of GR_TEST_UTILS. 2020-09-25 15:58:53 +00:00
GrContextOptions.h Remove (unused) geometry shader support 2021-08-27 19:41:10 +00:00
GrContextThreadSafeProxy.h Make compressedBackendFormat accessible from GrContextThreadSafeProxy 2021-08-05 21:44:11 +00:00
GrDirectContext.h Move more classes to skgpu::v1 namespace 2021-09-15 15:20:24 +00:00
GrDriverBugWorkarounds.h Fix CanvasKit warnings compiling on Mac with emsdk 2.0.0 2020-09-18 20:35:12 +00:00
GrDriverBugWorkaroundsAutogen.h Rewrite restore_scissor_on_fbo_change 2020-12-09 16:15:09 +00:00
GrRecordingContext.h Rename GrSurfaceContext -> skgpu::SurfaceContext 2021-08-10 19:24:53 +00:00
GrSurfaceInfo.h Reland "Add new GrSurfaceInfo class and related backend structs." 2021-09-20 20:44:53 +00:00
GrTypes.h Fix -Wc++11-narrowing for Skia. 2021-06-15 17:49:08 +00:00
GrYUVABackendTextures.h Remove SkYUVASizeInfo, make SkYUVAIndex a private part of SkYUVAInfo 2021-01-12 15:06:26 +00:00