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

Unified Diff: services/ui/public/cpp/compositor_frame_sink.cc

Issue 2349743004: cc: Remove things from OutputSurface and CompositorFrameSink. (Closed)
Patch Set: delete-stuff-cfs: comment-and-rebase Created 4 years, 3 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 | « services/ui/public/cpp/compositor_frame_sink.h ('k') | services/ui/surfaces/direct_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/compositor_frame_sink.cc
diff --git a/services/ui/public/cpp/compositor_frame_sink.cc b/services/ui/public/cpp/compositor_frame_sink.cc
index 25c4e066ad7ecece6c45fe86f2a24c6abcd98750..017f70094e7391d65227549847d6618918789b1d 100644
--- a/services/ui/public/cpp/compositor_frame_sink.cc
+++ b/services/ui/public/cpp/compositor_frame_sink.cc
@@ -19,10 +19,8 @@ CompositorFrameSink::CompositorFrameSink(
std::unique_ptr<ui::WindowSurface> surface)
: cc::CompositorFrameSink(
make_scoped_refptr(new ContextProvider(std::move(gpu_channel_host))),
- nullptr,
nullptr),
surface_(std::move(surface)) {
- capabilities_.delegated_rendering = true;
}
CompositorFrameSink::~CompositorFrameSink() {}
@@ -47,17 +45,6 @@ void CompositorFrameSink::DetachFromClient() {
cc::CompositorFrameSink::DetachFromClient();
}
-void CompositorFrameSink::BindFramebuffer() {
- // This is a delegating output surface, no framebuffer/direct drawing support.
- NOTREACHED();
-}
-
-uint32_t CompositorFrameSink::GetFramebufferCopyTextureFormat() {
- // This is a delegating output surface, no framebuffer/direct drawing support.
- NOTREACHED();
- return 0;
-}
-
void CompositorFrameSink::SwapBuffers(cc::CompositorFrame frame) {
// CompositorFrameSink owns WindowSurface, and so if CompositorFrameSink is
// destroyed then SubmitCompositorFrame's callback will never get called.
« no previous file with comments | « services/ui/public/cpp/compositor_frame_sink.h ('k') | services/ui/surfaces/direct_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698