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

Unified Diff: gpu/ipc/service/gpu_channel_manager_delegate.h

Issue 1962493002: Make Mac swap code like other platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/ipc/service/gpu_channel_manager.cc ('k') | gpu/ipc/service/gpu_channel_test_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/gpu_channel_manager_delegate.h
diff --git a/gpu/ipc/service/gpu_channel_manager_delegate.h b/gpu/ipc/service/gpu_channel_manager_delegate.h
index 7cd320e4db3656ad1e2bae48b8e0fe462a40eccb..3e9da6b93ed45243c52b1d93c8b9e95b4b705ea6 100644
--- a/gpu/ipc/service/gpu_channel_manager_delegate.h
+++ b/gpu/ipc/service/gpu_channel_manager_delegate.h
@@ -8,12 +8,6 @@
#include "gpu/command_buffer/common/constants.h"
#include "gpu/ipc/common/surface_handle.h"
-#if defined(OS_MACOSX)
-#include "ui/base/cocoa/remote_layer_api.h"
-#include "ui/events/latency_info.h"
-#include "ui/gfx/mac/io_surface.h"
-#endif
-
class GURL;
namespace IPC {
@@ -52,19 +46,6 @@ class GpuChannelManagerDelegate {
const std::string& key,
const std::string& shader) = 0;
-#if defined(OS_MACOSX)
- // Tells the delegate that an accelerated surface has swapped.
- virtual void SendAcceleratedSurfaceBuffersSwapped(
- gpu::SurfaceHandle surface_handle,
- CAContextID ca_context_id,
- bool fullscreen_low_power_ca_context_valid,
- CAContextID fullscreen_low_power_ca_context_id,
- const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface,
- const gfx::Size& size,
- float scale_factor,
- std::vector<ui::LatencyInfo> latency_info) = 0;
-#endif
-
#if defined(OS_WIN)
virtual void SendAcceleratedSurfaceCreatedChildWindow(
SurfaceHandle parent_window,
« no previous file with comments | « gpu/ipc/service/gpu_channel_manager.cc ('k') | gpu/ipc/service/gpu_channel_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698