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

Unified Diff: content/gpu/gpu_child_thread.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 | « content/content_common.gypi ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.h
diff --git a/content/gpu/gpu_child_thread.h b/content/gpu/gpu_child_thread.h
index 5b3b44e2f90092ad30bbbb3e604eaf4b71320440..304798230a7f801a850b8befaeb8c472ad77bb44 100644
--- a/content/gpu/gpu_child_thread.h
+++ b/content/gpu/gpu_child_thread.h
@@ -46,9 +46,6 @@ namespace content {
class GpuProcessControlImpl;
class GpuWatchdogThread;
struct EstablishChannelParams;
-#if defined(OS_MACOSX)
-struct BufferPresentedParams;
-#endif
// The main thread of the GPU child process. There will only ever be one of
// these per process. It does process initialization and shutdown. It forwards
@@ -97,17 +94,6 @@ class GpuChildThread : public ChildThreadImpl,
gpu::error::ContextLostReason reason,
const GURL& active_url) override;
void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) override;
-#if defined(OS_MACOSX)
- 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) override;
-#endif
#if defined(OS_WIN)
void SendAcceleratedSurfaceCreatedChildWindow(
gpu::SurfaceHandle parent_window,
@@ -130,9 +116,6 @@ class GpuChildThread : public ChildThreadImpl,
void OnDisableWatchdog();
void OnGpuSwitched();
-#if defined(OS_MACOSX)
- void OnBufferPresented(const BufferPresentedParams& params);
-#endif
void OnEstablishChannel(const EstablishChannelParams& params);
void OnCloseChannel(int32_t client_id);
void OnLoadedShader(const std::string& shader);
« no previous file with comments | « content/content_common.gypi ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698