diff options
author | 2016-05-11 11:55:36 -0700 | |
---|---|---|
committer | 2016-05-11 11:55:36 -0700 | |
commit | c8699321b924c1f284df93cb29b86000c1d73c0a (patch) | |
tree | 79a78db44c72f95769d35c25d0f06739b90f2cfe /tools/gpu/vk/VkTestContext.cpp | |
parent | cf05dcd64b47dcf5e6ff02132d2b57d3b40d0bf1 (diff) |
Nanobench running on Vulkan
This lets nanobench run but the timings are inaccurate because of missing
implementations of synchronization functions in VkTestContext.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1965273004
Review-Url: https://codereview.chromium.org/1965273004
Diffstat (limited to 'tools/gpu/vk/VkTestContext.cpp')
-rw-r--r-- | tools/gpu/vk/VkTestContext.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/gpu/vk/VkTestContext.cpp b/tools/gpu/vk/VkTestContext.cpp index 44be9fd242..f6849e4484 100644 --- a/tools/gpu/vk/VkTestContext.cpp +++ b/tools/gpu/vk/VkTestContext.cpp @@ -10,7 +10,7 @@ #ifdef SK_VULKAN namespace { -// TODO: Implement fence syncs and swap buffers +// TODO: Implement fence syncs, swap buffers, submit, and flush class VkTestContextImpl : public sk_gpu_test::VkTestContext { public: VkTestContextImpl() @@ -20,6 +20,9 @@ public: void testAbandon() override {} + void submit() override {} + void finish() override {} + protected: void teardown() override { fVk.reset(nullptr); } |