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

Unified Diff: cc/output/gl_renderer.h

Issue 17350003: gpu: Add more context labelling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@GPU_add_context_names
Patch Set: Rebase. Created 7 years, 6 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: cc/output/gl_renderer.h
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
index 21acdde4a99c83bfbd2cfbbc3923e9fe700057f3..b518349c0ccd33a13f2ef5fb81e4d16e6889d98a 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -78,6 +78,7 @@ class CC_EXPORT GLRenderer
int line);
bool CanUseSkiaGPUBackend() const;
+ void LazyLabelOffscreenContext();
protected:
GLRenderer(RendererClient* client,
@@ -424,6 +425,7 @@ class CC_EXPORT GLRenderer
TexturedQuadDrawCache draw_cache_;
int highp_threshold_min_;
int highp_threshold_cache_;
+ bool offscreen_context_labelled_;
struct PendingAsyncReadPixels;
ScopedPtrVector<PendingAsyncReadPixels> pending_async_read_pixels_;

Powered by Google App Engine
This is Rietveld 408576698