aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/Resources.cpp
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2016-06-07 08:43:30 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-07 08:43:30 -0700
commitd62e28b19a23b913c549b7891ecf79e779577181 (patch)
tree7216b9b6ce31898d4d892eac7fd414ceb9857acb /tools/Resources.cpp
parentaf18fb49fbefb96a6670171a07442b1ccb9f746f (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 'tools/Resources.cpp')
0 files changed, 0 insertions, 0 deletions