Home
last modified time | relevance | path

Searched refs:arrayCount (Results 1 – 25 of 56) sorted by relevance

123

/external/skqp/src/gpu/vk/
DGrVkPipelineStateDataManager.cpp69 int arrayCount, in set1iv() argument
73 SkASSERT(arrayCount > 0); in set1iv()
74 SkASSERT(arrayCount <= uni.fArrayCount || in set1iv()
75 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in set1iv()
79 for (int i = 0; i < arrayCount; ++i) { in set1iv()
96 int arrayCount, in set1fv() argument
100 SkASSERT(arrayCount > 0); in set1fv()
101 SkASSERT(arrayCount <= uni.fArrayCount || in set1fv()
102 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in set1fv()
106 for (int i = 0; i < arrayCount; ++i) { in set1fv()
[all …]
DGrVkPipelineStateDataManager.h29 void set1iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
31 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
33 void set2iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
35 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
37 void set3iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
39 void set3fv(UniformHandle, int arrayCount, const float v[]) const override;
41 void set4iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
43 void set4fv(UniformHandle, int arrayCount, const float v[]) const override;
49 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override;
50 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override;
[all …]
DGrVkUniformHandler.cpp182 int arrayCount) { in get_ubo_aligned_offset() argument
185 if (arrayCount || type == kFloat2x2_GrSLType) { in get_ubo_aligned_offset()
194 if (arrayCount) { in get_ubo_aligned_offset()
197 *currentOffset = *uniformOffset + elementSize * arrayCount; in get_ubo_aligned_offset()
209 int arrayCount, in internalAddUniformArray() argument
234 uni.fVariable.setArrayCount(arrayCount); in internalAddUniformArray()
249 get_ubo_aligned_offset(&uni.fUBOffset, currentOffset, type, arrayCount); in internalAddUniformArray()
/external/skia/src/gpu/vk/
DGrVkPipelineStateDataManager.cpp69 int arrayCount, in set1iv() argument
73 SkASSERT(arrayCount > 0); in set1iv()
74 SkASSERT(arrayCount <= uni.fArrayCount || in set1iv()
75 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in set1iv()
79 for (int i = 0; i < arrayCount; ++i) { in set1iv()
96 int arrayCount, in set1fv() argument
100 SkASSERT(arrayCount > 0); in set1fv()
101 SkASSERT(arrayCount <= uni.fArrayCount || in set1fv()
102 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount)); in set1fv()
106 for (int i = 0; i < arrayCount; ++i) { in set1fv()
[all …]
DGrVkPipelineStateDataManager.h29 void set1iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
31 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
33 void set2iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
35 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
37 void set3iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
39 void set3fv(UniformHandle, int arrayCount, const float v[]) const override;
41 void set4iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
43 void set4fv(UniformHandle, int arrayCount, const float v[]) const override;
49 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override;
50 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override;
[all …]
DGrVkUniformHandler.cpp182 int arrayCount) { in get_ubo_aligned_offset() argument
185 if (arrayCount || type == kFloat2x2_GrSLType) { in get_ubo_aligned_offset()
194 if (arrayCount) { in get_ubo_aligned_offset()
197 *currentOffset = *uniformOffset + elementSize * arrayCount; in get_ubo_aligned_offset()
208 int arrayCount, in internalAddUniformArray() argument
232 uni.fVariable.setArrayCount(arrayCount); in internalAddUniformArray()
246 get_ubo_aligned_offset(&uni.fUBOffset, currentOffset, type, arrayCount); in internalAddUniformArray()
/external/skia/src/gpu/gl/
DGrGLProgramDataManager.cpp74 int arrayCount, in set1iv() argument
78 SkASSERT(arrayCount > 0); in set1iv()
79 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in set1iv()
81 GR_GL_CALL(fGpu->glInterface(), Uniform1iv(uni.fLocation, arrayCount, v)); in set1iv()
95 int arrayCount, in set1fv() argument
99 SkASSERT(arrayCount > 0); in set1fv()
100 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in set1fv()
106 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fLocation, arrayCount, v)); in set1fv()
120 int arrayCount, in set2iv() argument
124 SkASSERT(arrayCount > 0); in set2iv()
[all …]
DGrGLProgramDataManager.h54 void set1iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
56 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
58 void set2iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
60 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
62 void set3iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
64 void set3fv(UniformHandle, int arrayCount, const float v[]) const override;
66 void set4iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
68 void set4fv(UniformHandle, int arrayCount, const float v[]) const override;
74 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override;
75 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override;
[all …]
/external/skqp/src/gpu/gl/
DGrGLProgramDataManager.cpp74 int arrayCount, in set1iv() argument
78 SkASSERT(arrayCount > 0); in set1iv()
79 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in set1iv()
81 GR_GL_CALL(fGpu->glInterface(), Uniform1iv(uni.fLocation, arrayCount, v)); in set1iv()
95 int arrayCount, in set1fv() argument
99 SkASSERT(arrayCount > 0); in set1fv()
100 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in set1fv()
106 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fLocation, arrayCount, v)); in set1fv()
120 int arrayCount, in set2iv() argument
124 SkASSERT(arrayCount > 0); in set2iv()
[all …]
DGrGLProgramDataManager.h54 void set1iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
56 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
58 void set2iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
60 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
62 void set3iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
64 void set3fv(UniformHandle, int arrayCount, const float v[]) const override;
66 void set4iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
68 void set4fv(UniformHandle, int arrayCount, const float v[]) const override;
74 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override;
75 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override;
[all …]
/external/skqp/src/gpu/mtl/
DGrMtlPipelineStateDataManager.mm69 int arrayCount,
73 SkASSERT(arrayCount > 0);
74 SkASSERT(arrayCount <= uni.fArrayCount ||
75 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount));
79 for (int i = 0; i < arrayCount; ++i) {
96 int arrayCount,
100 SkASSERT(arrayCount > 0);
101 SkASSERT(arrayCount <= uni.fArrayCount ||
102 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount));
106 for (int i = 0; i < arrayCount; ++i) {
[all …]
DGrMtlPipelineStateDataManager.h27 void set1iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
29 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
31 void set2iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
33 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
35 void set3iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
37 void set3fv(UniformHandle, int arrayCount, const float v[]) const override;
39 void set4iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
41 void set4fv(UniformHandle, int arrayCount, const float v[]) const override;
47 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override;
48 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override;
[all …]
/external/skia/src/gpu/mtl/
DGrMtlPipelineStateDataManager.mm69 int arrayCount,
73 SkASSERT(arrayCount > 0);
74 SkASSERT(arrayCount <= uni.fArrayCount ||
75 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount));
79 for (int i = 0; i < arrayCount; ++i) {
96 int arrayCount,
100 SkASSERT(arrayCount > 0);
101 SkASSERT(arrayCount <= uni.fArrayCount ||
102 (1 == arrayCount && GrShaderVar::kNonArray == uni.fArrayCount));
106 for (int i = 0; i < arrayCount; ++i) {
[all …]
DGrMtlPipelineStateDataManager.h27 void set1iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
29 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
31 void set2iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
33 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
35 void set3iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
37 void set3fv(UniformHandle, int arrayCount, const float v[]) const override;
39 void set4iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
41 void set4fv(UniformHandle, int arrayCount, const float v[]) const override;
47 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override;
48 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override;
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/
DArrayCreationExpr.java37 private int arrayCount; field in ArrayCreationExpr
48 public ArrayCreationExpr(Type type, int arrayCount, ArrayInitializerExpr initializer) { in ArrayCreationExpr() argument
50 setArrayCount(arrayCount); in ArrayCreationExpr()
55 …beginLine, int beginColumn, int endLine, int endColumn, Type type, int arrayCount, ArrayInitialize… in ArrayCreationExpr() argument
58 setArrayCount(arrayCount); in ArrayCreationExpr()
63 public ArrayCreationExpr(Type type, List<Expression> dimensions, int arrayCount) { in ArrayCreationExpr() argument
65 setArrayCount(arrayCount); in ArrayCreationExpr()
70 … beginColumn, int endLine, int endColumn, Type type, List<Expression> dimensions, int arrayCount) { in ArrayCreationExpr() argument
73 setArrayCount(arrayCount); in ArrayCreationExpr()
89 return arrayCount; in getArrayCount()
[all …]
/external/skqp/src/gpu/glsl/
DGrGLSLProgramDataManager.h32 virtual void set1iv(UniformHandle, int arrayCount, const int v[]) const = 0;
34 virtual void set1fv(UniformHandle, int arrayCount, const float v[]) const = 0;
36 virtual void set2iv(UniformHandle, int arrayCount, const int v[]) const = 0;
38 virtual void set2fv(UniformHandle, int arrayCount, const float v[]) const = 0;
40 virtual void set3iv(UniformHandle, int arrayCount, const int v[]) const = 0;
42 virtual void set3fv(UniformHandle, int arrayCount, const float v[]) const = 0;
44 virtual void set4iv(UniformHandle, int arrayCount, const int v[]) const = 0;
46 virtual void set4fv(UniformHandle, int arrayCount, const float v[]) const = 0;
52 virtual void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
53 virtual void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
[all …]
DGrGLSLUniformHandler.h66 int arrayCount,
70 return this->internalAddUniformArray(visibility, type, precision, name, mangle, arrayCount,
77 int arrayCount,
82 arrayCount, outName);
110 int arrayCount,
/external/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.h32 virtual void set1iv(UniformHandle, int arrayCount, const int v[]) const = 0;
34 virtual void set1fv(UniformHandle, int arrayCount, const float v[]) const = 0;
36 virtual void set2iv(UniformHandle, int arrayCount, const int v[]) const = 0;
38 virtual void set2fv(UniformHandle, int arrayCount, const float v[]) const = 0;
40 virtual void set3iv(UniformHandle, int arrayCount, const int v[]) const = 0;
42 virtual void set3fv(UniformHandle, int arrayCount, const float v[]) const = 0;
44 virtual void set4iv(UniformHandle, int arrayCount, const int v[]) const = 0;
46 virtual void set4fv(UniformHandle, int arrayCount, const float v[]) const = 0;
52 virtual void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
53 virtual void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/type/
DReferenceType.java37 private int arrayCount; field in ReferenceType
48 public ReferenceType(final Type type, final int arrayCount) { in ReferenceType() argument
50 setArrayCount(arrayCount); in ReferenceType()
54 final Type type, final int arrayCount) { in ReferenceType() argument
57 setArrayCount(arrayCount); in ReferenceType()
61 int endColumn, Type type, int arrayCount, in ReferenceType() argument
66 setArrayCount(arrayCount); in ReferenceType()
79 return arrayCount; in getArrayCount()
86 public void setArrayCount(final int arrayCount) { in setArrayCount() argument
87 this.arrayCount = arrayCount; in setArrayCount()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DVariableDeclaratorId.java36 private int arrayCount; field in VariableDeclaratorId
45 …aratorId(int beginLine, int beginColumn, int endLine, int endColumn, String name, int arrayCount) { in VariableDeclaratorId() argument
48 setArrayCount(arrayCount); in VariableDeclaratorId()
62 return arrayCount; in getArrayCount()
69 public void setArrayCount(int arrayCount) { in setArrayCount() argument
70 this.arrayCount = arrayCount; in setArrayCount()
DMethodDeclaration.java54 private int arrayCount; field in MethodDeclaration
80 …final List<Parameter> parameters, final int arrayCount, final List<NameExpr> throws_, final BlockS… in MethodDeclaration() argument
87 setArrayCount(arrayCount); in MethodDeclaration()
95 …final List<Parameter> parameters, final int arrayCount, final List<NameExpr> throws_, final BlockS… in MethodDeclaration() argument
102 setArrayCount(arrayCount); in MethodDeclaration()
116 return arrayCount; in getArrayCount()
164 public void setArrayCount(final int arrayCount) { in setArrayCount() argument
165 this.arrayCount = arrayCount; in setArrayCount()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_expr_ArrayCreationExpr.txt8 Line 50) setArrayCount(arrayCount) ==> void
16 Line 58) setArrayCount(arrayCount) ==> void
20 Line 65) setArrayCount(arrayCount) ==> void
28 Line 73) setArrayCount(arrayCount) ==> void
33 Line 89) arrayCount ==> int
37 Line 105) this.arrayCount = arrayCount ==> int
Dcom_github_javaparser_ast_type_ReferenceType.txt9 Line 50) setArrayCount(arrayCount) ==> void
15 Line 57) setArrayCount(arrayCount) ==> void
22 Line 66) setArrayCount(arrayCount) ==> void
26 Line 79) arrayCount ==> int
28 Line 87) this.arrayCount = arrayCount ==> int
Dcom_github_javaparser_ast_body_VariableDeclaratorId.txt13 Line 48) setArrayCount(arrayCount) ==> void
16 Line 62) arrayCount ==> int
18 Line 70) this.arrayCount = arrayCount ==> int
/external/skia/src/gpu/
DGrShaderVar.h49 GrShaderVar(const SkString& name, GrSLType type, int arrayCount = kNonArray)
52 , fCount(arrayCount) in fType()
59 GrShaderVar(const char* name, GrSLType type, int arrayCount = kNonArray)
62 , fCount(arrayCount) in fType()
78 GrShaderVar(const char* name, GrSLType type, TypeModifier typeModifier, int arrayCount) in GrShaderVar() argument
81 , fCount(arrayCount) in GrShaderVar()

123