Home
last modified time | relevance | path

Searched refs:dy0 (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_aatriangle.c194 const GLfloat dy0 = v1[1] - v0[1]; in compute_coveragef() local
202 assert(dx0 * dy1 - dx1 * dy0 >= 0.0); /* area >= 0.0 */ in compute_coveragef()
208 GLfloat cross = (dx0 * (sy - v0[1]) - dy0 * (sx - v0[0])); in compute_coveragef()
213 cross = dx0 + dy0; in compute_coveragef()
Ds_aaline.c282 const GLfloat area = dx0 * dy1 - dx1 * dy0; in compute_coveragef()
/external/skqp/src/gpu/mtl/
DGrMtlCopyManager.mm162 float dy0 = 2.f * dstPoint.fY / dh - 1.f;
165 dy0 = -dy0;
187 {dx1 - dx0, dy1 - dy0, dx0, dy0}, // posXform
/external/tensorflow/tensorflow/core/ops/
Darray_grad_test.cc77 std::vector<Tensor> UnpackGrad(const Tensor& x, const Tensor& dy0, in UnpackGrad() argument
96 {"dy0:0", dy0}, in UnpackGrad()
107 Tensor dy0(DT_FLOAT, {2, 3}); in TEST() local
109 test::FillIota<float>(&dy0, 0); in TEST()
111 auto dx = UnpackGrad(x, dy0, dy1, 0); in TEST()
213 std::vector<Tensor> SplitGrad(int dim, const Tensor& x, const Tensor& dy0, in SplitGrad() argument
233 {"dy0:0", dy0}, in SplitGrad()
242 int dim, const Tensor& dy0, const Tensor& dy1) { in SplitVGrad() argument
266 {"dy0:0", dy0}, in SplitVGrad()
277 Tensor dy0(DT_FLOAT, {2, 2, 5}); in TEST() local
[all …]
/external/skia/src/gpu/vk/
DGrVkMSAALoadManager.cpp181 float dy0 = 2.f * rect.fTop / dh - 1.f; in loadMSAAFromResolve() local
184 float uniData[] = {dx1 - dx0, dy1 - dy0, dx0, dy0}; // posXform in loadMSAAFromResolve()
/external/skqp/src/gpu/vk/
DGrVkCopyManager.cpp203 float dy0 = 2.f * dstPoint.fY / dh - 1.f; in copySurfaceAsDraw() local
206 dy0 = -dy0; in copySurfaceAsDraw()
227 float uniData[] = { dx1 - dx0, dy1 - dy0, dx0, dy0, // posXform in copySurfaceAsDraw()
/external/skia/samplecode/
DSampleFitCubicToCircle.cpp214 double dy0 = y - fCubicY[0]; in onFindClickHandler() local
217 if (dx0*dx0 + dy0*dy0 < dx3*dx3 + dy3*dy3) { in onFindClickHandler()
/external/swiftshader/src/Device/
DRenderer.cpp955 float dy0 = lineWidth * 0.5f * P0.w / H; in setupLine() local
963 P[1].y += +dy0; in setupLine()
969 P[3].y += -dy0; in setupLine()
1064 float dy0 = lineWidth * 0.5f * P0.w / H; in setupLine() local
1070 P[1].y += +dy0; in setupLine()
1072 P[3].y += -dy0; in setupLine()
/external/mesa3d/src/intel/compiler/
Dbrw_compile_sf.c38 struct brw_reg dy0; member
290 c->dy0 = brw_vec1_grf(1, 5); in alloc_regs()
493 brw_MAC(p, c->tmp, c->a2_sub_a0, negate(c->dy0)); in brw_emit_tri_setup()
573 brw_MUL(p, c->tmp, c->a1_sub_a0, c->dy0); in brw_emit_line_setup()
/external/rust/crates/plotters/src/chart/
Dcontext.rs48 let (dx0, dy0) = self.drawing_area.get_base_pixel(); in is_overlapping_drawing_area()
50 let (dx1, dy1) = (dx0 + w as i32, dy0 + h as i32); in is_overlapping_drawing_area()
53 let (oy0, oy1) = (y0.max(dy0), y1.min(dy1)); in is_overlapping_drawing_area()
/external/swiftshader/src/Renderer/
DRenderer.cpp1869 float dy0 = lineWidth * 0.5f * P0.w / H; in setupLine() local
1877 P[1].y += +dy0; in setupLine()
1883 P[3].y += -dy0; in setupLine()
1978 float dy0 = lineWidth * 0.5f * P0.w / H; in setupLine() local
1984 P[1].y += +dy0; in setupLine()
1986 P[3].y += -dy0; in setupLine()
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp3637 GrGLfloat dy0 = 2.f * dstPoint.fY / dh - 1.f; in copySurfaceAsDraw() local
3640 dy0 = -dy0; in copySurfaceAsDraw()
3662 GL_CALL(Uniform4f(fCopyPrograms[progIdx].fPosXformUniform, dx1 - dx0, dy1 - dy0, dx0, dy0)); in copySurfaceAsDraw()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp3334 GrGLfloat dy0 = 2.f * dstPoint.fY / dh - 1.f; in copySurfaceAsDraw() local
3349 GL_CALL(Uniform4f(fCopyPrograms[progIdx].fPosXformUniform, dx1 - dx0, dy1 - dy0, dx0, dy0)); in copySurfaceAsDraw()
/external/mesa3d/src/imgui/
Dimstb_truetype.h3419 float dy0 = y1-y0; in stbtt__tesselate_cubic() local
3426 …float longlen = (float) (STBTT_sqrt(dx0*dx0+dy0*dy0)+STBTT_sqrt(dx1*dx1+dy1*dy1)+STBTT_sqrt(dx2*dx… in stbtt__tesselate_cubic()