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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 2744363002: Clear shader disk cache after glProgramBinary failure. (Closed)
Patch Set: Fix dependency issues. 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..fe9e0ac90754c116f18d2a02b69f367d536ffaac 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -24,6 +24,7 @@
#include "content/public/common/content_switches.h"
#include "content/public/common/service_manager_connection.h"
#include "content/public/gpu/content_gpu_client.h"
+#include "gpu/command_buffer/common/activity_flags.h"
#include "gpu/command_buffer/service/gpu_switches.h"
#include "gpu/command_buffer/service/sync_point_manager.h"
#include "gpu/config/gpu_info_collector.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 =

Powered by Google App Engine
This is Rietveld 408576698