Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Side by Side Diff: cc/output/gl_renderer_draw_cache.cc

Issue 558083002: [cc] Add nearest neighbor filtering for TextureLayer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/output/gl_renderer_draw_cache.h ('k') | cc/output/overlay_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « cc/output/gl_renderer_draw_cache.h ('k') | cc/output/overlay_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698