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

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

Issue 2110213002: Revert of Add format modifier IDs for EGL_EXT_image_dma_buf_import extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« 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 <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 20 matching lines...) Expand all
31 31
32 scoped_refptr<GbmBuffer> CreateBuffer(gfx::AcceleratedWidget widget, 32 scoped_refptr<GbmBuffer> CreateBuffer(gfx::AcceleratedWidget widget,
33 const gfx::Size& size, 33 const gfx::Size& size,
34 gfx::BufferFormat format, 34 gfx::BufferFormat format,
35 gfx::BufferUsage usage); 35 gfx::BufferUsage usage);
36 36
37 scoped_refptr<GbmBuffer> CreateBufferFromFds( 37 scoped_refptr<GbmBuffer> CreateBufferFromFds(
38 const gfx::Size& size, 38 const gfx::Size& size,
39 gfx::BufferFormat format, 39 gfx::BufferFormat format,
40 std::vector<base::ScopedFD>&& fds, 40 std::vector<base::ScopedFD>&& fds,
41 const std::vector<gfx::NativePixmapPlane>& planes); 41 std::vector<int> strides,
42 std::vector<int> offsets);
42 43
43 void GetScanoutFormats(gfx::AcceleratedWidget widget, 44 void GetScanoutFormats(gfx::AcceleratedWidget widget,
44 std::vector<gfx::BufferFormat>* scanout_formats); 45 std::vector<gfx::BufferFormat>* scanout_formats);
45 46
46 private: 47 private:
47 DrmThread drm_thread_; 48 DrmThread drm_thread_;
48 49
49 DISALLOW_COPY_AND_ASSIGN(DrmThreadProxy); 50 DISALLOW_COPY_AND_ASSIGN(DrmThreadProxy);
50 }; 51 };
51 52
52 } // namespace ui 53 } // namespace ui
53 54
54 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_PROXY_H_ 55 #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