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

Unified Diff: skia/ext/cdl_common.h

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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/cdl_canvas.cc ('k') | skia/ext/cdl_no_draw_canvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/cdl_common.h
diff --git a/skia/ext/cdl_common.h b/skia/ext/cdl_common.h
new file mode 100644
index 0000000000000000000000000000000000000000..dd7ec086f03c7f956a9d63148f8c29674501f76a
--- /dev/null
+++ b/skia/ext/cdl_common.h
@@ -0,0 +1,55 @@
+/*
+ * Copyright 2016 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef SKIA_EXT_CDL_CONFIG_H_
+#define SKIA_EXT_CDL_CONFIG_H_
+
+#define CDL_ENABLED 1
+
+#if CDL_ENABLED
+
+class CdlAutoCanvasRestore;
+class CdlCanvas;
+class CdlNoDrawCanvas;
+class CdlPassThroughCanvas;
+class CdlPaint;
+class CdlPicture;
+class CdlPictureRecorder;
+class CdlShader;
+class CdlSurface;
+
+#else
+
+class SkAutoCanvasRestore;
+typedef SkAutoCanvasRestore CdlAutoCanvasRestore;
+
+class SkCanvas;
+typedef SkCanvas CdlCanvas;
+
+class SkNoDrawCanvas;
+typedef SkNoDrawCanvas CdlNoDrawCanvas;
+
+class CdlPassThroughCanvas;
+
+class SkPaint;
+typedef SkPaint CdlPaint;
+
+class SkPicture;
+typedef SkPicture CdlPicture;
+
+class SkPictureRecorder;
+typedef SkPictureRecorder CdlPictureRecorder;
+
+class SkShader;
+typedef SkShader CdlShader;
+
+class SkSurface;
+typedef SkSurface CdlSurface;
+
+#endif
+
+#endif // SKIA_EXT_CDL_CONFIG_H_
« no previous file with comments | « skia/ext/cdl_canvas.cc ('k') | skia/ext/cdl_no_draw_canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698