diff options
author | 2013-01-28 20:39:48 +0000 | |
---|---|---|
committer | 2013-01-28 20:39:48 +0000 | |
commit | cc78238f0b6aa1a7b3fc767758d9eeef4c1bffa9 (patch) | |
tree | 96dacf37b1f15203df306a2427d36deaa97dded2 /src/gpu/GrTextContext.cpp | |
parent | 4991b8f23482afc1494fd17647421ce68de53331 (diff) |
Move vertex layout definitions from GrDrawTarget to GrDrawState.
This is the first step in revising vertex layouts so that the currently
installed GrEffects determine the current vertex layout.
https://codereview.appspot.com/7235051/
git-svn-id: http://skia.googlecode.com/svn/trunk@7423 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrTextContext.cpp')
-rw-r--r-- | src/gpu/GrTextContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp index beb3f91f6b..206f4ca3fb 100644 --- a/src/gpu/GrTextContext.cpp +++ b/src/gpu/GrTextContext.cpp @@ -95,8 +95,8 @@ GrTextContext::GrTextContext(GrContext* context, const GrPaint& paint) : fPaint( fMaxVertices = 0; fVertexLayout = - GrDrawTarget::kTextFormat_VertexLayoutBit | - GrDrawTarget::StageTexCoordVertexLayoutBit(kGlyphMaskStage, 0); + GrDrawState::kTextFormat_VertexLayoutBit | + GrDrawState::StageTexCoordVertexLayoutBit(kGlyphMaskStage, 0); } GrTextContext::~GrTextContext() { |