/dports/www/chromium-legacy/chromium-88.0.4324.182/device/vr/android/arcore/ |
H A D | arcore_math_utils.cc | 12 gfx::Transform MatrixFromTransformedPoints(const base::span<const float> uvs) { in MatrixFromTransformedPoints() argument 13 DCHECK_GE(uvs.size(), 6u); in MatrixFromTransformedPoints() 42 DVLOG(3) << __func__ << ": uvs=[ " << uvs[0] << " , " << uvs[1] << " , " in MatrixFromTransformedPoints() 43 << uvs[2] << " , " << uvs[3] << " , " << uvs[4] << " , " << uvs[5] in MatrixFromTransformedPoints() 48 DCHECK_EQ(uvs.size(), kInputCoordinatesForTransform.size()); in MatrixFromTransformedPoints() 52 result.matrix().set(0, 0, uvs[2] - uvs[0]); in MatrixFromTransformedPoints() 53 result.matrix().set(0, 1, uvs[4] - uvs[0]); in MatrixFromTransformedPoints() 54 result.matrix().set(0, 3, uvs[0]); in MatrixFromTransformedPoints() 56 result.matrix().set(1, 0, uvs[3] - uvs[1]); in MatrixFromTransformedPoints() 57 result.matrix().set(1, 1, uvs[5] - uvs[1]); in MatrixFromTransformedPoints() [all …]
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/graphics/ |
H A D | VertexArray.cpp | 64 Rectangle uvmask = uvs; in set_4quad_offset() 66 Rectangle newv = uvs & uvmask; in set_4quad_offset() 77 Rectangle uvmask = uvs; in set_4quad_offset() 80 Rectangle newv = uvs & uvmask; in set_4quad_offset() 91 Rectangle uvmask = uvs; in set_4quad_offset() 93 uvmask.add_xy(uvs.get_size().width,uvs.get_size().height); in set_4quad_offset() 94 Rectangle newv = uvs & uvmask; in set_4quad_offset() 105 Rectangle uvmask = uvs; in set_4quad_offset() 107 uvmask.add_x(uvs.get_width()); in set_4quad_offset() 108 Rectangle newv = uvs & uvmask; in set_4quad_offset() [all …]
|
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/io_mesh_uv_layout/ |
H A D | export_uv_png.py | 69 coords = [uv for uvs, _ in face_data for uv in uvs] 70 colors = [(*color, opacity) for uvs, color in face_data for _ in range(len(uvs))] 74 for uvs, _ in face_data: 75 triangles = tessellate_uvs(uvs) 77 offset += len(uvs) 86 def tessellate_uvs(uvs): argument 87 return tessellate_polygon([uvs]) 91 for uvs, _ in face_data: 92 for i in range(len(uvs)): 93 start = uvs[i] [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/draw/engines/overlay/shaders/ |
H A D | outline_detect_frag.glsl | 175 vec2 uvs = gl_FragCoord.xy * sizeViewportInv.xy; 178 vec2 depth_uv = uvs; 195 ids.xz = textureGather(outlineId, uvs + ofs.xy * 0.5).zx; 196 ids.yw = textureGather(outlineId, uvs - ofs.xy * 0.5).xz; 199 ids.x = textureLod(outlineId, uvs + ofs.xz, 0.0).r; 200 ids.y = textureLod(outlineId, uvs - ofs.xz, 0.0).r; 201 ids.z = textureLod(outlineId, uvs + ofs.zy, 0.0).r; 202 ids.w = textureLod(outlineId, uvs - ofs.zy, 0.0).r; 218 ids.x = textureLod(outlineId, uvs + 2.0 * ofs.xz, 0.0).r; 219 ids.y = textureLod(outlineId, uvs - 2.0 * ofs.xz, 0.0).r; [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/draw/engines/eevee/shaders/ |
H A D | lightprobe_planar_downsample_frag.glsl | 8 in vec2 uvs; 21 /* Reconstructing Target uvs like this avoid missing pixels if NPO2 */ 22 vec2 uvs = gl_FragCoord.xy * 2.0 / vec2(textureSize(source, 0)); 24 FragColor = textureLod(source, vec3(uvs, layer), 0.0); 27 vec2 uvs = gl_FragCoord.xy * 2.0 * texel_size; 30 FragColor = textureLod(source, vec3(uvs + ofs.xy, layer), 0.0); 31 FragColor += textureLod(source, vec3(uvs + ofs.xw, layer), 0.0); 32 FragColor += textureLod(source, vec3(uvs + ofs.zy, layer), 0.0); 33 FragColor += textureLod(source, vec3(uvs + ofs.zw, layer), 0.0);
|
H A D | effect_downsample_frag.glsl | 18 /* Reconstructing Target uvs like this avoid missing pixels if NPO2 */ 19 vec2 uvs = gl_FragCoord.xy * 2.0 / vec2(textureSize(source, 0)); 21 FragColor = textureLod(source, uvs, 0.0); 24 vec2 uvs = gl_FragCoord.xy * 2.0 * texel_size; 27 FragColor = textureLod(source, uvs + ofs.xy, 0.0); 28 FragColor += textureLod(source, uvs + ofs.xw, 0.0); 29 FragColor += textureLod(source, uvs + ofs.zy, 0.0); 30 FragColor += textureLod(source, uvs + ofs.zw, 0.0);
|
H A D | effect_gtao_frag.glsl | 36 vec2 uvs = saturate(gl_FragCoord.xy * texel_size); 38 float depth = textureLod(depthBuffer, uvs, 0.0).r; 40 vec3 viewPosition = get_view_space_from_depth(uvs, depth); 42 vec3 normal = normal_decode(texture(normalBuffer, uvs).rg, V); 59 vec2 uvs = saturate(gl_FragCoord.xy / vec2(textureSize(gtao_depthBuffer, 0).xy)); 60 float depth = gtao_textureLod(gtao_depthBuffer, uvs, 0.0).r; 71 vec3 viewPosition = get_view_space_from_depth(uvs, depth); 79 FragColor.xy = search_horizon_sweep(dirs.xy, viewPosition, uvs, noise.y, max_dir); 80 FragColor.zw = search_horizon_sweep(dirs.zw, viewPosition, uvs, noise.y, max_dir);
|
/dports/games/retroarch/RetroArch-1.9.7/deps/SPIRV-Cross/reference/opt/shaders/frag/ |
H A D | barycentric-nv.frag | 6 vec2 uvs[]; 16 …value = ((_19.uvs[_23] * gl_BaryCoordNV.x) + (_19.uvs[_32] * gl_BaryCoordNV.y)) + (_19.uvs[_39] * … 17 …value += (((_19.uvs[_23] * gl_BaryCoordNoPerspNV.x) + (_19.uvs[_32] * gl_BaryCoordNoPerspNV.y)) + …
|
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/SPIRV-Cross/reference/opt/shaders/frag/ |
H A D | barycentric-nv.frag | 6 vec2 uvs[]; 16 …value = ((_19.uvs[_23] * gl_BaryCoordNV.x) + (_19.uvs[_32] * gl_BaryCoordNV.y)) + (_19.uvs[_39] * … 17 …value += (((_19.uvs[_23] * gl_BaryCoordNoPerspNV.x) + (_19.uvs[_32] * gl_BaryCoordNoPerspNV.y)) + …
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/SPIRV-Cross/reference/opt/shaders/frag/ |
H A D | barycentric-nv.frag | 6 vec2 uvs[]; 16 …value = ((_19.uvs[_23] * gl_BaryCoordNV.x) + (_19.uvs[_32] * gl_BaryCoordNV.y)) + (_19.uvs[_39] * … 17 …value += (((_19.uvs[_23] * gl_BaryCoordNoPerspNV.x) + (_19.uvs[_32] * gl_BaryCoordNoPerspNV.y)) + …
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/spirv-cross/spirv-cross/reference/opt/shaders/frag/ |
H A D | barycentric-nv.frag | 6 vec2 uvs[]; 16 …value = ((_19.uvs[_23] * gl_BaryCoordNV.x) + (_19.uvs[_32] * gl_BaryCoordNV.y)) + (_19.uvs[_39] * … 17 …value += (((_19.uvs[_23] * gl_BaryCoordNoPerspNV.x) + (_19.uvs[_32] * gl_BaryCoordNoPerspNV.y)) + …
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-cross/reference/opt/shaders/frag/ |
H A D | barycentric-nv.frag | 6 vec2 uvs[]; 16 …value = ((_19.uvs[_23] * gl_BaryCoordNV.x) + (_19.uvs[_32] * gl_BaryCoordNV.y)) + (_19.uvs[_39] * … 17 …value += (((_19.uvs[_23] * gl_BaryCoordNoPerspNV.x) + (_19.uvs[_32] * gl_BaryCoordNoPerspNV.y)) + …
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-cross/reference/opt/shaders/frag/ |
H A D | barycentric-nv.frag | 6 vec2 uvs[]; 16 …value = ((_19.uvs[_23] * gl_BaryCoordNV.x) + (_19.uvs[_32] * gl_BaryCoordNV.y)) + (_19.uvs[_39] * … 17 …value += (((_19.uvs[_23] * gl_BaryCoordNoPerspNV.x) + (_19.uvs[_32] * gl_BaryCoordNoPerspNV.y)) + …
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/SPIRV-Cross/reference/opt/shaders/frag/ |
H A D | barycentric-nv.frag | 6 vec2 uvs[]; 16 …value = ((_19.uvs[_23] * gl_BaryCoordNV.x) + (_19.uvs[_32] * gl_BaryCoordNV.y)) + (_19.uvs[_39] * … 17 …value += (((_19.uvs[_23] * gl_BaryCoordNoPerspNV.x) + (_19.uvs[_32] * gl_BaryCoordNoPerspNV.y)) + …
|
/dports/graphics/rx/rx-0.4.0/cargo-crates/spirv_cross-0.16.0/src/vendor/SPIRV-Cross/reference/opt/shaders/frag/ |
H A D | barycentric-nv.frag | 6 vec2 uvs[]; 16 …value = ((_19.uvs[_23] * gl_BaryCoordNV.x) + (_19.uvs[_32] * gl_BaryCoordNV.y)) + (_19.uvs[_39] * … 17 …value += (((_19.uvs[_23] * gl_BaryCoordNoPerspNV.x) + (_19.uvs[_32] * gl_BaryCoordNoPerspNV.y)) + …
|
/dports/multimedia/libvpx/libvpx-1.11.0/tools/3D-Reconstruction/MotionEST/ |
H A D | SearchSmooth.py | 78 def smooth(self, uvs, mvs): argument 79 sm_uvs = np.zeros(uvs.shape) 86 nb_uv += uvs[i, j] / 6.0 114 uvs = mvs / self.blk_sz 116 uvs = self.smooth(uvs, mvs) 117 self.mf = uvs * self.blk_sz 184 def smooth(self, uvs, mvs): argument 185 sm_uvs = np.zeros(uvs.shape) 218 uvs = mvs / self.blk_sz 220 uvs = self.smooth(uvs, mvs) [all …]
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/third_party/libvpx/source/libvpx/tools/3D-Reconstruction/MotionEST/ |
H A D | SearchSmooth.py | 78 def smooth(self, uvs, mvs): argument 79 sm_uvs = np.zeros(uvs.shape) 86 nb_uv += uvs[i, j] / 6.0 114 uvs = mvs / self.blk_sz 116 uvs = self.smooth(uvs, mvs) 117 self.mf = uvs * self.blk_sz 184 def smooth(self, uvs, mvs): argument 185 sm_uvs = np.zeros(uvs.shape) 218 uvs = mvs / self.blk_sz 220 uvs = self.smooth(uvs, mvs) [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libvpx/source/libvpx/tools/3D-Reconstruction/MotionEST/ |
H A D | SearchSmooth.py | 78 def smooth(self, uvs, mvs): argument 79 sm_uvs = np.zeros(uvs.shape) 86 nb_uv += uvs[i, j] / 6.0 114 uvs = mvs / self.blk_sz 116 uvs = self.smooth(uvs, mvs) 117 self.mf = uvs * self.blk_sz 184 def smooth(self, uvs, mvs): argument 185 sm_uvs = np.zeros(uvs.shape) 218 uvs = mvs / self.blk_sz 220 uvs = self.smooth(uvs, mvs) [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libvpx/source/libvpx/tools/3D-Reconstruction/MotionEST/ |
H A D | SearchSmooth.py | 78 def smooth(self, uvs, mvs): argument 79 sm_uvs = np.zeros(uvs.shape) 86 nb_uv += uvs[i, j] / 6.0 114 uvs = mvs / self.blk_sz 116 uvs = self.smooth(uvs, mvs) 117 self.mf = uvs * self.blk_sz 184 def smooth(self, uvs, mvs): argument 185 sm_uvs = np.zeros(uvs.shape) 218 uvs = mvs / self.blk_sz 220 uvs = self.smooth(uvs, mvs) [all …]
|
/dports/science/tfel-edf/tfel-3.2.1/mfront/src/ |
H A D | RungeKuttaDSLBase.cxx | 85 if(uvs.find(dv.name)!=uvs.end()){ in writeExternalVariablesCurrentValues() 94 if(uvs.find(v.name)!=uvs.end()){ in writeExternalVariablesCurrentValues() 189 if(uvs.find(dv.name)!=uvs.end()){ in writeExternalVariablesCurrentValues2() 194 if(uvs.find(v.name)!=uvs.end()){ in writeExternalVariablesCurrentValues2() 636 if(uvs.find(iv.name)!=uvs.end()){ in endsInputFileProcessing() 650 if(uvs.find(dv.name)!=uvs.end()){ in endsInputFileProcessing() 656 if(uvs.find(ev.name)!=uvs.end()){ in endsInputFileProcessing() 894 if(uvs.find(v.name)!=uvs.end()){ in writeBehaviourRK54Integrator() 904 if(uvs.find(dv.name)!=uvs.end()){ in writeBehaviourRK54Integrator() 909 if(uvs.find(v.name)!=uvs.end()){ in writeBehaviourRK54Integrator() [all …]
|
/dports/science/tfel/tfel-3.4.0/mfront/src/ |
H A D | RungeKuttaDSLBase.cxx | 84 if(uvs.find(dv.name)!=uvs.end()){ in writeExternalVariablesCurrentValues() 93 if(uvs.find(v.name)!=uvs.end()){ in writeExternalVariablesCurrentValues() 186 if(uvs.find(dv.name)!=uvs.end()){ in writeExternalVariablesCurrentValues2() 191 if(uvs.find(v.name)!=uvs.end()){ in writeExternalVariablesCurrentValues2() 671 if(uvs.find(iv.name)!=uvs.end()){ in endsInputFileProcessing() 685 if(uvs.find(dv.name)!=uvs.end()){ in endsInputFileProcessing() 691 if(uvs.find(ev.name)!=uvs.end()){ in endsInputFileProcessing() 954 if(uvs.find(v.name)!=uvs.end()){ in writeBehaviourRK54Integrator() 964 if(uvs.find(dv.name)!=uvs.end()){ in writeBehaviourRK54Integrator() 969 if(uvs.find(v.name)!=uvs.end()){ in writeBehaviourRK54Integrator() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/viz/common/ |
H A D | viz_utils.cc | 82 bool GetScaledUVs(const gfx::Rect& rect, const gfx::QuadF* clip, float uvs[8]) { in GetScaledUVs() 86 uvs[0] = ((clip->p1().x() - rect.x()) / rect.width()); in GetScaledUVs() 87 uvs[1] = ((clip->p1().y() - rect.y()) / rect.height()); in GetScaledUVs() 88 uvs[2] = ((clip->p2().x() - rect.x()) / rect.width()); in GetScaledUVs() 89 uvs[3] = ((clip->p2().y() - rect.y()) / rect.height()); in GetScaledUVs() 90 uvs[4] = ((clip->p3().x() - rect.x()) / rect.width()); in GetScaledUVs() 91 uvs[5] = ((clip->p3().y() - rect.y()) / rect.height()); in GetScaledUVs() 92 uvs[6] = ((clip->p4().x() - rect.x()) / rect.width()); in GetScaledUVs() 93 uvs[7] = ((clip->p4().y() - rect.y()) / rect.height()); in GetScaledUVs()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/viz/common/ |
H A D | viz_utils.cc | 82 bool GetScaledUVs(const gfx::Rect& rect, const gfx::QuadF* clip, float uvs[8]) { in GetScaledUVs() 86 uvs[0] = ((clip->p1().x() - rect.x()) / rect.width()); in GetScaledUVs() 87 uvs[1] = ((clip->p1().y() - rect.y()) / rect.height()); in GetScaledUVs() 88 uvs[2] = ((clip->p2().x() - rect.x()) / rect.width()); in GetScaledUVs() 89 uvs[3] = ((clip->p2().y() - rect.y()) / rect.height()); in GetScaledUVs() 90 uvs[4] = ((clip->p3().x() - rect.x()) / rect.width()); in GetScaledUVs() 91 uvs[5] = ((clip->p3().y() - rect.y()) / rect.height()); in GetScaledUVs() 92 uvs[6] = ((clip->p4().x() - rect.x()) / rect.width()); in GetScaledUVs() 93 uvs[7] = ((clip->p4().y() - rect.y()) / rect.height()); in GetScaledUVs()
|
/dports/graphics/blender/blender-2.91.0/source/blender/draw/engines/gpencil/shaders/ |
H A D | gpencil_antialiasing_frag.glsl | 11 in vec2 uvs; 29 fragColor = SMAALumaEdgeDetectionPS(uvs, offset, colorTex); 30 fragColor = max(fragColor, SMAALumaEdgeDetectionPS(uvs, offset, revealTex)); 38 uvs, pixcoord, offset, edgesTex, areaTex, searchTex, vec4(0)); 43 outColor = SMAANeighborhoodBlendingPS(uvs, offset[0], colorTex, blendTex); 44 outReveal = SMAANeighborhoodBlendingPS(uvs, offset[0], revealTex, blendTex); 47 outColor = texture(colorTex, uvs); 48 outReveal = texture(revealTex, uvs);
|
/dports/devel/godot-tools/godot-demo-projects-8d9d58f112d8/3d/voxel/world/ |
H A D | chunk.gd | 89 var uvs = calculate_block_uvs(block_id) 90 var top_uvs = uvs 91 var bottom_uvs = uvs 95 _draw_block_face(surface_tool, [verts[2], verts[0], verts[7], verts[5]], uvs) 171 func _draw_block_face(surface_tool, verts, uvs): 172 surface_tool.add_uv(uvs[1]); surface_tool.add_vertex(verts[1]) 173 surface_tool.add_uv(uvs[2]); surface_tool.add_vertex(verts[2]) 174 surface_tool.add_uv(uvs[3]); surface_tool.add_vertex(verts[3]) 176 surface_tool.add_uv(uvs[2]); surface_tool.add_vertex(verts[2]) 177 surface_tool.add_uv(uvs[1]); surface_tool.add_vertex(verts[1]) [all …]
|