OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/android/in_process/synchronous_compositor_factory_impl
.h" | 5 #include "content/browser/android/in_process/synchronous_compositor_factory_impl
.h" |
6 | 6 |
7 #include "content/browser/android/in_process/synchronous_compositor_output_surfa
ce.h" | 7 #include "content/browser/android/in_process/synchronous_compositor_output_surfa
ce.h" |
8 #include "content/public/browser/browser_thread.h" | 8 #include "content/public/browser/browser_thread.h" |
9 #include "gpu/command_buffer/client/gl_in_process_context.h" | 9 #include "gpu/command_buffer/client/gl_in_process_context.h" |
10 #include "ui/gl/android/surface_texture.h" | 10 #include "ui/gl/android/surface_texture.h" |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 } | 252 } |
253 return video_context_provider_; | 253 return video_context_provider_; |
254 } | 254 } |
255 | 255 |
256 void SynchronousCompositorFactoryImpl::SetDeferredGpuService( | 256 void SynchronousCompositorFactoryImpl::SetDeferredGpuService( |
257 scoped_refptr<gpu::InProcessCommandBuffer::Service> service) { | 257 scoped_refptr<gpu::InProcessCommandBuffer::Service> service) { |
258 DCHECK(!service_); | 258 DCHECK(!service_); |
259 service_ = service; | 259 service_ = service; |
260 } | 260 } |
261 | 261 |
262 void SynchronousCompositorFactoryImpl::DisableRecordFullLayer() { | 262 void SynchronousCompositorFactoryImpl::SetRecordFullDocument( |
263 record_full_layer_ = false; | 263 bool record_full_document) { |
| 264 record_full_layer_ = record_full_document; |
264 } | 265 } |
265 | 266 |
266 } // namespace content | 267 } // namespace content |
OLD | NEW |