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

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

Issue 2385193002: FrameSinkIds use to WindowIds in window server, Process ID/Route ID in renderer (Closed)
Patch Set: Added missing serialization Created 4 years, 2 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/compositor/gpu_process_transport_factory.cc » ('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 #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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 int num_attempts, 100 int num_attempts,
101 scoped_refptr<gpu::GpuChannelHost> established_channel_host); 101 scoped_refptr<gpu::GpuChannelHost> established_channel_host);
102 102
103 void OnLostMainThreadSharedContextInsideCallback(); 103 void OnLostMainThreadSharedContextInsideCallback();
104 void OnLostMainThreadSharedContext(); 104 void OnLostMainThreadSharedContext();
105 105
106 scoped_refptr<cc::VulkanInProcessContextProvider> 106 scoped_refptr<cc::VulkanInProcessContextProvider>
107 SharedVulkanContextProvider(); 107 SharedVulkanContextProvider();
108 108
109 std::unique_ptr<cc::SurfaceManager> surface_manager_; 109 std::unique_ptr<cc::SurfaceManager> surface_manager_;
110 uint32_t next_surface_client_id_ = 1u; 110 uint32_t next_sink_id_ = 1u;
111 111
112 #if defined(OS_WIN) 112 #if defined(OS_WIN)
113 // Used by output surface, stored in PerCompositorData. 113 // Used by output surface, stored in PerCompositorData.
114 std::unique_ptr<OutputDeviceBacking> software_backing_; 114 std::unique_ptr<OutputDeviceBacking> software_backing_;
115 #endif 115 #endif
116 116
117 // Depends on SurfaceManager. 117 // Depends on SurfaceManager.
118 typedef std::map<ui::Compositor*, std::unique_ptr<PerCompositorData>> 118 typedef std::map<ui::Compositor*, std::unique_ptr<PerCompositorData>>
119 PerCompositorDataMap; 119 PerCompositorDataMap;
120 PerCompositorDataMap per_compositor_data_; 120 PerCompositorDataMap per_compositor_data_;
(...skipping 11 matching lines...) Expand all
132 gpu::GpuChannelEstablishFactory* gpu_channel_factory_ = nullptr; 132 gpu::GpuChannelEstablishFactory* gpu_channel_factory_ = nullptr;
133 133
134 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_; 134 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_;
135 135
136 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); 136 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory);
137 }; 137 };
138 138
139 } // namespace content 139 } // namespace content
140 140
141 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ 141 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/compositor/gpu_process_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698