| Index: gpu/ipc/service/image_transport_surface_overlay_mac.mm
|
| diff --git a/gpu/ipc/service/image_transport_surface_overlay_mac.mm b/gpu/ipc/service/image_transport_surface_overlay_mac.mm
|
| index 1ced5d09fe883c99e9e6531bd40af9c9056e4e24..1fc47617ec03bac4bae4dd806fb7db6d5e93318b 100644
|
| --- a/gpu/ipc/service/image_transport_surface_overlay_mac.mm
|
| +++ b/gpu/ipc/service/image_transport_surface_overlay_mac.mm
|
| @@ -210,8 +210,10 @@ void IOSurfaceContextNoOp(scoped_refptr<ui::IOSurfaceContext>) {
|
| base::TimeTicks finish_time = base::TimeTicks::Now();
|
|
|
| bool fullscreen_low_power_layer_valid = false;
|
| +/*
|
| ca_layer_tree_coordinator_->CommitPendingTreesToCA(
|
| pixel_damage_rect, &fullscreen_low_power_layer_valid);
|
| +*/
|
| // TODO(ccameron): Plumb the fullscreen low power layer through to the
|
| // appropriate window.
|
|
|
| @@ -228,6 +230,7 @@ void IOSurfaceContextNoOp(scoped_refptr<ui::IOSurfaceContext>) {
|
| CAContextID ca_context_id = 0;
|
| CAContextID fullscreen_low_power_ca_context_id = 0;
|
| gfx::ScopedRefCountedIOSurfaceMachPort io_surface_mach_port;
|
| +/*
|
| if (use_remote_layer_api_) {
|
| ca_context_id = [ca_context_ contextId];
|
| fullscreen_low_power_ca_context_id =
|
| @@ -238,6 +241,7 @@ void IOSurfaceContextNoOp(scoped_refptr<ui::IOSurfaceContext>) {
|
| if (io_surface)
|
| io_surface_mach_port.reset(IOSurfaceCreateMachPort(io_surface));
|
| }
|
| +*/
|
| SendAcceleratedSurfaceBuffersSwapped(
|
| handle_, ca_context_id, fullscreen_low_power_layer_valid,
|
| fullscreen_low_power_ca_context_id, io_surface_mach_port, pixel_size_,
|
| @@ -286,6 +290,7 @@ void IOSurfaceContextNoOp(scoped_refptr<ui::IOSurfaceContext>) {
|
| gl::GLImage* image,
|
| const gfx::Rect& pixel_frame_rect,
|
| const gfx::RectF& crop_rect) {
|
| + CHECK(0);
|
| if (transform != gfx::OVERLAY_TRANSFORM_NONE) {
|
| DLOG(ERROR) << "Invalid overlay plane transform.";
|
| return false;
|
| @@ -310,6 +315,7 @@ void IOSurfaceContextNoOp(scoped_refptr<ui::IOSurfaceContext>) {
|
| const gfx::Transform& transform,
|
| int sorting_context_id,
|
| unsigned filter) {
|
| + CHECK(0);
|
| base::ScopedCFTypeRef<IOSurfaceRef> io_surface;
|
| base::ScopedCFTypeRef<CVPixelBufferRef> cv_pixel_buffer;
|
| if (contents_image) {
|
|
|