Home
last modified time | relevance | path

Searched refs:fUniformHandler (Results 1 – 25 of 146) sorted by relevance

123456

/external/skqp/src/gpu/gradients/
DGrUnrolledBinaryGradientColorizer.cpp64 fScale0_1Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
67 fScale2_3Var = args.fUniformHandler->addUniform( in emitCode()
71 fScale4_5Var = args.fUniformHandler->addUniform( in emitCode()
75 fScale6_7Var = args.fUniformHandler->addUniform( in emitCode()
79 fScale8_9Var = args.fUniformHandler->addUniform( in emitCode()
83 fScale10_11Var = args.fUniformHandler->addUniform( in emitCode()
87 fScale12_13Var = args.fUniformHandler->addUniform( in emitCode()
91 fScale14_15Var = args.fUniformHandler->addUniform( in emitCode()
94 fBias0_1Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
97 fBias2_3Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
[all …]
DGrDualIntervalGradientColorizer.cpp36 fScale01Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
38 fBias01Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
40 fScale23Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
42 fBias23Var = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
44 fThresholdVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
50 args.fInputColor, args.fUniformHandler->getUniformCStr(fThresholdVar), in emitCode()
51 args.fUniformHandler->getUniformCStr(fScale01Var), in emitCode()
52 args.fUniformHandler->getUniformCStr(fBias01Var), in emitCode()
53 args.fUniformHandler->getUniformCStr(fScale23Var), in emitCode()
54 args.fUniformHandler->getUniformCStr(fBias23Var), args.fOutputColor); in emitCode()
DGrSingleIntervalGradientColorizer.cpp30 fStartVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
32 fEndVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
36 args.fUniformHandler->getUniformCStr(fStartVar), in emitCode()
37 args.fUniformHandler->getUniformCStr(fEndVar)); in emitCode()
DGrClampedGradientEffect.cpp33 fLeftBorderColorVar = args.fUniformHandler->addUniform( in emitCode()
36 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
46 args.fUniformHandler->getUniformCStr(fLeftBorderColorVar), args.fOutputColor, in emitCode()
47 args.fUniformHandler->getUniformCStr(fRightBorderColorVar)); in emitCode()
/external/skqp/src/gpu/effects/
DGrRectBlurEffect.cpp34 fRectVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
38 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
43 args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
46 fProfileSizeVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
56 (highPrecision ? "true" : "false"), args.fUniformHandler->getUniformCStr(fRectVar), in emitCode()
57 args.fUniformHandler->getUniformCStr(fRectVar), in emitCode()
58 args.fUniformHandler->getUniformCStr(fRectVar), in emitCode()
59 args.fUniformHandler->getUniformCStr(fRectVar), in emitCode()
60 args.fUniformHandler->getUniformCStr(fRectVar), in emitCode()
61 args.fUniformHandler->getUniformCStr(fProfileSizeVar), in emitCode()
[all …]
DGrMagnifierEffect.cpp37 fBoundsUniformVar = args.fUniformHandler->addUniform( in emitCode()
39 fXInvZoomVar = args.fUniformHandler->addUniform( in emitCode()
41 fYInvZoomVar = args.fUniformHandler->addUniform( in emitCode()
43 fXInvInsetVar = args.fUniformHandler->addUniform( in emitCode()
45 fYInvInsetVar = args.fUniformHandler->addUniform( in emitCode()
47 fOffsetVar = args.fUniformHandler->addUniform( in emitCode()
59 args.fUniformHandler->getUniformCStr(fOffsetVar), in emitCode()
60 args.fUniformHandler->getUniformCStr(fXInvZoomVar), in emitCode()
61 args.fUniformHandler->getUniformCStr(fYInvZoomVar), in emitCode()
62 args.fUniformHandler->getUniformCStr(fBoundsUniformVar), in emitCode()
[all …]
DGrAlphaThresholdFragmentProcessor.cpp40 fInnerThresholdVar = args.fUniformHandler->addUniform( in emitCode()
42 fOuterThresholdVar = args.fUniformHandler->addUniform( in emitCode()
55 args.fUniformHandler->getUniformCStr(fOuterThresholdVar), in emitCode()
56 args.fUniformHandler->getUniformCStr(fOuterThresholdVar), in emitCode()
57 args.fUniformHandler->getUniformCStr(fOuterThresholdVar), in emitCode()
58 args.fUniformHandler->getUniformCStr(fInnerThresholdVar), in emitCode()
59 args.fUniformHandler->getUniformCStr(fInnerThresholdVar), in emitCode()
60 args.fUniformHandler->getUniformCStr(fInnerThresholdVar), args.fOutputColor); in emitCode()
DGrAARectEffect.cpp30 fRectUniformVar = args.fUniformHandler->addUniform( in emitCode()
45 args.fUniformHandler->getUniformCStr(fRectUniformVar), in emitCode()
46 args.fUniformHandler->getUniformCStr(fRectUniformVar), in emitCode()
47 args.fUniformHandler->getUniformCStr(fRectUniformVar), in emitCode()
48 args.fUniformHandler->getUniformCStr(fRectUniformVar), in emitCode()
49 args.fUniformHandler->getUniformCStr(fRectUniformVar), in emitCode()
50 args.fUniformHandler->getUniformCStr(fRectUniformVar)); in emitCode()
DGrCircleEffect.cpp32 fCircleVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
42 args.fUniformHandler->getUniformCStr(fCircleVar), in emitCode()
43 args.fUniformHandler->getUniformCStr(fCircleVar), in emitCode()
44 args.fUniformHandler->getUniformCStr(fCircleVar), in emitCode()
45 args.fUniformHandler->getUniformCStr(fCircleVar), in emitCode()
46 args.fUniformHandler->getUniformCStr(fCircleVar), in emitCode()
47 args.fUniformHandler->getUniformCStr(fCircleVar), (int)_outer.edgeType(), in emitCode()
DGrRRectBlurEffect.cpp70 fCornerRadiusVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat_GrSLType, in emitCode()
72 fProxyRectVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
74 fBlurRadiusVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in emitCode()
84 args.fUniformHandler->getUniformCStr(fProxyRectVar), in emitCode()
85 args.fUniformHandler->getUniformCStr(fCornerRadiusVar), in emitCode()
86 args.fUniformHandler->getUniformCStr(fBlurRadiusVar), in emitCode()
87 args.fUniformHandler->getUniformCStr(fProxyRectVar), in emitCode()
88 args.fUniformHandler->getUniformCStr(fProxyRectVar)); in emitCode()
DGrEllipseEffect.cpp33 fEllipseVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
36 fScaleVar = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, kFloat2_GrSLType, in emitCode()
48 args.fUniformHandler->getUniformCStr(fEllipseVar), in emitCode()
49 fScaleVar.isValid() ? args.fUniformHandler->getUniformCStr(fScaleVar) : "float2(0)", in emitCode()
50 args.fUniformHandler->getUniformCStr(fEllipseVar), in emitCode()
51 fScaleVar.isValid() ? args.fUniformHandler->getUniformCStr(fScaleVar) : "float2(0)", in emitCode()
/external/skia/src/gpu/gradients/generated/
DGrUnrolledBinaryGradientColorizer.cpp66 scale0_1Var = args.fUniformHandler->addUniform( in emitCode()
69 scale2_3Var = args.fUniformHandler->addUniform( in emitCode()
73 scale4_5Var = args.fUniformHandler->addUniform( in emitCode()
77 scale6_7Var = args.fUniformHandler->addUniform( in emitCode()
81 scale8_9Var = args.fUniformHandler->addUniform( in emitCode()
85 scale10_11Var = args.fUniformHandler->addUniform( in emitCode()
89 scale12_13Var = args.fUniformHandler->addUniform( in emitCode()
93 scale14_15Var = args.fUniformHandler->addUniform( in emitCode()
96 bias0_1Var = args.fUniformHandler->addUniform( in emitCode()
99 bias2_3Var = args.fUniformHandler->addUniform( in emitCode()
[all …]
DGrDualIntervalGradientColorizer.cpp38 scale01Var = args.fUniformHandler->addUniform( in emitCode()
40 bias01Var = args.fUniformHandler->addUniform( in emitCode()
42 scale23Var = args.fUniformHandler->addUniform( in emitCode()
44 bias23Var = args.fUniformHandler->addUniform( in emitCode()
46 thresholdVar = args.fUniformHandler->addUniform( in emitCode()
63 args.fUniformHandler->getUniformCStr(thresholdVar), in emitCode()
64 args.fUniformHandler->getUniformCStr(scale01Var), in emitCode()
65 args.fUniformHandler->getUniformCStr(bias01Var), in emitCode()
66 args.fUniformHandler->getUniformCStr(scale23Var), in emitCode()
67 args.fUniformHandler->getUniformCStr(bias23Var)); in emitCode()
DGrSingleIntervalGradientColorizer.cpp32 startVar = args.fUniformHandler->addUniform( in emitCode()
34 endVar = args.fUniformHandler->addUniform( in emitCode()
39 args.fUniformHandler->getUniformCStr(startVar), in emitCode()
40 args.fUniformHandler->getUniformCStr(endVar), in emitCode()
/external/skia/tests/sksl/fp/
DGrUniformArrays.cpp22 …scalarArrayVar = args.fUniformHandler->addUniformArray(&_outer, kFragment_GrShaderFlag, kHalf_GrSL… in emitCode()
23 …pointArrayVar = args.fUniformHandler->addUniformArray(&_outer, kFragment_GrShaderFlag, kHalf2_GrSL… in emitCode()
27fUniformHandler->getUniformCStr(scalarArrayVar), args.fUniformHandler->getUniformCStr(pointArrayVa… in emitCode()
/external/skia/src/gpu/effects/generated/
DGrMagnifierEffect.cpp39 boundsUniformVar = args.fUniformHandler->addUniform( in emitCode()
41 xInvZoomVar = args.fUniformHandler->addUniform( in emitCode()
43 yInvZoomVar = args.fUniformHandler->addUniform( in emitCode()
45 xInvInsetVar = args.fUniformHandler->addUniform( in emitCode()
47 yInvInsetVar = args.fUniformHandler->addUniform( in emitCode()
49 offsetVar = args.fUniformHandler->addUniform( in emitCode()
66 args.fUniformHandler->getUniformCStr(offsetVar), in emitCode()
68 args.fUniformHandler->getUniformCStr(xInvZoomVar), in emitCode()
69 args.fUniformHandler->getUniformCStr(yInvZoomVar), in emitCode()
71 args.fUniformHandler->getUniformCStr(boundsUniformVar), in emitCode()
[all …]
DGrAlphaThresholdFragmentProcessor.cpp32 innerThresholdVar = args.fUniformHandler->addUniform( in emitCode()
34 outerThresholdVar = args.fUniformHandler->addUniform( in emitCode()
57 args.fUniformHandler->getUniformCStr(outerThresholdVar), in emitCode()
58 args.fUniformHandler->getUniformCStr(outerThresholdVar), in emitCode()
59 args.fUniformHandler->getUniformCStr(outerThresholdVar), in emitCode()
60 args.fUniformHandler->getUniformCStr(innerThresholdVar), in emitCode()
61 args.fUniformHandler->getUniformCStr(innerThresholdVar), in emitCode()
62 args.fUniformHandler->getUniformCStr(innerThresholdVar)); in emitCode()
DGrRectBlurEffect.cpp39 rectFVar = args.fUniformHandler->addUniform( in emitCode()
43 rectHVar = args.fUniformHandler->addUniform( in emitCode()
47 invVMVar = args.fUniformHandler->addUniform( in emitCode()
68 invVMVar.isValid() ? args.fUniformHandler->getUniformCStr(invVMVar) : "float3x3(1)", in emitCode()
70 rectFVar.isValid() ? args.fUniformHandler->getUniformCStr(rectFVar) : "float4(0)", in emitCode()
71 rectFVar.isValid() ? args.fUniformHandler->getUniformCStr(rectFVar) : "float4(0)", in emitCode()
72 rectHVar.isValid() ? args.fUniformHandler->getUniformCStr(rectHVar) : "half4(0)", in emitCode()
73 rectHVar.isValid() ? args.fUniformHandler->getUniformCStr(rectHVar) : "half4(0)"); in emitCode()
95 rectFVar.isValid() ? args.fUniformHandler->getUniformCStr(rectFVar) : "float4(0)", in emitCode()
96 rectFVar.isValid() ? args.fUniformHandler->getUniformCStr(rectFVar) : "float4(0)", in emitCode()
[all …]
DGrColorMatrixFragmentProcessor.cpp38 mVar = args.fUniformHandler->addUniform( in emitCode()
40 vVar = args.fUniformHandler->addUniform( in emitCode()
61 args.fUniformHandler->getUniformCStr(mVar), in emitCode()
62 args.fUniformHandler->getUniformCStr(mVar), in emitCode()
63 args.fUniformHandler->getUniformCStr(mVar), in emitCode()
64 args.fUniformHandler->getUniformCStr(mVar), in emitCode()
65 args.fUniformHandler->getUniformCStr(mVar), in emitCode()
66 args.fUniformHandler->getUniformCStr(vVar), in emitCode()
DGrCircleEffect.cpp34 circleVar = args.fUniformHandler->addUniform( in emitCode()
48 args.fUniformHandler->getUniformCStr(circleVar), in emitCode()
49 args.fUniformHandler->getUniformCStr(circleVar), in emitCode()
50 args.fUniformHandler->getUniformCStr(circleVar), in emitCode()
51 args.fUniformHandler->getUniformCStr(circleVar), in emitCode()
52 args.fUniformHandler->getUniformCStr(circleVar), in emitCode()
53 args.fUniformHandler->getUniformCStr(circleVar)); in emitCode()
DGrArithmeticProcessor.cpp31 kVar = args.fUniformHandler->addUniform( in emitCode()
47 args.fUniformHandler->getUniformCStr(kVar), in emitCode()
48 args.fUniformHandler->getUniformCStr(kVar), in emitCode()
49 args.fUniformHandler->getUniformCStr(kVar), in emitCode()
50 args.fUniformHandler->getUniformCStr(kVar), in emitCode()
DGrEllipseEffect.cpp34 ellipseVar = args.fUniformHandler->addUniform( in emitCode()
37 scaleVar = args.fUniformHandler->addUniform( in emitCode()
79 args.fUniformHandler->getUniformCStr(ellipseVar), in emitCode()
80 scaleVar.isValid() ? args.fUniformHandler->getUniformCStr(scaleVar) : "float2(0)", in emitCode()
81 args.fUniformHandler->getUniformCStr(ellipseVar), in emitCode()
82 scaleVar.isValid() ? args.fUniformHandler->getUniformCStr(scaleVar) : "float2(0)", in emitCode()
/external/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp56 , fUniformHandler(this) {} in GrVkPipelineStateBuilder()
189 fUniformHandler, &samplerDSHandle); in finalize()
204 bool usePushConstants = fUniformHandler.usePushConstants(); in finalize()
209 settings.fFlipY = fUniformHandler.getFlipY(); in finalize()
212 settings.fRTHeightOffset = fUniformHandler.getRTHeightOffset(); in finalize()
329 SkASSERT(!SkToBool(fUniformHandler.currentOffset() & 0x3)); in finalize()
330 pushConstantRange.size = fUniformHandler.currentOffset(); in finalize()
379 fUniformHandler.fUniforms, in finalize()
380 fUniformHandler.currentOffset(), in finalize()
381 fUniformHandler.usePushConstants(), in finalize()
[all …]
/external/skqp/src/gpu/mtl/
DGrMtlPipelineStateBuilder.h41 GrGLSLUniformHandler* uniformHandler() override { return &fUniformHandler; } in uniformHandler()
43 const GrGLSLUniformHandler* uniformHandler() const override { return &fUniformHandler; } in uniformHandler()
59 GrMtlUniformHandler fUniformHandler; variable
/external/skia/src/gpu/d3d/
DGrD3DPipelineStateBuilder.h61 GrGLSLUniformHandler* uniformHandler() override { return &fUniformHandler; } in uniformHandler()
62 const GrGLSLUniformHandler* uniformHandler() const override { return &fUniformHandler; } in uniformHandler()
67 GrSPIRVUniformHandler fUniformHandler; variable

123456