Index: sky/compositor/rasterizer.h |
diff --git a/sky/compositor/rasterizer.h b/sky/compositor/rasterizer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7b1a4fad5a2d30724b4a8e10173fb87cbe1bd2fb |
--- /dev/null |
+++ b/sky/compositor/rasterizer.h |
@@ -0,0 +1,28 @@ |
+// Copyright 2015 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 SKY_COMPOSITOR_RASTERIZER_H_ |
+#define SKY_COMPOSITOR_RASTERIZER_H_ |
+ |
+#include "base/memory/scoped_ptr.h" |
+#include "mojo/gpu/gl_texture.h" |
+ |
+class SkPicture; |
+ |
+namespace sky { |
+ |
+class Rasterizer { |
+ public: |
+ Rasterizer(); |
+ virtual ~Rasterizer(); |
+ |
+ virtual scoped_ptr<mojo::GLTexture> Rasterize(SkPicture* picture) = 0; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(Rasterizer); |
+}; |
+ |
+} // namespace sky |
+ |
+#endif // SKY_COMPOSITOR_RASTERIZER_H_ |