Index: cc/quads/render_pass.h |
diff --git a/cc/quads/render_pass.h b/cc/quads/render_pass.h |
index 3d5a37cb78d9c1e4fbf1ee6c8785ae71e0e64b13..224a0506f0300969f47bf6a028e4e948e804a198 100644 |
--- a/cc/quads/render_pass.h |
+++ b/cc/quads/render_pass.h |
@@ -20,6 +20,10 @@ |
#include "ui/gfx/rect_f.h" |
#include "ui/gfx/transform.h" |
+namespace base { |
+class Value; |
+}; |
+ |
namespace cc { |
class DrawQuad; |
@@ -47,6 +51,7 @@ class CC_EXPORT RenderPass { |
int index; |
Id(int layer_id, int index) : layer_id(layer_id), index(index) {} |
+ void* AsTracingId() const; |
bool operator==(const Id& other) const { |
return layer_id == other.layer_id && index == other.index; |
@@ -79,6 +84,8 @@ class CC_EXPORT RenderPass { |
bool has_transparent_background, |
bool has_occlusion_from_outside_target_surface); |
+ scoped_ptr<base::Value> AsValue() const; |
+ |
// Uniquely identifies the render pass in the compositor's current frame. |
Id id; |