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

Side by Side Diff: cc/delegating_renderer.cc

Issue 11784030: Revert 175275 (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') | no next file with comments »
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();
133 } 132 }
134 133
135 bool DelegatingRenderer::swapBuffers() { 134 bool DelegatingRenderer::swapBuffers() {
136 return true; 135 return true;
137 } 136 }
138 137
139 void DelegatingRenderer::getFramebufferPixels(void *pixels, 138 void DelegatingRenderer::getFramebufferPixels(void *pixels,
140 const gfx::Rect& rect) { 139 const gfx::Rect& rect) {
141 NOTIMPLEMENTED(); 140 NOTIMPLEMENTED();
142 } 141 }
(...skipping 14 matching lines...) Expand all
157 156
158 void DelegatingRenderer::setVisible(bool visible) { 157 void DelegatingRenderer::setVisible(bool visible) {
159 visible_ = visible; 158 visible_ = visible;
160 } 159 }
161 160
162 void DelegatingRenderer::onContextLost() { 161 void DelegatingRenderer::onContextLost() {
163 m_client->didLoseOutputSurface(); 162 m_client->didLoseOutputSurface();
164 } 163 }
165 164
166 } // namespace cc 165 } // namespace cc
OLDNEW
« no previous file with comments | « no previous file | cc/frame_rate_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698