/cts/suite/cts/deviceTests/opengl/assets/vertex/ |
basic | 16 attribute vec2 a_TexCoordinate; 17 varying vec2 v_TexCoordinate;
|
blur | 16 attribute vec2 a_TexCoordinate; 17 varying vec2 v_TexCoordinate;
|
water | 18 attribute vec2 a_TexCoordinate; 20 varying vec2 v_TexCoordinate;
|
perspective | 19 attribute vec2 a_TexCoordinate; 22 varying vec2 v_TexCoordinate;
|
/external/eigen/doc/snippets/ |
Tutorial_AdvancedInitialization_Join.cpp | 5 RowVectorXd vec2(4); 6 vec2 << 1, 4, 9, 16;; 7 std::cout << "vec2 = " << vec2 << std::endl; 10 joined << vec1, vec2; variable
|
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/profiles/ |
ARB_shader_texture_lod.glsl | 5 vec2 P, float dPdx, float dPdy); 10 vec2 P, vec2 dPdx, vec2 dPdy); 12 vec3 P, vec2 dPdx, vec2 dPdy); 14 vec4 P, vec2 dPdx, vec2 dPdy); 30 vec3 P, vec2 dPdx, vec2 dPdy) [all...] |
ARB_shader_texture_lod.frag | 6 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod); 8 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod);
|
/external/mesa3d/src/glsl/builtins/profiles/ |
ARB_shader_texture_lod.glsl | 5 vec2 P, float dPdx, float dPdy); 10 vec2 P, vec2 dPdx, vec2 dPdy); 12 vec3 P, vec2 dPdx, vec2 dPdy); 14 vec4 P, vec2 dPdx, vec2 dPdy); 30 vec3 P, vec2 dPdx, vec2 dPdy) [all...] |
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/ |
vec2.js | 25 * @name vec2 27 var vec2 = {}; 30 * Creates a new, empty vec2 32 * @returns {vec2} a new 2D vector 34 vec2.create = function() { 42 * Creates a new vec2 initialized with values from an existing vector 44 * @param {vec2} a vector to clone 45 * @returns {vec2} a new 2D vector 47 vec2.clone = function(a) { 55 * Creates a new vec2 initialized with the given value [all...] |
/external/clang/test/Sema/ |
ext_vector_components.c | 11 float2 vec2, vec2_2; local 17 vec2.z; // expected-error {{vector component access exceeds type 'float2'}} 18 vec2.xyzw; // expected-error {{vector component access exceeds type 'float2'}} 22 vec2 = vec4.s01; // legal, shorten 23 vec2 = vec4.S01; // legal, shorten 26 f = vec2.x; // legal, shorten 32 vec2.x = f; 33 vec2.xx = vec2_2.xy; // expected-error {{vector is not assignable (contains duplicate components)}} 34 vec2.yx = vec2_2.xy;
|
/cts/suite/cts/deviceTests/opengl/assets/fragment/ |
basic | 16 varying vec2 v_TexCoordinate;
|
blur | 16 uniform vec2 u_Scale; 17 varying vec2 v_TexCoordinate; 33 vec2 coords = v_TexCoordinate.xy + ((float(i) - 5.0) * u_Scale);
|
perspective | 19 varying vec2 v_TexCoordinate;
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/ |
vec2-spec.js | 23 describe("vec2", function() { 29 beforeEach(function() { result = vec2.create(); }); 34 beforeEach(function() { result = vec2.clone(vecA); }); 39 beforeEach(function() { result = vec2.fromValues(1, 2); }); 44 beforeEach(function() { result = vec2.copy(out, vecA); }); 50 beforeEach(function() { result = vec2.set(out, 1, 2); }); 57 beforeEach(function() { result = vec2.add(out, vecA, vecB); }); 66 beforeEach(function() { result = vec2.add(vecA, vecA, vecB); }); 74 beforeEach(function() { result = vec2.add(vecB, vecA, vecB); }); 83 it("should have an alias called 'sub'", function() { expect(vec2.sub).toEqual(vec2.subtract); }) [all...] |
/external/jmonkeyengine/engine/src/bullet-native/ |
com_jme3_bullet_collision_shapes_SimplexCollisionShape.cpp | 67 btVector3 vec2 = btVector3(); local 68 jmeBulletUtil::convert(env, vector2, &vec2); 69 btBU_Simplex1to4* simplexShape = new btBU_Simplex1to4(vec1, vec2); 82 btVector3 vec2 = btVector3(); local 83 jmeBulletUtil::convert(env, vector2, &vec2); 86 btBU_Simplex1to4* simplexShape = new btBU_Simplex1to4(vec1, vec2, vec3); 99 btVector3 vec2 = btVector3(); local 100 jmeBulletUtil::convert(env, vector2, &vec2); 105 btBU_Simplex1to4* simplexShape = new btBU_Simplex1to4(vec1, vec2, vec3, vec4);
|
/external/chromium_org/content/browser/renderer_host/ |
compositing_iosurface_shader_programs_mac.cc | 38 varying vec2 texture_coord; 48 varying vec2 texture_coord; 105 varying vec2 texture_coord0; 106 varying vec2 texture_coord1; 107 varying vec2 texture_coord2; 108 varying vec2 texture_coord3; 112 vec2 texcoord_base = gl_MultiTexCoord0.xy; 113 vec2 one_texel_x = vec2(texel_scale_x_, 0.0); 128 varying vec2 texture_coord0 [all...] |
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/ |
simple_water.frag | 18 uniform vec2 m_FrustumNearFar; 54 vec4 readDepth(vec2 uv){ 65 vec4 disdis = texture2D(m_water_dudvmap, vec2(waterTex2 * m_texScale)); 66 vec4 fdist = texture2D(m_water_dudvmap, vec2(waterTex1 + disdis*m_distortionMix)); 71 vec4 nmap = texture2D(m_water_normalmap, vec2(waterTex1 + disdis*m_distortionMix)); 82 vec4 refl = texture2D(m_water_reflection, vec2(projCoord.x,1.0-projCoord.y)); 83 vec4 refr = texture2D(m_water_refraction, vec2(projCoord)); 84 vec4 wdepth =readDepth(vec2(projCoord));
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_quad.c | 96 LLVMValueRef vec1, vec2; local 114 vec2 = lp_build_swizzle_aos(bld, a, swizzle2); 117 return LLVMBuildFSub(builder, vec2, vec1, "ddxddy"); 119 return LLVMBuildSub(builder, vec2, vec1, "ddxddy"); 131 LLVMValueRef vec1, vec2; local 151 vec2 = LLVMBuildShuffleVector(builder, a, b, 154 return LLVMBuildFSub(builder, vec2, vec1, "ddxddyddxddy"); 156 return LLVMBuildSub(builder, vec2, vec1, "ddxddyddxddy");
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_quad.c | 96 LLVMValueRef vec1, vec2; local 114 vec2 = lp_build_swizzle_aos(bld, a, swizzle2); 117 return LLVMBuildFSub(builder, vec2, vec1, "ddxddy"); 119 return LLVMBuildSub(builder, vec2, vec1, "ddxddy"); 131 LLVMValueRef vec1, vec2; local 151 vec2 = LLVMBuildShuffleVector(builder, a, b, 154 return LLVMBuildFSub(builder, vec2, vec1, "ddxddyddxddy"); 156 return LLVMBuildSub(builder, vec2, vec1, "ddxddyddxddy");
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/ |
shader2v.glsl | 8 varying vec2 varTex0;
|
/frameworks/native/services/surfaceflinger/ |
Transform.h | 25 #include <ui/vec2.h> 80 vec2 transform(int x, int y) const; 100 vec2 transform(const vec2& v) const;
|
/external/clang/test/PCH/ |
exprs.h | 79 extern double2 vec2, vec2b; 80 typedef typeof(vec2.x) ext_vector_element; 103 typedef typeof(__builtin_shufflevector(vec2, vec2b, 2, 1)) shuffle_expr;
|
/external/chromium_org/cc/output/ |
shader.cc | 144 attribute TexCoordPrecision vec2 a_texCoord; 146 varying TexCoordPrecision vec2 v_texCoord; 183 attribute TexCoordPrecision vec2 a_texCoord; 185 varying TexCoordPrecision vec2 v_texCoord; 186 uniform TexCoordPrecision vec2 texScale; 257 attribute TexCoordPrecision vec2 a_texCoord; 262 varying TexCoordPrecision vec2 v_texCoord; 277 varying TexCoordPrecision vec2 v_texCoord; 280 v_texCoord = (a_position.xy + vec2(1.0)) * 0.5; 319 uniform TexCoordPrecision vec2 quad[4] [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
gles2_cmd_copy_texture_chromium.cc | 59 varying vec2 v_uv; 62 v_uv = a_position.xy * 0.5 + vec2(0.5, 0.5); 67 varying vec2 v_uv; 74 varying vec2 v_uv; 76 gl_FragColor = texture2D(u_texSampler, vec2(v_uv.s, 1.0 - v_uv.t)); 81 varying vec2 v_uv; 89 varying vec2 v_uv; 98 varying vec2 v_uv; 100 gl_FragColor = texture2D(u_texSampler, vec2(v_uv.s, 1.0 - v_uv.t)); 106 varying vec2 v_uv [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
GLES20RenderEngine.cpp | 264 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>()); 265 Mesh::VertexArray<vec2> texCoord(mesh.getTexCoordArray<vec2>()); 266 position[0] = vec2(0, 0); 267 position[1] = vec2(group.width, 0); 268 position[2] = vec2(group.width, group.height); 269 position[3] = vec2(0, group.height); 270 texCoord[0] = vec2(0, 0); 271 texCoord[1] = vec2(1, 0) [all...] |