/ndk/tests/build/issue41387-uniform-initialized-rvalue/jni/ |
Android.mk | 4 LOCAL_MODULE := issue41387-uniform-initialized-rvalue 5 LOCAL_SRC_FILES := issue41387-uniform-initialized-rvalue.cpp
|
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/ |
simple_water.frag | 8 uniform sampler2D m_water_normalmap; 9 uniform sampler2D m_water_reflection; 10 uniform sampler2D m_water_refraction; 11 uniform sampler2D m_water_dudvmap; 12 uniform sampler2D m_water_depthmap; 13 uniform vec4 m_waterColor; 14 uniform float m_waterDepth; 15 uniform vec4 m_distortionScale; 16 uniform vec4 m_distortionMix; 17 uniform vec4 m_texScale [all...] |
simple_water.vert | 7 uniform vec3 m_lightPos; 8 uniform float m_time; 10 uniform mat4 g_WorldViewProjectionMatrix; 11 uniform mat4 g_WorldViewMatrix; 12 uniform mat4 g_ViewMatrix; 13 uniform vec3 g_CameraPosition; 14 uniform mat3 g_NormalMatrix;
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
ShaderChromium.cpp | 56 uniform mat4 matrix; 87 uniform mat4 matrix; 90 uniform float y_widthScaleFactor; 91 uniform float uv_widthScaleFactor; 116 uniform mat4 matrix; 142 uniform mat4 matrix; 143 uniform vec4 texTransform; 172 uniform sampler2D s_texture; 173 uniform float alpha; 187 uniform sampler2D s_texture [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/shader/ |
Shader.java | 63 * Maps uniform name to the uniform variable.
65 // private HashMap<String, Uniform> uniforms;
66 private ListMap<String, Uniform> uniforms;
220 // uniforms = new HashMap<String, Uniform>();
221 uniforms = new ListMap<String, Uniform>();
235 //uniforms = new ListMap<String, Uniform>();
259 HashMap<String, Uniform> uniMap = (HashMap<String, Uniform>) ic.readStringSavableMap("uniforms", null);
260 uniforms = new ListMap<String, Uniform>(uniMap); 322 Uniform uniform = uniforms.get(name); local [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/ |
PssmShadowUtil.java | 61 float uniform = near + (far - near) * IDM; local 62 splits[i] = log * lambda + uniform * (1.0f - lambda);
|
/external/jmonkeyengine/engine/src/core/com/jme3/material/ |
Technique.java | 51 private ArrayList<Uniform> worldBindUniforms; 67 this.worldBindUniforms = new ArrayList<Uniform>(); 107 public List<Uniform> getWorldBindUniforms() { 141 Uniform u = shader.getUniform(paramName); 224 // refresh the uniform links 231 Uniform uniform = shader.getUniform("g_" + binding.name()); local 232 uniform.setBinding(binding); 233 if (uniform != null) { 234 worldBindUniforms.add(uniform); [all...] |
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/ |
OGLESShaderRenderer.java | 52 import com.jme3.shader.Uniform; 743 protected void updateUniformLocation(Shader shader, Uniform uniform) { 745 stringBuf.append(uniform.getName()).append('\0'); 748 logger.log(Level.INFO, "GLES20.glGetUniformLocation({0}, {1})", new Object[]{shader.getId(), uniform.getName()}); 750 int loc = GLES20.glGetUniformLocation(shader.getId(), uniform.getName()); 753 uniform.setLocation(-1); 754 // uniform is not declared in shader 756 logger.log(Level.WARNING, "Uniform [{0}] is not declared in shader.", uniform.getName()) 925 Uniform uniform = uniforms.getValue(i); local 936 Uniform uniform = uniforms.getValue(i); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/ |
ShaderUniformDetailsProvider.java | 60 IGLProperty uniform = getShaderUniformProperty(state); local 61 if (uniform instanceof GLCompositeProperty) { 62 GLCompositeProperty uniformProperty = (GLCompositeProperty) uniform;
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/ |
LwjglRenderer.java | 50 import com.jme3.shader.Uniform;
760 protected void updateUniformLocation(Shader shader, Uniform uniform) {
762 stringBuf.append(uniform.getName()).append('\0');
766 uniform.setLocation(-1);
767 // uniform is not declared in shader
768 logger.log(Level.INFO, "Uniform {0} is not declared in shader {1}.", new Object[]{uniform.getName(), shader.getSources()});
770 uniform.setLocation(loc);
786 protected void updateUniform(Shader shader, Uniform uniform) { 890 Uniform uniform = uniforms.getValue(i); local 901 Uniform uniform = uniforms.getValue(i); local [all...] |
/external/opencv/cv/src/ |
cvthresh.cpp | 208 bool uniform = false; local 236 uniform = true; 244 if( uniform ) 268 if( uniform )
|
cvhistogram.cpp | 45 cvCreateHist( int dims, int *sizes, CvHistType type, float** ranges, int uniform ) 79 CV_CALL( cvSetHistBinRanges( hist, ranges, uniform )); 93 float *data, float **ranges, int uniform ) 114 if( !uniform ) 115 CV_ERROR( CV_StsBadArg, "Only uniform bin ranges can be used here " 117 CV_CALL( cvSetHistBinRanges( hist, ranges, uniform )); 721 cvSetHistBinRanges( CvHistogram* hist, float** ranges, int uniform ) 740 if( uniform ) 1128 int uniform = CV_IS_UNIFORM_HIST(hist); local 1819 int uniform = CV_IS_UNIFORM_HIST(hist); local [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Program.cpp | 29 Uniform::Uniform(GLenum type, const std::string &name, unsigned int arraySize) : type(type), name(name), arraySize(arraySize) 38 Uniform::~Uniform() 276 Uniform *targetUniform = mUniforms[mUniformIndex[location].index]; 284 return false; // attempting to write an array to a non-array uniform is an INVALID_OPERATION 296 return false; // attempting to write an array to a non-array uniform is an INVALID_OPERATION 333 Uniform *targetUniform = mUniforms[mUniformIndex[location].index]; 341 return false; // attempting to write an array to a non-array uniform is an INVALID_OPERATION 353 return false; // attempting to write an array to a non-array uniform is an INVALID_OPERATIO [all...] |
/external/opencv/cv/include/ |
cv.h | [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
glslang_tab.cpp | 102 UNIFORM = 291, 196 #define UNIFORM 291 765 "MATRIX3", "MATRIX4", "IN_QUAL", "OUT_QUAL", "INOUT_QUAL", "UNIFORM", [all...] |