Home
last modified time | relevance | path

Searched refs:uv (Results 1 - 25 of 139) sorted by relevance

123456

/third_party/skia/third_party/externals/spirv-cross/include/spirv_cross/
H A Dsampler.hpp46 inline virtual T sample(glm::vec2 uv, float bias) in sample()
48 return sampleLod(uv, bias); in sample()
51 inline virtual T sampleLod(glm::vec2 uv, float lod) in sampleLod()
55 uv.x = wrap(uv.x, wrap_s, mips[0].width); in sampleLod()
56 uv.y = wrap(uv.y, wrap_t, mips[0].height); in sampleLod()
57 glm::vec2 uv_full = uv * glm::vec2(mips[0].width, mips[0].height); in sampleLod()
100 inline T texture(const sampler2DBase<T> &samp, const glm::vec2 &uv, float bias = 0.0f) in texture() argument
102 return samp.sample(uv, bia in texture()
[all...]
/third_party/node/test/parallel/
H A Dtest-uv-errno.js12 const uv = internalBinding('uv');
13 const keys = Object.keys(uv);
15 assert.strictEqual(uv.errname(-111111), 'Unknown system error -111111');
21 const err = _errnoException(uv[key], 'test');
22 const name = uv.errname(uv[key]);
23 assert.strictEqual(getSystemErrorName(uv[key]), name);
/third_party/spirv-tools/test/opt/
H A Deliminate_dead_io_components_test.cpp28 // Should reduce to uv[2] in TEST_F()
32 // layout(location = 0) in vec4 uv[8]; in TEST_F()
40 // gl_Position = uv[1]; in TEST_F()
46 OpEntryPoint Vertex %main "main" %_ %uv in TEST_F()
52 OpName %uv "uv" in TEST_F()
55 OpDecorate %uv Location 0 in TEST_F()
69 %uv = OpVariable %_ptr_Input__arr_v4float_uint_8 Input in TEST_F()
73 ;CHECK-NOT: %uv = OpVariable %_ptr_Input__arr_v4float_uint_8 Input in TEST_F()
74 ;CHECK: %uv in TEST_F()
[all...]
/third_party/node/src/
H A Duv.cc22 #include "uv.h"
46 namespace uv { namespace
67 "Directly calling process.binding('uv').errname(<val>) is being" in ErrName()
86 // This can't return a SafeMap, because the uv binding can be referenced in GetErrMap()
87 // by user code by using `process.binding('uv').getErrorMap()`: in GetErrMap()
137 } // namespace uv
140 NODE_BINDING_CONTEXT_AWARE_INTERNAL(uv, node::uv::Initialize)
141 NODE_BINDING_EXTERNAL_REFERENCE(uv, node::uv
[all...]
/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_compositor.h135 void *uv; member
139 void *uv; member
146 void *uv; member
150 void *uv; member
161 void *uv; member
H A Dvl_compositor_cs.c826 c->cs_yuv.weave.uv = vl_compositor_cs_create_shader(c, compute_shader_yuv_weave_uv); in vl_compositor_cs_init_shaders()
828 c->cs_yuv.bob.uv = vl_compositor_cs_create_shader(c, compute_shader_yuv_bob_uv); in vl_compositor_cs_init_shaders()
829 if (!c->cs_yuv.weave.y || !c->cs_yuv.weave.uv || in vl_compositor_cs_init_shaders()
830 !c->cs_yuv.bob.y || !c->cs_yuv.bob.uv) { in vl_compositor_cs_init_shaders()
848 if (c->cs_yuv.weave.uv) in vl_compositor_cs_cleanup_shaders()
849 c->pipe->delete_compute_state(c->pipe, c->cs_yuv.weave.uv); in vl_compositor_cs_cleanup_shaders()
852 if (c->cs_yuv.bob.uv) in vl_compositor_cs_cleanup_shaders()
853 c->pipe->delete_compute_state(c->pipe, c->cs_yuv.bob.uv); in vl_compositor_cs_cleanup_shaders()
H A Dvl_compositor.c56 c->fs_yuv.weave.uv = create_frag_shader_deint_yuv(c, false, true); in init_shaders()
58 c->fs_yuv.bob.uv = create_frag_shader_deint_yuv(c, false, false); in init_shaders()
59 if (!c->fs_yuv.weave.y || !c->fs_yuv.weave.uv || in init_shaders()
60 !c->fs_yuv.bob.y || !c->fs_yuv.bob.uv) { in init_shaders()
86 c->fs_rgb_yuv.uv = create_frag_shader_rgb_yuv(c, false); in init_shaders()
87 if (!c->fs_rgb_yuv.y || !c->fs_rgb_yuv.uv) { in init_shaders()
112 c->pipe->delete_fs_state(c->pipe, c->fs_yuv.weave.uv); in cleanup_shaders()
114 c->pipe->delete_fs_state(c->pipe, c->fs_yuv.bob.uv); in cleanup_shaders()
122 c->pipe->delete_fs_state(c->pipe, c->fs_rgb_yuv.uv); in cleanup_shaders()
352 s->layers[layer].fs = (y) ? c->fs_yuv.bob.y : c->fs_yuv.bob.uv; in set_yuv_layer()
[all...]
/third_party/skia/src/gpu/effects/
H A DGrAtlasedShaderHelpers.h21 GrGLSLVarying* uv, in append_index_uv_varyings()
76 uv->reset(kFloat2_GrSLType); in append_index_uv_varyings()
77 args.fVaryingHandler->addVarying("TextureCoords", uv); in append_index_uv_varyings()
79 "%s = unormTexCoords * %s;", uv->vsOut(), atlasDimensionsInvName); in append_index_uv_varyings()
17 append_index_uv_varyings(GrGeometryProcessor::ProgramImpl::EmitArgs& args, int numTextureSamplers, const char* inTexCoordsName, const char* atlasDimensionsInvName, GrGLSLVarying* uv, GrGLSLVarying* texIdx, GrGLSLVarying* st) append_index_uv_varyings() argument
H A DGrDistanceFieldGeoProc.cpp94 GrGLSLVarying uv, texIdx, st; variable
99 &uv,
110 fragBuilder->codeAppendf("float2 uv = %s;\n", uv.fsIn());
113 texIdx, "uv", "texColor");
366 GrGLSLVarying uv, texIdx, st; variable
371 &uv,
403 fragBuilder->codeAppendf("float2 uv = %s;", uv.fsIn());
405 append_multitexture_lookup(args, dfPathEffect.numTextureSamplers(), texIdx, "uv",
658 GrGLSLVarying uv, texIdx, st; global() variable
[all...]
H A DGrBitmapTextGeoProc.cpp59 GrGLSLVarying uv, texIdx; variable
64 &uv,
90 texIdx, uv.fsIn(), "texColor");
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Dyuv.h186 static WEBP_INLINE int VP8ClipUV(int uv, int rounding) { in VP8ClipUV() argument
187 uv = (uv + rounding + (128 << (YUV_FIX + 2))) >> (YUV_FIX + 2); in VP8ClipUV()
188 return ((uv & ~0xff) == 0) ? uv : (uv < 0) ? 0 : 255; in VP8ClipUV()
H A Dupsampling.c57 const uint32_t uv = LOAD_UV(cur_u[x], cur_v[x]); /* sample */ \
59 const uint32_t avg = tl_uv + t_uv + l_uv + uv + 0x00080008u; \
61 const uint32_t diag_03 = (avg + 2 * (tl_uv + uv)) >> 3; \
72 const uint32_t uv1 = (diag_12 + uv) >> 1; \
79 l_uv = uv; \
H A Dupsampling_mips_dsp_r2.c165 const uint32_t uv = LOAD_UV(cur_u[x], cur_v[x]); /* sample */ \
167 const uint32_t avg = tl_uv + t_uv + l_uv + uv + 0x00080008u; \
169 const uint32_t diag_03 = (avg + 2 * (tl_uv + uv)) >> 3; \
180 const uint32_t uv1 = (diag_12 + uv) >> 1; \
187 l_uv = uv; \
H A Dupsampling_neon.c176 #define CONVERT2RGB_8(FMT, XSTEP, top_y, bottom_y, uv, \
178 CONVERT8(FMT, XSTEP, len, top_y, uv, top_dst, cur_x); \
180 CONVERT8(FMT, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x); \
184 #define CONVERT2RGB_1(FUNC, XSTEP, top_y, bottom_y, uv, \
186 CONVERT1(FUNC, XSTEP, len, top_y, uv, top_dst, cur_x); \
188 CONVERT1(FUNC, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x); \
/third_party/node/lib/internal/
H A Djs_stream_socket.js11 const uv = internalBinding('uv');
210 errCode = uv[`UV_${err.code}`] || uv.UV_EPIPE;
255 this.finishWrite(handle, uv.UV_ECANCELED);
256 this.finishShutdown(handle, uv.UV_ECANCELED);
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-foreign/
H A Dlibuv.c17 #include <uv.h>
19 #include <uv-version.h>
22 #include <uv/version.h>
/third_party/mesa3d/src/imgui/
H A Dimgui_draw.cpp620 ImVec2 b(c.x, a.y), d(a.x, c.y), uv(_Data->TexUvWhitePixel);
624 _VtxWritePtr[0].pos = a; _VtxWritePtr[0].uv = uv; _VtxWritePtr[0].col = col;
625 _VtxWritePtr[1].pos = b; _VtxWritePtr[1].uv = uv; _VtxWritePtr[1].col = col;
626 _VtxWritePtr[2].pos = c; _VtxWritePtr[2].uv = uv; _VtxWritePtr[2].col = col;
627 _VtxWritePtr[3].pos = d; _VtxWritePtr[3].uv = uv; _VtxWritePtr[3].col = col;
639 _VtxWritePtr[0].pos = a; _VtxWritePtr[0].uv in PrimRectUV()
674 const ImVec2 uv = _Data->TexUvWhitePixel; AddPolyline() local
862 const ImVec2 uv = _Data->TexUvWhitePixel; AddConvexPolyFilled() local
1088 const ImVec2 uv = _Data->TexUvWhitePixel; AddRectFilledMultiColor() local
1093 PrimWriteVtx(ImVec2(c.x, a.y), uv, col_upr_right); AddRectFilledMultiColor() local
1095 PrimWriteVtx(ImVec2(a.x, c.y), uv, col_bot_left); AddRectFilledMultiColor() local
2959 ImVec2 offset, size, uv[4]; RenderMouseCursor() local
[all...]
/third_party/skia/tools/viewer/
H A DImGuiLayer.cpp158 SkTDArray<SkPoint> uv; in onPaint() local
167 pos.rewind(); uv.rewind(); color.rewind(); in onPaint()
171 uv.push_back(SkPoint::Make(vert.uv.x, vert.uv.y)); in onPaint()
208 pos.begin(), uv.begin(), color.begin(), in onPaint()
/third_party/skia/third_party/externals/imgui/
H A Dimgui_draw.cpp665 ImVec2 b(c.x, a.y), d(a.x, c.y), uv(_Data->TexUvWhitePixel); in PrimRect()
669 _VtxWritePtr[0].pos = a; _VtxWritePtr[0].uv = uv; _VtxWritePtr[0].col = col; in PrimRect()
670 _VtxWritePtr[1].pos = b; _VtxWritePtr[1].uv = uv; _VtxWritePtr[1].col = col; in PrimRect()
671 _VtxWritePtr[2].pos = c; _VtxWritePtr[2].uv = uv; _VtxWritePtr[2].col = col; in PrimRect()
672 _VtxWritePtr[3].pos = d; _VtxWritePtr[3].uv = uv; _VtxWritePtr[3].col = col; in PrimRect()
684 _VtxWritePtr[0].pos = a; _VtxWritePtr[0].uv in PrimRectUV()
977 const ImVec2 uv = _Data->TexUvWhitePixel; AddConvexPolyFilled() local
1421 const ImVec2 uv = _Data->TexUvWhitePixel; AddRectFilledMultiColor() local
1426 PrimWriteVtx(ImVec2(p_max.x, p_min.y), uv, col_upr_right); AddRectFilledMultiColor() local
1428 PrimWriteVtx(ImVec2(p_min.x, p_max.y), uv, col_bot_left); AddRectFilledMultiColor() local
3800 ImVec2 offset, size, uv[4]; RenderMouseCursor() local
[all...]
/third_party/skia/src/gpu/geometry/
H A DGrPathUtils.h96 SkPoint* uv = reinterpret_cast<SkPoint*>(uvPtr); in apply() local
97 uv->fX = sx * xy->fX + kx * xy->fY + tx; in apply()
98 uv->fY = ky * xy->fX + sy * xy->fY + ty; in apply()
/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_sdlrenderer.cpp171 const float* uv = (const float*)((const char*)vtx_buffer + IM_OFFSETOF(ImDrawVert, uv)); in ImGui_ImplSDLRenderer_RenderDrawData() local
179 uv, (int)sizeof(ImDrawVert), in ImGui_ImplSDLRenderer_RenderDrawData()
H A Dimgui_impl_dx9.cpp56 float uv[2]; member
201 // 2) to avoid repacking vertices: #define IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT struct ImDrawVert { ImVec2 pos; float z; ImU32 col; ImVec2 uv; } in ImGui_ImplDX9_RenderDrawData()
212 vtx_dst->uv[0] = vtx_src->uv.x; in ImGui_ImplDX9_RenderDrawData()
213 vtx_dst->uv[1] = vtx_src->uv.y; in ImGui_ImplDX9_RenderDrawData()
/third_party/libwebsockets/lib/plat/windows/
H A Dwindows-plugins.c158 uv_loop_init(&context->uv.loop); in lws_plat_plugins_init()
175 while (uv_loop_close(&context->uv.loop)) in lws_plat_plugins_destroy()
/third_party/node/test/abort/
H A Dtest-addon-uv-handle-leak.js9 // This is a sibling test to test/addons/uv-handle-leak.
12 __dirname, '..', 'addons', 'uv-handle-leak', 'build',
50 // uv loop at [0x559b65ed5770] has open handles:
61 // uv loop at [0x559b65ed5770] has 3 open handles in total
94 assert.match(line, /^uv loop at \[.+\] has open handles:$/);
98 if (/^uv loop at \[.+\] has \d+ open handles in total$/.test(line)) {
/third_party/node/test/fixtures/wpt/resources/
H A Dtestdriver.js537 * @param {boolean} uv - the User Verified flag
542 set_user_verified: function(authenticator_id, uv, context=null) {
543 return window.test_driver_internal.set_user_verified(authenticator_id, uv, context);
721 set_user_verified: function(authenticator_id, uv, context=null) {

Completed in 19 milliseconds

123456