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

Side by Side Diff: src/core/SkPictureFlat.h

Issue 138013009: Culling API (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Comments, formatting. 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 | Annotate | Revision Log
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 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 #ifndef SkPictureFlat_DEFINED 8 #ifndef SkPictureFlat_DEFINED
9 #define SkPictureFlat_DEFINED 9 #define SkPictureFlat_DEFINED
10 10
11 //#define SK_DEBUG_SIZE 11 //#define SK_DEBUG_SIZE
12 12
13 #include "SkBitmapHeap.h" 13 #include "SkBitmapHeap.h"
14 #include "SkChecksum.h" 14 #include "SkChecksum.h"
15 #include "SkChunkAlloc.h" 15 #include "SkChunkAlloc.h"
16 #include "SkReadBuffer.h" 16 #include "SkReadBuffer.h"
17 #include "SkWriteBuffer.h" 17 #include "SkWriteBuffer.h"
18 #include "SkPaint.h" 18 #include "SkPaint.h"
19 #include "SkPicture.h" 19 #include "SkPicture.h"
20 #include "SkPtrRecorder.h" 20 #include "SkPtrRecorder.h"
21 #include "SkTDynamicHash.h" 21 #include "SkTDynamicHash.h"
22 #include "SkTRefArray.h" 22 #include "SkTRefArray.h"
23 23
24 enum DrawType { 24 enum DrawType {
25 UNUSED, 25 UNUSED,
26 CLIP_PATH, 26 CLIP_PATH,
27 CLIP_REGION, 27 CLIP_REGION,
28 CLIP_RECT, 28 CLIP_RECT,
29 CLIP_RRECT, 29 CLIP_RRECT,
30 PUSH_CULL,
31 POP_CULL,
30 CONCAT, 32 CONCAT,
31 DRAW_BITMAP, 33 DRAW_BITMAP,
32 DRAW_BITMAP_MATRIX, 34 DRAW_BITMAP_MATRIX,
33 DRAW_BITMAP_NINE, 35 DRAW_BITMAP_NINE,
34 DRAW_BITMAP_RECT_TO_RECT, 36 DRAW_BITMAP_RECT_TO_RECT,
35 DRAW_CLEAR, 37 DRAW_CLEAR,
36 DRAW_DATA, 38 DRAW_DATA,
37 DRAW_OVAL, 39 DRAW_OVAL,
38 DRAW_PAINT, 40 DRAW_PAINT,
39 DRAW_PATH, 41 DRAW_PATH,
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 } 603 }
602 604
603 private: 605 private:
604 SkChunkAlloc fHeap; 606 SkChunkAlloc fHeap;
605 SkAutoTUnref<SkRefCntSet> fTypefaceSet; 607 SkAutoTUnref<SkRefCntSet> fTypefaceSet;
606 void* fLastAllocated; 608 void* fLastAllocated;
607 mutable SkTypefacePlayback fTypefacePlayback; 609 mutable SkTypefacePlayback fTypefacePlayback;
608 }; 610 };
609 611
610 #endif 612 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698