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

Unified Diff: cc/output/delegating_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/layers/picture_layer_impl_unittest.cc ('k') | cc/output/delegating_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/delegating_renderer.h
diff --git a/cc/output/delegating_renderer.h b/cc/output/delegating_renderer.h
index 140906ecd4b416073c8242390b9da4261e942dc4..194a296f35bb32e7c8c87676abde019bd42e6c5e 100644
--- a/cc/output/delegating_renderer.h
+++ b/cc/output/delegating_renderer.h
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "cc/base/cc_export.h"
#include "cc/output/compositor_frame.h"
+#include "cc/output/renderer_capabilities_impl.h"
namespace cc {
class OutputSurface;
@@ -21,6 +22,8 @@
ResourceProvider* resource_provider);
~DelegatingRenderer();
+ const RendererCapabilitiesImpl& Capabilities() const { return capabilities_; }
+
void DrawFrame(RenderPassList* render_passes_in_draw_order);
void SwapBuffers(CompositorFrameMetadata metadata);
@@ -28,6 +31,7 @@
private:
OutputSurface* const output_surface_;
ResourceProvider* const resource_provider_;
+ RendererCapabilitiesImpl capabilities_;
std::unique_ptr<DelegatedFrameData> delegated_frame_data_;
DISALLOW_COPY_AND_ASSIGN(DelegatingRenderer);
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/output/delegating_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698