| 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 "mojo/services/view_manager/context_factory_impl.h" | 5 #include "mojo/services/view_manager/context_factory_impl.h" |
| 6 | 6 |
| 7 #include "cc/output/output_surface.h" | 7 #include "cc/output/output_surface.h" |
| 8 #include "mojo/cc/context_provider_mojo.h" | 8 #include "mojo/cc/context_provider_mojo.h" |
| 9 #include "ui/compositor/reflector.h" | 9 #include "ui/compositor/reflector.h" |
| 10 #include "ui/gl/gl_implementation.h" | 10 #include "ui/gl/gl_implementation.h" |
| 11 #include "ui/gl/gl_surface.h" | 11 #include "ui/gl/gl_surface.h" |
| 12 #include "webkit/common/gpu/context_provider_in_process.h" | 12 #include "webkit/common/gpu/context_provider_in_process.h" |
| 13 #include "webkit/common/gpu/grcontext_for_webgraphicscontext3d.h" | 13 #include "webkit/common/gpu/grcontext_for_webgraphicscontext3d.h" |
| 14 #include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.
h" | 14 #include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.
h" |
| 15 | 15 |
| 16 namespace mojo { | 16 namespace mojo { |
| 17 namespace view_manager { | |
| 18 namespace service { | 17 namespace service { |
| 19 | 18 |
| 20 ContextFactoryImpl::ContextFactoryImpl( | 19 ContextFactoryImpl::ContextFactoryImpl( |
| 21 ScopedMessagePipeHandle command_buffer_handle) | 20 ScopedMessagePipeHandle command_buffer_handle) |
| 22 : command_buffer_handle_(command_buffer_handle.Pass()), | 21 : command_buffer_handle_(command_buffer_handle.Pass()), |
| 23 did_create_(false) { | 22 did_create_(false) { |
| 24 DCHECK(command_buffer_handle_.is_valid()); | 23 DCHECK(command_buffer_handle_.is_valid()); |
| 25 } | 24 } |
| 26 | 25 |
| 27 ContextFactoryImpl::~ContextFactoryImpl() { | 26 ContextFactoryImpl::~ContextFactoryImpl() { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 68 |
| 70 cc::SharedBitmapManager* ContextFactoryImpl::GetSharedBitmapManager() { | 69 cc::SharedBitmapManager* ContextFactoryImpl::GetSharedBitmapManager() { |
| 71 return NULL; | 70 return NULL; |
| 72 } | 71 } |
| 73 | 72 |
| 74 base::MessageLoopProxy* ContextFactoryImpl::GetCompositorMessageLoop() { | 73 base::MessageLoopProxy* ContextFactoryImpl::GetCompositorMessageLoop() { |
| 75 return NULL; | 74 return NULL; |
| 76 } | 75 } |
| 77 | 76 |
| 78 } // namespace service | 77 } // namespace service |
| 79 } // namespace view_manager | |
| 80 } // namespace mojo | 78 } // namespace mojo |
| OLD | NEW |