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

Side by Side Diff: content/renderer/android/synchronous_compositor_frame_sink.cc

Issue 2612023002: cc: Implement overdraw feedback debugging feature. (Closed)
Patch Set: make sure overdraw_feedback_ is initialized and reset properly Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/android/synchronous_compositor_frame_sink.h" 5 #include "content/renderer/android/synchronous_compositor_frame_sink.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 // cc::OutputSurface implementation. 84 // cc::OutputSurface implementation.
85 void BindToClient(cc::OutputSurfaceClient* client) override {} 85 void BindToClient(cc::OutputSurfaceClient* client) override {}
86 void EnsureBackbuffer() override {} 86 void EnsureBackbuffer() override {}
87 void DiscardBackbuffer() override {} 87 void DiscardBackbuffer() override {}
88 void BindFramebuffer() override {} 88 void BindFramebuffer() override {}
89 void SwapBuffers(cc::OutputSurfaceFrame frame) override {} 89 void SwapBuffers(cc::OutputSurfaceFrame frame) override {}
90 void Reshape(const gfx::Size& size, 90 void Reshape(const gfx::Size& size,
91 float scale_factor, 91 float scale_factor,
92 const gfx::ColorSpace& color_space, 92 const gfx::ColorSpace& color_space,
93 bool has_alpha) override {} 93 bool has_alpha,
94 bool use_stencil) override {}
94 uint32_t GetFramebufferCopyTextureFormat() override { return 0; } 95 uint32_t GetFramebufferCopyTextureFormat() override { return 0; }
95 cc::OverlayCandidateValidator* GetOverlayCandidateValidator() const override { 96 cc::OverlayCandidateValidator* GetOverlayCandidateValidator() const override {
96 return nullptr; 97 return nullptr;
97 } 98 }
98 bool IsDisplayedAsOverlayPlane() const override { return false; } 99 bool IsDisplayedAsOverlayPlane() const override { return false; }
99 unsigned GetOverlayTextureId() const override { return 0; } 100 unsigned GetOverlayTextureId() const override { return 0; }
100 bool SurfaceIsSuspendForRecycle() const override { return false; } 101 bool SurfaceIsSuspendForRecycle() const override { return false; }
101 bool HasExternalStencilTest() const override { return false; } 102 bool HasExternalStencilTest() const override { return false; }
102 void ApplyExternalStencil() override {} 103 void ApplyExternalStencil() override {}
103 }; 104 };
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 client_->ReclaimResources(resources); 471 client_->ReclaimResources(resources);
471 } 472 }
472 473
473 void SynchronousCompositorFrameSink::SetBeginFrameSource( 474 void SynchronousCompositorFrameSink::SetBeginFrameSource(
474 cc::BeginFrameSource* begin_frame_source) { 475 cc::BeginFrameSource* begin_frame_source) {
475 // Software output is synchronous and doesn't use a BeginFrameSource. 476 // Software output is synchronous and doesn't use a BeginFrameSource.
476 NOTREACHED(); 477 NOTREACHED();
477 } 478 }
478 479
479 } // namespace content 480 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | services/ui/surfaces/display_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698