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

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

Issue 251533004: First pass at GPU veto (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 8 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 SkPicturePlayback_DEFINED 8 #ifndef SkPicturePlayback_DEFINED
9 #define SkPicturePlayback_DEFINED 9 #define SkPicturePlayback_DEFINED
10 10
(...skipping 19 matching lines...) Expand all
30 class SkStream; 30 class SkStream;
31 class SkWStream; 31 class SkWStream;
32 class SkBBoxHierarchy; 32 class SkBBoxHierarchy;
33 class SkPictureStateTree; 33 class SkPictureStateTree;
34 34
35 struct SkPictInfo { 35 struct SkPictInfo {
36 enum Flags { 36 enum Flags {
37 kCrossProcess_Flag = 1 << 0, 37 kCrossProcess_Flag = 1 << 0,
38 kScalarIsFloat_Flag = 1 << 1, 38 kScalarIsFloat_Flag = 1 << 1,
39 kPtrIs64Bit_Flag = 1 << 2, 39 kPtrIs64Bit_Flag = 1 << 2,
40
41 kDummy_Flag,
42 kLastPublic_Flag = kDummy_Flag-1,
43
44 kAll_Mask = kCrossProcess_Flag |
45 kScalarIsFloat_Flag |
46 kPtrIs64Bit_Flag,
40 }; 47 };
41 48
42 char fMagic[8]; 49 char fMagic[8];
43 uint32_t fVersion; 50 uint32_t fVersion;
44 uint32_t fWidth; 51 uint32_t fWidth;
45 uint32_t fHeight; 52 uint32_t fHeight;
46 uint32_t fFlags; 53 uint32_t fFlags;
47 }; 54 };
48 55
49 #define SK_PICT_READER_TAG SkSetFourByteTag('r', 'e', 'a', 'd') 56 #define SK_PICT_READER_TAG SkSetFourByteTag('r', 'e', 'a', 'd')
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 static void WriteFactories(SkWStream* stream, const SkFactorySet& rec); 287 static void WriteFactories(SkWStream* stream, const SkFactorySet& rec);
281 static void WriteTypefaces(SkWStream* stream, const SkRefCntSet& rec); 288 static void WriteTypefaces(SkWStream* stream, const SkRefCntSet& rec);
282 289
283 #ifdef SK_BUILD_FOR_ANDROID 290 #ifdef SK_BUILD_FOR_ANDROID
284 SkMutex fDrawMutex; 291 SkMutex fDrawMutex;
285 bool fAbortCurrentPlayback; 292 bool fAbortCurrentPlayback;
286 #endif 293 #endif
287 }; 294 };
288 295
289 #endif 296 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698