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

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

Issue 261663003: First pass at pre-rendering saveLayers for GPU (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Reduce size of PlaybackReplacements in SkPicturePlayback.h Created 6 years, 7 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/core/SkPicturePlayback.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 2007 The Android Open Source Project 3 * Copyright 2007 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 SkPicture_DEFINED 10 #ifndef SkPicture_DEFINED
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 */ 470 */
471 size_t EXPERIMENTAL_curOpID() const; 471 size_t EXPERIMENTAL_curOpID() const;
472 472
473 void createHeader(SkPictInfo* info) const; 473 void createHeader(SkPictInfo* info) const;
474 static bool IsValidPictInfo(const SkPictInfo& info); 474 static bool IsValidPictInfo(const SkPictInfo& info);
475 475
476 friend class SkFlatPicture; 476 friend class SkFlatPicture;
477 friend class SkPicturePlayback; 477 friend class SkPicturePlayback;
478 friend class SkPictureRecorder; 478 friend class SkPictureRecorder;
479 friend class SkGpuDevice; 479 friend class SkGpuDevice;
480 friend class GrGatherCanvas;
480 friend class GrGatherDevice; 481 friend class GrGatherDevice;
481 friend class SkDebugCanvas; 482 friend class SkDebugCanvas;
482 483
483 typedef SkRefCnt INHERITED; 484 typedef SkRefCnt INHERITED;
484 }; 485 };
485 486
486 /** 487 /**
487 * Subclasses of this can be passed to canvas.drawPicture. During the drawing 488 * Subclasses of this can be passed to canvas.drawPicture. During the drawing
488 * of the picture, this callback will periodically be invoked. If its 489 * of the picture, this callback will periodically be invoked. If its
489 * abortDrawing() returns true, then picture playback will be interrupted. 490 * abortDrawing() returns true, then picture playback will be interrupted.
(...skipping 24 matching lines...) Expand all
514 typedef SkRefCnt INHERITED; 515 typedef SkRefCnt INHERITED;
515 }; 516 };
516 517
517 #endif 518 #endif
518 519
519 #ifdef SK_SUPPORT_LEGACY_PICTURE_HEADERS 520 #ifdef SK_SUPPORT_LEGACY_PICTURE_HEADERS
520 #include "SkPictureRecorder.h" 521 #include "SkPictureRecorder.h"
521 #endif 522 #endif
522 523
523 #endif 524 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkPicturePlayback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698