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

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

Issue 1598573002: Propagate supported scanout formats from driver to SurfaceFactoryOzone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread.cc ('k') | ui/ozone/platform/drm/gpu/drm_thread_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_DRM_THREAD_PROXY_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_PROXY_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_PROXY_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_PROXY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 15 matching lines...) Expand all
26 scoped_refptr<DrmThreadMessageProxy> CreateDrmThreadMessageProxy(); 26 scoped_refptr<DrmThreadMessageProxy> CreateDrmThreadMessageProxy();
27 27
28 scoped_ptr<DrmWindowProxy> CreateDrmWindowProxy( 28 scoped_ptr<DrmWindowProxy> CreateDrmWindowProxy(
29 gfx::AcceleratedWidget widget); 29 gfx::AcceleratedWidget widget);
30 30
31 scoped_refptr<GbmBuffer> CreateBuffer(gfx::AcceleratedWidget widget, 31 scoped_refptr<GbmBuffer> CreateBuffer(gfx::AcceleratedWidget widget,
32 const gfx::Size& size, 32 const gfx::Size& size,
33 gfx::BufferFormat format, 33 gfx::BufferFormat format,
34 gfx::BufferUsage usage); 34 gfx::BufferUsage usage);
35 35
36 void GetScanoutFormats(gfx::AcceleratedWidget widget,
37 std::vector<gfx::BufferFormat>* scanout_formats);
38
36 private: 39 private:
37 DrmThread drm_thread_; 40 DrmThread drm_thread_;
38 41
39 DISALLOW_COPY_AND_ASSIGN(DrmThreadProxy); 42 DISALLOW_COPY_AND_ASSIGN(DrmThreadProxy);
40 }; 43 };
41 44
42 } // namespace ui 45 } // namespace ui
43 46
44 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_PROXY_H_ 47 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread.cc ('k') | ui/ozone/platform/drm/gpu/drm_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698