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

Side by Side Diff: cc/io_surface_draw_quad.cc

Issue 12340124: cc: Receive and remap resources to the parent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
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/io_surface_draw_quad.h" 5 #include "cc/io_surface_draw_quad.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace cc { 9 namespace cc {
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 this->io_surface_texture_id = io_surface_texture_id; 46 this->io_surface_texture_id = io_surface_texture_id;
47 this->orientation = orientation; 47 this->orientation = orientation;
48 } 48 }
49 49
50 void IOSurfaceDrawQuad::AppendResources( 50 void IOSurfaceDrawQuad::AppendResources(
51 ResourceProvider::ResourceIdArray* resources) { 51 ResourceProvider::ResourceIdArray* resources) {
52 // TODO(danakj): Convert to TextureDrawQuad? 52 // TODO(danakj): Convert to TextureDrawQuad?
53 NOTIMPLEMENTED(); 53 NOTIMPLEMENTED();
54 } 54 }
55 55
56 void IOSurfaceDrawQuad::RemapResources(
57 const ResourceRemapCallback& remap_callback) {
58 // TODO(danakj): Convert to TextureDrawQuad?
59 NOTIMPLEMENTED();
60 }
61
56 const IOSurfaceDrawQuad* IOSurfaceDrawQuad::MaterialCast( 62 const IOSurfaceDrawQuad* IOSurfaceDrawQuad::MaterialCast(
57 const DrawQuad* quad) { 63 const DrawQuad* quad) {
58 DCHECK(quad->material == DrawQuad::IO_SURFACE_CONTENT); 64 DCHECK(quad->material == DrawQuad::IO_SURFACE_CONTENT);
59 return static_cast<const IOSurfaceDrawQuad*>(quad); 65 return static_cast<const IOSurfaceDrawQuad*>(quad);
60 } 66 }
61 67
62 } // namespace cc 68 } // namespace cc
OLDNEW
« cc/draw_quad.h ('K') | « cc/io_surface_draw_quad.h ('k') | cc/render_pass_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698