Home
last modified time | relevance | path

Searched refs:pdman (Results 1 – 25 of 196) sorted by relevance

12345678

/external/skqp/src/gpu/gradients/
DGrUnrolledBinaryGradientColorizer.cpp185 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 …]
DGrDualIntervalGradientColorizer.cpp58 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()
DGrSingleIntervalGradientColorizer.cpp41 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/
DGrUnrolledBinaryGradientColorizer.cpp222 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument
227 pdman.set4fv(scale0_1Var, 1, (_outer.scale0_1).vec()); in onSetData()
229 pdman.set4fv(scale2_3Var, 1, (_outer.scale2_3).vec()); in onSetData()
232 pdman.set4fv(scale4_5Var, 1, (_outer.scale4_5).vec()); in onSetData()
235 pdman.set4fv(scale6_7Var, 1, (_outer.scale6_7).vec()); in onSetData()
238 pdman.set4fv(scale8_9Var, 1, (_outer.scale8_9).vec()); in onSetData()
241 pdman.set4fv(scale10_11Var, 1, (_outer.scale10_11).vec()); in onSetData()
244 pdman.set4fv(scale12_13Var, 1, (_outer.scale12_13).vec()); in onSetData()
247 pdman.set4fv(scale14_15Var, 1, (_outer.scale14_15).vec()); in onSetData()
249 pdman.set4fv(bias0_1Var, 1, (_outer.bias0_1).vec()); in onSetData()
[all …]
DGrDualIntervalGradientColorizer.cpp71 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument
79 pdman.set4fv(scale01Var, 1, scale01Value.vec()); in onSetData()
84 pdman.set4fv(bias01Var, 1, bias01Value.vec()); in onSetData()
89 pdman.set4fv(scale23Var, 1, scale23Value.vec()); in onSetData()
94 pdman.set4fv(bias23Var, 1, bias23Value.vec()); in onSetData()
99 pdman.set1f(thresholdVar, thresholdValue); in onSetData()
DGrSingleIntervalGradientColorizer.cpp45 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument
53 pdman.set4fv(startVar, 1, startValue.vec()); in onSetData()
58 pdman.set4fv(endVar, 1, endValue.vec()); in onSetData()
/external/skia/src/gpu/effects/
DGrSkSLFP.cpp149 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument
160 case Type::kFloat: pdman.set1fv(handle, v.count, floatData()); break; in onSetData()
161 case Type::kFloat2: pdman.set2fv(handle, v.count, floatData()); break; in onSetData()
162 case Type::kFloat3: pdman.set3fv(handle, v.count, floatData()); break; in onSetData()
163 case Type::kFloat4: pdman.set4fv(handle, v.count, floatData()); break; in onSetData()
165 case Type::kFloat2x2: pdman.setMatrix2fv(handle, v.count, floatData()); break; in onSetData()
166 case Type::kFloat3x3: pdman.setMatrix3fv(handle, v.count, floatData()); break; in onSetData()
167 case Type::kFloat4x4: pdman.setMatrix4fv(handle, v.count, floatData()); break; in onSetData()
169 case Type::kInt: pdman.set1iv(handle, v.count, intData()); break; in onSetData()
170 case Type::kInt2: pdman.set2iv(handle, v.count, intData()); break; in onSetData()
[all …]
DGrBezierEffect.cpp27 void setData(const GrGLSLProgramDataManager& pdman, in setData() argument
32 SetTransform(pdman, shaderCaps, fViewMatrixUniform, ce.viewMatrix(), &fViewMatrix); in setData()
33 SetTransform(pdman, shaderCaps, fLocalMatrixUniform, ce.localMatrix(), &fLocalMatrix); in setData()
36 pdman.set4fv(fColorUniform, 1, ce.color().vec()); in setData()
41 pdman.set1f(fCoverageScaleUniform, GrNormalizeByteToFloat(ce.coverageScale())); in setData()
237 void setData(const GrGLSLProgramDataManager& pdman, in setData() argument
242 SetTransform(pdman, shaderCaps, fViewMatrixUniform, qe.viewMatrix(), &fViewMatrix); in setData()
243 SetTransform(pdman, shaderCaps, fLocalMatrixUniform, qe.localMatrix(), &fLocalMatrix); in setData()
246 pdman.set4fv(fColorUniform, 1, qe.color().vec()); in setData()
251 pdman.set1f(fCoverageScaleUniform, GrNormalizeByteToFloat(qe.coverageScale())); in setData()
DGrMatrixEffect.cpp29 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument
35 pdman.setSkMatrix(fMatrixVar, m); in onSetData()
37 pdman.setSkMatrix(fMatrixVar, mtx.matrix()); in onSetData()
DGrRRectEffect.cpp312 void GLCircularRRectEffect::onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument
385 pdman.set4f(fInnerRectUniform, rect.fLeft, rect.fTop, rect.fRight, rect.fBottom); in onSetData()
387 pdman.set2f(fRadiusPlusHalfUniform, radius, 1.f / radius); in onSetData()
639 void GLEllipticalRRectEffect::onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument
655 pdman.set2f(fInvRadiiSqdUniform, 1.f, (r0.fX * r0.fX) / (r0.fY * r0.fY)); in onSetData()
656 pdman.set2f(fScaleUniform, r0.fX, 1.f / r0.fX); in onSetData()
658 pdman.set2f(fInvRadiiSqdUniform, (r0.fY * r0.fY) / (r0.fX * r0.fX), 1.f); in onSetData()
659 pdman.set2f(fScaleUniform, r0.fY, 1.f / r0.fY); in onSetData()
662 pdman.set2f(fInvRadiiSqdUniform, 1.f / (r0.fX * r0.fX), in onSetData()
677 pdman.set4f(fInvRadiiSqdUniform, scaleSqd / (r0.fX * r0.fX), in onSetData()
[all …]
/external/skqp/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h46 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/effects/generated/
DGrMagnifierEffect.cpp85 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument
89 pdman.set1f(xInvZoomVar, (_outer.xInvZoom)); in onSetData()
90 pdman.set1f(yInvZoomVar, (_outer.yInvZoom)); in onSetData()
91 pdman.set1f(xInvInsetVar, (_outer.xInvInset)); in onSetData()
92 pdman.set1f(yInvInsetVar, (_outer.yInvInset)); in onSetData()
111 pdman.set2f(offset, srcRect.x(), srcRect.y()); in onSetData()
112 pdman.set4f( in onSetData()
DGrEllipseEffect.cpp93 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument
117 pdman.set2f(scale, radii.fX, 1.f / radii.fX); in onSetData()
121 pdman.set2f(scale, radii.fY, 1.f / radii.fY); in onSetData()
127 pdman.set4f(ellipse, center.fX, center.fY, invRXSqd, invRYSqd); in onSetData()
DGrAlphaThresholdFragmentProcessor.cpp66 void onSetData(const GrGLSLProgramDataManager& pdman, in onSetData() argument
71 pdman.set1f(innerThresholdVar, (_outer.innerThreshold)); in onSetData()
72 pdman.set1f(outerThresholdVar, (_outer.outerThreshold)); in onSetData()
/external/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h47 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/skqp/src/gpu/effects/
DGrMagnifierEffect.cpp76 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()
DGrBezierEffect.cpp28 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()
DGrEllipseEffect.cpp62 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()
DGrRRectEffect.cpp292 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 …]
DGrDistanceFieldGeoProc.cpp165 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 …]
DGrTextureDomain.cpp180 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()
DGrRRectBlurEffect.cpp100 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/tessellate/
DGrFillPathShader.cpp40 void setData(const GrGLSLProgramDataManager& pdman, in setData() argument
44 pdman.setSkMatrix(fViewMatrixUniform, shader.viewMatrix()); in setData()
47 pdman.set4f(fColorUniform, color.fR, color.fG, color.fB, color.fA); in setData()
51 pdman.set4f(fPathBoundsUniform, b.left(), b.top(), b.right(), b.bottom()); in setData()
DGrStrokeTessellateShader.cpp415 void setData(const GrGLSLProgramDataManager& pdman, in setData() argument
432 pdman.set4f(fTessArgsUniform, in setData()
440 pdman.set1f(fTessArgsUniform, GrStrokeTolerances::CalcParametricPrecision(maxScale)); in setData()
446 pdman.set2f(fTranslateUniform, m.getTranslateX(), m.getTranslateY()); in setData()
447 pdman.set4f(fAffineMatrixUniform, m.getScaleX(), m.getSkewY(), m.getSkewX(), in setData()
452 pdman.set4fv(fColorUniform, 1, shader.fColor.vec()); in setData()
1271 void setData(const GrGLSLProgramDataManager& pdman, in setData() argument
1289 pdman.set4f(fTessControlArgsUniform, in setData()
1297 pdman.set1f(fTessControlArgsUniform, in setData()
1303 pdman.set1f(fEdgeCountUniform, (float)shader.fFixedCountNumTotalEdges); in setData()
[all …]
/external/skia/tests/sksl/dslfp/
DGrDSLFPTest_Ternary.dsl.cpp78 … void onSetData(const GrGLSLProgramDataManager& pdman, const GrFragmentProcessor& _proc) override { in onSetData() argument
82 pdman.set4fv(colorGreenVar, 1, (_outer.colorGreen).vec()); in onSetData()
85 pdman.set4fv(colorRedVar, 1, (_outer.colorRed).vec()); in onSetData()
88 pdman.set4fv(colorOrangeVar, 1, (_outer.colorOrange).vec()); in onSetData()
91 pdman.set4fv(colorPurpleVar, 1, (_outer.colorPurple).vec()); in onSetData()

12345678