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

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

Issue 12665005: cc: Use highp precision for texture coords if available and needed (Closed) Base URL: http://git.chromium.org/chromium/src.git@highp2
Patch Set: Rebase on pending Chromification https://codereview.chromium.org/13004003 Created 7 years, 9 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
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 bool using_bind_uniforms); 52 bool using_bind_uniforms);
53 53
54 private: 54 private:
55 typedef ProgramBinding<VertexShaderPosTexIdentity, FragmentShaderRGBATex> 55 typedef ProgramBinding<VertexShaderPosTexIdentity, FragmentShaderRGBATex>
56 BlitProgram; 56 BlitProgram;
57 57
58 WebKit::WebGraphicsContext3D* context_; 58 WebKit::WebGraphicsContext3D* context_;
59 GLuint fbo_; 59 GLuint fbo_;
60 GLuint position_buffer_; 60 GLuint position_buffer_;
61 scoped_ptr<BlitProgram> blit_program_; 61 scoped_ptr<BlitProgram> blit_program_;
62 scoped_ptr<BlitProgram> blit_program_highp_;
62 bool using_bind_uniforms_; 63 bool using_bind_uniforms_;
63 64
64 DISALLOW_COPY_AND_ASSIGN(AcceleratedTextureCopier); 65 DISALLOW_COPY_AND_ASSIGN(AcceleratedTextureCopier);
65 }; 66 };
66 67
67 } 68 }
68 69
69 #endif // CC_OUTPUT_TEXTURE_COPIER_H_ 70 #endif // CC_OUTPUT_TEXTURE_COPIER_H_
OLDNEW
« cc/output/shader.cc ('K') | « cc/output/shader.cc ('k') | cc/output/texture_copier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698