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

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

Issue 153993003: remove kGpu_Capability (unused) (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 * draw into this device such that all of the pixels will 52 * draw into this device such that all of the pixels will
53 * be opaque. 53 * be opaque.
54 */ 54 */
55 SkBaseDevice* createCompatibleDevice(SkBitmap::Config config, 55 SkBaseDevice* createCompatibleDevice(SkBitmap::Config config,
56 int width, int height, 56 int width, int height,
57 bool isOpaque); 57 bool isOpaque);
58 58
59 SkMetaData& getMetaData(); 59 SkMetaData& getMetaData();
60 60
61 enum Capabilities { 61 enum Capabilities {
62 kGL_Capability = 0x1, //!< mask indicating GL support 62 kVector_Capability = 0x1, //!< mask indicating a vector representation
63 kVector_Capability = 0x2, //!< mask indicating a vector representation
64 kAll_Capabilities = 0x3
65 }; 63 };
66 virtual uint32_t getDeviceCapabilities() = 0; 64 virtual uint32_t getDeviceCapabilities() = 0;
67 65
68 /** Return the width of the device (in pixels). 66 /** Return the width of the device (in pixels).
69 */ 67 */
70 virtual int width() const = 0; 68 virtual int width() const = 0;
71 /** Return the height of the device (in pixels). 69 /** Return the height of the device (in pixels).
72 */ 70 */
73 virtual int height() const = 0; 71 virtual int height() const = 0;
74 72
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 SkMetaData* fMetaData; 414 SkMetaData* fMetaData;
417 415
418 #ifdef SK_DEBUG 416 #ifdef SK_DEBUG
419 bool fAttachedToCanvas; 417 bool fAttachedToCanvas;
420 #endif 418 #endif
421 419
422 typedef SkRefCnt INHERITED; 420 typedef SkRefCnt INHERITED;
423 }; 421 };
424 422
425 #endif 423 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698