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

Side by Side Diff: cc/output/gl_renderer.h

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Dana's nits Created 4 years, 6 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
« no previous file with comments | « cc/output/delegating_renderer_unittest.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 #ifndef CC_OUTPUT_GL_RENDERER_H_ 5 #ifndef CC_OUTPUT_GL_RENDERER_H_
6 #define CC_OUTPUT_GL_RENDERER_H_ 6 #define CC_OUTPUT_GL_RENDERER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 TextureMailboxDeleter* texture_mailbox_deleter, 56 TextureMailboxDeleter* texture_mailbox_deleter,
57 int highp_threshold_min); 57 int highp_threshold_min);
58 58
59 ~GLRenderer() override; 59 ~GLRenderer() override;
60 60
61 const RendererCapabilitiesImpl& Capabilities() const override; 61 const RendererCapabilitiesImpl& Capabilities() const override;
62 62
63 // Waits for rendering to finish. 63 // Waits for rendering to finish.
64 void Finish() override; 64 void Finish() override;
65 65
66 void SwapBuffers(const CompositorFrameMetadata& metadata) override; 66 void SwapBuffers(CompositorFrameMetadata metadata) override;
67 void SwapBuffersComplete() override; 67 void SwapBuffersComplete() override;
68 68
69 void DidReceiveTextureInUseResponses( 69 void DidReceiveTextureInUseResponses(
70 const gpu::TextureInUseResponses& responses) override; 70 const gpu::TextureInUseResponses& responses) override;
71 71
72 virtual bool IsContextLost(); 72 virtual bool IsContextLost();
73 73
74 protected: 74 protected:
75 GLRenderer(RendererClient* client, 75 GLRenderer(RendererClient* client,
76 const RendererSettings* settings, 76 const RendererSettings* settings,
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 523
524 SkBitmap on_demand_tile_raster_bitmap_; 524 SkBitmap on_demand_tile_raster_bitmap_;
525 ResourceId on_demand_tile_raster_resource_id_; 525 ResourceId on_demand_tile_raster_resource_id_;
526 BoundGeometry bound_geometry_; 526 BoundGeometry bound_geometry_;
527 DISALLOW_COPY_AND_ASSIGN(GLRenderer); 527 DISALLOW_COPY_AND_ASSIGN(GLRenderer);
528 }; 528 };
529 529
530 } // namespace cc 530 } // namespace cc
531 531
532 #endif // CC_OUTPUT_GL_RENDERER_H_ 532 #endif // CC_OUTPUT_GL_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/delegating_renderer_unittest.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698