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

Unified Diff: cc/output/gl_renderer.h

Issue 2253823002: cc: Remove all impl-side caps from RendererCapabilitiesImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delete-renderer-base-class
Patch Set: renderercaps: ennereview 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/direct_renderer.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.h
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
index e94bd43228381cf0c75dba14e43f76d27b93f060..b26f868459537bd8596cbbd27b37ee3350c86e36 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -89,6 +89,7 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
void SetBlendEnabled(bool enabled);
bool blend_enabled() const { return blend_shadow_; }
+ bool CanPartialSwap() override;
void BindFramebufferToOutputSurface(DrawingFrame* frame) override;
bool BindFramebufferToTexture(DrawingFrame* frame,
const ScopedResource* resource) override;
@@ -522,6 +523,7 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
std::deque<std::unique_ptr<SyncQuery>> pending_sync_queries_;
std::deque<std::unique_ptr<SyncQuery>> available_sync_queries_;
std::unique_ptr<SyncQuery> current_sync_query_;
+ bool use_discard_framebuffer_;
bool use_sync_query_;
bool use_blend_equation_advanced_;
bool use_blend_equation_advanced_coherent_;
« no previous file with comments | « cc/output/direct_renderer.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698