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

Unified Diff: cc/output/renderer_capabilities_impl.h

Issue 2270533002: cc: Remove the software compositing bool from PrepareTextureMailbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@softwarerendering
Patch Set: remove-prepare-mailbox-param: bad-merge 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 | « cc/output/renderer_capabilities.cc ('k') | cc/output/renderer_capabilities_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/renderer_capabilities_impl.h
diff --git a/cc/output/renderer_capabilities_impl.h b/cc/output/renderer_capabilities_impl.h
index cef2d39a94081626c0fcae11a04aefd04b09d98b..f1249244e420ef3c1a1f2ceffa99759dbbd40ced 100644
--- a/cc/output/renderer_capabilities_impl.h
+++ b/cc/output/renderer_capabilities_impl.h
@@ -16,9 +16,10 @@ struct RendererCapabilitiesImpl {
// Capabilities copied to main thread.
ResourceFormat best_texture_format = RGBA_8888;
int max_texture_size = 0;
- bool using_shared_memory_resources = false;
- RendererCapabilities MainThreadCapabilities() const;
+ RendererCapabilities MainThreadCapabilities() const {
+ return RendererCapabilities(best_texture_format, max_texture_size);
+ }
};
} // namespace cc
« no previous file with comments | « cc/output/renderer_capabilities.cc ('k') | cc/output/renderer_capabilities_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698