diff options
author | egdaniel <egdaniel@google.com> | 2016-06-07 08:43:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-07 08:43:30 -0700 |
commit | d62e28b19a23b913c549b7891ecf79e779577181 (patch) | |
tree | 7216b9b6ce31898d4d892eac7fd414ceb9857acb /src/opts/SkBlurImageFilter_opts.h | |
parent | af18fb49fbefb96a6670171a07442b1ccb9f746f (diff) |
Refactor creation of GrVkRenderPasses to make them move general
This change is a refactorization to open up more flexable use for render passes
in the future. Once we start bundling draw calls into a single render pass we
will need to start using specific load and store ops instead of the default
currently of load and store everything.
We still will need to simply get a compatible render pass for creation of framebuffers
and pipeline objects. These render passes don't need to know load and store ops. Thus
in this change, I'm defaulting the "compatible" render pass to always be the one
which both loads and stores. All other load/store combinations will be created lazily
when requested for a specific draw (future change).
The CompatibleRPHandle is a way for us to avoid analysing the RenderTarget every time
we want to get a new GrVkRenderPass.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1977403002
Review-Url: https://codereview.chromium.org/1977403002
Diffstat (limited to 'src/opts/SkBlurImageFilter_opts.h')
0 files changed, 0 insertions, 0 deletions