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

Unified Diff: ui/ozone/platform/drm/gpu/drm_surface_factory.cc

Issue 1345703002: ozone: Remove the "drm" software composited platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rm more bits Created 5 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 | « ui/ozone/platform/drm/gpu/drm_surface_factory.h ('k') | ui/ozone/platform/drm/gpu/drm_surface_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_surface_factory.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_surface_factory.cc b/ui/ozone/platform/drm/gpu/drm_surface_factory.cc
deleted file mode 100644
index fc64d2505f3371367216db5050b23cd272625646..0000000000000000000000000000000000000000
--- a/ui/ozone/platform/drm/gpu/drm_surface_factory.cc
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 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/ozone/platform/drm/gpu/drm_surface_factory.h"
-
-#include <errno.h>
-
-#include "ui/gfx/native_widget_types.h"
-#include "ui/ozone/platform/drm/common/drm_util.h"
-#include "ui/ozone/platform/drm/gpu/drm_surface.h"
-#include "ui/ozone/platform/drm/gpu/drm_window.h"
-#include "ui/ozone/platform/drm/gpu/hardware_display_controller.h"
-#include "ui/ozone/platform/drm/gpu/screen_manager.h"
-#include "ui/ozone/public/surface_ozone_canvas.h"
-
-namespace ui {
-
-DrmSurfaceFactory::DrmSurfaceFactory(ScreenManager* screen_manager)
- : screen_manager_(screen_manager) {
-}
-
-DrmSurfaceFactory::~DrmSurfaceFactory() {
-}
-
-scoped_ptr<ui::SurfaceOzoneCanvas> DrmSurfaceFactory::CreateCanvasForWidget(
- gfx::AcceleratedWidget widget) {
- DCHECK(thread_checker_.CalledOnValidThread());
- return make_scoped_ptr(new DrmSurface(screen_manager_->GetWindow(widget)));
-}
-
-bool DrmSurfaceFactory::LoadEGLGLES2Bindings(
- AddGLLibraryCallback add_gl_library,
- SetGLGetProcAddressProcCallback set_gl_get_proc_address) {
- DCHECK(thread_checker_.CalledOnValidThread());
- return false;
-}
-
-} // namespace ui
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_surface_factory.h ('k') | ui/ozone/platform/drm/gpu/drm_surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698