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

Unified Diff: cc/output/gl_renderer.cc

Issue 2267263002: cc: Delete all the RendererCapabilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-prepare-mailbox-param
Patch Set: renderer-caps: rebase 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/gl_renderer.h ('k') | cc/output/renderer_capabilities.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.cc
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index fb1ee183c2a86feaffa6e4c294cb047b98c25384..12520a51d6bcfb687c25892864d3386c9e077669 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -397,9 +397,6 @@ GLRenderer::GLRenderer(const RendererSettings* settings,
output_surface_->context_provider()->ContextCapabilities();
DCHECK(!context_caps.iosurface || context_caps.texture_rectangle);
- capabilities_.max_texture_size = resource_provider_->max_texture_size();
- capabilities_.best_texture_format = resource_provider_->best_texture_format();
-
use_discard_framebuffer_ = context_caps.discard_framebuffer;
use_sync_query_ = context_caps.sync_query;
use_blend_equation_advanced_ = context_caps.blend_equation_advanced;
@@ -420,10 +417,6 @@ GLRenderer::~GLRenderer() {
CleanupSharedObjects();
}
-const RendererCapabilitiesImpl& GLRenderer::Capabilities() const {
- return capabilities_;
-}
-
bool GLRenderer::CanPartialSwap() {
auto* context_provider = output_surface_->context_provider();
return context_provider->ContextCapabilities().post_sub_buffer;
« no previous file with comments | « cc/output/gl_renderer.h ('k') | cc/output/renderer_capabilities.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698