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

Side by Side Diff: cc/output/texture_copier.h

Issue 14705008: cc: Cache highp_threshold in TexCoordPrecisionRequired (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase. Remove unnecessary statics. Allow min to vary. Created 7 years, 7 months 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/shader_unittest.cc ('k') | cc/output/texture_copier.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 #ifndef CC_OUTPUT_TEXTURE_COPIER_H_ 5 #ifndef CC_OUTPUT_TEXTURE_COPIER_H_
6 #define CC_OUTPUT_TEXTURE_COPIER_H_ 6 #define CC_OUTPUT_TEXTURE_COPIER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 typedef ProgramBinding<VertexShaderPosTexIdentity, FragmentShaderRGBATex> 58 typedef ProgramBinding<VertexShaderPosTexIdentity, FragmentShaderRGBATex>
59 BlitProgram; 59 BlitProgram;
60 60
61 WebKit::WebGraphicsContext3D* context_; 61 WebKit::WebGraphicsContext3D* context_;
62 GLuint fbo_; 62 GLuint fbo_;
63 GLuint position_buffer_; 63 GLuint position_buffer_;
64 scoped_ptr<BlitProgram> blit_program_; 64 scoped_ptr<BlitProgram> blit_program_;
65 scoped_ptr<BlitProgram> blit_program_highp_; 65 scoped_ptr<BlitProgram> blit_program_highp_;
66 bool using_bind_uniforms_; 66 bool using_bind_uniforms_;
67 int highp_threshold_min_; 67 int highp_threshold_min_;
68 int highp_threshold_cache_;
68 69
69 DISALLOW_COPY_AND_ASSIGN(AcceleratedTextureCopier); 70 DISALLOW_COPY_AND_ASSIGN(AcceleratedTextureCopier);
70 }; 71 };
71 72
72 } // namespace cc 73 } // namespace cc
73 74
74 #endif // CC_OUTPUT_TEXTURE_COPIER_H_ 75 #endif // CC_OUTPUT_TEXTURE_COPIER_H_
OLDNEW
« no previous file with comments | « cc/output/shader_unittest.cc ('k') | cc/output/texture_copier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698