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

Side by Side Diff: src/gpu/GrAAConvexPathRenderer.cpp

Issue 12965018: Move nested class GrDrawTarget::Caps out as GrDrawTargetCaps. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "GrAAConvexPathRenderer.h" 9 #include "GrAAConvexPathRenderer.h"
10 10
11 #include "GrContext.h" 11 #include "GrContext.h"
12 #include "GrDrawState.h" 12 #include "GrDrawState.h"
13 #include "GrDrawTargetCaps.h"
13 #include "GrPathUtils.h" 14 #include "GrPathUtils.h"
14 #include "SkString.h" 15 #include "SkString.h"
15 #include "SkStrokeRec.h" 16 #include "SkStrokeRec.h"
16 #include "SkTrace.h" 17 #include "SkTrace.h"
17 18
18 GrAAConvexPathRenderer::GrAAConvexPathRenderer() { 19 GrAAConvexPathRenderer::GrAAConvexPathRenderer() {
19 } 20 }
20 21
21 namespace { 22 namespace {
22 23
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 drawState->setVertexEdgeType(GrDrawState::kQuad_EdgeType); 504 drawState->setVertexEdgeType(GrDrawState::kQuad_EdgeType);
504 target->drawIndexed(kTriangles_GrPrimitiveType, 505 target->drawIndexed(kTriangles_GrPrimitiveType,
505 0, // start vertex 506 0, // start vertex
506 0, // start index 507 0, // start index
507 vCount, 508 vCount,
508 iCount); 509 iCount);
509 drawState->setVertexEdgeType(oldEdgeType); 510 drawState->setVertexEdgeType(oldEdgeType);
510 511
511 return true; 512 return true;
512 } 513 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698