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

Unified Diff: components/surfaces/context_provider_mojo.h

Issue 1131723002: Add ContextProvider::InvalidateGrContext to reset GL state in GrContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix int/uint typo Created 5 years, 7 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: components/surfaces/context_provider_mojo.h
diff --git a/components/surfaces/context_provider_mojo.h b/components/surfaces/context_provider_mojo.h
index 7d91fda66b5b8ef83431ab2104fa036d26f2dcd4..2e1b7f13b8eeeae36c23524a22156799bf253ba8 100644
--- a/components/surfaces/context_provider_mojo.h
+++ b/components/surfaces/context_provider_mojo.h
@@ -22,6 +22,7 @@ class ContextProviderMojo : public cc::ContextProvider {
gpu::gles2::GLES2Interface* ContextGL() override;
gpu::ContextSupport* ContextSupport() override;
class GrContext* GrContext() override;
+ void InvalidateGrContext(uint32_t state) override;
Capabilities ContextCapabilities() override;
bool IsContextLost() override;
void VerifyContexts() override {}

Powered by Google App Engine
This is Rietveld 408576698