Home
last modified time | relevance | path

Searched refs:tex_coord (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/dports/games/retroarch/RetroArch-1.9.7/gfx/
H A Dgfx_display.c501 if (draw->tex_coord) in gfx_display_draw_bg()
721 float tex_coord[8]; in gfx_display_draw_texture_slice() local
781 coords.tex_coord = tex_coord; in gfx_display_draw_texture_slice()
813 tex_coord[0] = T_BL[0]; in gfx_display_draw_texture_slice()
814 tex_coord[1] = T_BL[1]; in gfx_display_draw_texture_slice()
815 tex_coord[2] = T_BR[0]; in gfx_display_draw_texture_slice()
816 tex_coord[3] = T_BR[1]; in gfx_display_draw_texture_slice()
817 tex_coord[4] = T_TL[0]; in gfx_display_draw_texture_slice()
818 tex_coord[5] = T_TL[1]; in gfx_display_draw_texture_slice()
819 tex_coord[6] = T_TR[0]; in gfx_display_draw_texture_slice()
[all …]
H A Dvideo_coord_array.c50 if (!realloc_checked((void**)&ca->coords.tex_coord, in video_coord_array_resize()
86 memcpy(ca->coords.tex_coord + offset * 2, in video_coord_array_append()
87 coords->tex_coord, base_size * 2); in video_coord_array_append()
110 if (ca->coords.tex_coord) in video_coord_array_free()
111 free(ca->coords.tex_coord); in video_coord_array_free()
112 ca->coords.tex_coord = NULL; in video_coord_array_free()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/render/
H A Dbatching.cpp320 verts[5].tex_coord.xyz.x = 0.0f; verts[5].tex_coord.xyz.y = 0.0f; in batching_add_bitmap_rotated_internal()
321 verts[4].tex_coord.xyz.x = 1.0f; verts[4].tex_coord.xyz.y = 0.0f; in batching_add_bitmap_rotated_internal()
322 verts[3].tex_coord.xyz.x = 1.0f; verts[3].tex_coord.xyz.y = 1.0f; in batching_add_bitmap_rotated_internal()
325 verts[2].tex_coord.xyz.x = 0.0f; verts[2].tex_coord.xyz.y = 0.0f; in batching_add_bitmap_rotated_internal()
326 verts[1].tex_coord.xyz.x = 1.0f; verts[1].tex_coord.xyz.y = 1.0f; in batching_add_bitmap_rotated_internal()
327 verts[0].tex_coord.xyz.x = 0.0f; verts[0].tex_coord.xyz.y = 1.0f; in batching_add_bitmap_rotated_internal()
500 verts[0].tex_coord.xyz.x = 0.0f; verts[0].tex_coord.xyz.y = 0.0f; in batching_add_beam_internal()
501 verts[1].tex_coord.xyz.x = 1.0f; verts[1].tex_coord.xyz.y = 0.0f; in batching_add_beam_internal()
502 verts[2].tex_coord.xyz.x = 1.0f; verts[2].tex_coord.xyz.y = 1.0f; in batching_add_beam_internal()
505 verts[3].tex_coord.xyz.x = 0.0f; verts[3].tex_coord.xyz.y = 0.0f; in batching_add_beam_internal()
[all …]
/dports/math/geogram/geogram-1.7.7/src/lib/geogram/parameterization/
H A Dmesh_param_validator.cpp74 Attribute<double> tex_coord; in chart_is_valid() local
75 tex_coord.bind_if_is_defined( in chart_is_valid()
78 geo_assert(tex_coord.is_bound() && tex_coord.dimension() == 2); in chart_is_valid()
155 Attribute<double> tex_coord; in chart_scaling() local
156 tex_coord.bind_if_is_defined( in chart_scaling()
159 geo_assert(tex_coord.is_bound() && tex_coord.dimension() == 2); in chart_scaling()
195 Attribute<double> tex_coord; in compute_fill_and_overlap_ratio() local
199 geo_assert(tex_coord.is_bound() && tex_coord.dimension() == 2); in compute_fill_and_overlap_ratio()
204 vec2 p1(tex_coord[2*c1], tex_coord[2*c1+1]); in compute_fill_and_overlap_ratio()
209 vec2 p2(tex_coord[2*c2], tex_coord[2*c2+1]); in compute_fill_and_overlap_ratio()
[all …]
H A Dmesh_segmentation.cpp292 xmin = std::min(xmin, tex_coord[2*c]); in get_mesh_bbox_2d()
293 ymin = std::min(ymin, tex_coord[2*c+1]); in get_mesh_bbox_2d()
294 xmax = std::max(xmax, tex_coord[2*c]); in get_mesh_bbox_2d()
295 ymax = std::max(ymax, tex_coord[2*c+1]); in get_mesh_bbox_2d()
311 xmin = std::min(xmin, tex_coord[2*c]); in get_chart_bbox_2d()
312 ymin = std::min(ymin, tex_coord[2*c+1]); in get_chart_bbox_2d()
313 xmax = std::max(xmax, tex_coord[2*c]); in get_chart_bbox_2d()
324 vec2 p1(tex_coord[2*c1], tex_coord[2*c1+1]); in mesh_facet_area_2d()
330 vec2 p2(tex_coord[2*c2], tex_coord[2*c2+1]); in mesh_facet_area_2d()
331 vec2 p3(tex_coord[2*c3], tex_coord[2*c3+1]); in mesh_facet_area_2d()
[all …]
H A Dmesh_param_packer.cpp102 double U11 = tex_coord[2*c11]; in edge_is_continuous()
105 double U12 = tex_coord[2*c12]; in edge_is_continuous()
108 double U21 = tex_coord[2*c21]; in edge_is_continuous()
111 double U22 = tex_coord[2*c22]; in edge_is_continuous()
252 Attribute<double> tex_coord; in find_charts() local
253 tex_coord.bind_if_is_defined( in find_charts()
300 Attribute<double> tex_coord; in pack_atlas_using_xatlas() local
306 if(!tex_coord.is_bound()) { in pack_atlas_using_xatlas()
552 vec2 p1(tex_coord[2*c1], tex_coord[2*c1+1]); in init_max_and_min_func()
553 vec2 p2(tex_coord[2*c2], tex_coord[2*c2+1]); in init_max_and_min_func()
[all …]
H A Dmesh_segmentation.h148 const Mesh& mesh, Attribute<double>& tex_coord,
162 const Chart& chart, Attribute<double>& tex_coord,
175 const Mesh& mesh, Attribute<double>& tex_coord
186 const Chart& chart, Attribute<double>& tex_coord
207 const Mesh& mesh, index_t f, Attribute<double>& tex_coord
/dports/math/geogram/geogram-1.7.7/src/lib/geogram/mesh/
H A Dmesh_baking.cpp111 Attribute<double> tex_coord; in bake_mesh_facet_normals() local
112 tex_coord.bind_if_is_defined( in bake_mesh_facet_normals()
115 geo_assert(tex_coord.is_bound() && tex_coord.dimension() == 2); in bake_mesh_facet_normals()
121 vec2 p1(tex_coord[2*c1], tex_coord[2*c1+1]); in bake_mesh_facet_normals()
125 vec2 p2(tex_coord[2*c2], tex_coord[2*c2+1]); in bake_mesh_facet_normals()
126 vec2 p3(tex_coord[2*c3], tex_coord[2*c3+1]); in bake_mesh_facet_normals()
189 Attribute<double> tex_coord; in bake_mesh_attribute() local
193 geo_assert(tex_coord.is_bound() && tex_coord.dimension() == 2); in bake_mesh_attribute()
214 vec2 p1(tex_coord[2*c1], tex_coord[2*c1+1]); in bake_mesh_attribute()
222 vec2 p2(tex_coord[2*c2], tex_coord[2*c2+1]); in bake_mesh_attribute()
[all …]
/dports/games/quakeforge/quakeforge-0.7.2/libs/video/renderer/gl/
H A Dgl_mod_alias.c72 tex_coord_t *tex_coord; member
84 tex_coord_t *tex_coord = vo->tex_coord; in GL_DrawAliasFrameTri() local
90 tex_coord++; in GL_DrawAliasFrameTri()
105 tex_coord_t *tex_coord = vo->tex_coord; in GL_DrawAliasFrameTriMulti() local
112 tex_coord++; in GL_DrawAliasFrameTriMulti()
293 vo->tex_coord = NULL; in GL_GetAliasFrameVerts16()
357 vo->tex_coord = NULL; in GL_GetAliasFrameVerts()
597 if (vo->tex_coord) in gl_R_DrawAliasModel()
610 if (vo->tex_coord) in gl_R_DrawAliasModel()
624 if (vo->tex_coord) in gl_R_DrawAliasModel()
[all …]
/dports/devel/sdl20/SDL2-2.0.18/test/
H A Dtestsprite2.c295 verts->tex_coord.x = 0.0f; in MoveSprites()
296 verts->tex_coord.y = 0.0f; in MoveSprites()
302 verts->tex_coord.x = 1.0f; in MoveSprites()
303 verts->tex_coord.y = 0.0f; in MoveSprites()
309 verts->tex_coord.x = 1.0f; in MoveSprites()
310 verts->tex_coord.y = 1.0f; in MoveSprites()
316 verts->tex_coord.x = 0.0f; in MoveSprites()
317 verts->tex_coord.y = 0.0f; in MoveSprites()
323 verts->tex_coord.x = 1.0f; in MoveSprites()
324 verts->tex_coord.y = 1.0f; in MoveSprites()
[all …]
/dports/x11/controllermap/SDL2-2.0.18/test/
H A Dtestsprite2.c295 verts->tex_coord.x = 0.0f; in MoveSprites()
296 verts->tex_coord.y = 0.0f; in MoveSprites()
302 verts->tex_coord.x = 1.0f; in MoveSprites()
303 verts->tex_coord.y = 0.0f; in MoveSprites()
309 verts->tex_coord.x = 1.0f; in MoveSprites()
310 verts->tex_coord.y = 1.0f; in MoveSprites()
316 verts->tex_coord.x = 0.0f; in MoveSprites()
317 verts->tex_coord.y = 0.0f; in MoveSprites()
323 verts->tex_coord.x = 1.0f; in MoveSprites()
324 verts->tex_coord.y = 1.0f; in MoveSprites()
[all …]
/dports/math/geogram/geogram-1.7.7/src/lib/geogram_gfx/GLUP/shaders/GLUPGLSL/
H A Dtess_evaluation_shader.h11 vec4 tex_coord; variable
17 vec4 tex_coord[glup_nb_vertices_per_GL_v]; variable
40 VertexOut.tex_coord[i1] = VertexIn[i].tex_coord; in main()
61 VertexOut.tex_coord[i] = VertexIn[i].tex_coord; in main()
/dports/games/retroarch/RetroArch-1.9.7/gfx/drivers_display/
H A Dgfx_display_vita2d.c83 const float *tex_coord = NULL; in gfx_display_vita2d_draw() local
92 tex_coord = draw->coords->tex_coord; in gfx_display_vita2d_draw()
97 if (!tex_coord) in gfx_display_vita2d_draw()
98 tex_coord = &vita2d_tex_coords[0]; in gfx_display_vita2d_draw()
116 vertices[i].u = *tex_coord++; in gfx_display_vita2d_draw()
117 vertices[i].v = *tex_coord++; in gfx_display_vita2d_draw()
/dports/math/geogram/geogram-1.7.7/src/lib/geogram_gfx/GLUP/shaders/GLUP/
H A Dportable_fragment_shader.h7 vec4 tex_coord; variable
10 vec4 tex_coord = FragmentIn.tex_coord; variable
12 glup_in vec4 tex_coord; variable
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_clear_texture/
H A Dcube.c35 float tex_coord[3]; member
42 float tex_coord[3]; member
185 memcpy(vertices[i].tex_coord, in draw_faces()
186 faces[i].tex_coord, in draw_faces()
187 sizeof faces[i].tex_coord); in draw_faces()
203 vertices[0].tex_coord); in draw_faces()
/dports/emulators/citra/citra-ac98458e0/src/video_core/renderer_opengl/texture_filters/anime4k/
H A Dy_gradient.frag4 in vec2 tex_coord;
11 vec2 t = textureLodOffset(tex_input, tex_coord, 0.0, ivec2(0, 1)).xy;
12 vec2 c = textureLod(tex_input, tex_coord, 0.0).xy;
13 vec2 b = textureLodOffset(tex_input, tex_coord, 0.0, ivec2(0, -1)).xy;
/dports/emulators/citra-qt5/citra-ac98458e0/src/video_core/renderer_opengl/texture_filters/anime4k/
H A Dy_gradient.frag4 in vec2 tex_coord;
11 vec2 t = textureLodOffset(tex_input, tex_coord, 0.0, ivec2(0, 1)).xy;
12 vec2 c = textureLod(tex_input, tex_coord, 0.0).xy;
13 vec2 b = textureLodOffset(tex_input, tex_coord, 0.0, ivec2(0, -1)).xy;
/dports/math/geogram/geogram-1.7.7/src/lib/geogram_gfx/GLUP/shaders/fullscreen/
H A Dambient_occlusion_fragment_shader.h4 glup_in vec2 tex_coord; variable
147 float x = tex_coord.x * width / r_width;
148 float y = tex_coord.y * height / r_height;
174 float depth = glup_texture(depth_texture,tex_coord).x;
180 if(glup_texture(depth_texture, tex_coord).x < 1.0) {
181 g = ambient_occlusion(tex_coord);
183 pow(g, shadows_gamma) - compute_depth_cueing(tex_coord);
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_experimental/render_splatpyramid/shaders/
H A Dshader_analysis_color.frag66 vec2 tex_coord[4];
79 tex_coord[0].st = center_coord.st + offset.st;
81 tex_coord[1].s = center_coord.s - offset.s;
82 tex_coord[1].t = center_coord.t + offset.t;
84 tex_coord[2].s = center_coord.s + offset.s;
85 tex_coord[2].t = center_coord.t - offset.t;
87 tex_coord[3].st = center_coord.st - offset.st;
96 pixelA[i] = texture2DLod (textureA, tex_coord[i].st, float(level-1)).xyzw;
98 pixelB[i] = texture2DLod (textureB, tex_coord[i].st, float(level-1)).xyzw;
124 pixelC[i] = texture2DLod (textureC, tex_coord[i].st, float(level-1)).xyzw;
/dports/cad/meshlab/meshlab-Meshlab-2020.05/distrib/shaders/splatpyramid/
H A Dshader_analysis_color.frag66 vec2 tex_coord[4];
79 tex_coord[0].st = center_coord.st + offset.st;
81 tex_coord[1].s = center_coord.s - offset.s;
82 tex_coord[1].t = center_coord.t + offset.t;
84 tex_coord[2].s = center_coord.s + offset.s;
85 tex_coord[2].t = center_coord.t - offset.t;
87 tex_coord[3].st = center_coord.st - offset.st;
96 pixelA[i] = texture2DLod (textureA, tex_coord[i].st, float(level-1)).xyzw;
98 pixelB[i] = texture2DLod (textureB, tex_coord[i].st, float(level-1)).xyzw;
124 pixelC[i] = texture2DLod (textureC, tex_coord[i].st, float(level-1)).xyzw;
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/glslang/Test/baseResults/
H A Dspv.always-discard2.frag.out17 Name 21 "tex_coord"
20 Decorate 21(tex_coord) Location 0
34 21(tex_coord): 20(ptr) Variable Input
53 25: 24(ptr) AccessChain 21(tex_coord) 23
58 32: 24(ptr) AccessChain 21(tex_coord) 31
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/glslang/Test/baseResults/
H A Dspv.always-discard2.frag.out17 Name 21 "tex_coord"
20 Decorate 21(tex_coord) Location 0
34 21(tex_coord): 20(ptr) Variable Input
53 25: 24(ptr) AccessChain 21(tex_coord) 23
58 32: 24(ptr) AccessChain 21(tex_coord) 31
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/glslang/Test/baseResults/
H A Dspv.always-discard2.frag.out17 Name 21 "tex_coord"
20 Decorate 21(tex_coord) Location 0
34 21(tex_coord): 20(ptr) Variable Input
53 25: 24(ptr) AccessChain 21(tex_coord) 23
58 32: 24(ptr) AccessChain 21(tex_coord) 31
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/glslang/Test/baseResults/
H A Dspv.always-discard2.frag.out17 Name 21 "tex_coord"
20 Decorate 21(tex_coord) Location 0
34 21(tex_coord): 20(ptr) Variable Input
53 25: 24(ptr) AccessChain 21(tex_coord) 23
58 32: 24(ptr) AccessChain 21(tex_coord) 31
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/glslang/src/Test/baseResults/
H A Dspv.always-discard2.frag.out17 Name 21 "tex_coord"
20 Decorate 21(tex_coord) Location 0
34 21(tex_coord): 20(ptr) Variable Input
53 25: 24(ptr) AccessChain 21(tex_coord) 23
58 32: 24(ptr) AccessChain 21(tex_coord) 31

12345678910>>...17