/third_party/skia/tests/ |
D | ShaderOpacityTest.cpp | 61 auto grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); in test_gradient() local 62 REPORTER_ASSERT(reporter, grad); in test_gradient() 63 REPORTER_ASSERT(reporter, grad->isOpaque()); in test_gradient() 68 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); in test_gradient() 69 REPORTER_ASSERT(reporter, grad); in test_gradient() 70 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient() 75 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); in test_gradient() 76 REPORTER_ASSERT(reporter, grad); in test_gradient() 77 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient() 82 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); in test_gradient() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_blockdetect.c | 84 float *grad, int grad_linesize, in calculate_blockiness() argument 103 grad[j * grad_linesize + i] = in calculate_blockiness() 112 grad[j * grad_linesize + i] /= temp; in calculate_blockiness() 115 grad[i] += grad[j * grad_linesize + i]; in calculate_blockiness() 128 block += FFMAX(FFMAX(grad[i + 0], grad[i + 1]), grad[i - 1]); in calculate_blockiness() 131 nonblock += grad[i]; in calculate_blockiness() 146 grad[j * grad_linesize + i] = in calculate_blockiness() 155 grad[j * grad_linesize + i] /= temp; in calculate_blockiness() 158 grad[j * grad_linesize] += grad[j * grad_linesize + i]; in calculate_blockiness() 171 block += FFMAX(FFMAX(grad[(j + 0) * grad_linesize], in calculate_blockiness() [all …]
|
D | vsrc_testsrc.c | 562 int grad, dgrad, rgrad, drgrad; in test_fill_picture() local 603 grad = (256 * test->nb_frame * test->time_base.num / test->time_base.den) % in test_fill_picture() 610 grad < 256 || grad >= 5 * 256 ? 255 : in test_fill_picture() 611 grad >= 2 * 256 && grad < 4 * 256 ? 0 : in test_fill_picture() 612 grad < 2 * 256 ? 2 * 256 - 1 - grad : grad - 4 * 256; in test_fill_picture() 614 grad >= 4 * 256 ? 0 : in test_fill_picture() 615 grad >= 1 * 256 && grad < 3 * 256 ? 255 : in test_fill_picture() 616 grad < 1 * 256 ? grad : 4 * 256 - 1 - grad; in test_fill_picture() 618 grad < 2 * 256 ? 0 : in test_fill_picture() 619 grad >= 3 * 256 && grad < 5 * 256 ? 255 : in test_fill_picture() [all …]
|
/third_party/skia/modules/skottie/src/layers/shapelayer/ |
D | Gradient.cpp | 71 auto* grad = static_cast<sksg::LinearGradient*>(fGradient.get()); in onSync() local 72 grad->setStartPoint(s_point); in onSync() 73 grad->setEndPoint(e_point); in onSync() 78 auto* grad = static_cast<sksg::RadialGradient*>(fGradient.get()); in onSync() local 79 grad->setStartCenter(s_point); in onSync() 80 grad->setEndCenter(s_point); in onSync() 81 grad->setStartRadius(0); in onSync() 82 grad->setEndRadius(SkPoint::Distance(s_point, e_point)); in onSync()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | ir_equals.cpp | 179 if (!lod_info.grad.dPdx->equals(other->lod_info.grad.dPdx, ignore) || in equals() 180 !lod_info.grad.dPdy->equals(other->lod_info.grad.dPdy, ignore)) in equals()
|
D | ir_clone.cpp | 248 new_tex->lod_info.grad.dPdx = this->lod_info.grad.dPdx->clone(mem_ctx, ht); in clone() 249 new_tex->lod_info.grad.dPdy = this->lod_info.grad.dPdy->clone(mem_ctx, ht); in clone()
|
D | ir_rvalue_visitor.cpp | 77 handle_rvalue(&ir->lod_info.grad.dPdx); in rvalue_visit() 78 handle_rvalue(&ir->lod_info.grad.dPdy); in rvalue_visit()
|
D | opt_tree_grafting.cpp | 295 if (do_graft(&ir->lod_info.grad.dPdx) || in visit_enter() 296 do_graft(&ir->lod_info.grad.dPdy)) in visit_enter()
|
D | ir_hv_accept.cpp | 224 s = this->lod_info.grad.dPdx->accept(v); in accept() 228 s = this->lod_info.grad.dPdy->accept(v); in accept()
|
/third_party/skia/tools/svg/ |
D | svgs.txt | 166 https://www.w3.org/Graphics/SVG/Test/20110816/svg/pservers-grad-01-b.svg 167 https://www.w3.org/Graphics/SVG/Test/20110816/svg/pservers-grad-02-b.svg 168 https://www.w3.org/Graphics/SVG/Test/20110816/svg/pservers-grad-03-b.svg 169 https://www.w3.org/Graphics/SVG/Test/20110816/svg/pservers-grad-04-b.svg 170 https://www.w3.org/Graphics/SVG/Test/20110816/svg/pservers-grad-05-b.svg 171 https://www.w3.org/Graphics/SVG/Test/20110816/svg/pservers-grad-06-b.svg 172 https://www.w3.org/Graphics/SVG/Test/20110816/svg/pservers-grad-07-b.svg 173 https://www.w3.org/Graphics/SVG/Test/20110816/svg/pservers-grad-08-b.svg 174 https://www.w3.org/Graphics/SVG/Test/20110816/svg/pservers-grad-09-b.svg 175 https://www.w3.org/Graphics/SVG/Test/20110816/svg/pservers-grad-10-b.svg [all …]
|
/third_party/skia/gm/ |
D | crbug_938592.cpp | 30 auto grad = SkGradientShader::MakeLinear(pts, colors, pos, 6, SkTileMode::kClamp); variable 32 paint.setShader(grad);
|
D | vertices.cpp | 46 sk_sp<SkShader> grad = SkGradientShader::MakeLinear(pts, colors, nullptr, in make_shader1() local 52 ? grad in make_shader1() 54 sk_make_sp<SkLocalMatrixShader>(std::move(grad), SkMatrix::Translate(-10, 0)), in make_shader1()
|
D | drawimageset.cpp | 48 auto grad = SkGradientShader::MakeLinear(pts1, colors, nullptr, 2, SkTileMode::kClamp); in make_image_tiles() local 49 paint.setShader(std::move(grad)); in make_image_tiles() 61 grad = SkGradientShader::MakeLinear(pts2, colors + 2, nullptr, 2, SkTileMode::kClamp); in make_image_tiles() 62 paint.setShader(std::move(grad)); in make_image_tiles()
|
/third_party/skia/experimental/docs/ |
D | canvasBackend.js | 107 var grad = ctx.createRadialGradient(g.cx, g.cy, 0, g.cx, g.cy, g.r); 112 grad.addColorStop(index, color); 114 canvasGradients[gradName] = grad;
|
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_bc_parser.cpp | 675 vvec *grad = NULL; in prepare_fetch_clause() local 679 grad = &grad_v; in prepare_fetch_clause() 682 grad = &grad_h; in prepare_fetch_clause() 685 grad = &texture_offsets; in prepare_fetch_clause() 692 if (grad->empty()) in prepare_fetch_clause() 693 grad->resize(4); in prepare_fetch_clause() 698 (*grad)[s] = sh->get_gpr_value(true, n->bc.src_gpr, in prepare_fetch_clause() 701 (*grad)[s] = sh->get_const_value(0.0f); in prepare_fetch_clause() 703 (*grad)[s] = sh->get_const_value(1.0f); in prepare_fetch_clause()
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders/comp/ |
D | bake_gradient.comp | 28 vec2 grad = (_46.uScale.xy * 0.5) * vec2(x1 - x0, y1 - y0); 37 imageStore(iGradJacobian, ivec2(gl_GlobalInvocationID.xy), vec4(grad, j, 0.0));
|
/third_party/glslang/glslang/Include/ |
D | intermediate.h | 1403 bool grad; member 1454 cracked.grad = false; in crackTexture() 1517 cracked.grad = true; in crackTexture() 1521 cracked.grad = true; in crackTexture() 1525 cracked.grad = true; in crackTexture() 1529 cracked.grad = true; in crackTexture() 1544 cracked.grad = true; in crackTexture() 1549 cracked.grad = true; in crackTexture() 1606 cracked.grad = true; in crackTexture() 1610 cracked.grad = true; in crackTexture()
|
/third_party/skia/third_party/externals/spirv-cross/shaders/comp/ |
D | bake_gradient.comp | 33 vec2 grad = uScale.xy * 0.5 * vec2(x1 - x0, y1 - y0); 53 imageStore(iGradJacobian, ivec2(gl_GlobalInvocationID.xy), vec4(grad, j, 0.0));
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_shader_fs.cpp | 841 auto grad = vf.temp_vec4(pin_group); in load_barycentric_at_sample() local 848 auto tex = new TexInstr(TexInstr::get_gradient_h, grad, {0, 1, 7, 7}, interp, 0, 0); in load_barycentric_at_sample() 856 tex = new TexInstr(TexInstr::get_gradient_v, grad, {7,7,0,1}, interp, 0, 0); in load_barycentric_at_sample() 867 emit_instruction(new AluInstr(op3_muladd, tmp0, grad[0], slope[2], interpolator.j, {alu_write})); in load_barycentric_at_sample() 868 …emit_instruction(new AluInstr(op3_muladd, tmp1, grad[1], slope[2], interpolator.i, {alu_write, alu… in load_barycentric_at_sample() 870 …emit_instruction(new AluInstr(op3_muladd, vf.dest(instr->dest, 0, pin_none), grad[3], slope[3], tm… in load_barycentric_at_sample() 871 …emit_instruction(new AluInstr(op3_muladd, vf.dest(instr->dest, 1, pin_none), grad[2], slope[3], tm… in load_barycentric_at_sample()
|
D | sfn_nir_lower_tex.cpp | 179 nir_ssa_def *grad = nir_fmul(b, lambda_exp, scale); in lower_txl_txf_array_or_cube() local 187 nir_tex_instr_add_src(tex, nir_tex_src_ddx, nir_src_for_ssa(grad)); in lower_txl_txf_array_or_cube() 188 nir_tex_instr_add_src(tex, nir_tex_src_ddy, nir_src_for_ssa(grad)); in lower_txl_txf_array_or_cube()
|
/third_party/skia/third_party/externals/icu/source/data/unit/ |
D | sq.txt | 35 dnam{"gradë"} 36 one{"{0} gradë"} 37 other{"{0} gradë"} 807 dnam{"gradë Celsius"} 808 one{"{0} gradë Celsius"} 809 other{"{0} gradë Celsius"} 812 dnam{"gradë Farenhait"} 813 one{"{0} gradë Farenhait"} 814 other{"{0} gradë Farenhait"} 1879 dnam{"gradë C"} [all …]
|
/third_party/skia/modules/canvaskit/tests/ |
D | canvas2d.spec.js | 526 const grad = ctx.createLinearGradient(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT); constant 527 grad.addColorStop(0, 'yellow'); 528 grad.addColorStop(1, 'red'); 529 ctx.fillStyle = grad;
|
/third_party/icu/icu4c/source/data/unit/ |
D | sq.txt | 35 dnam{"gradë"} 36 one{"{0} gradë"} 37 other{"{0} gradë"} 831 dnam{"gradë Celsius"} 832 one{"{0} gradë Celsius"} 833 other{"{0} gradë Celsius"} 836 dnam{"gradë Farenhait"} 837 one{"{0} gradë Farenhait"} 838 other{"{0} gradë Farenhait"} 2648 dnam{"gradë C"} [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | IntrinsicsNVVM.td | 1333 "llvm.nvvm.tex.1d.grad.v4f32.f32">; 1350 "llvm.nvvm.tex.1d.grad.v4s32.f32">; 1367 "llvm.nvvm.tex.1d.grad.v4u32.f32">; 1386 "llvm.nvvm.tex.1d.array.grad.v4f32.f32">; 1404 "llvm.nvvm.tex.1d.array.grad.v4s32.f32">; 1422 "llvm.nvvm.tex.1d.array.grad.v4u32.f32">; 1441 "llvm.nvvm.tex.2d.grad.v4f32.f32">; 1459 "llvm.nvvm.tex.2d.grad.v4s32.f32">; 1477 "llvm.nvvm.tex.2d.grad.v4u32.f32">; 1499 "llvm.nvvm.tex.2d.array.grad.v4f32.f32">; [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | SpirvShaderSampling.cpp | 182 for(uint32_t j = 0; j < instruction.grad; j++, i++) in emitSamplerRoutine() 187 for(uint32_t j = 0; j < instruction.grad; j++, i++) in emitSamplerRoutine()
|