aboutsummaryrefslogtreecommitdiff
path: root/platform_tools
diff options
context:
space:
mode:
authorGreg Daniel <egdaniel@google.com>2018-03-29 15:52:23 -0400
committerGreg Daniel <egdaniel@google.com>2018-03-30 15:10:40 +0000
commit27b4acf317851f7388f138a5c833a19cf25d361c (patch)
tree974121bc6d39d148f6dcbc3044199c84d2591ee9 /platform_tools
parent095b25787612050997d3e22f48385b8955943dd3 (diff)
downloadskqp-27b4acf317851f7388f138a5c833a19cf25d361c.tar.gz
Add test for importing AHardwareBuffers in and out of Vulkan.
The general test creates an AHardwareBuffer. Imports into a backend to file with data. And then imports it into another backend to read the HWB and draws it to a surface. We then readback the pixels to make sure they match what we started with. This version of the test tests all combinations of srcBackends (CPU, EGL, Vulkan) with the dst backends (EGL, Vulkan). Also cherry-picks in changes: Add ctor to GrVkAlloc (https://skia-review.googlesource.com/111660) Add testing only helper to flush and sync gpu (https://skia-review.googlesource.com/113122) Bug: skia: Change-Id: I732f371af7f48f5a590fd161021a69cbc6f2583c Reviewed-on: https://skia-review.googlesource.com/117080 Reviewed-by: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'platform_tools')
-rw-r--r--platform_tools/android/apps/skqp/src/main/assets/skqp/KnownGpuUnitTests.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform_tools/android/apps/skqp/src/main/assets/skqp/KnownGpuUnitTests.txt b/platform_tools/android/apps/skqp/src/main/assets/skqp/KnownGpuUnitTests.txt
index 064fdc0bf1..c48f6cc4f1 100644
--- a/platform_tools/android/apps/skqp/src/main/assets/skqp/KnownGpuUnitTests.txt
+++ b/platform_tools/android/apps/skqp/src/main/assets/skqp/KnownGpuUnitTests.txt
@@ -137,6 +137,12 @@ VkHeapTests
VkMakeCopyPipelineTest
VkUploadPixelsTests
VkWrapTests
+VulkanHardwareBuffer_CPU_Vulkan
+VulkanHardwareBuffer_EGL_Vulkan
+VulkanHardwareBuffer_Vulkan_Vulkan
+VulkanHardwareBuffer_CPU_EGL
+VulkanHardwareBuffer_EGL_EGL
+VulkanHardwareBuffer_Vulkan_EGL
WrappedProxyConversionTest
WrappedProxyTest
WritePixelsNonTexture_Gpu