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

Side by Side Diff: include/core/SkDevice.h

Issue 212933002: Actually identify required saveLayers in SkGpuDevice::EXPERIMENTAL_drawPicture (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Addressed code review issue 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 | « gyp/gpu.gypi ('k') | include/gpu/GrClipData.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 The Android Open Source Project 3 * Copyright 2010 The Android Open Source Project
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 #ifndef SkDevice_DEFINED 10 #ifndef SkDevice_DEFINED
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 /** 376 /**
377 * PRIVATE / EXPERIMENTAL -- do not call 377 * PRIVATE / EXPERIMENTAL -- do not call
378 * This entry point gives the backend an opportunity to take over the rende ring 378 * This entry point gives the backend an opportunity to take over the rende ring
379 * of 'picture'. If optimization data is available (due to an earlier 379 * of 'picture'. If optimization data is available (due to an earlier
380 * 'optimize' call) this entry point should make use of it and return true 380 * 'optimize' call) this entry point should make use of it and return true
381 * if all rendering has been done. If false is returned, SkCanvas will 381 * if all rendering has been done. If false is returned, SkCanvas will
382 * perform its own rendering pass. It is acceptable for the backend 382 * perform its own rendering pass. It is acceptable for the backend
383 * to perform some device-specific warm up tasks and then let SkCanvas 383 * to perform some device-specific warm up tasks and then let SkCanvas
384 * perform the main rendering loop (by return false from here). 384 * perform the main rendering loop (by return false from here).
385 */ 385 */
386 virtual bool EXPERIMENTAL_drawPicture(const SkPicture& picture); 386 virtual bool EXPERIMENTAL_drawPicture(SkPicture* picture);
387 387
388 private: 388 private:
389 friend class SkCanvas; 389 friend class SkCanvas;
390 friend struct DeviceCM; //for setMatrixClip 390 friend struct DeviceCM; //for setMatrixClip
391 friend class SkDraw; 391 friend class SkDraw;
392 friend class SkDrawIter; 392 friend class SkDrawIter;
393 friend class SkDeviceFilteredPaint; 393 friend class SkDeviceFilteredPaint;
394 friend class SkDeviceImageFilterProxy; 394 friend class SkDeviceImageFilterProxy;
395 friend class SkDeferredDevice; // for newSurface 395 friend class SkDeferredDevice; // for newSurface
396 396
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 SkMetaData* fMetaData; 431 SkMetaData* fMetaData;
432 432
433 #ifdef SK_DEBUG 433 #ifdef SK_DEBUG
434 bool fAttachedToCanvas; 434 bool fAttachedToCanvas;
435 #endif 435 #endif
436 436
437 typedef SkRefCnt INHERITED; 437 typedef SkRefCnt INHERITED;
438 }; 438 };
439 439
440 #endif 440 #endif
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/GrClipData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698