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

Side by Side Diff: ui/ozone/platform/dri/gbm_surface_factory.cc

Issue 400283002: [Ozone-GBM] Migrate GBM buffers to use the ScanoutBuffer interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/ozone/platform/dri/gbm_surface.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/gbm_surface_factory.h" 5 #include "ui/ozone/platform/dri/gbm_surface_factory.h"
6 6
7 #include <EGL/egl.h> 7 #include <EGL/egl.h>
8 #include <gbm.h> 8 #include <gbm.h>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "ui/ozone/platform/dri/buffer_data.h"
12 #include "ui/ozone/platform/dri/dri_vsync_provider.h" 11 #include "ui/ozone/platform/dri/dri_vsync_provider.h"
13 #include "ui/ozone/platform/dri/gbm_buffer.h" 12 #include "ui/ozone/platform/dri/gbm_buffer.h"
14 #include "ui/ozone/platform/dri/gbm_surface.h" 13 #include "ui/ozone/platform/dri/gbm_surface.h"
15 #include "ui/ozone/platform/dri/hardware_display_controller.h" 14 #include "ui/ozone/platform/dri/hardware_display_controller.h"
16 #include "ui/ozone/platform/dri/scanout_surface.h" 15 #include "ui/ozone/platform/dri/scanout_surface.h"
17 #include "ui/ozone/platform/dri/screen_manager.h" 16 #include "ui/ozone/platform/dri/screen_manager.h"
18 #include "ui/ozone/public/native_pixmap.h" 17 #include "ui/ozone/public/native_pixmap.h"
19 #include "ui/ozone/public/surface_ozone_egl.h" 18 #include "ui/ozone/public/surface_ozone_egl.h"
20 19
21 namespace ui { 20 namespace ui {
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 return NULL; 193 return NULL;
195 } 194 }
196 return buf; 195 return buf;
197 } 196 }
198 197
199 bool GbmSurfaceFactory::CanShowPrimaryPlaneAsOverlay() { 198 bool GbmSurfaceFactory::CanShowPrimaryPlaneAsOverlay() {
200 return allow_surfaceless_; 199 return allow_surfaceless_;
201 } 200 }
202 201
203 } // namespace ui 202 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/gbm_surface.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698