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

Unified Diff: src/gpu/GrImmediateDrawTarget.h

Issue 1315513008: Cleanup GrDrawTarget now that all paths lead to GrBatch (Closed) Base URL: https://skia.googlesource.com/skia.git@patharray
Patch Set: remove change to SampleApp.cpp 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 | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrImmediateDrawTarget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrImmediateDrawTarget.h
diff --git a/src/gpu/GrImmediateDrawTarget.h b/src/gpu/GrImmediateDrawTarget.h
deleted file mode 100644
index 4791de9841ee2c55eca897143248f2723a7ffde9..0000000000000000000000000000000000000000
--- a/src/gpu/GrImmediateDrawTarget.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 GrImmediateDrawTarget_DEFINED
-#define GrImmediateDrawTarget_DEFINED
-
-#include "GrDrawTarget.h"
-
-#include "GrBatchFlushState.h"
-
-/**
- * A debug GrDrawTarget which immediately flushes every command it receives
- */
-class GrImmediateDrawTarget : public GrClipTarget {
-public:
- /**
- * Creates a GrImmediateDrawTarget
- *
- * @param context the context object that owns this draw buffer.
- */
- GrImmediateDrawTarget(GrContext* context);
-
- ~GrImmediateDrawTarget() override;
-
-protected:
- void onDrawBatch(GrBatch*) override;
-
-private:
- void onReset() override;
- void onFlush() override;
-
- uint32_t fDrawID;
-
- typedef GrClipTarget INHERITED;
-};
-
-#endif
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrImmediateDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698