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 | 9 |
10 | 10 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
127 protected: | 127 protected: |
128 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV ERRIDE; | 128 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV ERRIDE; |
129 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int ) SK_OVERRIDE; | 129 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int ) SK_OVERRIDE; |
130 bool onShouldDisableLCD(const SkPaint&) const SK_OVERRIDE; | 130 bool onShouldDisableLCD(const SkPaint&) const SK_OVERRIDE; |
131 | 131 |
132 /** PRIVATE / EXPERIMENTAL -- do not call */ | 132 /** PRIVATE / EXPERIMENTAL -- do not call */ |
133 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic ture, | 133 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic ture, |
134 const SkMatrix*, const SkPaint*) SK_OV ERRIDE; | 134 const SkMatrix*, const SkPaint*) SK_OV ERRIDE; |
135 | 135 |
136 private: | 136 private: |
137 friend class GrLayerHoister; | |
bsalomon
2014/12/10 18:54:20
can the filter function be moved somewhere else? W
robertphillips
2014/12/10 19:16:10
Done.
| |
138 | |
137 GrContext* fContext; | 139 GrContext* fContext; |
138 | 140 |
139 GrSkDrawProcs* fDrawProcs; | 141 GrSkDrawProcs* fDrawProcs; |
140 | 142 |
141 GrClipData fClipData; | 143 GrClipData fClipData; |
142 | 144 |
143 GrTextContext* fTextContext; | 145 GrTextContext* fTextContext; |
144 | 146 |
145 // state for our render-target | 147 // state for our render-target |
146 GrRenderTarget* fRenderTarget; | 148 GrRenderTarget* fRenderTarget; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
206 bool filterTexture(GrContext*, GrTexture*, const SkImageFilter*, | 208 bool filterTexture(GrContext*, GrTexture*, const SkImageFilter*, |
207 const SkImageFilter::Context&, | 209 const SkImageFilter::Context&, |
208 SkBitmap* result, SkIPoint* offset); | 210 SkBitmap* result, SkIPoint* offset); |
209 | 211 |
210 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 212 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
211 | 213 |
212 typedef SkBaseDevice INHERITED; | 214 typedef SkBaseDevice INHERITED; |
213 }; | 215 }; |
214 | 216 |
215 #endif | 217 #endif |
OLD | NEW |