OLD | NEW |
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 #ifndef SkGpuDevice_DEFINED | 9 #ifndef SkGpuDevice_DEFINED |
10 #define SkGpuDevice_DEFINED | 10 #define SkGpuDevice_DEFINED |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 220 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
221 | 221 |
222 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c
onst SkImageInfo&, | 222 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c
onst SkImageInfo&, |
223 int sampleCount); | 223 int sampleCount); |
224 | 224 |
225 friend class GrAtlasTextContext; | 225 friend class GrAtlasTextContext; |
226 friend class GrTextContext; | 226 friend class GrTextContext; |
227 typedef SkBaseDevice INHERITED; | 227 typedef SkBaseDevice INHERITED; |
228 }; | 228 }; |
229 | 229 |
| 230 void GrWrapTextureInBitmap(GrTexture* src, int w, int h, bool isOpaque, SkBitmap
* dst); |
| 231 |
230 #endif | 232 #endif |
OLD | NEW |