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

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

Issue 2231093003: cc: Remove FinishAllRendering, as it doesn't do anything anymore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: finishallrendering: . 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 unified diff | Download patch
« no previous file with comments | « cc/output/delegating_renderer.h ('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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const RendererSettings* settings, 55 const RendererSettings* settings,
56 OutputSurface* output_surface, 56 OutputSurface* output_surface,
57 ResourceProvider* resource_provider, 57 ResourceProvider* resource_provider,
58 TextureMailboxDeleter* texture_mailbox_deleter, 58 TextureMailboxDeleter* texture_mailbox_deleter,
59 int highp_threshold_min); 59 int highp_threshold_min);
60 60
61 ~GLRenderer() override; 61 ~GLRenderer() override;
62 62
63 const RendererCapabilitiesImpl& Capabilities() const override; 63 const RendererCapabilitiesImpl& Capabilities() const override;
64 64
65 // Waits for rendering to finish.
66 void Finish() override;
67
68 void SwapBuffers(CompositorFrameMetadata metadata) override; 65 void SwapBuffers(CompositorFrameMetadata metadata) override;
69 void SwapBuffersComplete() override; 66 void SwapBuffersComplete() override;
70 67
71 void DidReceiveTextureInUseResponses( 68 void DidReceiveTextureInUseResponses(
72 const gpu::TextureInUseResponses& responses) override; 69 const gpu::TextureInUseResponses& responses) override;
73 70
74 virtual bool IsContextLost(); 71 virtual bool IsContextLost();
75 72
76 protected: 73 protected:
77 GLRenderer(RendererClient* client, 74 GLRenderer(RendererClient* client,
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 // FlippedFramebuffer to return |true|. 555 // FlippedFramebuffer to return |true|.
559 bool force_drawing_frame_framebuffer_unflipped_ = false; 556 bool force_drawing_frame_framebuffer_unflipped_ = false;
560 557
561 BoundGeometry bound_geometry_; 558 BoundGeometry bound_geometry_;
562 DISALLOW_COPY_AND_ASSIGN(GLRenderer); 559 DISALLOW_COPY_AND_ASSIGN(GLRenderer);
563 }; 560 };
564 561
565 } // namespace cc 562 } // namespace cc
566 563
567 #endif // CC_OUTPUT_GL_RENDERER_H_ 564 #endif // CC_OUTPUT_GL_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/delegating_renderer.h ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698