diff options
author | 2017-03-06 16:17:12 -0500 | |
---|---|---|
committer | 2017-03-07 15:11:24 +0000 | |
commit | 467921e5e6479fe9cebba125657d8e33d89004ae (patch) | |
tree | bffd056e5d9ad99a50c1876d658f4b31d6721d15 /src/gpu/vk/GrVkCaps.h | |
parent | 894d5611e54cbf62a03ff9ffb48a2302dda9ab86 (diff) |
Move GrDrawOp pipeline/clip processing to GrRenderTargetContext
This is currently done in GrOpList. However, it can trigger resource creation, which in turn can trigger a flush. In the future flushing may destroy the op list.
Change-Id: I21cb1e10060bf31c95431c0511fcfff637cd6498
Reviewed-on: https://skia-review.googlesource.com/9304
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/vk/GrVkCaps.h')
-rw-r--r-- | src/gpu/vk/GrVkCaps.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/vk/GrVkCaps.h b/src/gpu/vk/GrVkCaps.h index 6d030f69a1..6ef0796257 100644 --- a/src/gpu/vk/GrVkCaps.h +++ b/src/gpu/vk/GrVkCaps.h @@ -87,6 +87,8 @@ public: return fPreferedStencilFormat; } + bool initDescForDstCopy(const GrRenderTarget* src, GrSurfaceDesc* desc) const override; + private: enum VkVendor { kQualcomm_VkVendor = 20803, |