OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/ozone/platform/dri/dri_surface_factory.h" | 5 #include "ui/ozone/platform/dri/dri_surface_factory.h" |
6 | 6 |
7 #include <errno.h> | 7 #include <errno.h> |
8 | 8 |
9 #include "base/debug/trace_event.h" | 9 #include "base/trace_event/trace_event.h" |
10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
11 #include "ui/ozone/platform/dri/dri_surface.h" | 11 #include "ui/ozone/platform/dri/dri_surface.h" |
12 #include "ui/ozone/platform/dri/dri_util.h" | 12 #include "ui/ozone/platform/dri/dri_util.h" |
13 #include "ui/ozone/platform/dri/dri_window_delegate_impl.h" | 13 #include "ui/ozone/platform/dri/dri_window_delegate_impl.h" |
14 #include "ui/ozone/platform/dri/dri_window_delegate_manager.h" | 14 #include "ui/ozone/platform/dri/dri_window_delegate_manager.h" |
15 #include "ui/ozone/platform/dri/dri_wrapper.h" | 15 #include "ui/ozone/platform/dri/dri_wrapper.h" |
16 #include "ui/ozone/platform/dri/hardware_display_controller.h" | 16 #include "ui/ozone/platform/dri/hardware_display_controller.h" |
17 #include "ui/ozone/public/surface_ozone_canvas.h" | 17 #include "ui/ozone/public/surface_ozone_canvas.h" |
18 | 18 |
19 namespace ui { | 19 namespace ui { |
(...skipping 12 matching lines...) Expand all Loading... |
32 new DriSurface(window_manager_->GetWindowDelegate(widget), drm_)); | 32 new DriSurface(window_manager_->GetWindowDelegate(widget), drm_)); |
33 } | 33 } |
34 | 34 |
35 bool DriSurfaceFactory::LoadEGLGLES2Bindings( | 35 bool DriSurfaceFactory::LoadEGLGLES2Bindings( |
36 AddGLLibraryCallback add_gl_library, | 36 AddGLLibraryCallback add_gl_library, |
37 SetGLGetProcAddressProcCallback set_gl_get_proc_address) { | 37 SetGLGetProcAddressProcCallback set_gl_get_proc_address) { |
38 return false; | 38 return false; |
39 } | 39 } |
40 | 40 |
41 } // namespace ui | 41 } // namespace ui |
OLD | NEW |