Searched refs:vec2 (Results 1 – 25 of 40) sorted by relevance
12
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | GLES20RenderEngine.cpp | 298 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>()); in endGroup() 299 Mesh::VertexArray<vec2> texCoord(mesh.getTexCoordArray<vec2>()); in endGroup() 300 position[0] = vec2(0, 0); in endGroup() 301 position[1] = vec2(group.width, 0); in endGroup() 302 position[2] = vec2(group.width, group.height); in endGroup() 303 position[3] = vec2(0, group.height); in endGroup() 304 texCoord[0] = vec2(0, 0); in endGroup() 305 texCoord[1] = vec2(1, 0); in endGroup() 306 texCoord[2] = vec2(1, 1); in endGroup() 307 texCoord[3] = vec2(0, 1); in endGroup()
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/res/raw/ |
D | vignette_fs.glsl | 3 varying vec2 varTex0; 8 vec2 powers = pow(abs((gl_FragCoord.xy / vec2(UNI_width, UNI_height)) - 0.5), vec2(2.0));
|
/frameworks/base/core/res/res/raw/ |
D | color_fade_vert.vert | 4 attribute vec2 position; 5 attribute vec2 uv; 6 varying vec2 UV;
|
/frameworks/native/services/surfaceflinger/ |
D | Transform.cpp | 176 vec2 Transform::transform(const vec2& v) const { in transform() 177 vec2 r; in transform() 193 vec2 Transform::transform(int x, int y) const in transform() 195 return transform(vec2(x,y)); in transform() 206 vec2 lt( bounds.left, bounds.top ); in transform() 207 vec2 rt( bounds.right, bounds.top ); in transform() 208 vec2 lb( bounds.left, bounds.bottom ); in transform() 209 vec2 rb( bounds.right, bounds.bottom ); in transform()
|
D | Transform.h | 80 vec2 transform(int x, int y) const; 100 vec2 transform(const vec2& v) const;
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | ball_physics.rs | 60 float2 vec2 = vec * vec; 61 float len2 = vec2.x + vec2.y; 79 float2 vec2 = vec * vec; 80 float len2 = max(2.f, vec2.x + vec2.y);
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/res/raw/ |
D | multitexf.glsl | 1 varying vec2 varTex0; 4 vec2 t0 = varTex0.xy;
|
D | shaderf.glsl | 6 varying vec2 varTex0; 9 vec2 t0 = varTex0.xy;
|
D | shaderarrayf.glsl | 6 varying vec2 varTex0; 9 vec2 t0 = varTex0.xy;
|
D | shader2f.glsl | 3 varying vec2 varTex0; 22 vec2 t0 = varTex0.xy;
|
/frameworks/base/tests/RenderScriptTests/PerfTest/res/raw/ |
D | multitexf.glsl | 1 varying vec2 varTex0; 4 vec2 t0 = varTex0.xy;
|
D | shaderf.glsl | 6 varying vec2 varTex0; 9 vec2 t0 = varTex0.xy;
|
D | shader2f.glsl | 3 varying vec2 varTex0; 22 vec2 t0 = varTex0.xy;
|
D | singletexf.glsl | 1 varying vec2 varTex0;
|
D | singletexfm.glsl | 1 varying vec2 varTex0;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/ |
D | blur_h.glsl | 1 varying vec2 varTex0; 4 vec2 blurCoord = varTex0;
|
D | diffuse.glsl | 3 varying vec2 varTex0; 14 vec2 t0 = varTex0.xy;
|
D | blur_v.glsl | 1 varying vec2 varTex0; 4 vec2 blurCoord = varTex0;
|
D | diffuse_lights.glsl | 3 varying vec2 varTex0; 16 vec2 t0 = varTex0.xy;
|
D | plastic.glsl | 3 varying vec2 varTex0; 16 vec2 t0 = varTex0.xy;
|
D | metal.glsl | 3 varying vec2 varTex0; 16 vec2 t0 = varTex0.xy;
|
D | paintf.glsl | 3 varying vec2 varTex0; 16 vec2 t0 = varTex0.xy;
|
D | plastic_lights.glsl | 3 varying vec2 varTex0; 22 vec2 t0 = varTex0.xy;
|
D | blur_vertex.glsl | 1 varying vec2 varTex0;
|
D | texture.glsl | 1 varying vec2 varTex0;
|
12