OLD | NEW |
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/quads/texture_draw_quad.h" | 5 #include "cc/quads/texture_draw_quad.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
8 #include "base/trace_event/trace_event_argument.h" | 10 #include "base/trace_event/trace_event_argument.h" |
9 #include "base/values.h" | 11 #include "base/values.h" |
10 #include "cc/base/math_util.h" | 12 #include "cc/base/math_util.h" |
11 #include "ui/gfx/geometry/vector2d_f.h" | 13 #include "ui/gfx/geometry/vector2d_f.h" |
12 | 14 |
13 namespace cc { | 15 namespace cc { |
14 | 16 |
15 TextureDrawQuad::TextureDrawQuad() | 17 TextureDrawQuad::TextureDrawQuad() |
16 : premultiplied_alpha(false), | 18 : premultiplied_alpha(false), |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 value->EndArray(); | 106 value->EndArray(); |
105 | 107 |
106 value->SetBoolean("y_flipped", y_flipped); | 108 value->SetBoolean("y_flipped", y_flipped); |
107 value->SetBoolean("nearest_neighbor", nearest_neighbor); | 109 value->SetBoolean("nearest_neighbor", nearest_neighbor); |
108 } | 110 } |
109 | 111 |
110 TextureDrawQuad::OverlayResources::OverlayResources() { | 112 TextureDrawQuad::OverlayResources::OverlayResources() { |
111 } | 113 } |
112 | 114 |
113 } // namespace cc | 115 } // namespace cc |
OLD | NEW |