Home
last modified time | relevance | path

Searched refs:dx0 (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_aatriangle.c193 const GLfloat dx0 = v1[0] - v0[0]; 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/skia/src/gpu/vk/
DGrVkMSAALoadManager.cpp179 float dx0 = 2.f * rect.fLeft / dw - 1.f; in loadMSAAFromResolve() local
184 float uniData[] = {dx1 - dx0, dy1 - dy0, dx0, dy0}; // posXform in loadMSAAFromResolve()
/external/skia/samplecode/
DSampleFitCubicToCircle.cpp213 double dx0 = x - fCubicX[0]; in onFindClickHandler() local
217 if (dx0*dx0 + dy0*dy0 < dx3*dx3 + dy3*dy3) { in onFindClickHandler()
/external/skqp/src/gpu/mtl/
DGrMtlCopyManager.mm160 float dx0 = 2.f * dstPoint.fX / dw - 1.f;
187 {dx1 - dx0, dy1 - dy0, dx0, dy0}, // posXform
/external/skqp/src/gpu/vk/
DGrVkCopyManager.cpp201 float dx0 = 2.f * dstPoint.fX / dw - 1.f; in copySurfaceAsDraw() local
227 float uniData[] = { dx1 - dx0, dy1 - dy0, dx0, dy0, // posXform in copySurfaceAsDraw()
/external/mesa3d/src/intel/compiler/
Dbrw_compile_sf.c36 struct brw_reg dx0; member
288 c->dx0 = brw_vec1_grf(1, 3); in alloc_regs()
498 brw_MUL(p, brw_null_reg(), c->a2_sub_a0, c->dx0); in brw_emit_tri_setup()
570 brw_MUL(p, c->tmp, c->a1_sub_a0, c->dx0); in brw_emit_line_setup()
640 c->dx0, in brw_emit_point_sprite_setup()
/external/swiftshader/src/Device/
DRenderer.cpp954 float dx0 = lineWidth * 0.5f * P0.w / W; in setupLine() local
960 P[0].x += -dx0; in setupLine()
966 P[2].x += +dx0; in setupLine()
1063 float dx0 = lineWidth * 0.5f * P0.w / W; in setupLine() local
1069 P[0].x += -dx0; in setupLine()
1071 P[2].x += +dx0; in setupLine()
/external/pdfium/third_party/lcms/src/
Dcmsintrp.c352 dx0, dx1, in BilinearInterpFloat() local
375 dx0 = LERP(fx, d00, d10); in BilinearInterpFloat()
378 dxy = LERP(fy, dx0, dx1); in BilinearInterpFloat()
405 dx0, dx1, in BilinearInterp16() local
433 dx0 = LERP(rx, d00, d10); in BilinearInterp16()
436 dxy = LERP(ry, dx0, dx1); in BilinearInterp16()
/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()
52 let (ox0, ox1) = (x0.max(dx0), x1.min(dx1)); in is_overlapping_drawing_area()
/external/swiftshader/src/Renderer/
DRenderer.cpp1868 float dx0 = lineWidth * 0.5f * P0.w / W; in setupLine() local
1874 P[0].x += -dx0; in setupLine()
1880 P[2].x += +dx0; in setupLine()
1977 float dx0 = lineWidth * 0.5f * P0.w / W; in setupLine() local
1983 P[0].x += -dx0; in setupLine()
1985 P[2].x += +dx0; in setupLine()
/external/tensorflow/tensorflow/python/framework/
Dfunction_test.py742 dx0, = gradients_impl.gradients([y0], [x])
747 vals = sess.run([y0, y1, dx0, dx1], {x: np.random.uniform(size=(3, 7))})
1155 dx0, = gradients_impl.gradients(ys=[y0], xs=[x0])
1164 v0, v1, v2 = self.evaluate([dx0, dx1, dx2])
/external/skia/src/gpu/gl/
DGrGLGpu.cpp3332 GrGLfloat dx0 = 2.f * dstPoint.fX / dw - 1.f; in copySurfaceAsDraw() local
3349 GL_CALL(Uniform4f(fCopyPrograms[progIdx].fPosXformUniform, dx1 - dx0, dy1 - dy0, dx0, dy0)); in copySurfaceAsDraw()
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp3635 GrGLfloat dx0 = 2.f * dstPoint.fX / dw - 1.f; in copySurfaceAsDraw() local
3662 GL_CALL(Uniform4f(fCopyPrograms[progIdx].fPosXformUniform, dx1 - dx0, dy1 - dy0, dx0, dy0)); in copySurfaceAsDraw()
/external/mesa3d/src/imgui/
Dimstb_truetype.h3418 float dx0 = x1-x0; 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()