/external/skia/src/gpu/glsl/ |
GrGLSLColorSpaceXformHelper.h | 33 void setData(const GrGLSLProgramDataManager& pdman, GrColorSpaceXform* colorSpaceXform) { 34 pdman.setSkMatrix44(fGamutXformVar, colorSpaceXform->srcToDst());
|
GrGLSLFragmentProcessor.cpp | 14 void GrGLSLFragmentProcessor::setData(const GrGLSLProgramDataManager& pdman, 16 this->onSetData(pdman, processor); 19 fChildProcessors[i]->setData(pdman, processor.childProcessor(i));
|
GrGLSLGeometryProcessor.h | 28 const GrGLSLProgramDataManager& pdman,
|
GrGLSLGeometryProcessor.cpp | 74 const GrGLSLProgramDataManager& pdman, 80 pdman.setSkMatrix(fInstalledTransforms[i].fHandle.toIndex(), m);
|
/external/skia/src/gpu/effects/ |
GrEllipseEffect.fp | 23 @setData(pdman) { 34 pdman.set2f(scale, radii.fX, 1.f / radii.fX); 39 pdman.set2f(scale, radii.fY, 1.f / radii.fY); 45 pdman.set4f(ellipse, center.fX, center.fY, invRXSqd, invRYSqd);
|
GrShadowGeoProc.cpp | 55 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor& proc, 57 this->setTransformDataHelper(SkMatrix::I(), pdman, &transformIter); variable
|
GrBlurredEdgeFragmentProcessor.cpp | 36 void onSetData(const GrGLSLProgramDataManager& pdman,
|
GrCircleEffect.fp | 20 @setData(pdman) { 28 pdman.set4f(circle, center.fX, center.fY, effectiveRadius,
|
GrEllipseEffect.cpp | 55 void onSetData(const GrGLSLProgramDataManager& pdman, 77 pdman.set2f(scale, radii.fX, 1.f / radii.fX); 81 pdman.set2f(scale, radii.fY, 1.f / radii.fY); 87 pdman.set4f(ellipse, center.fX, center.fY, invRXSqd, invRYSqd);
|
GrYUVEffect.cpp | 132 void onSetData(const GrGLSLProgramDataManager& pdman, 137 pdman.setMatrix4f(fMatrixUni, kJPEGConversionMatrix); 140 pdman.setMatrix4f(fMatrixUni, kRec601ConversionMatrix); 143 pdman.setMatrix4f(fMatrixUni, kRec709ConversionMatrix); 281 void onSetData(const GrGLSLProgramDataManager& pdman, 301 pdman.set4fv(fRGBToYUVUni, 3, matrix); 304 pdman.set4fv(fRGBToYUVUni, 2, matrix + 4); 307 pdman.set4fv(fRGBToYUVUni, 1, matrix); 310 pdman.set4fv(fRGBToYUVUni, 1, matrix + 4); 313 pdman.set4fv(fRGBToYUVUni, 1, matrix + 8) [all...] |
GrGaussianConvolutionFragmentProcessor.cpp | 120 void GrGLConvolutionEffect::onSetData(const GrGLSLProgramDataManager& pdman, 138 pdman.set2fv(fImageIncrementUni, 1, imageIncrement); 149 pdman.set2f(fBoundsUni, inv * bounds[0], inv * bounds[1]); 153 pdman.set2f(fBoundsUni, 1.0f - (inv * bounds[1]), 1.0f - (inv * bounds[0])); 155 pdman.set2f(fBoundsUni, inv * bounds[1], inv * bounds[0]); 163 pdman.set4fv(fKernelUni, arrayCount, conv.kernel());
|
GrCircleEffect.cpp | 47 void onSetData(const GrGLSLProgramDataManager& pdman, 66 pdman.set4f(circle, center.fX, center.fY, effectiveRadius,
|
GrSimpleTextureEffect.cpp | 46 void onSetData(const GrGLSLProgramDataManager& pdman, 51 fColorSpaceHelper.setData(pdman, _outer.colorXform().get());
|
GrBicubicEffect.cpp | 120 void GrGLBicubicEffect::onSetData(const GrGLSLProgramDataManager& pdman, 128 pdman.set2fv(fImageIncrementUni, 1, imageIncrement); 129 fDomain.setData(pdman, bicubicEffect.domain(), texture); 131 fColorSpaceHelper.setData(pdman, bicubicEffect.colorSpaceXform());
|
GrDitherEffect.cpp | 44 void onSetData(const GrGLSLProgramDataManager& pdman,
|
GrNonlinearColorSpaceXformEffect.cpp | 113 void onSetData(const GrGLSLProgramDataManager& pdman, 118 pdman.set1fv(fSrcTransferFnUni, GrNonlinearColorSpaceXformEffect::kNumTransferFnCoeffs, 122 pdman.set1fv(fDstTransferFnUni, GrNonlinearColorSpaceXformEffect::kNumTransferFnCoeffs, 126 pdman.setSkMatrix44(fGamutXformUni, csxe.gamutXform());
|
GrMatrixConvolutionEffect.cpp | 131 void GrGLMatrixConvolutionEffect::onSetData(const GrGLSLProgramDataManager& pdman, 140 pdman.set2fv(fImageIncrementUni, 1, imageIncrement); 141 pdman.set2fv(fKernelOffsetUni, 1, conv.kernelOffset()); 145 pdman.set4fv(fKernelUni, arrayCount, conv.kernel()); 146 pdman.set1f(fGainUni, conv.gain()); 147 pdman.set1f(fBiasUni, conv.bias()); 148 fDomain.setData(pdman, conv.domain(), texture);
|
GrBezierEffect.cpp | 28 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor& primProc, 36 pdman.setMatrix3f(fViewMatrixUniform, viewMatrix); 42 pdman.set4fv(fColorUniform, 1, c); 47 pdman.set1f(fCoverageScaleUniform, GrNormalizeByteToFloat(ce.coverageScale())); 50 this->setTransformDataHelper(ce.localMatrix(), pdman, &transformIter); 289 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor& primProc, 297 pdman.setMatrix3f(fViewMatrixUniform, viewMatrix); 303 pdman.set4fv(fColorUniform, 1, c); 308 pdman.set1f(fCoverageScaleUniform, GrNormalizeByteToFloat(qe.coverageScale())); 311 this->setTransformDataHelper(qe.localMatrix(), pdman, &transformIter) 516 this->setTransformDataHelper(SkMatrix::I(), pdman, &transformIter); variable [all...] |
GrRRectEffect.cpp | 292 void GLCircularRRectEffect::onSetData(const GrGLSLProgramDataManager& pdman, 365 pdman.set4f(fInnerRectUniform, rect.fLeft, rect.fTop, rect.fRight, rect.fBottom); 367 pdman.set2f(fRadiusPlusHalfUniform, radius, 1.f / radius); 602 void GLEllipticalRRectEffect::onSetData(const GrGLSLProgramDataManager& pdman, 618 pdman.set2f(fInvRadiiSqdUniform, 1.f, (r0.fX * r0.fX) / (r0.fY * r0.fY)); 619 pdman.set2f(fScaleUniform, r0.fX, 1.f / r0.fX); 621 pdman.set2f(fInvRadiiSqdUniform, (r0.fY * r0.fY) / (r0.fX * r0.fX), 1.f); 622 pdman.set2f(fScaleUniform, r0.fY, 1.f / r0.fY); 625 pdman.set2f(fInvRadiiSqdUniform, 1.f / (r0.fX * r0.fX), 640 pdman.set4f(fInvRadiiSqdUniform, scaleSqd / (r0.fX * r0.fX) [all...] |
GrTextureDomain.cpp | 162 void GrTextureDomain::GLDomain::setData(const GrGLSLProgramDataManager& pdman, 191 pdman.set4fv(fDomainUni, 1, values); 269 void onSetData(const GrGLSLProgramDataManager& pdman, 275 fGLDomain.setData(pdman, domain, texture); 277 fColorSpaceHelper.setData(pdman, tde.colorSpaceXform()); 371 void onSetData(const GrGLSLProgramDataManager& pdman, 377 fGLDomain.setData(pdman, dstdfp.fTextureDomain, texture); 388 pdman.set4fv(fScaleAndTranslateUni, 1, scaleAndTransData);
|
/external/skia/src/effects/ |
GrAlphaThresholdFragmentProcessor.cpp | 75 void onSetData(const GrGLSLProgramDataManager& pdman, 81 fColorSpaceHelper.setData(pdman, _outer.colorXform().get()); 83 pdman.set1f(fInnerThresholdVar, _outer.innerThreshold()); 84 pdman.set1f(fOuterThresholdVar, _outer.outerThreshold());
|
SkLightingImageFilter.cpp | 49 static void setUniformPoint3(const GrGLSLProgramDataManager& pdman, UniformHandle uni, 52 pdman.set3fv(uni, 1, &point.fX); 55 static void setUniformNormal3(const GrGLSLProgramDataManager& pdman, UniformHandle uni, 57 setUniformPoint3(pdman, uni, point); [all...] |
/external/skia/src/gpu/ |
GrDefaultGeoProcFactory.cpp | 194 void setData(const GrGLSLProgramDataManager& pdman, 203 pdman.setMatrix3f(fViewMatrixUniform, viewMatrix); 209 pdman.set4fv(fColorUniform, 1, c); 214 pdman.set1f(fCoverageUniform, GrNormalizeByteToFloat(dgp.coverage())); 217 this->setTransformDataHelper(dgp.fLocalMatrix, pdman, &transformIter); 220 fColorSpaceHelper.setData(pdman, dgp.fColorSpaceXform.get());
|
/external/skia/src/shaders/gradients/ |
SkTwoPointConicalGradient_gpu.cpp | 288 const GrGLSLProgramDataManager& pdman, const GrFragmentProcessor& processor) { 289 INHERITED::onSetData(pdman, processor); 297 pdman.set3f(fParamUni, radius0, radius0 * radius0, diffRadius); 559 const GrGLSLProgramDataManager& pdman, const GrFragmentProcessor& processor) { 560 INHERITED::onSetData(pdman, processor); 568 pdman.set2f(fParamUni, SkScalarToFloat(focal), SkScalarToFloat(oneMinus2F)); 741 const GrGLSLProgramDataManager& pdman, const GrFragmentProcessor& processor) { 742 INHERITED::onSetData(pdman, processor); 747 pdman.set1f(fFocalUni, SkScalarToFloat(focal)); [all...] |
/external/skia/src/gpu/ccpr/ |
GrCCPRCoverageProcessor.h | 230 void setData(const GrGLSLProgramDataManager& pdman, const GrPrimitiveProcessor&, 232 this->setTransformDataHelper(SkMatrix::I(), pdman, &transformIter); variable
|