| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 The Android Open Source Project | 2 * Copyright 2010 The Android Open Source Project |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef SkDevice_DEFINED | 8 #ifndef SkDevice_DEFINED |
| 9 #define SkDevice_DEFINED | 9 #define SkDevice_DEFINED |
| 10 | 10 |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 SkBaseDevice* createCompatibleDeviceForSaveLayer(const SkImageInfo&); | 373 SkBaseDevice* createCompatibleDeviceForSaveLayer(const SkImageInfo&); |
| 374 | 374 |
| 375 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) { | 375 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) { |
| 376 return NULL; | 376 return NULL; |
| 377 } | 377 } |
| 378 | 378 |
| 379 /** Causes any deferred drawing to the device to be completed. | 379 /** Causes any deferred drawing to the device to be completed. |
| 380 */ | 380 */ |
| 381 virtual void flush() {} | 381 virtual void flush() {} |
| 382 | 382 |
| 383 virtual SkImageFilter::UniqueIDCache* getImageFilterCache() { return NULL; } | 383 virtual SkImageFilter::Cache* getImageFilterCache() { return NULL; } |
| 384 | 384 |
| 385 SkIPoint fOrigin; | 385 SkIPoint fOrigin; |
| 386 SkMetaData* fMetaData; | 386 SkMetaData* fMetaData; |
| 387 | 387 |
| 388 #ifdef SK_DEBUG | 388 #ifdef SK_DEBUG |
| 389 bool fAttachedToCanvas; | 389 bool fAttachedToCanvas; |
| 390 #endif | 390 #endif |
| 391 | 391 |
| 392 typedef SkRefCnt INHERITED; | 392 typedef SkRefCnt INHERITED; |
| 393 }; | 393 }; |
| 394 | 394 |
| 395 #endif | 395 #endif |
| OLD | NEW |