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

Unified Diff: src/gpu/GrPendingFragmentStage.h

Issue 812063002: Change to create device coord coordset (Closed) Base URL: https://skia.googlesource.com/skia.git@vm-off-context
Patch Set: 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: src/gpu/GrPendingFragmentStage.h
diff --git a/src/gpu/GrPendingFragmentStage.h b/src/gpu/GrPendingFragmentStage.h
index 6c61029eca5a4767b4946754af22c0893ba2839f..f3cafff560b075d63ed947cc87aab9e7e05e67fb 100644
--- a/src/gpu/GrPendingFragmentStage.h
+++ b/src/gpu/GrPendingFragmentStage.h
@@ -48,7 +48,8 @@ public:
bool isPerspectiveCoordTransform(int matrixIndex) const {
const GrCoordTransform& coordTransform = this->getProcessor()->coordTransform(matrixIndex);
uint32_t type = coordTransform.getMatrix().getType();
- if (kLocal_GrCoordSet == coordTransform.sourceCoords()) {
+ if (kLocal_GrCoordSet == coordTransform.sourceCoords() ||
+ kDevice_GrCoordSet == coordTransform.sourceCoords()) {
bsalomon 2014/12/17 19:45:28 This is backwards... don't want to look at ccm if
type |= this->getCoordChangeMatrix().getType();
}

Powered by Google App Engine
This is Rietveld 408576698