/external/skqp/src/gpu/gradients/ |
D | GrUnrolledBinaryGradientColorizer.cpp | 185 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 190 pdman.set4fv(fScale0_1Var, 1, (_outer.scale0_1()).vec()); in onSetData() 192 pdman.set4fv(fScale2_3Var, 1, (_outer.scale2_3()).vec()); in onSetData() 195 pdman.set4fv(fScale4_5Var, 1, (_outer.scale4_5()).vec()); in onSetData() 198 pdman.set4fv(fScale6_7Var, 1, (_outer.scale6_7()).vec()); in onSetData() 201 pdman.set4fv(fScale8_9Var, 1, (_outer.scale8_9()).vec()); in onSetData() 204 pdman.set4fv(fScale10_11Var, 1, (_outer.scale10_11()).vec()); in onSetData() 207 pdman.set4fv(fScale12_13Var, 1, (_outer.scale12_13()).vec()); in onSetData() 210 pdman.set4fv(fScale14_15Var, 1, (_outer.scale14_15()).vec()); in onSetData() 212 pdman.set4fv(fBias0_1Var, 1, (_outer.bias0_1()).vec()); in onSetData() [all …]
|
D | GrDualIntervalGradientColorizer.cpp | 58 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 66 pdman.set4fv(fScale01Var, 1, scale01Value.vec()); in onSetData() 71 pdman.set4fv(fBias01Var, 1, bias01Value.vec()); in onSetData() 76 pdman.set4fv(fScale23Var, 1, scale23Value.vec()); in onSetData() 81 pdman.set4fv(fBias23Var, 1, bias23Value.vec()); in onSetData() 86 pdman.set1f(fThresholdVar, thresholdValue); in onSetData()
|
D | GrSingleIntervalGradientColorizer.cpp | 41 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 49 pdman.set4fv(fStartVar, 1, startValue.vec()); in onSetData() 54 pdman.set4fv(fEndVar, 1, endValue.vec()); in onSetData()
|
/external/skia/src/gpu/gradients/generated/ |
D | GrUnrolledBinaryGradientColorizer.cpp | 186 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 191 pdman.set4fv(scale0_1Var, 1, (_outer.scale0_1).vec()); in onSetData() 193 pdman.set4fv(scale2_3Var, 1, (_outer.scale2_3).vec()); in onSetData() 196 pdman.set4fv(scale4_5Var, 1, (_outer.scale4_5).vec()); in onSetData() 199 pdman.set4fv(scale6_7Var, 1, (_outer.scale6_7).vec()); in onSetData() 202 pdman.set4fv(scale8_9Var, 1, (_outer.scale8_9).vec()); in onSetData() 205 pdman.set4fv(scale10_11Var, 1, (_outer.scale10_11).vec()); in onSetData() 208 pdman.set4fv(scale12_13Var, 1, (_outer.scale12_13).vec()); in onSetData() 211 pdman.set4fv(scale14_15Var, 1, (_outer.scale14_15).vec()); in onSetData() 213 pdman.set4fv(bias0_1Var, 1, (_outer.bias0_1).vec()); in onSetData() [all …]
|
D | GrDualIntervalGradientColorizer.cpp | 59 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 67 pdman.set4fv(scale01Var, 1, scale01Value.vec()); in onSetData() 72 pdman.set4fv(bias01Var, 1, bias01Value.vec()); in onSetData() 77 pdman.set4fv(scale23Var, 1, scale23Value.vec()); in onSetData() 82 pdman.set4fv(bias23Var, 1, bias23Value.vec()); in onSetData() 87 pdman.set1f(thresholdVar, thresholdValue); in onSetData()
|
D | GrSingleIntervalGradientColorizer.cpp | 41 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 49 pdman.set4fv(startVar, 1, startValue.vec()); in onSetData() 54 pdman.set4fv(endVar, 1, endValue.vec()); in onSetData()
|
/external/skia/src/gpu/tessellate/ |
D | GrFillPathShader.cpp | 43 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor& primProc, in setData() argument 46 pdman.setSkMatrix(fViewMatrixUniform, shader.viewMatrix()); in setData() 49 pdman.set4f(fColorUniform, color.fR, color.fG, color.fB, color.fA); in setData() 53 pdman.set4f(fPathBoundsUniform, b.left(), b.top(), b.right(), b.bottom()); in setData() 56 this->setTransformDataHelper(SkMatrix::I(), pdman, transformRange); in setData()
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLColorSpaceXformHelper.h | 46 void setData(const GrGLSLProgramDataManager& pdman, const GrColorSpaceXform* colorSpaceXform) { in setData() argument 48 pdman.set1fv(fSrcTFVar, kNumTransferFnCoeffs, &colorSpaceXform->fSteps.srcTF.g); in setData() 51 pdman.setMatrix3f(fGamutXformVar, colorSpaceXform->fSteps.src_to_dst_matrix); in setData() 54 pdman.set1fv(fDstTFVar, kNumTransferFnCoeffs, &colorSpaceXform->fSteps.dstTFInv.g); in setData()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLColorSpaceXformHelper.h | 47 void setData(const GrGLSLProgramDataManager& pdman, const GrColorSpaceXform* colorSpaceXform) { in setData() argument 49 pdman.set1fv(fSrcTFVar, kNumTransferFnCoeffs, &colorSpaceXform->fSteps.srcTF.g); in setData() 52 pdman.setMatrix3f(fGamutXformVar, colorSpaceXform->fSteps.src_to_dst_matrix); in setData() 55 pdman.set1fv(fDstTFVar, kNumTransferFnCoeffs, &colorSpaceXform->fSteps.dstTFInv.g); in setData()
|
/external/skia/src/gpu/effects/generated/ |
D | GrMagnifierEffect.cpp | 79 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 83 pdman.set1f(xInvZoomVar, (_outer.xInvZoom)); in onSetData() 84 pdman.set1f(yInvZoomVar, (_outer.yInvZoom)); in onSetData() 85 pdman.set1f(xInvInsetVar, (_outer.xInvInset)); in onSetData() 86 pdman.set1f(yInvInsetVar, (_outer.yInvInset)); in onSetData() 117 pdman.set2f(offset, srcRect.x() * invW, y); in onSetData() 128 pdman.set4f(boundsUniform, in onSetData()
|
D | GrEllipseEffect.cpp | 64 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 88 pdman.set2f(scale, radii.fX, 1.f / radii.fX); in onSetData() 92 pdman.set2f(scale, radii.fY, 1.f / radii.fY); in onSetData() 98 pdman.set4f(ellipse, center.fX, center.fY, invRXSqd, invRYSqd); in onSetData()
|
D | GrRRectBlurEffect.cpp | 104 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 107 { pdman.set1f(cornerRadiusVar, (_outer.cornerRadius)); } in onSetData() 123 pdman.set1f(blurRadius, blurRadiusValue); in onSetData() 127 pdman.set4f(proxyRect, outset.fLeft, outset.fTop, outset.fRight, outset.fBottom); in onSetData()
|
/external/skqp/src/gpu/effects/ |
D | GrMagnifierEffect.cpp | 76 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 80 pdman.set1f(fXInvZoomVar, (_outer.xInvZoom())); in onSetData() 81 pdman.set1f(fYInvZoomVar, (_outer.yInvZoom())); in onSetData() 82 pdman.set1f(fXInvInsetVar, (_outer.xInvInset())); in onSetData() 83 pdman.set1f(fYInvInsetVar, (_outer.yInvInset())); in onSetData() 114 pdman.set2f(offset, srcRect.x() * invW, y); in onSetData() 123 pdman.set4f(boundsUniform, in onSetData()
|
D | GrBezierEffect.cpp | 28 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor& primProc, in setData() argument 36 pdman.setMatrix3f(fViewMatrixUniform, viewMatrix); in setData() 40 pdman.set4fv(fColorUniform, 1, ce.color().vec()); in setData() 45 pdman.set1f(fCoverageScaleUniform, GrNormalizeByteToFloat(ce.coverageScale())); in setData() 48 this->setTransformDataHelper(ce.localMatrix(), pdman, &transformIter); in setData() 279 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor& primProc, in setData() argument 287 pdman.setMatrix3f(fViewMatrixUniform, viewMatrix); in setData() 291 pdman.set4fv(fColorUniform, 1, qe.color().vec()); in setData() 296 pdman.set1f(fCoverageScaleUniform, GrNormalizeByteToFloat(qe.coverageScale())); in setData() 299 this->setTransformDataHelper(qe.localMatrix(), pdman, &transformIter); in setData()
|
D | GrRRectEffect.cpp | 292 void GLCircularRRectEffect::onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 365 pdman.set4f(fInnerRectUniform, rect.fLeft, rect.fTop, rect.fRight, rect.fBottom); in onSetData() 367 pdman.set2f(fRadiusPlusHalfUniform, radius, 1.f / radius); in onSetData() 599 void GLEllipticalRRectEffect::onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 615 pdman.set2f(fInvRadiiSqdUniform, 1.f, (r0.fX * r0.fX) / (r0.fY * r0.fY)); in onSetData() 616 pdman.set2f(fScaleUniform, r0.fX, 1.f / r0.fX); in onSetData() 618 pdman.set2f(fInvRadiiSqdUniform, (r0.fY * r0.fY) / (r0.fX * r0.fX), 1.f); in onSetData() 619 pdman.set2f(fScaleUniform, r0.fY, 1.f / r0.fY); in onSetData() 622 pdman.set2f(fInvRadiiSqdUniform, 1.f / (r0.fX * r0.fX), in onSetData() 637 pdman.set4f(fInvRadiiSqdUniform, scaleSqd / (r0.fX * r0.fX), in onSetData() [all …]
|
D | GrEllipseEffect.cpp | 62 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 86 pdman.set2f(scale, radii.fX, 1.f / radii.fX); in onSetData() 90 pdman.set2f(scale, radii.fY, 1.f / radii.fY); in onSetData() 96 pdman.set4f(ellipse, center.fX, center.fY, invRXSqd, invRYSqd); in onSetData()
|
D | GrDistanceFieldGeoProc.cpp | 165 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor& proc, in setData() argument 173 pdman.set1f(fDistanceAdjustUni, distanceAdjust); in setData() 181 pdman.set2f(fAtlasSizeInvUniform, 1.0f / atlasSize.fWidth, 1.0f / atlasSize.fHeight); in setData() 184 this->setTransformDataHelper(dfa8gp.localMatrix(), pdman, &transformIter); in setData() 462 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor& proc, in setData() argument 471 pdman.setMatrix3f(fMatrixUniform, matrix); in setData() 477 pdman.set2f(fAtlasSizeInvUniform, 1.0f / atlasSize.fWidth, 1.0f / atlasSize.fHeight); in setData() 482 this->setTransformDataHelper(SkMatrix::I(), pdman, &transformIter); in setData() 484 this->setTransformDataHelper(dfpgp.matrix(), pdman, &transformIter); in setData() 783 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor& processor, in setData() argument [all …]
|
D | GrTextureDomain.cpp | 180 void GrTextureDomain::GLDomain::setData(const GrGLSLProgramDataManager& pdman, in setData() argument 203 pdman.set3f(fDecalUni, 1.f, 1.f, decalFilterWeight); in setData() 211 pdman.set3f(fDecalUni, tex->width(), tex->height(), decalFilterWeight); in setData() 245 pdman.set4fv(fDomainUni, 1, values); in setData() 331 void onSetData(const GrGLSLProgramDataManager& pdman, in onCreateGLSLInstance() argument 337 fGLDomain.setData(pdman, domain, proxy, tde.textureSampler(0).samplerState()); in onCreateGLSLInstance() 443 void onSetData(const GrGLSLProgramDataManager& pdman, in onCreateGLSLInstance() argument 450 fGLDomain.setData(pdman, dstdfp.fTextureDomain, proxy, in onCreateGLSLInstance() 462 pdman.set4fv(fScaleAndTranslateUni, 1, scaleAndTransData); in onCreateGLSLInstance()
|
D | GrRRectBlurEffect.cpp | 100 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 103 { pdman.set1f(fCornerRadiusVar, (_outer.cornerRadius())); } in onSetData() 119 pdman.set1f(blurRadius, blurRadiusValue); in onSetData() 123 pdman.set4f(proxyRect, outset.fLeft, outset.fTop, outset.fRight, outset.fBottom); in onSetData()
|
/external/skia/src/gpu/effects/ |
D | GrTextureDomain.cpp | 222 void GrTextureDomain::GLDomain::setData(const GrGLSLProgramDataManager& pdman, in setData() argument 228 this->setData(pdman, textureDomain, view.proxy(), view.origin(), filterDecal); in setData() 231 void GrTextureDomain::GLDomain::setData(const GrGLSLProgramDataManager& pdman, in setData() argument 235 this->setData(pdman, textureDomain, nullptr, kTopLeft_GrSurfaceOrigin, filterIfDecal); in setData() 238 void GrTextureDomain::GLDomain::setData(const GrGLSLProgramDataManager& pdman, in setData() argument 308 pdman.set4fv(fDomainUni, 1, values); in setData() 313 pdman.set3fv(fDecalUni, 1, decalFilterWeights); in setData() 378 void onSetData(const GrGLSLProgramDataManager& pdman, in onCreateGLSLInstance() argument 385 fGLDomain.setData(pdman, dstdfp.fTextureDomain, view, in onCreateGLSLInstance() 397 pdman.set4fv(fScaleAndTranslateUni, 1, scaleAndTransData); in onCreateGLSLInstance()
|
D | GrSkSLFP.cpp | 117 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 130 pdman.set1fv(fUniformHandles[uniIndex++], v.fCount, data); in onSetData() 133 pdman.set2fv(fUniformHandles[uniIndex++], v.fCount, data); in onSetData() 136 pdman.set3fv(fUniformHandles[uniIndex++], v.fCount, data); in onSetData() 139 pdman.set4fv(fUniformHandles[uniIndex++], v.fCount, data); in onSetData() 142 pdman.setMatrix2fv(fUniformHandles[uniIndex++], v.fCount, data); in onSetData() 145 pdman.setMatrix3fv(fUniformHandles[uniIndex++], v.fCount, data); in onSetData() 148 pdman.setMatrix4fv(fUniformHandles[uniIndex++], v.fCount, data); in onSetData()
|
D | GrBezierEffect.cpp | 28 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor& primProc, in setData() argument 38 pdman.setMatrix3f(fViewMatrixUniform, viewMatrix); in setData() 42 pdman.set4fv(fColorUniform, 1, ce.color().vec()); in setData() 47 pdman.set1f(fCoverageScaleUniform, GrNormalizeByteToFloat(ce.coverageScale())); in setData() 50 this->setTransformDataHelper(ce.localMatrix(), pdman, transformRange); in setData() 282 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor& primProc, in setData() argument 292 pdman.setMatrix3f(fViewMatrixUniform, viewMatrix); in setData() 296 pdman.set4fv(fColorUniform, 1, qe.color().vec()); in setData() 301 pdman.set1f(fCoverageScaleUniform, GrNormalizeByteToFloat(qe.coverageScale())); in setData() 304 this->setTransformDataHelper(qe.localMatrix(), pdman, transformRange); in setData()
|
D | GrRRectEffect.cpp | 292 void GLCircularRRectEffect::onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 365 pdman.set4f(fInnerRectUniform, rect.fLeft, rect.fTop, rect.fRight, rect.fBottom); in onSetData() 367 pdman.set2f(fRadiusPlusHalfUniform, radius, 1.f / radius); in onSetData() 599 void GLEllipticalRRectEffect::onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument 615 pdman.set2f(fInvRadiiSqdUniform, 1.f, (r0.fX * r0.fX) / (r0.fY * r0.fY)); in onSetData() 616 pdman.set2f(fScaleUniform, r0.fX, 1.f / r0.fX); in onSetData() 618 pdman.set2f(fInvRadiiSqdUniform, (r0.fY * r0.fY) / (r0.fX * r0.fX), 1.f); in onSetData() 619 pdman.set2f(fScaleUniform, r0.fY, 1.f / r0.fY); in onSetData() 622 pdman.set2f(fInvRadiiSqdUniform, 1.f / (r0.fX * r0.fX), in onSetData() 637 pdman.set4f(fInvRadiiSqdUniform, scaleSqd / (r0.fX * r0.fX), in onSetData() [all …]
|
D | GrDistanceFieldGeoProc.cpp | 166 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor& proc, in setData() argument 174 pdman.set1f(fDistanceAdjustUni, distanceAdjust); in setData() 182 pdman.set2f(fAtlasDimensionsInvUniform, in setData() 187 this->setTransformDataHelper(dfa8gp.localMatrix(), pdman, transformRange); in setData() 460 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor& proc, in setData() argument 468 pdman.setMatrix3f(fMatrixUniform, matrix); in setData() 474 pdman.set2f(fAtlasDimensionsInvUniform, in setData() 481 this->setTransformDataHelper(SkMatrix::I(), pdman, transformRange); in setData() 483 this->setTransformDataHelper(dfpgp.matrix(), pdman, transformRange); in setData() 780 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor& processor, in setData() argument [all …]
|
/external/skia/src/gpu/ |
D | GrDefaultGeoProcFactory.cpp | 182 void setData(const GrGLSLProgramDataManager& pdman, in setData() argument 193 pdman.setMatrix3f(fViewMatrixUniform, viewMatrix); in setData() 197 pdman.set4fv(fColorUniform, 1, dgp.color().vec()); in setData() 202 pdman.set1f(fCoverageUniform, GrNormalizeByteToFloat(dgp.coverage())); in setData() 205 this->setTransformDataHelper(dgp.fLocalMatrix, pdman, transformRange); in setData() 207 fColorSpaceHelper.setData(pdman, dgp.fColorSpaceXform.get()); in setData()
|