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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 2744363002: Clear shader disk cache after glProgramBinary failure. (Closed)
Patch Set: 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
Index: content/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index fec69f189658486857881c28c8f051bd7630e7a3..a81306d9da98c5a9ba922fc1a9cb0dffa7a2c13d 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -29,6 +29,7 @@
#include "gpu/config/gpu_info_collector.h"
#include "gpu/config/gpu_switches.h"
#include "gpu/config/gpu_util.h"
+#include "gpu/ipc/common/activity_flags.h"
#include "gpu/ipc/common/memory_stats.h"
#include "gpu/ipc/service/gpu_memory_buffer_factory.h"
#include "gpu/ipc/service/gpu_watchdog_thread.h"
@@ -281,7 +282,9 @@ void GpuChildThread::OnAssociatedInterfaceRequest(
void GpuChildThread::CreateGpuService(
ui::mojom::GpuServiceRequest request,
ui::mojom::GpuHostPtr gpu_host,
- const gpu::GpuPreferences& gpu_preferences) {
+ const gpu::GpuPreferences& gpu_preferences,
+ mojo::ScopedSharedBufferHandle activity_flags) {
+ gpu::GpuProcessActivityFlags::InitializeInstance(std::move(activity_flags));
gpu_service_->Bind(std::move(request));
gpu_info_.video_decode_accelerator_capabilities =
« no previous file with comments | « content/gpu/gpu_child_thread.h ('k') | gpu/BUILD.gn » ('j') | gpu/ipc/common/activity_flags.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698