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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 virtual bool canHandleImageFilter(const SkImageFilter*) SK_OVERRIDE; | 114 virtual bool canHandleImageFilter(const SkImageFilter*) SK_OVERRIDE; |
115 virtual bool filterImage(const SkImageFilter*, const SkBitmap&, | 115 virtual bool filterImage(const SkImageFilter*, const SkBitmap&, |
116 const SkImageFilter::Context&, | 116 const SkImageFilter::Context&, |
117 SkBitmap*, SkIPoint*) SK_OVERRIDE; | 117 SkBitmap*, SkIPoint*) SK_OVERRIDE; |
118 | 118 |
119 protected: | 119 protected: |
120 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV
ERRIDE; | 120 virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OV
ERRIDE; |
121 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int
) SK_OVERRIDE; | 121 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int
) SK_OVERRIDE; |
122 | 122 |
123 /** PRIVATE / EXPERIMENTAL -- do not call */ | 123 /** PRIVATE / EXPERIMENTAL -- do not call */ |
124 virtual void EXPERIMENTAL_optimize(const SkPicture* picture) SK_OVERRIDE; | |
125 /** PRIVATE / EXPERIMENTAL -- do not call */ | |
126 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic
ture, | 124 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic
ture, |
127 const SkMatrix*, const SkPaint*) SK_OV
ERRIDE; | 125 const SkMatrix*, const SkPaint*) SK_OV
ERRIDE; |
128 | 126 |
129 private: | 127 private: |
130 GrContext* fContext; | 128 GrContext* fContext; |
131 | 129 |
132 GrSkDrawProcs* fDrawProcs; | 130 GrSkDrawProcs* fDrawProcs; |
133 | 131 |
134 GrClipData fClipData; | 132 GrClipData fClipData; |
135 | 133 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 bool bicubic); | 194 bool bicubic); |
197 | 195 |
198 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 196 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
199 | 197 |
200 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 198 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
201 | 199 |
202 typedef SkBaseDevice INHERITED; | 200 typedef SkBaseDevice INHERITED; |
203 }; | 201 }; |
204 | 202 |
205 #endif | 203 #endif |
OLD | NEW |