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

Unified Diff: src/gpu/GrContext.cpp

Issue 14314004: Axis aligned shader-based rect drawing (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Addressed code review issues (renaming & API change) Created 7 years, 8 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/GrClipMaskManager.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrContext.cpp
===================================================================
--- src/gpu/GrContext.cpp (revision 8955)
+++ src/gpu/GrContext.cpp (working copy)
@@ -807,14 +807,9 @@
strokeSize, useVertexCoverage);
} else {
// filled AA rect
-#ifdef SHADER_AA_FILL_RECT
- fAARectRenderer->shaderFillAARect(this->getGpu(), target,
- rect, combinedMatrix, devRect,
- useVertexCoverage);
-#else
fAARectRenderer->fillAARect(this->getGpu(), target,
- devRect, useVertexCoverage);
-#endif
+ rect, combinedMatrix, devRect,
+ useVertexCoverage);
}
return;
}
« no previous file with comments | « src/gpu/GrClipMaskManager.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698