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

Side by Side Diff: ui/ozone/platform/drm/gpu/gbm_buffer.h

Issue 1311043016: Switch DRM platform to using a separate thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mv-drm-calls-on-thread2
Patch Set: update & fix clang Created 5 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 unified diff | Download patch
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 #ifndef UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "ui/gfx/buffer_types.h" 9 #include "ui/gfx/buffer_types.h"
11 #include "ui/gfx/geometry/size.h" 10 #include "ui/gfx/geometry/size.h"
12 #include "ui/ozone/platform/drm/gpu/gbm_buffer_base.h" 11 #include "ui/ozone/platform/drm/gpu/gbm_buffer_base.h"
13 #include "ui/ozone/public/native_pixmap.h" 12 #include "ui/ozone/public/native_pixmap.h"
14 13
15 struct gbm_bo; 14 struct gbm_bo;
16 15
17 namespace ui { 16 namespace ui {
18 17
19 class GbmDevice; 18 class GbmDevice;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 GbmSurfaceFactory* surface_manager_; 71 GbmSurfaceFactory* surface_manager_;
73 72
74 ScalingCallback scaling_callback_; 73 ScalingCallback scaling_callback_;
75 74
76 DISALLOW_COPY_AND_ASSIGN(GbmPixmap); 75 DISALLOW_COPY_AND_ASSIGN(GbmPixmap);
77 }; 76 };
78 77
79 } // namespace ui 78 } // namespace ui
80 79
81 #endif // UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_ 80 #endif // UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_window_unittest.cc ('k') | ui/ozone/platform/drm/gpu/gbm_surface_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698