| 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/output/gl_renderer_draw_cache.h" | 5 #include "cc/output/gl_renderer_draw_cache.h" |
| 6 | 6 |
| 7 namespace cc { | 7 namespace cc { |
| 8 | 8 |
| 9 TexturedQuadDrawCache::TexturedQuadDrawCache() | 9 TexturedQuadDrawCache::TexturedQuadDrawCache() |
| 10 : program_id(-1), | 10 : program_id(-1), |
| 11 resource_id(-1), | 11 resource_id(-1), |
| 12 needs_blending(false), | 12 needs_blending(false), |
| 13 nearest_neighbor(false), |
| 13 background_color(0), | 14 background_color(0), |
| 14 uv_xform_location(-1), | 15 uv_xform_location(-1), |
| 15 background_color_location(-1), | 16 background_color_location(-1), |
| 16 vertex_opacity_location(-1), | 17 vertex_opacity_location(-1), |
| 17 matrix_location(-1), | 18 matrix_location(-1), |
| 18 sampler_location(-1) { | 19 sampler_location(-1) { |
| 19 } | 20 } |
| 20 | 21 |
| 21 TexturedQuadDrawCache::~TexturedQuadDrawCache() {} | 22 TexturedQuadDrawCache::~TexturedQuadDrawCache() {} |
| 22 | 23 |
| 23 } // namespace cc | 24 } // namespace cc |
| OLD | NEW |