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

Side by Side Diff: include/gpu/GrTextContext.h

Issue 19449002: Replace all instances of GrRect with SkRect. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 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
« no previous file with comments | « include/gpu/GrRenderTarget.h ('k') | include/gpu/SkGr.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1
2 /* 1 /*
3 * Copyright 2010 Google Inc. 2 * Copyright 2010 Google Inc.
4 * 3 *
5 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 7
9
10
11 #ifndef GrTextContext_DEFINED 8 #ifndef GrTextContext_DEFINED
12 #define GrTextContext_DEFINED 9 #define GrTextContext_DEFINED
13 10
14 #include "GrContext.h" 11 #include "GrContext.h"
15 #include "GrGlyph.h" 12 #include "GrGlyph.h"
16 #include "GrPaint.h" 13 #include "GrPaint.h"
17 14
18 class GrContext; 15 class GrContext;
19 class GrTextStrike; 16 class GrTextStrike;
20 class GrFontScaler; 17 class GrFontScaler;
(...skipping 25 matching lines...) Expand all
46 kDefaultRequestedGlyphs = 64, 43 kDefaultRequestedGlyphs = 64,
47 kMinRequestedVerts = kMinRequestedGlyphs * 4, 44 kMinRequestedVerts = kMinRequestedGlyphs * 4,
48 kDefaultRequestedVerts = kDefaultRequestedGlyphs * 4, 45 kDefaultRequestedVerts = kDefaultRequestedGlyphs * 4,
49 }; 46 };
50 47
51 SkPoint* fVertices; 48 SkPoint* fVertices;
52 int32_t fMaxVertices; 49 int32_t fMaxVertices;
53 GrTexture* fCurrTexture; 50 GrTexture* fCurrTexture;
54 int fCurrVertex; 51 int fCurrVertex;
55 52
56 GrIRect fClipRect; 53 SkIRect fClipRect;
57 GrContext::AutoMatrix fAutoMatrix; 54 GrContext::AutoMatrix fAutoMatrix;
58 }; 55 };
59 56
60 #endif 57 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrRenderTarget.h ('k') | include/gpu/SkGr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698