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

Unified Diff: skia/ext/layer_allocator.h

Issue 2304273002: WIP RasterCanvasLayerAllocator experiment 2
Patch Set: update to Skia patchset 13 Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/ext/bitmap_platform_device_skia.cc ('k') | skia/ext/layer_allocator_cairo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/layer_allocator.h
diff --git a/skia/ext/layer_allocator.h b/skia/ext/layer_allocator.h
new file mode 100644
index 0000000000000000000000000000000000000000..41940c7f9c08d65eabd75acf4ea43f1e98b6698d
--- /dev/null
+++ b/skia/ext/layer_allocator.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef SKIA_EXT_LAYER_ALLOCATOR_H
+#define SKIA_EXT_LAYER_ALLOCATOR_H
+
+// Include the platform-appropriate LayerAllocator header, which
+// coordinates PlatformCanvases with PlatformSurfaces.
+
+#if defined(WIN32)
+#include "skia/ext/layer_allocator_win.h"
+#elif defined(__APPLE__)
+#include "skia/ext/layer_allocator_mac.h"
+#elif defined(USE_CAIRO)
+#include "skia/ext/layer_allocator_cairo.h"
+#else
+#include "skia/ext/layer_allocator_skia.h"
+#endif
+
+#endif // SKIA_EXT_LAYER_ALLOCATOR_H
+
« no previous file with comments | « skia/ext/bitmap_platform_device_skia.cc ('k') | skia/ext/layer_allocator_cairo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698