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

Side by Side Diff: src/gpu/SkGpuDevice.h

Issue 650273003: Change GrTextContext fallbacks to be a linked list chain. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix include Created 6 years, 2 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
« no previous file with comments | « src/gpu/GrTextContext.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2010 Google Inc. 3 * Copyright 2010 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 9
10 10
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic ture, 126 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic ture,
127 const SkMatrix*, const SkPaint*) SK_OV ERRIDE; 127 const SkMatrix*, const SkPaint*) SK_OV ERRIDE;
128 128
129 private: 129 private:
130 GrContext* fContext; 130 GrContext* fContext;
131 131
132 GrSkDrawProcs* fDrawProcs; 132 GrSkDrawProcs* fDrawProcs;
133 133
134 GrClipData fClipData; 134 GrClipData fClipData;
135 135
136 GrTextContext* fMainTextContext; 136 GrTextContext* fTextContext;
137 GrTextContext* fFallbackTextContext;
138 137
139 // state for our render-target 138 // state for our render-target
140 GrRenderTarget* fRenderTarget; 139 GrRenderTarget* fRenderTarget;
141 bool fNeedClear; 140 bool fNeedClear;
142 141
143 // remove when our clients don't rely on accessBitmap() 142 // remove when our clients don't rely on accessBitmap()
144 SkBitmap fLegacyBitmap; 143 SkBitmap fLegacyBitmap;
145 144
146 SkGpuDevice(GrSurface*, const SkSurfaceProps&, unsigned flags = 0); 145 SkGpuDevice(GrSurface*, const SkSurfaceProps&, unsigned flags = 0);
147 146
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 bool bicubic); 196 bool bicubic);
198 197
199 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); 198 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint);
200 199
201 static SkPicture::AccelData::Key ComputeAccelDataKey(); 200 static SkPicture::AccelData::Key ComputeAccelDataKey();
202 201
203 typedef SkBaseDevice INHERITED; 202 typedef SkBaseDevice INHERITED;
204 }; 203 };
205 204
206 #endif 205 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrTextContext.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698