Lines Matching refs:SkPDFIndirectReference

577 static SkPDFIndirectReference make_ps_function(std::unique_ptr<SkStreamAsset> psCode,  in make_ps_function()
588 static SkPDFIndirectReference make_function_shader(SkPDFDocument* doc, in make_function_shader()
673 return SkPDFIndirectReference(); in make_function_shader()
694 return SkPDFIndirectReference(); in make_function_shader()
701 return SkPDFIndirectReference(); in make_function_shader()
710 return SkPDFIndirectReference(); in make_function_shader()
752 static SkPDFIndirectReference find_pdf_shader(SkPDFDocument* doc,
756 static std::unique_ptr<SkPDFDict> get_gradient_resource_dict(SkPDFIndirectReference functionShader, in get_gradient_resource_dict()
757 SkPDFIndirectReference gState) { in get_gradient_resource_dict()
758 std::vector<SkPDFIndirectReference> patternShaders; in get_gradient_resource_dict()
759 if (functionShader != SkPDFIndirectReference()) { in get_gradient_resource_dict()
762 std::vector<SkPDFIndirectReference> graphicStates; in get_gradient_resource_dict()
763 if (gState != SkPDFIndirectReference()) { in get_gradient_resource_dict()
768 std::vector<SkPDFIndirectReference>(), in get_gradient_resource_dict()
769 std::vector<SkPDFIndirectReference>()); in get_gradient_resource_dict()
817 static SkPDFIndirectReference create_smask_graphic_state(SkPDFDocument* doc, in create_smask_graphic_state()
828SkPDFIndirectReference luminosityShader = find_pdf_shader(doc, std::move(luminosityState), false); in create_smask_graphic_state()
830 SkPDFIndirectReference()); in create_smask_graphic_state()
832 SkPDFIndirectReference alphaMask = in create_smask_graphic_state()
843 static SkPDFIndirectReference make_alpha_function_shader(SkPDFDocument* doc, in make_alpha_function_shader()
854 SkPDFIndirectReference colorShader = find_pdf_shader(doc, std::move(opaqueState), false); in make_alpha_function_shader()
856 return SkPDFIndirectReference(); in make_alpha_function_shader()
860 SkPDFIndirectReference alphaGsRef = create_smask_graphic_state(doc, state); in make_alpha_function_shader()
895 static SkPDFIndirectReference find_pdf_shader(SkPDFDocument* doc, in find_pdf_shader()
900 if (SkPDFIndirectReference* ptr = gradientPatternMap.find(key)) { in find_pdf_shader()
903 SkPDFIndirectReference pdfShader; in find_pdf_shader()
913 SkPDFIndirectReference SkPDFGradientShader::Make(SkPDFDocument* doc, in Make()