Upgrade ReadPixels to ES3 semantic in command buffer.
[chromium-blink-merge.git] / cc / output / gl_renderer_draw_cache.cc
blob91581f481be8829e67c064c908df38a4a9891e92
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
3 // found in the LICENSE file.
5 #include "cc/output/gl_renderer_draw_cache.h"
7 namespace cc {
9 TexturedQuadDrawCache::TexturedQuadDrawCache()
10 : program_id(-1),
11 resource_id(-1),
12 needs_blending(false),
13 nearest_neighbor(false),
14 background_color(0),
15 uv_xform_location(-1),
16 background_color_location(-1),
17 vertex_opacity_location(-1),
18 matrix_location(-1),
19 sampler_location(-1) {
22 TexturedQuadDrawCache::~TexturedQuadDrawCache() {}
24 } // namespace cc