| 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/compositor/gpu_process_transport_factory.h" | 5 #include "content/browser/compositor/gpu_process_transport_factory.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" | 40 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" |
| 41 #include "content/browser/gpu/gpu_data_manager_impl.h" | 41 #include "content/browser/gpu/gpu_data_manager_impl.h" |
| 42 #include "content/browser/renderer_host/render_widget_host_impl.h" | 42 #include "content/browser/renderer_host/render_widget_host_impl.h" |
| 43 #include "content/common/host_shared_bitmap_manager.h" | 43 #include "content/common/host_shared_bitmap_manager.h" |
| 44 #include "content/public/common/content_switches.h" | 44 #include "content/public/common/content_switches.h" |
| 45 #include "gpu/GLES2/gl2extchromium.h" | 45 #include "gpu/GLES2/gl2extchromium.h" |
| 46 #include "gpu/command_buffer/client/gles2_interface.h" | 46 #include "gpu/command_buffer/client/gles2_interface.h" |
| 47 #include "gpu/command_buffer/client/shared_memory_limits.h" | 47 #include "gpu/command_buffer/client/shared_memory_limits.h" |
| 48 #include "gpu/command_buffer/common/mailbox.h" | 48 #include "gpu/command_buffer/common/mailbox.h" |
| 49 #include "gpu/ipc/client/gpu_channel_host.h" | 49 #include "gpu/ipc/client/gpu_channel_host.h" |
| 50 #include "gpu/ipc/host/gpu_memory_buffer_support.h" | 50 #include "gpu/ipc/common/gpu_memory_buffer_support.h" |
| 51 #include "gpu/vulkan/features.h" | 51 #include "gpu/vulkan/features.h" |
| 52 #include "services/service_manager/runner/common/client_util.h" | 52 #include "services/service_manager/runner/common/client_util.h" |
| 53 #include "services/ui/public/cpp/gpu/context_provider_command_buffer.h" | 53 #include "services/ui/public/cpp/gpu/context_provider_command_buffer.h" |
| 54 #include "third_party/khronos/GLES2/gl2.h" | 54 #include "third_party/khronos/GLES2/gl2.h" |
| 55 #include "ui/compositor/compositor.h" | 55 #include "ui/compositor/compositor.h" |
| 56 #include "ui/compositor/compositor_constants.h" | 56 #include "ui/compositor/compositor_constants.h" |
| 57 #include "ui/compositor/compositor_switches.h" | 57 #include "ui/compositor/compositor_switches.h" |
| 58 #include "ui/compositor/layer.h" | 58 #include "ui/compositor/layer.h" |
| 59 #include "ui/display/types/display_snapshot.h" | 59 #include "ui/display/types/display_snapshot.h" |
| 60 #include "ui/gfx/geometry/size.h" | 60 #include "ui/gfx/geometry/size.h" |
| (...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 923 shared_vulkan_context_provider_ = | 923 shared_vulkan_context_provider_ = |
| 924 cc::VulkanInProcessContextProvider::Create(); | 924 cc::VulkanInProcessContextProvider::Create(); |
| 925 } | 925 } |
| 926 | 926 |
| 927 shared_vulkan_context_provider_initialized_ = true; | 927 shared_vulkan_context_provider_initialized_ = true; |
| 928 } | 928 } |
| 929 return shared_vulkan_context_provider_; | 929 return shared_vulkan_context_provider_; |
| 930 } | 930 } |
| 931 | 931 |
| 932 } // namespace content | 932 } // namespace content |
| OLD | NEW |