Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Side by Side Diff: src/gpu/GrReorderCommandBuilder.h

Issue 1287973003: Check for xfer barriers in GrBatch, auto-issue barriers in GrGpu (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comment Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/GrPipeline.cpp ('k') | src/gpu/GrReorderCommandBuilder.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrReorderCommandBuilder_DEFINED 8 #ifndef GrReorderCommandBuilder_DEFINED
9 #define GrReorderCommandBuilder_DEFINED 9 #define GrReorderCommandBuilder_DEFINED
10 10
11 #include "GrCommandBuilder.h" 11 #include "GrCommandBuilder.h"
12 12
13 class GrReorderCommandBuilder : public GrCommandBuilder { 13 class GrReorderCommandBuilder : public GrCommandBuilder {
14 public: 14 public:
15 typedef GrCommandBuilder::Cmd Cmd; 15 typedef GrCommandBuilder::Cmd Cmd;
16 typedef GrCommandBuilder::State State; 16 typedef GrCommandBuilder::State State;
17 17
18 GrReorderCommandBuilder(GrGpu* gpu) : INHERITED(gpu) {} 18 GrReorderCommandBuilder(GrGpu* gpu) : INHERITED(gpu) {}
19 19
20 Cmd* recordDrawBatch(GrBatch*) override; 20 Cmd* recordDrawBatch(GrBatch*, const GrCaps&) override;
21 Cmd* recordStencilPath(const GrPipelineBuilder&, 21 Cmd* recordStencilPath(const GrPipelineBuilder&,
22 const GrPathProcessor*, 22 const GrPathProcessor*,
23 const GrPath*, 23 const GrPath*,
24 const GrScissorState&, 24 const GrScissorState&,
25 const GrStencilSettings&) override { 25 const GrStencilSettings&) override {
26 SkFAIL("Unsupported\n"); 26 SkFAIL("Unsupported\n");
27 return NULL; 27 return NULL;
28 } 28 }
29 29
30 Cmd* recordDrawPath(State*, 30 Cmd* recordDrawPath(State*,
(...skipping 18 matching lines...) Expand all
49 SkFAIL("Unsupported\n"); 49 SkFAIL("Unsupported\n");
50 return NULL; 50 return NULL;
51 } 51 }
52 52
53 private: 53 private:
54 typedef GrCommandBuilder INHERITED; 54 typedef GrCommandBuilder INHERITED;
55 55
56 }; 56 };
57 57
58 #endif 58 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrPipeline.cpp ('k') | src/gpu/GrReorderCommandBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698