diff options
Diffstat (limited to '')
-rw-r--r-- | gfx/webrender_bindings/RenderThread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gfx/webrender_bindings/RenderThread.h b/gfx/webrender_bindings/RenderThread.h index f9ab1e742e..6191a28bcd 100644 --- a/gfx/webrender_bindings/RenderThread.h +++ b/gfx/webrender_bindings/RenderThread.h @@ -489,6 +489,11 @@ class RenderThread final { RefPtr<nsIRunnable> mRenderTextureOpsRunnable MOZ_GUARDED_BY(mRenderTextureMapLock); +#ifdef DEBUG + // used for tests only to ensure render textures don't increase + int32_t mRenderTexturesLastTime MOZ_GUARDED_BY(mRenderTextureMapLock) = -1; +#endif + // Set from MainThread, read from either MainThread or RenderThread bool mHasShutdown; |