| Index: content/common/gpu/image_transport_surface_overlay_mac.h
|
| diff --git a/content/common/gpu/image_transport_surface_overlay_mac.h b/content/common/gpu/image_transport_surface_overlay_mac.h
|
| index 84527798958cd921083ef4aceaca5c2ec5ee1a63..67d73d48baceb741454a040a5c602f88ba2fbb5d 100644
|
| --- a/content/common/gpu/image_transport_surface_overlay_mac.h
|
| +++ b/content/common/gpu/image_transport_surface_overlay_mac.h
|
| @@ -17,6 +17,7 @@
|
| #include "ui/gl/gl_surface.h"
|
| #include "ui/gl/gpu_switching_observer.h"
|
|
|
| +@class AVSampleBufferDisplayLayer;
|
| @class CAContext;
|
| @class CALayer;
|
|
|
| @@ -76,13 +77,6 @@ class ImageTransportSurfaceOverlayMac : public gfx::GLSurface,
|
| void BufferPresented(int32_t surface_id,
|
| const base::TimeTicks& vsync_timebase,
|
| const base::TimeDelta& vsync_interval);
|
| - void SendAcceleratedSurfaceBuffersSwapped(
|
| - int32_t surface_id,
|
| - CAContextID ca_context_id,
|
| - const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface,
|
| - const gfx::Size& size,
|
| - float scale_factor,
|
| - std::vector<ui::LatencyInfo> latency_info);
|
| gfx::SwapResult SwapBuffersInternal(const gfx::Rect& pixel_damage_rect);
|
|
|
| // Returns true if the front of |pending_swaps_| has completed, or has timed
|
| @@ -119,6 +113,9 @@ class ImageTransportSurfaceOverlayMac : public gfx::GLSurface,
|
| base::scoped_nsobject<CAContext> ca_context_;
|
| base::scoped_nsobject<CALayer> ca_root_layer_;
|
|
|
| + base::scoped_nsobject<CAContext> detached_ca_context_;
|
| + base::scoped_nsobject<AVSampleBufferDisplayLayer> detached_av_layer_;
|
| +
|
| gfx::Size pixel_size_;
|
| float scale_factor_;
|
|
|
|
|