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

Side by Side Diff: cc/delegating_renderer.cc

Issue 11618026: Move filters to RenderPassDrawQuad (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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 | « cc/delegating_renderer.h ('k') | cc/direct_renderer.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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 DelegatingRenderer::~DelegatingRenderer() { 118 DelegatingRenderer::~DelegatingRenderer() {
119 WebGraphicsContext3D* context3d = resource_provider_->graphicsContext3D(); 119 WebGraphicsContext3D* context3d = resource_provider_->graphicsContext3D();
120 if (context3d) 120 if (context3d)
121 context3d->setContextLostCallback(NULL); 121 context3d->setContextLostCallback(NULL);
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(RenderPassList& render_passes_in_draw_order, 128 void DelegatingRenderer::drawFrame(
129 RenderPassIdHashMap& render_passes_by_id) { 129 RenderPassList& render_passes_in_draw_order) {
130 TRACE_EVENT0("cc", "DelegatingRenderer::drawFrame"); 130 TRACE_EVENT0("cc", "DelegatingRenderer::drawFrame");
131 NOTIMPLEMENTED(); 131 NOTIMPLEMENTED();
132 } 132 }
133 133
134 bool DelegatingRenderer::swapBuffers() { 134 bool DelegatingRenderer::swapBuffers() {
135 return true; 135 return true;
136 } 136 }
137 137
138 void DelegatingRenderer::getFramebufferPixels(void *pixels, 138 void DelegatingRenderer::getFramebufferPixels(void *pixels,
139 const gfx::Rect& rect) { 139 const gfx::Rect& rect) {
(...skipping 16 matching lines...) Expand all
156 156
157 void DelegatingRenderer::setVisible(bool visible) { 157 void DelegatingRenderer::setVisible(bool visible) {
158 visible_ = visible; 158 visible_ = visible;
159 } 159 }
160 160
161 void DelegatingRenderer::onContextLost() { 161 void DelegatingRenderer::onContextLost() {
162 m_client->didLoseOutputSurface(); 162 m_client->didLoseOutputSurface();
163 } 163 }
164 164
165 } // namespace cc 165 } // namespace cc
OLDNEW
« no previous file with comments | « cc/delegating_renderer.h ('k') | cc/direct_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698