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

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

Issue 204903002: Fix accessBitmap() with deferred clear, GPU path. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 const SkPaint&) SK_OVERRIDE; 123 const SkPaint&) SK_OVERRIDE;
124 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, 124 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y,
125 const SkPaint&) SK_OVERRIDE; 125 const SkPaint&) SK_OVERRIDE;
126 virtual bool filterTextFlags(const SkPaint&, TextFlags*) SK_OVERRIDE; 126 virtual bool filterTextFlags(const SkPaint&, TextFlags*) SK_OVERRIDE;
127 127
128 virtual void flush() SK_OVERRIDE; 128 virtual void flush() SK_OVERRIDE;
129 129
130 virtual void onAttachToCanvas(SkCanvas* canvas) SK_OVERRIDE; 130 virtual void onAttachToCanvas(SkCanvas* canvas) SK_OVERRIDE;
131 virtual void onDetachFromCanvas() SK_OVERRIDE; 131 virtual void onDetachFromCanvas() SK_OVERRIDE;
132 132
133 virtual const SkBitmap& onAccessBitmap() SK_OVERRIDE;
134
133 /** 135 /**
134 * Make's this device's rendertarget current in the underlying 3D API. 136 * Make's this device's rendertarget current in the underlying 3D API.
135 * Also implicitly flushes. 137 * Also implicitly flushes.
136 */ 138 */
137 virtual void makeRenderTargetCurrent(); 139 virtual void makeRenderTargetCurrent();
138 140
139 virtual bool canHandleImageFilter(const SkImageFilter*) SK_OVERRIDE; 141 virtual bool canHandleImageFilter(const SkImageFilter*) SK_OVERRIDE;
140 virtual bool filterImage(const SkImageFilter*, const SkBitmap&, 142 virtual bool filterImage(const SkImageFilter*, const SkBitmap&,
141 const SkImageFilter::Context&, 143 const SkImageFilter::Context&,
142 SkBitmap*, SkIPoint*) SK_OVERRIDE; 144 SkBitmap*, SkIPoint*) SK_OVERRIDE;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 SkCanvas::DrawBitmapRectFlags flags, 222 SkCanvas::DrawBitmapRectFlags flags,
221 int tileSize, 223 int tileSize,
222 bool bicubic); 224 bool bicubic);
223 225
224 static SkPicture::AccelData::Key ComputeAccelDataKey(); 226 static SkPicture::AccelData::Key ComputeAccelDataKey();
225 227
226 typedef SkBitmapDevice INHERITED; 228 typedef SkBitmapDevice INHERITED;
227 }; 229 };
228 230
229 #endif 231 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698