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

Unified Diff: src/gpu/GrCommandBuilder.h

Issue 1340563003: remove dead code not mentioned in any GYP (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | src/gpu/GrCommandBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrCommandBuilder.h
diff --git a/src/gpu/GrCommandBuilder.h b/src/gpu/GrCommandBuilder.h
deleted file mode 100644
index 29dcb3339ad55a5486562351642b27ef78aae04b..0000000000000000000000000000000000000000
--- a/src/gpu/GrCommandBuilder.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright 2015 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef GrCommandBuilder_DEFINED
-#define GrCommandBuilder_DEFINED
-
-#include "GrTargetCommands.h"
-
-class GrGpu;
-class GrResourceProvider;
-class GrBufferedDrawTarget;
-
-class GrCommandBuilder : ::SkNoncopyable {
-public:
- typedef GrTargetCommands::Cmd Cmd;
-
- static GrCommandBuilder* Create(GrGpu* gpu, bool reorder);
-
- virtual ~GrCommandBuilder() {}
-
- void reset() { fCommands.reset(); }
- void flush(GrGpu* gpu, GrResourceProvider* rp) { fCommands.flush(gpu, rp); }
-
- virtual Cmd* recordDrawBatch(GrBatch*, const GrCaps&) = 0;
-
-protected:
- typedef GrTargetCommands::DrawBatch DrawBatch;
-
- GrCommandBuilder() {}
-
- GrTargetCommands::CmdBuffer* cmdBuffer() { return fCommands.cmdBuffer(); }
-private:
- GrTargetCommands fCommands;
-
-};
-
-#endif
« no previous file with comments | « no previous file | src/gpu/GrCommandBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698