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

Unified Diff: src/gpu/GrReorderCommandBuilder.h

Issue 1129943004: Initial CL to create Reorder command builder behind a flag (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more tidying Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrInOrderDrawBuffer.cpp ('k') | src/gpu/GrReorderCommandBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrReorderCommandBuilder.h
diff --git a/src/gpu/GrInOrderCommandBuilder.h b/src/gpu/GrReorderCommandBuilder.h
similarity index 70%
copy from src/gpu/GrInOrderCommandBuilder.h
copy to src/gpu/GrReorderCommandBuilder.h
index 164db92811cf20fd8289f54757eed2eb47ef2cce..99a2c11c27a2e12703997d240dfe0aae6cb26227 100644
--- a/src/gpu/GrInOrderCommandBuilder.h
+++ b/src/gpu/GrReorderCommandBuilder.h
@@ -5,28 +5,36 @@
* found in the LICENSE file.
*/
-#ifndef GrInOrderCommandBuilder_DEFINED
-#define GrInOrderCommandBuilder_DEFINED
+#ifndef GrReorderCommandBuilder_DEFINED
+#define GrReorderCommandBuilder_DEFINED
#include "GrCommandBuilder.h"
-class GrInOrderCommandBuilder : public GrCommandBuilder {
+class GrReorderCommandBuilder : public GrCommandBuilder {
public:
typedef GrCommandBuilder::Cmd Cmd;
typedef GrCommandBuilder::State State;
- GrInOrderCommandBuilder(GrGpu* gpu) : INHERITED(gpu) { }
+ GrReorderCommandBuilder(GrGpu* gpu) : INHERITED(gpu) {}
Cmd* recordDrawBatch(State*, GrBatch*) override;
Cmd* recordStencilPath(const GrPipelineBuilder&,
const GrPathProcessor*,
const GrPath*,
const GrScissorState&,
- const GrStencilSettings&) override;
+ const GrStencilSettings&) override {
+ SkFAIL("Unsupported\n");
+ return NULL;
+ }
+
Cmd* recordDrawPath(State*,
const GrPathProcessor*,
const GrPath*,
- const GrStencilSettings&) override;
+ const GrStencilSettings&) override {
+ SkFAIL("Unsupported\n");
+ return NULL;
+ }
+
Cmd* recordDrawPaths(State*,
GrInOrderDrawBuffer*,
const GrPathProcessor*,
@@ -37,7 +45,10 @@ public:
GrDrawTarget::PathTransformType ,
int,
const GrStencilSettings&,
- const GrDrawTarget::PipelineInfo&) override;
+ const GrDrawTarget::PipelineInfo&) override {
+ SkFAIL("Unsupported\n");
+ return NULL;
+ }
private:
typedef GrCommandBuilder INHERITED;
« no previous file with comments | « src/gpu/GrInOrderDrawBuffer.cpp ('k') | src/gpu/GrReorderCommandBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698