OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SKIA_EXT_LAYER_ALLOCATOR_H |
| 6 #define SKIA_EXT_LAYER_ALLOCATOR_H |
| 7 |
| 8 // Include the platform-appropriate LayerAllocator header, which |
| 9 // coordinates PlatformCanvases with PlatformSurfaces. |
| 10 |
| 11 #if defined(WIN32) |
| 12 #include "skia/ext/layer_allocator_win.h" |
| 13 #elif defined(__APPLE__) |
| 14 #include "skia/ext/layer_allocator_mac.h" |
| 15 #elif defined(USE_CAIRO) |
| 16 #include "skia/ext/layer_allocator_cairo.h" |
| 17 #else |
| 18 #include "skia/ext/layer_allocator_skia.h" |
| 19 #endif |
| 20 |
| 21 #endif // SKIA_EXT_LAYER_ALLOCATOR_H |
| 22 |
OLD | NEW |