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

Unified Diff: services/ui/surfaces/surfaces_context_provider.h

Issue 2278283003: Refactor client visibility handling (Closed)
Patch Set: more fixes Created 4 years, 4 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
« no previous file with comments | « services/ui/public/cpp/context_provider.cc ('k') | services/ui/surfaces/surfaces_context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/surfaces_context_provider.h
diff --git a/services/ui/surfaces/surfaces_context_provider.h b/services/ui/surfaces/surfaces_context_provider.h
index 6746750e8f4a8e030fa47a60527da8df0ecb0fd3..282ff1f66fe63616375cc760a3bd0436515a3ad7 100644
--- a/services/ui/surfaces/surfaces_context_provider.h
+++ b/services/ui/surfaces/surfaces_context_provider.h
@@ -52,9 +52,9 @@ class SurfacesContextProvider : public cc::ContextProvider,
gpu::gles2::GLES2Interface* ContextGL() override;
gpu::ContextSupport* ContextSupport() override;
class GrContext* GrContext() override;
+ cc::ContextCacheController* CacheController() override;
void InvalidateGrContext(uint32_t state) override;
gpu::Capabilities ContextCapabilities() override;
- void DeleteCachedResources() override {}
void SetLostContextCallback(
const LostContextCallback& lost_context_callback) override;
base::Lock* GetLock() override;
@@ -81,6 +81,7 @@ class SurfacesContextProvider : public cc::ContextProvider,
std::unique_ptr<gpu::gles2::GLES2CmdHelper> gles2_helper_;
std::unique_ptr<gpu::TransferBuffer> transfer_buffer_;
std::unique_ptr<gpu::gles2::GLES2Implementation> implementation_;
+ std::unique_ptr<cc::ContextCacheController> cache_controller_;
gpu::Capabilities capabilities_;
LostContextCallback lost_context_callback_;
« no previous file with comments | « services/ui/public/cpp/context_provider.cc ('k') | services/ui/surfaces/surfaces_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698