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

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

Issue 1825183002: gpu_process_launch_causes => content/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 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
« no previous file with comments | « no previous file | content/browser/gpu/browser_gpu_channel_host_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 24 matching lines...) Expand all
35 #include "content/browser/compositor/software_output_device_mus.h" 35 #include "content/browser/compositor/software_output_device_mus.h"
36 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" 36 #include "content/browser/gpu/browser_gpu_channel_host_factory.h"
37 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" 37 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h"
38 #include "content/browser/gpu/compositor_util.h" 38 #include "content/browser/gpu/compositor_util.h"
39 #include "content/browser/gpu/gpu_data_manager_impl.h" 39 #include "content/browser/gpu/gpu_data_manager_impl.h"
40 #include "content/browser/gpu/gpu_surface_tracker.h" 40 #include "content/browser/gpu/gpu_surface_tracker.h"
41 #include "content/browser/renderer_host/render_widget_host_impl.h" 41 #include "content/browser/renderer_host/render_widget_host_impl.h"
42 #include "content/common/gpu/client/context_provider_command_buffer.h" 42 #include "content/common/gpu/client/context_provider_command_buffer.h"
43 #include "content/common/gpu/client/gpu_channel_host.h" 43 #include "content/common/gpu/client/gpu_channel_host.h"
44 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 44 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
45 #include "content/common/gpu/gpu_process_launch_causes.h" 45 #include "content/common/gpu_process_launch_causes.h"
46 #include "content/common/host_shared_bitmap_manager.h" 46 #include "content/common/host_shared_bitmap_manager.h"
47 #include "content/public/common/content_switches.h" 47 #include "content/public/common/content_switches.h"
48 #include "gpu/GLES2/gl2extchromium.h" 48 #include "gpu/GLES2/gl2extchromium.h"
49 #include "gpu/command_buffer/client/gles2_interface.h" 49 #include "gpu/command_buffer/client/gles2_interface.h"
50 #include "gpu/command_buffer/common/mailbox.h" 50 #include "gpu/command_buffer/common/mailbox.h"
51 #include "third_party/khronos/GLES2/gl2.h" 51 #include "third_party/khronos/GLES2/gl2.h"
52 #include "ui/compositor/compositor.h" 52 #include "ui/compositor/compositor.h"
53 #include "ui/compositor/compositor_constants.h" 53 #include "ui/compositor/compositor_constants.h"
54 #include "ui/compositor/compositor_switches.h" 54 #include "ui/compositor/compositor_switches.h"
55 #include "ui/compositor/layer.h" 55 #include "ui/compositor/layer.h"
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 FOR_EACH_OBSERVER(ImageTransportFactoryObserver, 658 FOR_EACH_OBSERVER(ImageTransportFactoryObserver,
659 observer_list_, 659 observer_list_,
660 OnLostResources()); 660 OnLostResources());
661 661
662 // Kill things that use the shared context before killing the shared context. 662 // Kill things that use the shared context before killing the shared context.
663 lost_gl_helper.reset(); 663 lost_gl_helper.reset();
664 lost_shared_main_thread_contexts = NULL; 664 lost_shared_main_thread_contexts = NULL;
665 } 665 }
666 666
667 } // namespace content 667 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/browser_gpu_channel_host_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698