Home
last modified time | relevance | path

Searched refs:pdfShader (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/pdf/
DSkPDFCanon.cpp53 void SkPDFCanon::addFunctionShader(sk_sp<SkPDFObject> pdfShader, in addFunctionShader() argument
55 fFunctionShaderRecords.emplace_back(std::move(state), std::move(pdfShader)); in addFunctionShader()
62 void SkPDFCanon::addAlphaShader(sk_sp<SkPDFObject> pdfShader, in addAlphaShader() argument
64 fAlphaShaderRecords.emplace_back(std::move(state), std::move(pdfShader)); in addAlphaShader()
72 void SkPDFCanon::addImageShader(sk_sp<SkPDFObject> pdfShader, in addImageShader() argument
74 fImageShaderRecords.emplace_back(std::move(state), std::move(pdfShader)); in addImageShader()
DSkPDFShader.cpp797 auto pdfShader = sk_make_sp<SkPDFDict>(); in make_function_shader() local
803 pdfShader->insertObject("Function", gradientStitchCode(*info)); in make_function_shader()
810 pdfShader->insertObject("Extend", std::move(extend)); in make_function_shader()
851 pdfShader->insertObject("Coords", std::move(coords)); in make_function_shader()
934 pdfShader->insertObject("Domain", domain); in make_function_shader()
944 pdfShader->insertObjRef("Function", std::move(function)); in make_function_shader()
947 pdfShader->insertInt("ShadingType", shadingType); in make_function_shader()
948 pdfShader->insertName("ColorSpace", "DeviceRGB"); in make_function_shader()
954 pdfFunctionShader->insertObject("Shading", std::move(pdfShader)); in make_function_shader()
DSkPDFDevice.cpp1936 sk_sp<SkPDFObject> pdfShader; in populateGraphicStateEntryFromPaint() local
1968 pdfShader = SkPDFShader::GetPDFShader( in populateGraphicStateEntryFromPaint()
1971 if (pdfShader.get()) { in populateGraphicStateEntryFromPaint()
1974 int resourceIndex = fShaderResources.find(pdfShader.get()); in populateGraphicStateEntryFromPaint()
1977 fShaderResources.push(pdfShader.get()); in populateGraphicStateEntryFromPaint()
1978 pdfShader.get()->ref(); in populateGraphicStateEntryFromPaint()