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

Unified Diff: gpu/command_buffer/service/shader_manager.h

Issue 2378583003: Ping watchdog thread during GpuChannel destruction (Closed)
Patch Set: remove throttling 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/shader_manager.h
diff --git a/gpu/command_buffer/service/shader_manager.h b/gpu/command_buffer/service/shader_manager.h
index 2e828e66f1efdd6bbf7ab0314055ff867fa36825..f2f557865d521f9a4cf935b5e883e03456e26105 100644
--- a/gpu/command_buffer/service/shader_manager.h
+++ b/gpu/command_buffer/service/shader_manager.h
@@ -18,6 +18,8 @@
namespace gpu {
namespace gles2 {
+class ProgressReporter;
+
enum ShaderVariableBaseType {
SHADER_VARIABLE_INT = 0x01,
SHADER_VARIABLE_UINT = 0x02,
@@ -272,7 +274,7 @@ class GPU_EXPORT ShaderManager {
~ShaderManager();
// Must call before destruction.
- void Destroy(bool have_context);
+ void Destroy(bool have_context, ProgressReporter* progress_reporter);
// Creates a shader for the given shader ID.
Shader* CreateShader(

Powered by Google App Engine
This is Rietveld 408576698