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

Unified Diff: services/ui/gpu/gpu_service.cc

Issue 2744363002: Clear shader disk cache after glProgramBinary failure. (Closed)
Patch Set: Remove singleton and clean up init Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/gpu/gpu_service.h ('k') | services/ui/gpu/interfaces/gpu_main.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/gpu_service.cc
diff --git a/services/ui/gpu/gpu_service.cc b/services/ui/gpu/gpu_service.cc
index f8a6a17ec8c2853e9702ae937315b62cad6c8471..23f18b8fc07004c426ab4fa6b89b8761ee614168 100644
--- a/services/ui/gpu/gpu_service.cc
+++ b/services/ui/gpu/gpu_service.cc
@@ -71,6 +71,7 @@ GpuService::~GpuService() {
void GpuService::InitializeWithHost(mojom::GpuHostPtr gpu_host,
const gpu::GpuPreferences& preferences,
+ gpu::GpuProcessActivityFlags activity_flags,
gpu::SyncPointManager* sync_point_manager,
base::WaitableEvent* shutdown_event) {
DCHECK(CalledOnValidThread());
@@ -99,7 +100,8 @@ void GpuService::InitializeWithHost(mojom::GpuHostPtr gpu_host,
gpu_preferences_, this, watchdog_thread_.get(),
base::ThreadTaskRunnerHandle::Get().get(), io_runner_.get(),
shutdown_event ? shutdown_event : &shutdown_event_, sync_point_manager_,
- gpu_memory_buffer_factory_, gpu_feature_info_));
+ gpu_memory_buffer_factory_, gpu_feature_info_,
+ std::move(activity_flags)));
media_gpu_channel_manager_.reset(
new media::MediaGpuChannelManager(gpu_channel_manager_.get()));
« no previous file with comments | « services/ui/gpu/gpu_service.h ('k') | services/ui/gpu/interfaces/gpu_main.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698