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

Unified Diff: cc/program_binding.h

Issue 12314003: cc: Use highp precision for texture coordinates if available (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use getShaderPrecisionFormat instead of GL_FRAGMENT_PRECISION_HIGH Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/shader.h » ('j') | cc/shader.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/program_binding.h
diff --git a/cc/program_binding.h b/cc/program_binding.h
index 49afa5ddac50f9ec85b736b7906499d325cb3125..fe65716c50c87ef5b4b7556a378d84139cbba618 100644
--- a/cc/program_binding.h
+++ b/cc/program_binding.h
@@ -45,7 +45,9 @@ class ProgramBinding : public ProgramBindingBase {
public:
explicit ProgramBinding(WebKit::WebGraphicsContext3D* context)
{
- ProgramBindingBase::init(context, m_vertexShader.getShaderString(), m_fragmentShader.getShaderString());
+ ProgramBindingBase::init(context,
+ m_vertexShader.getShaderString(context),
+ m_fragmentShader.getShaderString(context));
}
void initialize(WebKit::WebGraphicsContext3D* context, bool usingBindUniform)
« no previous file with comments | « no previous file | cc/shader.h » ('j') | cc/shader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698