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

Unified Diff: src/gpu/GrDrawTarget.h

Issue 739673002: Create GrOptDrawState before recording draw in GrInOrderDrawBuffer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more Created 6 years, 1 month 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
Index: src/gpu/GrDrawTarget.h
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index a41fc43ea4675d36f5a8e4b59a710b0cfccd62eb..ae31222f3c31444a48ed5f0895aeedd24f46cf17 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -595,11 +595,6 @@ public:
bool programUnitTest(int maxStages);
protected:
- // Extend access to GrDrawState::convertToPEndeingExec to subclasses.
- void convertDrawStateToPendingExec(GrDrawState* ds) {
- ds->convertToPendingExec();
- }
-
enum GeometrySrcType {
kNone_GeometrySrcType, //<! src has not been specified
kReserved_GeometrySrcType, //<! src was set using reserve*Space

Powered by Google App Engine
This is Rietveld 408576698