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

Unified Diff: src/gpu/GrOptDrawState.h

Issue 732693002: Drawstate on stack (Closed) Base URL: https://skia.googlesource.com/skia.git@real_def_gp
Patch Set: ready 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/GrOptDrawState.h
diff --git a/src/gpu/GrOptDrawState.h b/src/gpu/GrOptDrawState.h
index cef32b615780151fe39cd0e725e2c9f03c7fc987..59c69af7e753e9e12c083e876a876aaaa718e1b8 100644
--- a/src/gpu/GrOptDrawState.h
+++ b/src/gpu/GrOptDrawState.h
@@ -30,8 +30,10 @@ public:
* Returns a snapshot of the current optimized state. The GrOptDrawState is reffed and ownership
* is given to the caller.
*/
- static GrOptDrawState* Create(const GrDrawState& drawState, GrGpu*,
- const GrDeviceCoordTexture* dstCopy, GrGpu::DrawType drawType);
+ static GrOptDrawState* Create(GrGpu*,
+ const GrDrawState& drawState,
+ const GrDeviceCoordTexture* dstCopy,
+ GrGpu::DrawType drawType);
bool operator== (const GrOptDrawState& that) const;
@@ -306,8 +308,8 @@ private:
* Constructs and optimized drawState out of a GrRODrawState.
*/
GrOptDrawState(const GrDrawState& drawState, BlendOptFlags blendOptFlags,
- GrBlendCoeff optSrcCoeff, GrBlendCoeff optDstCoeff,
- GrGpu*, const GrDeviceCoordTexture* dstCopy, GrGpu::DrawType);
+ GrBlendCoeff optSrcCoeff, GrBlendCoeff optDstCoeff, GrGpu*,
+ const GrDeviceCoordTexture* dstCopy, GrGpu::DrawType);
/**
* Loops through all the color stage effects to check if the stage will ignore color input or

Powered by Google App Engine
This is Rietveld 408576698