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

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

Issue 1436993002: Remove return bool in SurfaceOzoneEGL::OnSwapBuffersAsync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month 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_SURFACELESS_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_GBM_SURFACELESS_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_GBM_SURFACELESS_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_GBM_SURFACELESS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 18 matching lines...) Expand all
29 GbmSurfaceless(scoped_ptr<DrmWindowProxy> window, 29 GbmSurfaceless(scoped_ptr<DrmWindowProxy> window,
30 GbmSurfaceFactory* surface_manager); 30 GbmSurfaceFactory* surface_manager);
31 ~GbmSurfaceless() override; 31 ~GbmSurfaceless() override;
32 32
33 void QueueOverlayPlane(const OverlayPlane& plane); 33 void QueueOverlayPlane(const OverlayPlane& plane);
34 34
35 // SurfaceOzoneEGL: 35 // SurfaceOzoneEGL:
36 intptr_t GetNativeWindow() override; 36 intptr_t GetNativeWindow() override;
37 bool ResizeNativeWindow(const gfx::Size& viewport_size) override; 37 bool ResizeNativeWindow(const gfx::Size& viewport_size) override;
38 bool OnSwapBuffers() override; 38 bool OnSwapBuffers() override;
39 bool OnSwapBuffersAsync(const SwapCompletionCallback& callback) override; 39 void OnSwapBuffersAsync(const SwapCompletionCallback& callback) override;
40 scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() override; 40 scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() override;
41 bool IsUniversalDisplayLinkDevice() override; 41 bool IsUniversalDisplayLinkDevice() override;
42 42
43 protected: 43 protected:
44 scoped_ptr<DrmWindowProxy> window_; 44 scoped_ptr<DrmWindowProxy> window_;
45 45
46 GbmSurfaceFactory* surface_manager_; 46 GbmSurfaceFactory* surface_manager_;
47 47
48 std::vector<OverlayPlane> planes_; 48 std::vector<OverlayPlane> planes_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(GbmSurfaceless); 50 DISALLOW_COPY_AND_ASSIGN(GbmSurfaceless);
51 }; 51 };
52 52
53 } // namespace ui 53 } // namespace ui
54 54
55 #endif // UI_OZONE_PLATFORM_DRM_GPU_GBM_SURFACELESS_H_ 55 #endif // UI_OZONE_PLATFORM_DRM_GPU_GBM_SURFACELESS_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/cast/surface_ozone_egl_cast.cc ('k') | ui/ozone/platform/drm/gpu/gbm_surfaceless.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698