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

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

Issue 1095893002: gpu: Fix some context lost marking glitches+leaks and add UMA stats (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix GLManager and fix another resource leak (comment #15) Created 5 years, 8 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/context_group.h
diff --git a/gpu/command_buffer/service/context_group.h b/gpu/command_buffer/service/context_group.h
index 248fa193b07ea375591977b66ad647a23b411f92..f2e832f0fd51add020e914621d30528f8ea7965c 100644
--- a/gpu/command_buffer/service/context_group.h
+++ b/gpu/command_buffer/service/context_group.h
@@ -166,7 +166,7 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
uint32 GetMemRepresented() const;
// Loses all the context associated with this group.
- void LoseContexts(GLenum reset_status);
+ void LoseContexts(error::ContextLostReason reason);
// EXT_draw_buffer related states for backbuffer.
GLenum draw_buffer() const {

Powered by Google App Engine
This is Rietveld 408576698