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

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

Issue 1192633003: content: Rename raster threads to worker threads. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 #ifndef CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_
6 #define CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ 6 #define CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/id_map.h" 10 #include "base/id_map.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 void OnLostMainThreadSharedContext(); 94 void OnLostMainThreadSharedContext();
95 95
96 typedef std::map<ui::Compositor*, PerCompositorData*> PerCompositorDataMap; 96 typedef std::map<ui::Compositor*, PerCompositorData*> PerCompositorDataMap;
97 PerCompositorDataMap per_compositor_data_; 97 PerCompositorDataMap per_compositor_data_;
98 scoped_refptr<ContextProviderCommandBuffer> shared_main_thread_contexts_; 98 scoped_refptr<ContextProviderCommandBuffer> shared_main_thread_contexts_;
99 scoped_ptr<GLHelper> gl_helper_; 99 scoped_ptr<GLHelper> gl_helper_;
100 base::ObserverList<ImageTransportFactoryObserver> observer_list_; 100 base::ObserverList<ImageTransportFactoryObserver> observer_list_;
101 scoped_ptr<cc::SurfaceManager> surface_manager_; 101 scoped_ptr<cc::SurfaceManager> surface_manager_;
102 uint32_t next_surface_id_namespace_; 102 uint32_t next_surface_id_namespace_;
103 scoped_ptr<cc::TaskGraphRunner> task_graph_runner_; 103 scoped_ptr<cc::TaskGraphRunner> task_graph_runner_;
104 scoped_ptr<base::SimpleThread> raster_thread_; 104 scoped_ptr<base::SimpleThread> worker_thread_;
105 105
106 #if defined(OS_WIN) 106 #if defined(OS_WIN)
107 scoped_ptr<OutputDeviceBacking> software_backing_; 107 scoped_ptr<OutputDeviceBacking> software_backing_;
108 #endif 108 #endif
109 109
110 // The contents of this map and its methods may only be used on the compositor 110 // The contents of this map and its methods may only be used on the compositor
111 // thread. 111 // thread.
112 IDMap<BrowserCompositorOutputSurface> output_surface_map_; 112 IDMap<BrowserCompositorOutputSurface> output_surface_map_;
113 113
114 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_; 114 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_;
115 115
116 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); 116 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory);
117 }; 117 };
118 118
119 } // namespace content 119 } // namespace content
120 120
121 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ 121 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_
OLDNEW
« no previous file with comments | « components/view_manager/gles2/raster_thread_helper.cc ('k') | content/browser/compositor/gpu_process_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698