public:
enum Orientation {
FLIPPED,
- UNFLIPPED
+ UNFLIPPED,
+ ORIENTATION_LAST = UNFLIPPED
};
- static scoped_ptr<IOSurfaceDrawQuad> Create();
+ IOSurfaceDrawQuad();
void SetNew(const SharedQuadState* shared_quad_state,
const gfx::Rect& rect,
const gfx::Rect& opaque_rect,
- gfx::Size io_surface_size,
+ const gfx::Rect& visible_rect,
+ const gfx::Size& io_surface_size,
unsigned io_surface_resource_id,
Orientation orientation);
const gfx::Rect& opaque_rect,
const gfx::Rect& visible_rect,
bool needs_blending,
- gfx::Size io_surface_size,
+ const gfx::Size& io_surface_size,
unsigned io_surface_resource_id,
Orientation orientation);
static const IOSurfaceDrawQuad* MaterialCast(const DrawQuad*);
private:
- IOSurfaceDrawQuad();
- virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE;
+ virtual void ExtendValue(base::debug::TracedValue* value) const OVERRIDE;
};
} // namespace cc