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

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

Issue 148883011: Make SkImageFilter methods const. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: More fixes to gm/ Created 6 years, 10 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 | « include/effects/SkXfermodeImageFilter.h ('k') | include/pdf/SkPDFDevice.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 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 virtual void onAttachToCanvas(SkCanvas* canvas) SK_OVERRIDE; 125 virtual void onAttachToCanvas(SkCanvas* canvas) SK_OVERRIDE;
126 virtual void onDetachFromCanvas() SK_OVERRIDE; 126 virtual void onDetachFromCanvas() SK_OVERRIDE;
127 127
128 /** 128 /**
129 * Make's this device's rendertarget current in the underlying 3D API. 129 * Make's this device's rendertarget current in the underlying 3D API.
130 * Also implicitly flushes. 130 * Also implicitly flushes.
131 */ 131 */
132 virtual void makeRenderTargetCurrent(); 132 virtual void makeRenderTargetCurrent();
133 133
134 virtual bool canHandleImageFilter(SkImageFilter*) SK_OVERRIDE; 134 virtual bool canHandleImageFilter(const SkImageFilter*) SK_OVERRIDE;
135 virtual bool filterImage(SkImageFilter*, const SkBitmap&, const SkMatrix&, 135 virtual bool filterImage(const SkImageFilter*, const SkBitmap&, const SkMatr ix&,
136 SkBitmap*, SkIPoint*) SK_OVERRIDE; 136 SkBitmap*, SkIPoint*) SK_OVERRIDE;
137 137
138 class SkAutoCachedTexture; // used internally 138 class SkAutoCachedTexture; // used internally
139 139
140 protected: 140 protected:
141 // overrides from SkBaseDevice 141 // overrides from SkBaseDevice
142 virtual bool onReadPixels(const SkBitmap& bitmap, 142 virtual bool onReadPixels(const SkBitmap& bitmap,
143 int x, int y, 143 int x, int y,
144 SkCanvas::Config8888 config8888) SK_OVERRIDE; 144 SkCanvas::Config8888 config8888) SK_OVERRIDE;
145 145
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 const GrTextureParams& params, 209 const GrTextureParams& params,
210 const SkPaint& paint, 210 const SkPaint& paint,
211 SkCanvas::DrawBitmapRectFlags flags, 211 SkCanvas::DrawBitmapRectFlags flags,
212 int tileSize, 212 int tileSize,
213 bool bicubic); 213 bool bicubic);
214 214
215 typedef SkBitmapDevice INHERITED; 215 typedef SkBitmapDevice INHERITED;
216 }; 216 };
217 217
218 #endif 218 #endif
OLDNEW
« no previous file with comments | « include/effects/SkXfermodeImageFilter.h ('k') | include/pdf/SkPDFDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698