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

Side by Side Diff: content/gpu/gpu_child_thread.h

Issue 1918723002: Mac fullscreen low power: Plumb through to AcceleratedWidgetMac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@plumb
Patch Set: Fix widget test Created 4 years, 7 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 | « content/common/gpu_host_messages.h ('k') | content/gpu/gpu_child_thread.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_GPU_GPU_CHILD_THREAD_H_ 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_
6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void DidDestroyChannel(int client_id) override; 91 void DidDestroyChannel(int client_id) override;
92 void DidDestroyOffscreenContext(const GURL& active_url) override; 92 void DidDestroyOffscreenContext(const GURL& active_url) override;
93 void DidLoseContext(bool offscreen, 93 void DidLoseContext(bool offscreen,
94 gpu::error::ContextLostReason reason, 94 gpu::error::ContextLostReason reason,
95 const GURL& active_url) override; 95 const GURL& active_url) override;
96 void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) override; 96 void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) override;
97 #if defined(OS_MACOSX) 97 #if defined(OS_MACOSX)
98 void SendAcceleratedSurfaceBuffersSwapped( 98 void SendAcceleratedSurfaceBuffersSwapped(
99 gpu::SurfaceHandle surface_handle, 99 gpu::SurfaceHandle surface_handle,
100 CAContextID ca_context_id, 100 CAContextID ca_context_id,
101 bool fullscreen_low_power_ca_context_valid,
102 CAContextID fullscreen_low_power_ca_context_id,
101 const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface, 103 const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface,
102 const gfx::Size& size, 104 const gfx::Size& size,
103 float scale_factor, 105 float scale_factor,
104 std::vector<ui::LatencyInfo> latency_info) override; 106 std::vector<ui::LatencyInfo> latency_info) override;
105 #endif 107 #endif
106 #if defined(OS_WIN) 108 #if defined(OS_WIN)
107 void SendAcceleratedSurfaceCreatedChildWindow( 109 void SendAcceleratedSurfaceCreatedChildWindow(
108 gpu::SurfaceHandle parent_window, 110 gpu::SurfaceHandle parent_window,
109 gpu::SurfaceHandle child_window) override; 111 gpu::SurfaceHandle child_window) override;
110 #endif 112 #endif
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 182
181 // Bindings to the mojom::ProcessControl impl. 183 // Bindings to the mojom::ProcessControl impl.
182 mojo::BindingSet<mojom::ProcessControl> process_control_bindings_; 184 mojo::BindingSet<mojom::ProcessControl> process_control_bindings_;
183 185
184 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); 186 DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
185 }; 187 };
186 188
187 } // namespace content 189 } // namespace content
188 190
189 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ 191 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/common/gpu_host_messages.h ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698