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

Side by Side Diff: ui/ozone/platform/drm/host/drm_overlay_manager.h

Issue 2122303003: Remove kOzoneTestSingleOverlaySupport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation. 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_HOST_DRM_OVERLAY_MANAGER_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_DRM_OVERLAY_MANAGER_H_
6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_OVERLAY_MANAGER_H_ 6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_OVERLAY_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 gfx::AcceleratedWidget widget); 42 gfx::AcceleratedWidget widget);
43 43
44 private: 44 private:
45 void SendOverlayValidationRequest( 45 void SendOverlayValidationRequest(
46 const std::vector<OverlayCheck_Params>& new_params, 46 const std::vector<OverlayCheck_Params>& new_params,
47 gfx::AcceleratedWidget widget) const; 47 gfx::AcceleratedWidget widget) const;
48 bool CanHandleCandidate( 48 bool CanHandleCandidate(
49 const OverlayCandidatesOzone::OverlaySurfaceCandidate& candidate, 49 const OverlayCandidatesOzone::OverlaySurfaceCandidate& candidate,
50 gfx::AcceleratedWidget widget) const; 50 gfx::AcceleratedWidget widget) const;
51 51
52 bool is_supported_;
53 GpuThreadAdapter* proxy_; // Not owned. 52 GpuThreadAdapter* proxy_; // Not owned.
54 DrmWindowHostManager* window_manager_; // Not owned. 53 DrmWindowHostManager* window_manager_; // Not owned.
55 54
56 // List of all OverlayCheck_Params which have been validated in GPU side. 55 // List of all OverlayCheck_Params which have been validated in GPU side.
57 // Value is set to true if we are waiting for validation results from GPU. 56 // Value is set to true if we are waiting for validation results from GPU.
58 base::MRUCache<std::vector<OverlayCheck_Params>, bool> cache_; 57 base::MRUCache<std::vector<OverlayCheck_Params>, bool> cache_;
59 58
60 DISALLOW_COPY_AND_ASSIGN(DrmOverlayManager); 59 DISALLOW_COPY_AND_ASSIGN(DrmOverlayManager);
61 }; 60 };
62 61
63 } // namespace ui 62 } // namespace ui
64 63
65 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_OVERLAY_MANAGER_H_ 64 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_OVERLAY_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | ui/ozone/platform/drm/host/drm_overlay_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698