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(0) {} | 10 : program_id(-1), |
| 11 resource_id(-1), |
| 12 needs_blending(false), |
| 13 background_color(0), |
| 14 uv_xform_location(-1), |
| 15 background_color_location(-1), |
| 16 vertex_opacity_location(-1), |
| 17 matrix_location(-1), |
| 18 sampler_location(-1) { |
| 19 } |
11 | 20 |
12 TexturedQuadDrawCache::~TexturedQuadDrawCache() {} | 21 TexturedQuadDrawCache::~TexturedQuadDrawCache() {} |
13 | 22 |
14 } // namespace cc | 23 } // namespace cc |
OLD | NEW |