diff options
Diffstat (limited to 'cc/quads/texture_draw_quad.h')
| -rw-r--r-- | cc/quads/texture_draw_quad.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cc/quads/texture_draw_quad.h b/cc/quads/texture_draw_quad.h index 9137d51..990b276 100644 --- a/cc/quads/texture_draw_quad.h +++ b/cc/quads/texture_draw_quad.h @@ -26,7 +26,8 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad { const gfx::PointF& uv_bottom_right, SkColor background_color, const float vertex_opacity[4], - bool flipped); + bool flipped, + bool nearest_neighbor); void SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, @@ -39,7 +40,8 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad { const gfx::PointF& uv_bottom_right, SkColor background_color, const float vertex_opacity[4], - bool flipped); + bool flipped, + bool nearest_neighbor); unsigned resource_id; bool premultiplied_alpha; @@ -48,6 +50,7 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad { SkColor background_color; float vertex_opacity[4]; bool flipped; + bool nearest_neighbor; void IterateResources(const ResourceIteratorCallback& callback) override; |
