Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLProgramDataManager.cpp14 SkASSERT(arrayCount <= uni.fArrayCount || \
15 (1 == arrayCount && GrGLShaderVar::kNonArray == uni.fArrayCount))
75 int arrayCount, in set1fv() argument
79 SkASSERT(arrayCount > 0); in set1fv()
80 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in set1fv()
86 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fFSLocation, arrayCount, v)); in set1fv()
89 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fVSLocation, arrayCount, v)); in set1fv()
107 int arrayCount, in set2fv() argument
111 SkASSERT(arrayCount > 0); in set2fv()
112 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in set2fv()
[all …]
DGrGLProgramDataManager.h78 void set1fv(UniformHandle, int arrayCount, const GrGLfloat v[]) const;
80 void set2fv(UniformHandle, int arrayCount, const GrGLfloat v[]) const;
82 void set3fv(UniformHandle, int arrayCount, const GrGLfloat v[]) const;
84 void set4fv(UniformHandle, int arrayCount, const GrGLfloat v[]) const;
89 void setMatrix3fv(UniformHandle, int arrayCount, const GrGLfloat matrices[]) const;
90 void setMatrix4fv(UniformHandle, int arrayCount, const GrGLfloat matrices[]) const;
DGrGLShaderVar.h39 GrGLShaderVar(const char* name, GrSLType type, int arrayCount = kNonArray,
41 : GrShaderVar(name, type, arrayCount, precision) in GrShaderVar() argument
50 int arrayCount = kNonArray, GrSLPrecision precision = kDefault_GrSLPrecision)
51 : GrShaderVar(name, type, typeModifier, arrayCount, precision) in GrShaderVar() argument
DGrGLVertexArray.h54 explicit GrGLAttribArrayState(int arrayCount = 0) {
55 this->resize(arrayCount);
/external/skia/include/gpu/
DGrShaderVar.h47 GrShaderVar(const SkString& name, GrSLType type, int arrayCount = kNonArray,
52 , fCount(arrayCount) in fType()
58 GrShaderVar(const char* name, GrSLType type, int arrayCount = kNonArray,
63 , fCount(arrayCount) in fType()
70 int arrayCount = kNonArray, GrSLPrecision precision = kDefault_GrSLPrecision)
74 , fCount(arrayCount) in fType()
/external/skia/samplecode/
DSamplePathFuzz.cpp300 void makePointArray(size_t arrayCount, SkPoint* points) { in makePointArray() argument
301 for (size_t index = 0; index < arrayCount; ++index) { in makePointArray()
307 size_t arrayCount = fRand.nextRangeU(1, 10); in makePointArray() local
308 for (size_t index = 0; index < arrayCount; ++index) { in makePointArray()
556 void makeScalarArray(size_t arrayCount, SkScalar* array) { in makeScalarArray() argument
557 for (size_t index = 0; index < arrayCount; ++index) { in makeScalarArray()
562 void makeVectorArray(size_t arrayCount, SkVector* array) { in makeVectorArray() argument
563 for (size_t index = 0; index < arrayCount; ++index) { in makeVectorArray()
/external/skia/src/animator/
DSkDisplayable.cpp95 int arrayCount; in deepCopy() local
96 if (array == NULL || (arrayCount = array->count()) == 0) in deepCopy()
99 copyArray->setCount(arrayCount); in deepCopy()
107 size_t byteSize = elementSize * arrayCount; in deepCopy()
187 int arrayCount; in dumpAttrs() local
188 if (array == NULL || (arrayCount = array->count()) == 0) in dumpAttrs()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.h62 int arrayCount,
236 int arrayCount,
/external/skia/src/core/
DSkScan_Hairline.cpp41 void SkScan::HairLineRgn(const SkPoint array[], int arrayCount, const SkRegion* clip, in HairLineRgn() argument
54 for (int i = 0; i < arrayCount - 1; ++i) { in HairLineRgn()
DSkScan_Antihair.cpp523 void SkScan::AntiHairLineRgn(const SkPoint array[], int arrayCount, const SkRegion* clip, in AntiHairLineRgn() argument
553 for (int i = 0; i < arrayCount - 1; ++i) { in AntiHairLineRgn()