/external/mesa3d/src/mesa/swrast/ |
D | s_aatriangle.c | 194 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()
|
D | s_aaline.c | 282 const GLfloat area = dx0 * dy1 - dx1 * dy0; in compute_coveragef()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlCopyManager.mm | 162 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/ |
D | array_grad_test.cc | 77 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/skqp/src/gpu/vk/ |
D | GrVkCopyManager.cpp | 203 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/swiftshader/src/Device/ |
D | Renderer.cpp | 907 float dy0 = lineWidth * 0.5f * P0.w / H; in setupLine() local 915 P[1].y += +dy0; in setupLine() 921 P[3].y += -dy0; in setupLine() 1016 float dy0 = lineWidth * 0.5f * P0.w / H; in setupLine() local 1022 P[1].y += +dy0; in setupLine() 1024 P[3].y += -dy0; in setupLine()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_compile_sf.c | 38 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/swiftshader/src/Renderer/ |
D | Renderer.cpp | 1869 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/ |
D | GrGLGpu.cpp | 3637 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/ |
D | GrGLGpu.cpp | 3519 GrGLfloat dy0 = 2.f * dstPoint.fY / dh - 1.f; in copySurfaceAsDraw() local 3534 GL_CALL(Uniform4f(fCopyPrograms[progIdx].fPosXformUniform, dx1 - dx0, dy1 - dy0, dx0, dy0)); in copySurfaceAsDraw()
|
/external/mesa3d/src/imgui/ |
D | imstb_truetype.h | 3419 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()
|