Home
last modified time | relevance | path

Searched refs:UniformHandle (Results 1 – 25 of 173) sorted by relevance

1234567

/external/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.h24 GR_DEFINE_RESOURCE_HANDLE_CLASS(UniformHandle);
31 virtual void set1i(UniformHandle, int32_t) const = 0;
32 virtual void set1iv(UniformHandle, int arrayCount, const int v[]) const = 0;
33 virtual void set1f(UniformHandle, float v0) const = 0;
34 virtual void set1fv(UniformHandle, int arrayCount, const float v[]) const = 0;
35 virtual void set2i(UniformHandle, int32_t, int32_t) const = 0;
36 virtual void set2iv(UniformHandle, int arrayCount, const int v[]) const = 0;
37 virtual void set2f(UniformHandle, float, float) const = 0;
38 virtual void set2fv(UniformHandle, int arrayCount, const float v[]) const = 0;
39 virtual void set3i(UniformHandle, int32_t, int32_t, int32_t) const = 0;
[all …]
DGrGLSLUniformHandler.h25 GrGLSLProgramDataManager::UniformHandle fRTAdjustmentUni;
28 GrGLSLProgramDataManager::UniformHandle fRTHeightUni;
42 using UniformHandle = GrGLSLProgramDataManager::UniformHandle; variable
52 UniformHandle addUniform(const GrFragmentProcessor* owner,
61 UniformHandle addUniformArray(const GrFragmentProcessor* owner,
73 virtual const GrShaderVar& getUniformVariable(UniformHandle u) const = 0;
78 virtual const char* getUniformCStr(UniformHandle u) const = 0;
128 virtual UniformHandle internalAddUniformArray(const GrFragmentProcessor* owner,
DGrGLSLColorSpaceXformHelper.h70 GrGLSLProgramDataManager::UniformHandle srcTFUniform() const { return fSrcTFVar; } in srcTFUniform()
71 GrGLSLProgramDataManager::UniformHandle gamutXformUniform() const { return fGamutXformVar; } in gamutXformUniform()
72 GrGLSLProgramDataManager::UniformHandle dstTFUniform() const { return fDstTFVar; } in dstTFUniform()
77 GrGLSLProgramDataManager::UniformHandle fSrcTFVar;
78 GrGLSLProgramDataManager::UniformHandle fGamutXformVar;
79 GrGLSLProgramDataManager::UniformHandle fDstTFVar;
DGrGLSLGeometryProcessor.h31 using UniformHandle = GrGLSLProgramDataManager::UniformHandle;
152 UniformHandle* colorUniform);
159 const UniformHandle& uniform,
188 UniformHandle* viewMatrixUniform);
199 UniformHandle* localMatrixUniform);
/external/skqp/src/gpu/glsl/
DGrGLSLProgramDataManager.h24 GR_DEFINE_RESOURCE_HANDLE_CLASS(UniformHandle);
31 virtual void set1i(UniformHandle, int32_t) const = 0;
32 virtual void set1iv(UniformHandle, int arrayCount, const int v[]) const = 0;
33 virtual void set1f(UniformHandle, float v0) const = 0;
34 virtual void set1fv(UniformHandle, int arrayCount, const float v[]) const = 0;
35 virtual void set2i(UniformHandle, int32_t, int32_t) const = 0;
36 virtual void set2iv(UniformHandle, int arrayCount, const int v[]) const = 0;
37 virtual void set2f(UniformHandle, float, float) const = 0;
38 virtual void set2fv(UniformHandle, int arrayCount, const float v[]) const = 0;
39 virtual void set3i(UniformHandle, int32_t, int32_t, int32_t) const = 0;
[all …]
DGrGLSLUniformHandler.h24 GrGLSLProgramDataManager::UniformHandle fRTAdjustmentUni;
26 GrGLSLProgramDataManager::UniformHandle fRTWidthUni;
29 GrGLSLProgramDataManager::UniformHandle fRTHeightUni;
36 using UniformHandle = GrGLSLProgramDataManager::UniformHandle; variable
46 UniformHandle addUniform(uint32_t visibility,
55 UniformHandle addUniform(uint32_t visibility,
62 UniformHandle addUniformArray(uint32_t visibility,
74 UniformHandle addUniformArray(uint32_t visibility,
85 virtual const GrShaderVar& getUniformVariable(UniformHandle u) const = 0;
90 virtual const char* getUniformCStr(UniformHandle u) const = 0;
[all …]
DGrGLSLColorSpaceXformHelper.h66 GrGLSLProgramDataManager::UniformHandle srcTFUniform() const { return fSrcTFVar; } in srcTFUniform()
67 GrGLSLProgramDataManager::UniformHandle gamutXformUniform() const { return fGamutXformVar; } in gamutXformUniform()
68 GrGLSLProgramDataManager::UniformHandle dstTFUniform() const { return fDstTFVar; } in dstTFUniform()
73 GrGLSLProgramDataManager::UniformHandle fSrcTFVar;
74 GrGLSLProgramDataManager::UniformHandle fGamutXformVar;
75 GrGLSLProgramDataManager::UniformHandle fDstTFVar;
/external/skia/src/gpu/
DGrUniformDataManager.h26 void set1i(UniformHandle, int32_t) const override;
27 void set1iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
28 void set1f(UniformHandle, float v0) const override;
29 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
30 void set2i(UniformHandle, int32_t, int32_t) const override;
31 void set2iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
32 void set2f(UniformHandle, float, float) const override;
33 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
34 void set3i(UniformHandle, int32_t, int32_t, int32_t) const override;
35 void set3iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
[all …]
DGrUniformDataManager.cpp29 void GrUniformDataManager::set1i(UniformHandle u, int32_t i) const { in set1i()
37 void GrUniformDataManager::set1iv(UniformHandle u, in set1iv()
54 void GrUniformDataManager::set1f(UniformHandle u, float v0) const { in set1f()
62 void GrUniformDataManager::set1fv(UniformHandle u, in set1fv()
79 void GrUniformDataManager::set2i(UniformHandle u, int32_t i0, int32_t i1) const { in set2i()
88 void GrUniformDataManager::set2iv(UniformHandle u, in set2iv()
105 void GrUniformDataManager::set2f(UniformHandle u, float v0, float v1) const { in set2f()
114 void GrUniformDataManager::set2fv(UniformHandle u, in set2fv()
131 void GrUniformDataManager::set3i(UniformHandle u, in set3i()
143 void GrUniformDataManager::set3iv(UniformHandle u, in set3iv()
[all …]
/external/skia/src/gpu/gl/
DGrGLProgramDataManager.h51 void set1i(UniformHandle, int32_t) const override;
52 void set1iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
53 void set1f(UniformHandle, float v0) const override;
54 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
55 void set2i(UniformHandle, int32_t, int32_t) const override;
56 void set2iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
57 void set2f(UniformHandle, float, float) const override;
58 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
59 void set3i(UniformHandle, int32_t, int32_t, int32_t) const override;
60 void set3iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
[all …]
DGrGLProgramDataManager.cpp45 void GrGLProgramDataManager::set1i(UniformHandle u, int32_t i) const { in set1i()
54 void GrGLProgramDataManager::set1iv(UniformHandle u, in set1iv()
66 void GrGLProgramDataManager::set1f(UniformHandle u, float v0) const { in set1f()
75 void GrGLProgramDataManager::set1fv(UniformHandle u, in set1fv()
91 void GrGLProgramDataManager::set2i(UniformHandle u, int32_t i0, int32_t i1) const { in set2i()
100 void GrGLProgramDataManager::set2iv(UniformHandle u, in set2iv()
112 void GrGLProgramDataManager::set2f(UniformHandle u, float v0, float v1) const { in set2f()
121 void GrGLProgramDataManager::set2fv(UniformHandle u, in set2fv()
133 void GrGLProgramDataManager::set3i(UniformHandle u, int32_t i0, int32_t i1, int32_t i2) const { in set3i()
142 void GrGLProgramDataManager::set3iv(UniformHandle u, in set3iv()
[all …]
/external/skqp/src/gpu/mtl/
DGrMtlPipelineStateDataManager.h26 void set1i(UniformHandle, int32_t) const override;
27 void set1iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
28 void set1f(UniformHandle, float v0) const override;
29 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
30 void set2i(UniformHandle, int32_t, int32_t) const override;
31 void set2iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
32 void set2f(UniformHandle, float, float) const override;
33 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
34 void set3i(UniformHandle, int32_t, int32_t, int32_t) const override;
35 void set3iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
[all …]
DGrMtlPipelineStateDataManager.mm60 void GrMtlPipelineStateDataManager::set1i(UniformHandle u, int32_t i) const {
68 void GrMtlPipelineStateDataManager::set1iv(UniformHandle u,
86 void GrMtlPipelineStateDataManager::set1f(UniformHandle u, float v0) const {
95 void GrMtlPipelineStateDataManager::set1fv(UniformHandle u,
113 void GrMtlPipelineStateDataManager::set2i(UniformHandle u, int32_t i0, int32_t i1) const {
122 void GrMtlPipelineStateDataManager::set2iv(UniformHandle u,
140 void GrMtlPipelineStateDataManager::set2f(UniformHandle u, float v0, float v1) const {
150 void GrMtlPipelineStateDataManager::set2fv(UniformHandle u,
168 void GrMtlPipelineStateDataManager::set3i(UniformHandle u,
180 void GrMtlPipelineStateDataManager::set3iv(UniformHandle u,
[all …]
/external/skqp/src/gpu/vk/
DGrVkPipelineStateDataManager.h28 void set1i(UniformHandle, int32_t) const override;
29 void set1iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
30 void set1f(UniformHandle, float v0) const override;
31 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
32 void set2i(UniformHandle, int32_t, int32_t) const override;
33 void set2iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
34 void set2f(UniformHandle, float, float) const override;
35 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
36 void set3i(UniformHandle, int32_t, int32_t, int32_t) const override;
37 void set3iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
[all …]
DGrVkPipelineStateDataManager.cpp60 void GrVkPipelineStateDataManager::set1i(UniformHandle u, int32_t i) const { in set1i()
68 void GrVkPipelineStateDataManager::set1iv(UniformHandle u, in set1iv()
86 void GrVkPipelineStateDataManager::set1f(UniformHandle u, float v0) const { in set1f()
95 void GrVkPipelineStateDataManager::set1fv(UniformHandle u, in set1fv()
113 void GrVkPipelineStateDataManager::set2i(UniformHandle u, int32_t i0, int32_t i1) const { in set2i()
122 void GrVkPipelineStateDataManager::set2iv(UniformHandle u, in set2iv()
140 void GrVkPipelineStateDataManager::set2f(UniformHandle u, float v0, float v1) const { in set2f()
150 void GrVkPipelineStateDataManager::set2fv(UniformHandle u, in set2fv()
168 void GrVkPipelineStateDataManager::set3i(UniformHandle u, in set3i()
180 void GrVkPipelineStateDataManager::set3iv(UniformHandle u, in set3iv()
[all …]
DGrVkUniformHandler.h48 const GrShaderVar& getUniformVariable(UniformHandle u) const override { in getUniformVariable()
52 const char* getUniformCStr(UniformHandle u) const override { in getUniformCStr()
65 UniformHandle internalAddUniformArray(uint32_t visibility,
89 const GrVkSampler* immutableSampler(UniformHandle u) const { in immutableSampler()
99 const UniformInfo& getUniformInfo(UniformHandle u) const { in getUniformInfo()
/external/skqp/src/gpu/gl/
DGrGLProgramDataManager.h53 void set1i(UniformHandle, int32_t) const override;
54 void set1iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
55 void set1f(UniformHandle, float v0) const override;
56 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
57 void set2i(UniformHandle, int32_t, int32_t) const override;
58 void set2iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
59 void set2f(UniformHandle, float, float) const override;
60 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
61 void set3i(UniformHandle, int32_t, int32_t, int32_t) const override;
62 void set3iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
[all …]
DGrGLProgramDataManager.cpp64 void GrGLProgramDataManager::set1i(UniformHandle u, int32_t i) const { in set1i()
73 void GrGLProgramDataManager::set1iv(UniformHandle u, in set1iv()
85 void GrGLProgramDataManager::set1f(UniformHandle u, float v0) const { in set1f()
94 void GrGLProgramDataManager::set1fv(UniformHandle u, in set1fv()
110 void GrGLProgramDataManager::set2i(UniformHandle u, int32_t i0, int32_t i1) const { in set2i()
119 void GrGLProgramDataManager::set2iv(UniformHandle u, in set2iv()
131 void GrGLProgramDataManager::set2f(UniformHandle u, float v0, float v1) const { in set2f()
140 void GrGLProgramDataManager::set2fv(UniformHandle u, in set2fv()
152 void GrGLProgramDataManager::set3i(UniformHandle u, int32_t i0, int32_t i1, int32_t i2) const { in set3i()
161 void GrGLProgramDataManager::set3iv(UniformHandle u, in set3iv()
[all …]
/external/skia/src/gpu/mtl/
DGrMtlPipelineStateDataManager.h27 void set1iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
28 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
29 void set2iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
30 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
33 void setMatrix2f(UniformHandle, const float matrix[]) const override;
34 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override;
/external/skia/src/gpu/effects/generated/
DGrMagnifierEffect.cpp96 UniformHandle& boundsUniform = boundsUniformVar; in onSetData()
100 UniformHandle& xInvZoom = xInvZoomVar; in onSetData()
102 UniformHandle& yInvZoom = yInvZoomVar; in onSetData()
104 UniformHandle& xInvInset = xInvInsetVar; in onSetData()
106 UniformHandle& yInvInset = yInvInsetVar; in onSetData()
108 UniformHandle& offset = offsetVar; in onSetData()
115 UniformHandle boundsUniformVar;
116 UniformHandle offsetVar;
117 UniformHandle xInvZoomVar;
118 UniformHandle yInvZoomVar;
[all …]
/external/skqp/src/gpu/effects/
DGrMagnifierEffect.cpp90 UniformHandle& boundsUniform = fBoundsUniformVar; in onSetData()
94 UniformHandle& xInvZoom = fXInvZoomVar; in onSetData()
96 UniformHandle& yInvZoom = fYInvZoomVar; in onSetData()
98 UniformHandle& xInvInset = fXInvInsetVar; in onSetData()
100 UniformHandle& yInvInset = fYInvInsetVar; in onSetData()
102 UniformHandle& offset = fOffsetVar; in onSetData()
130 UniformHandle fBoundsUniformVar;
131 UniformHandle fOffsetVar;
132 UniformHandle fXInvZoomVar;
133 UniformHandle fYInvZoomVar;
[all …]
DGrRectBlurEffect.cpp108 UniformHandle& rect = fRectVar; in onSetData()
115 UniformHandle& proxyRectHalf = fProxyRectHalfVar; in onSetData()
117 UniformHandle& proxyRectFloat = fProxyRectFloatVar; in onSetData()
119 UniformHandle& profileSize = fProfileSizeVar; in onSetData()
125 UniformHandle fProxyRectHalfVar;
126 UniformHandle fProxyRectFloatVar;
127 UniformHandle fProfileSizeVar;
128 UniformHandle fRectVar;
/external/skqp/src/gpu/gradients/
DGrUnrolledBinaryGradientColorizer.cpp240 UniformHandle fScale0_1Var;
241 UniformHandle fScale2_3Var;
242 UniformHandle fScale4_5Var;
243 UniformHandle fScale6_7Var;
244 UniformHandle fScale8_9Var;
245 UniformHandle fScale10_11Var;
246 UniformHandle fScale12_13Var;
247 UniformHandle fScale14_15Var;
248 UniformHandle fBias0_1Var;
249 UniformHandle fBias2_3Var;
[all …]
/external/skia/src/gpu/vk/
DGrVkPipelineStateDataManager.h36 void set1iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
37 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
38 void set2iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
39 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
40 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override;
/external/skia/src/gpu/gradients/generated/
DGrUnrolledBinaryGradientColorizer.cpp277 UniformHandle scale0_1Var;
278 UniformHandle scale2_3Var;
279 UniformHandle scale4_5Var;
280 UniformHandle scale6_7Var;
281 UniformHandle scale8_9Var;
282 UniformHandle scale10_11Var;
283 UniformHandle scale12_13Var;
284 UniformHandle scale14_15Var;
285 UniformHandle bias0_1Var;
286 UniformHandle bias2_3Var;
[all …]

1234567