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

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

Issue 2365583004: Mac: Clean up plumbing of accelerated widgets (Closed)
Patch Set: Created 4 years, 3 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
Index: gpu/ipc/service/image_transport_surface_overlay_mac.h
diff --git a/gpu/ipc/service/image_transport_surface_overlay_mac.h b/gpu/ipc/service/image_transport_surface_overlay_mac.h
index cab02624280133c35465a74bc377a7df6aea0d5a..54e2e46e25d23f146a45bd94044c87820b3ce4f2 100644
--- a/gpu/ipc/service/image_transport_surface_overlay_mac.h
+++ b/gpu/ipc/service/image_transport_surface_overlay_mac.h
@@ -35,8 +35,7 @@ namespace gpu {
class ImageTransportSurfaceOverlayMac : public gl::GLSurface,
public ui::GpuSwitchingObserver {
public:
- ImageTransportSurfaceOverlayMac(GpuCommandBufferStub* stub,
- SurfaceHandle handle);
+ ImageTransportSurfaceOverlayMac(GpuCommandBufferStub* stub);
piman 2016/09/23 00:55:24 nit: explicit
// GLSurface implementation
bool Initialize(gl::GLSurface::Format format) override;
@@ -69,7 +68,6 @@ class ImageTransportSurfaceOverlayMac : public gl::GLSurface,
void SetLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info);
void SendAcceleratedSurfaceBuffersSwapped(
- gpu::SurfaceHandle surface_handle,
CAContextID ca_context_id,
bool fullscreen_low_power_ca_context_valid,
CAContextID fullscreen_low_power_ca_context_id,
@@ -80,7 +78,6 @@ class ImageTransportSurfaceOverlayMac : public gl::GLSurface,
gfx::SwapResult SwapBuffersInternal(const gfx::Rect& pixel_damage_rect);
base::WeakPtr<GpuCommandBufferStub> stub_;
- SurfaceHandle handle_;
std::vector<ui::LatencyInfo> latency_info_;
bool use_remote_layer_api_;
« no previous file with comments | « gpu/ipc/service/image_transport_surface_mac.mm ('k') | gpu/ipc/service/image_transport_surface_overlay_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698