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

Side by Side Diff: cc/render_pass_draw_quad.h

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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_RENDER_PASS_DRAW_QUAD_H_ 5 #ifndef CC_RENDER_PASS_DRAW_QUAD_H_
6 #define CC_RENDER_PASS_DRAW_QUAD_H_ 6 #define CC_RENDER_PASS_DRAW_QUAD_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "cc/cc_export.h" 10 #include "cc/cc_export.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 WebKit::WebFilterOperations filters; 60 WebKit::WebFilterOperations filters;
61 // Post-processing filter applied to the pixels in the render pass' texture. 61 // Post-processing filter applied to the pixels in the render pass' texture.
62 skia::RefPtr<SkImageFilter> filter; 62 skia::RefPtr<SkImageFilter> filter;
63 63
64 // Post-processing filters, applied to the pixels showing through the 64 // Post-processing filters, applied to the pixels showing through the
65 // background of the render pass, from behind it. 65 // background of the render pass, from behind it.
66 WebKit::WebFilterOperations background_filters; 66 WebKit::WebFilterOperations background_filters;
67 67
68 virtual void AppendResources(ResourceProvider::ResourceIdArray* resources) 68 virtual void AppendResources(ResourceProvider::ResourceIdArray* resources)
69 OVERRIDE; 69 OVERRIDE;
70 virtual void RemapResources(const ResourceRemapCallback& remap_callback)
71 OVERRIDE;
70 72
71 static const RenderPassDrawQuad* MaterialCast(const DrawQuad*); 73 static const RenderPassDrawQuad* MaterialCast(const DrawQuad*);
72 74
73 private: 75 private:
74 RenderPassDrawQuad(); 76 RenderPassDrawQuad();
75 }; 77 };
76 78
77 } 79 }
78 80
79 #endif // CC_RENDER_PASS_DRAW_QUAD_H_ 81 #endif // CC_RENDER_PASS_DRAW_QUAD_H_
OLDNEW
« cc/draw_quad.h ('K') | « cc/io_surface_draw_quad.cc ('k') | cc/render_pass_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698