Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: content/browser/compositor/gpu_process_transport_factory.cc

Issue 2971083002: gpu: Reduce direct use of BrowserGpuMemoryBufferManager (Closed)
Patch Set: . Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 23 matching lines...) Expand all
34 #include "components/viz/host/host_frame_sink_manager.h" 34 #include "components/viz/host/host_frame_sink_manager.h"
35 #include "components/viz/service/display_embedder/compositor_overlay_candidate_v alidator.h" 35 #include "components/viz/service/display_embedder/compositor_overlay_candidate_v alidator.h"
36 #include "components/viz/service/display_embedder/server_shared_bitmap_manager.h " 36 #include "components/viz/service/display_embedder/server_shared_bitmap_manager.h "
37 #include "content/browser/browser_main_loop.h" 37 #include "content/browser/browser_main_loop.h"
38 #include "content/browser/compositor/browser_compositor_output_surface.h" 38 #include "content/browser/compositor/browser_compositor_output_surface.h"
39 #include "content/browser/compositor/gpu_browser_compositor_output_surface.h" 39 #include "content/browser/compositor/gpu_browser_compositor_output_surface.h"
40 #include "content/browser/compositor/gpu_surfaceless_browser_compositor_output_s urface.h" 40 #include "content/browser/compositor/gpu_surfaceless_browser_compositor_output_s urface.h"
41 #include "content/browser/compositor/offscreen_browser_compositor_output_surface .h" 41 #include "content/browser/compositor/offscreen_browser_compositor_output_surface .h"
42 #include "content/browser/compositor/reflector_impl.h" 42 #include "content/browser/compositor/reflector_impl.h"
43 #include "content/browser/compositor/software_browser_compositor_output_surface. h" 43 #include "content/browser/compositor/software_browser_compositor_output_surface. h"
44 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h"
45 #include "content/browser/gpu/compositor_util.h" 44 #include "content/browser/gpu/compositor_util.h"
46 #include "content/browser/gpu/gpu_data_manager_impl.h" 45 #include "content/browser/gpu/gpu_data_manager_impl.h"
47 #include "content/browser/renderer_host/render_widget_host_impl.h" 46 #include "content/browser/renderer_host/render_widget_host_impl.h"
48 #include "content/common/gpu_stream_constants.h" 47 #include "content/common/gpu_stream_constants.h"
49 #include "content/public/common/content_switches.h" 48 #include "content/public/common/content_switches.h"
50 #include "gpu/GLES2/gl2extchromium.h" 49 #include "gpu/GLES2/gl2extchromium.h"
51 #include "gpu/command_buffer/client/gles2_interface.h" 50 #include "gpu/command_buffer/client/gles2_interface.h"
52 #include "gpu/command_buffer/client/shared_memory_limits.h" 51 #include "gpu/command_buffer/client/shared_memory_limits.h"
53 #include "gpu/command_buffer/common/mailbox.h" 52 #include "gpu/command_buffer/common/mailbox.h"
54 #include "gpu/ipc/client/gpu_channel_host.h" 53 #include "gpu/ipc/client/gpu_channel_host.h"
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 shared_vulkan_context_provider_ = 958 shared_vulkan_context_provider_ =
960 cc::VulkanInProcessContextProvider::Create(); 959 cc::VulkanInProcessContextProvider::Create();
961 } 960 }
962 961
963 shared_vulkan_context_provider_initialized_ = true; 962 shared_vulkan_context_provider_initialized_ = true;
964 } 963 }
965 return shared_vulkan_context_provider_; 964 return shared_vulkan_context_provider_;
966 } 965 }
967 966
968 } // namespace content 967 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/gpu/browser_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698