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

Unified Diff: cc/output/software_renderer.h

Issue 2282433002: Revert of cc: Delete all the RendererCapabilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-prepare-mailbox-param
Patch Set: 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_impl.cc ('k') | cc/output/software_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/software_renderer.h
diff --git a/cc/output/software_renderer.h b/cc/output/software_renderer.h
index 21c9f2df5e48a560194c9fa0f86975073ae45e27..0255dcfade03fd719130cc00d79a599d894f6374 100644
--- a/cc/output/software_renderer.h
+++ b/cc/output/software_renderer.h
@@ -9,6 +9,7 @@
#include "cc/base/cc_export.h"
#include "cc/output/compositor_frame.h"
#include "cc/output/direct_renderer.h"
+#include "cc/output/renderer_capabilities_impl.h"
namespace cc {
class DebugBorderDrawQuad;
@@ -29,6 +30,7 @@
~SoftwareRenderer() override;
+ const RendererCapabilitiesImpl& Capabilities() const override;
void SwapBuffers(CompositorFrameMetadata metadata) override;
void SetDisablePictureQuadImageFiltering(bool disable) {
@@ -94,6 +96,7 @@
bool disable_picture_quad_image_filtering_ = false;
+ RendererCapabilitiesImpl capabilities_;
bool is_scissor_enabled_ = false;
gfx::Rect scissor_rect_;
« no previous file with comments | « cc/output/renderer_capabilities_impl.cc ('k') | cc/output/software_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698