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

Unified Diff: include/gpu/GrAARectRenderer.h

Issue 16854012: Update Alligned Rect Shader to match geometry version (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 6 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 | « no previous file | src/gpu/GrAARectRenderer.cpp » ('j') | src/gpu/GrAARectRenderer.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrAARectRenderer.h
diff --git a/include/gpu/GrAARectRenderer.h b/include/gpu/GrAARectRenderer.h
index a19b07afcae2b31207d9a597decd2d6152950613..07093d86204ebb9c57fb9bd75f0aaf94a09c295e 100644
--- a/include/gpu/GrAARectRenderer.h
+++ b/include/gpu/GrAARectRenderer.h
@@ -44,7 +44,9 @@ public:
const SkMatrix& combinedMatrix,
const GrRect& devRect,
bool useVertexCoverage) {
+#define SHADER_AA_FILL_RECT 1
bsalomon 2013/06/13 14:27:51 Are we ready for this?
robertphillips 2013/06/13 17:45:52 Not yet.
#ifdef SHADER_AA_FILL_RECT
+
if (combinedMatrix.rectStaysRect()) {
this->shaderFillAlignedAARect(gpu, target,
rect, combinedMatrix);
« no previous file with comments | « no previous file | src/gpu/GrAARectRenderer.cpp » ('j') | src/gpu/GrAARectRenderer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698