Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(65)

Unified Diff: src/gpu/GrDefaultTextContext.cpp

Issue 6337050: Default to using position for texture coordinates (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Respond to review Created 12 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrDefaultPathRenderer.cpp ('k') | src/gpu/GrDrawTarget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDefaultTextContext.cpp
===================================================================
--- src/gpu/GrDefaultTextContext.cpp (revision 4314)
+++ src/gpu/GrDefaultTextContext.cpp (working copy)
@@ -138,17 +138,6 @@
fVertexLayout =
GrDrawTarget::kTextFormat_VertexLayoutBit |
GrDrawTarget::StageTexCoordVertexLayoutBit(kGlyphMaskStage, 0);
-
- int stageMask = paint.getActiveStageMask();
- if (stageMask) {
- for (int i = 0; i < GrPaint::kTotalStages; ++i) {
- if ((1 << i) & stageMask) {
- fVertexLayout |=
- GrDrawTarget::StagePosAsTexCoordVertexLayoutBit(i);
- GrAssert(i != kGlyphMaskStage);
- }
- }
- }
}
void GrDefaultTextContext::finish() {
« no previous file with comments | « src/gpu/GrDefaultPathRenderer.cpp ('k') | src/gpu/GrDrawTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b