e82c1c11bc
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> |
||
---|---|---|
.. | ||
d3d | ||
dawn | ||
gl | ||
mock | ||
mtl | ||
vk | ||
GrBackendDrawableInfo.h | ||
GrBackendSemaphore.h | ||
GrBackendSurface.h | ||
GrBackendSurfaceMutableState.h | ||
GrConfig.h | ||
GrContextOptions.h | ||
GrContextThreadSafeProxy.h | ||
GrDirectContext.h | ||
GrDriverBugWorkarounds.h | ||
GrDriverBugWorkaroundsAutogen.h | ||
GrRecordingContext.h | ||
GrSurfaceInfo.h | ||
GrTypes.h | ||
GrYUVABackendTextures.h |