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

Unified Diff: blimp/client/feature/compositor/blimp_delegating_output_surface.h

Issue 2237223004: Add/fix some comments for BlimpDelegatingOutputSurface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 | « no previous file | cc/test/test_delegating_output_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/feature/compositor/blimp_delegating_output_surface.h
diff --git a/blimp/client/feature/compositor/blimp_delegating_output_surface.h b/blimp/client/feature/compositor/blimp_delegating_output_surface.h
index 0a69ef02380b6159ae93f3d203e2f4005820409a..7a1cd69d713899d5cb15ef55021798310ebe406a 100644
--- a/blimp/client/feature/compositor/blimp_delegating_output_surface.h
+++ b/blimp/client/feature/compositor/blimp_delegating_output_surface.h
@@ -18,6 +18,7 @@
namespace blimp {
namespace client {
+// Delegating output surface that owns and forwards frames to a Display.
class BlimpDelegatingOutputSurface : public cc::OutputSurface,
public cc::SurfaceFactoryClient,
public cc::DisplayClient {
@@ -51,8 +52,8 @@ class BlimpDelegatingOutputSurface : public cc::OutputSurface,
void DisplayDidDrawAndSwap() override;
private:
- // TODO(danakj): These don't to be stored in unique_ptrs when OutputSurface
- // is owned/destroyed on the compositor thread.
+ // TODO(danakj): These don't need to be stored in unique_ptrs when
+ // OutputSurface is owned/destroyed on the compositor thread.
std::unique_ptr<cc::SurfaceManager> surface_manager_;
std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_;
cc::SurfaceId delegated_surface_id_;
« no previous file with comments | « no previous file | cc/test/test_delegating_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698