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

Unified Diff: include/gpu/GrPaint.h

Issue 808703006: remove view matrix from context (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: cleanups Created 6 years 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: include/gpu/GrPaint.h
diff --git a/include/gpu/GrPaint.h b/include/gpu/GrPaint.h
index 49b95b8449357e4872c78ee158549cca05363a2a..ca9f6781993bd3bdabd507f57399fba2c9544723 100644
--- a/include/gpu/GrPaint.h
+++ b/include/gpu/GrPaint.h
@@ -156,13 +156,6 @@ public:
*/
bool isOpaqueAndConstantColor(GrColor* constantColor) const;
-private:
-
- /**
- * Helper for isOpaque and isOpaqueAndConstantColor.
- */
- bool getOpaqueAndKnownColor(GrColor* solidColor, uint32_t* solidColorKnownComponents) const;
-
/**
* Called when the source coord system from which geometry is rendered changes. It ensures that
* the local coordinates seen by effects remains unchanged. oldToNew gives the transformation
@@ -199,6 +192,13 @@ private:
return true;
}
+private:
+
+ /**
bsalomon 2014/12/17 17:12:33 tx
+ * Helper for isOpaque and isOpaqueAndConstantColor.
+ */
+ bool getOpaqueAndKnownColor(GrColor* solidColor, uint32_t* solidColorKnownComponents) const;
+
friend class GrContext; // To access above two functions
friend class GrStencilAndCoverTextContext; // To access above two functions

Powered by Google App Engine
This is Rietveld 408576698