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

Side by Side Diff: cc/delegating_renderer.cc

Issue 11747002: cc: Set the max frames pending from the thread proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/frame_rate_controller.h » ('j') | cc/frame_rate_controller.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 "cc/delegating_renderer.h" 5 #include "cc/delegating_renderer.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 } 122 }
123 123
124 const RendererCapabilities& DelegatingRenderer::capabilities() const { 124 const RendererCapabilities& DelegatingRenderer::capabilities() const {
125 return capabilities_; 125 return capabilities_;
126 } 126 }
127 127
128 void DelegatingRenderer::drawFrame( 128 void DelegatingRenderer::drawFrame(
129 RenderPassList& render_passes_in_draw_order) { 129 RenderPassList& render_passes_in_draw_order) {
130 TRACE_EVENT0("cc", "DelegatingRenderer::drawFrame"); 130 TRACE_EVENT0("cc", "DelegatingRenderer::drawFrame");
131 NOTIMPLEMENTED(); 131 NOTIMPLEMENTED();
132 render_passes_in_draw_order.clear();
132 } 133 }
133 134
134 bool DelegatingRenderer::swapBuffers() { 135 bool DelegatingRenderer::swapBuffers() {
135 return true; 136 return true;
136 } 137 }
137 138
138 void DelegatingRenderer::getFramebufferPixels(void *pixels, 139 void DelegatingRenderer::getFramebufferPixels(void *pixels,
139 const gfx::Rect& rect) { 140 const gfx::Rect& rect) {
140 NOTIMPLEMENTED(); 141 NOTIMPLEMENTED();
141 } 142 }
(...skipping 14 matching lines...) Expand all
156 157
157 void DelegatingRenderer::setVisible(bool visible) { 158 void DelegatingRenderer::setVisible(bool visible) {
158 visible_ = visible; 159 visible_ = visible;
159 } 160 }
160 161
161 void DelegatingRenderer::onContextLost() { 162 void DelegatingRenderer::onContextLost() {
162 m_client->didLoseOutputSurface(); 163 m_client->didLoseOutputSurface();
163 } 164 }
164 165
165 } // namespace cc 166 } // namespace cc
OLDNEW
« no previous file with comments | « no previous file | cc/frame_rate_controller.h » ('j') | cc/frame_rate_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698