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

Unified Diff: cc/output/context_provider.h

Issue 1900993002: Move SharedMemoryLimits out of WebGraphicsContext3DCommandBufferImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@limits
Patch Set: move-limits: types Created 4 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
« no previous file with comments | « cc/cc.gyp ('k') | cc/output/context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/context_provider.h
diff --git a/cc/output/context_provider.h b/cc/output/context_provider.h
index c560ad0fa6974a4bf483df15e8411aa5c6cb1768..7fe7dbeda7f19c04e09872fad669bf0842fbbe04 100644
--- a/cc/output/context_provider.h
+++ b/cc/output/context_provider.h
@@ -64,13 +64,6 @@ class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> {
virtual gpu::ContextSupport* ContextSupport() = 0;
virtual class GrContext* GrContext() = 0;
- struct Capabilities {
- gpu::Capabilities gpu;
- size_t max_transfer_buffer_usage_bytes;
-
- CC_EXPORT Capabilities();
- };
-
// Invalidates the cached OpenGL state in GrContext.
// See skia GrContext::resetContext for details.
virtual void InvalidateGrContext(uint32_t state) = 0;
@@ -85,7 +78,7 @@ class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> {
virtual base::Lock* GetLock() = 0;
// Returns the capabilities of the currently bound 3d context.
- virtual Capabilities ContextCapabilities() = 0;
+ virtual gpu::Capabilities ContextCapabilities() = 0;
// Delete all cached gpu resources.
virtual void DeleteCachedResources() = 0;
« no previous file with comments | « cc/cc.gyp ('k') | cc/output/context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698