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

Side by Side Diff: services/ui/gpu/gpu_service.h

Issue 2682723003: Make disabling accelerated VPX decoding a GPU driver bug workaround. (Closed)
Patch Set: rebase Created 3 years, 7 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 | « media/gpu/ipc/service/gpu_video_decode_accelerator.cc ('k') | services/ui/gpu/gpu_service.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 SERVICES_UI_GPU_GPU_SERVICE_H_ 5 #ifndef SERVICES_UI_GPU_GPU_SERVICE_H_
6 #define SERVICES_UI_GPU_GPU_SERVICE_H_ 6 #define SERVICES_UI_GPU_GPU_SERVICE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/synchronization/waitable_event.h" 9 #include "base/synchronization/waitable_event.h"
10 #include "base/task/cancelable_task_tracker.h" 10 #include "base/task/cancelable_task_tracker.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 scoped_refptr<base::SingleThreadTaskRunner> main_runner_; 158 scoped_refptr<base::SingleThreadTaskRunner> main_runner_;
159 scoped_refptr<base::SingleThreadTaskRunner> io_runner_; 159 scoped_refptr<base::SingleThreadTaskRunner> io_runner_;
160 160
161 std::unique_ptr<gpu::GpuWatchdogThread> watchdog_thread_; 161 std::unique_ptr<gpu::GpuWatchdogThread> watchdog_thread_;
162 162
163 std::unique_ptr<gpu::GpuMemoryBufferFactory> gpu_memory_buffer_factory_; 163 std::unique_ptr<gpu::GpuMemoryBufferFactory> gpu_memory_buffer_factory_;
164 164
165 gpu::GpuPreferences gpu_preferences_; 165 gpu::GpuPreferences gpu_preferences_;
166 166
167 gpu::GpuDriverBugWorkarounds gpu_workarounds_;
168
167 // Information about the GPU, such as device and vendor ID. 169 // Information about the GPU, such as device and vendor ID.
168 gpu::GPUInfo gpu_info_; 170 gpu::GPUInfo gpu_info_;
169 171
170 // Information about general chrome feature support for the GPU. 172 // Information about general chrome feature support for the GPU.
171 gpu::GpuFeatureInfo gpu_feature_info_; 173 gpu::GpuFeatureInfo gpu_feature_info_;
172 174
173 scoped_refptr<mojom::ThreadSafeGpuHostPtr> gpu_host_; 175 scoped_refptr<mojom::ThreadSafeGpuHostPtr> gpu_host_;
174 std::unique_ptr<gpu::GpuChannelManager> gpu_channel_manager_; 176 std::unique_ptr<gpu::GpuChannelManager> gpu_channel_manager_;
175 std::unique_ptr<media::MediaGpuChannelManager> media_gpu_channel_manager_; 177 std::unique_ptr<media::MediaGpuChannelManager> media_gpu_channel_manager_;
176 178
(...skipping 17 matching lines...) Expand all
194 196
195 base::WeakPtr<GpuService> weak_ptr_; 197 base::WeakPtr<GpuService> weak_ptr_;
196 base::WeakPtrFactory<GpuService> weak_ptr_factory_; 198 base::WeakPtrFactory<GpuService> weak_ptr_factory_;
197 199
198 DISALLOW_COPY_AND_ASSIGN(GpuService); 200 DISALLOW_COPY_AND_ASSIGN(GpuService);
199 }; 201 };
200 202
201 } // namespace ui 203 } // namespace ui
202 204
203 #endif // SERVICES_UI_GPU_GPU_SERVICE_H_ 205 #endif // SERVICES_UI_GPU_GPU_SERVICE_H_
OLDNEW
« no previous file with comments | « media/gpu/ipc/service/gpu_video_decode_accelerator.cc ('k') | services/ui/gpu/gpu_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698