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

Unified Diff: ui/gfx/ozone/impl/buffer_generator_ozone.cc

Issue 26866006: [Ozone] Adding a software surface implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
Index: ui/gfx/ozone/impl/buffer_generator_ozone.cc
diff --git a/ui/gfx/ozone/impl/buffer_generator_ozone.cc b/ui/gfx/ozone/impl/buffer_generator_ozone.cc
new file mode 100644
index 0000000000000000000000000000000000000000..64e478e79bfbe3f628aa0a894b65fd614c245daa
--- /dev/null
+++ b/ui/gfx/ozone/impl/buffer_generator_ozone.cc
@@ -0,0 +1,21 @@
+// Copyright (c) 2013 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.
+
+#include "ui/gfx/ozone/impl/buffer_generator_ozone.h"
+
+#include "ui/gfx/ozone/impl/drm_skbitmap_ozone.h"
+
+namespace gfx {
+
+BufferGeneratorOzone::BufferGeneratorOzone() {
+}
+
+BufferGeneratorOzone::~BufferGeneratorOzone() {
+}
+
+DrmSkBitmapOzone* BufferGeneratorOzone::CreateBuffer(int fd) {
+ return new DrmSkBitmapOzone(fd);
+}
+
+} // namespace gfx

Powered by Google App Engine
This is Rietveld 408576698