Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLProgramDataManager.cpp14 SkASSERT(arrayCount <= uni.fArrayCount || \
15 (1 == arrayCount && GrGLSLShaderVar::kNonArray == uni.fArrayCount))
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.fFSLocation, arrayCount, v)); in set1fv()
109 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fVSLocation, arrayCount, v)); in set1fv()
127 int arrayCount, in set2fv() argument
131 SkASSERT(arrayCount > 0); in set2fv()
132 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in set2fv()
[all …]
DGrGLProgramDataManager.h55 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
57 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
59 void set3fv(UniformHandle, int arrayCount, const float v[]) const override;
61 void set4fv(UniformHandle, int arrayCount, const float v[]) const override;
66 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override;
67 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override;
DGrGLVertexArray.h26 explicit GrGLAttribArrayState(int arrayCount = 0) {
27 this->resize(arrayCount);
DGrGLUniformHandler.cpp23 int arrayCount, in internalAddUniformArray() argument
45 uni.fVariable.setArrayCount(arrayCount); in internalAddUniformArray()
DGrGLUniformHandler.h38 int arrayCount,
/external/skia/src/gpu/vk/
DGrVkProgramDataManager.cpp59 int arrayCount, in set1fv() argument
63 SkASSERT(arrayCount > 0); in set1fv()
64 SkASSERT(arrayCount <= uni.fArrayCount || in set1fv()
65 (1 == arrayCount && GrGLSLShaderVar::kNonArray == uni.fArrayCount)); in set1fv()
77 memcpy(buffer, v, arrayCount * sizeof(float)); in set1fv()
99 int arrayCount, in set2fv() argument
103 SkASSERT(arrayCount > 0); in set2fv()
104 SkASSERT(arrayCount <= uni.fArrayCount || in set2fv()
105 (1 == arrayCount && GrGLSLShaderVar::kNonArray == uni.fArrayCount)); in set2fv()
117 memcpy(buffer, v, arrayCount * 2* sizeof(float)); in set2fv()
[all …]
DGrVkProgramDataManager.h27 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
29 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
31 void set3fv(UniformHandle, int arrayCount, const float v[]) const override;
33 void set4fv(UniformHandle, int arrayCount, const float v[]) const override;
38 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override;
39 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override;
DGrVkUniformHandler.cpp46 int arrayCount) { in get_ubo_aligned_offset() argument
56 int count = arrayCount ? arrayCount : 1; in get_ubo_aligned_offset()
66 int arrayCount, in internalAddUniformArray() argument
87 uni.fVariable.setArrayCount(arrayCount); in internalAddUniformArray()
99 get_ubo_aligned_offset(&uni.fUBOffset, currentOffset, type, arrayCount); in internalAddUniformArray()
DGrVkUniformHandler.h61 int arrayCount,
/external/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.h50 virtual void set1fv(UniformHandle, int arrayCount, const float v[]) const = 0;
52 virtual void set2fv(UniformHandle, int arrayCount, const float v[]) const = 0;
54 virtual void set3fv(UniformHandle, int arrayCount, const float v[]) const = 0;
56 virtual void set4fv(UniformHandle, int arrayCount, const float v[]) const = 0;
61 virtual void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
62 virtual void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
DGrGLSLUniformHandler.h40 int arrayCount,
42 return this->internalAddUniformArray(visibility, type, precision, name, true, arrayCount,
64 int arrayCount,
DGrGLSLShaderVar.h30 GrGLSLShaderVar(const char* name, GrSLType type, int arrayCount = kNonArray,
32 : GrShaderVar(name, type, arrayCount, precision) in GrShaderVar() argument
39 int arrayCount = kNonArray, GrSLPrecision precision = kDefault_GrSLPrecision)
40 : GrShaderVar(name, type, typeModifier, arrayCount, precision) in GrShaderVar() argument
/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/caliper/caliper/src/main/java/com/google/caliper/worker/
DAllAllocationsRecorder.java39 @Override public void sampleAllocation(int arrayCount, String desc, Object newObj,
42 if (arrayCount != -1) {
43 desc = desc + "[" + arrayCount + "]";
DAggregateAllocationsRecorder.java36 @Override public void sampleAllocation(int arrayCount, String desc, Object newObj,
/external/skia/samplecode/
DSamplePathFuzz.cpp301 void makePointArray(size_t arrayCount, SkPoint* points) { in makePointArray() argument
302 for (size_t index = 0; index < arrayCount; ++index) { in makePointArray()
308 size_t arrayCount = fRand.nextRangeU(1, 10); in makePointArray() local
309 for (size_t index = 0; index < arrayCount; ++index) { in makePointArray()
557 void makeScalarArray(size_t arrayCount, SkScalar* array) { in makeScalarArray() argument
558 for (size_t index = 0; index < arrayCount; ++index) { in makeScalarArray()
563 void makeVectorArray(size_t arrayCount, SkVector* array) { in makeVectorArray() argument
564 for (size_t index = 0; index < arrayCount; ++index) { in makeVectorArray()
/external/skia/src/animator/
DSkDisplayable.cpp95 int arrayCount; in deepCopy() local
96 if (array == nullptr || (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 == nullptr || (arrayCount = array->count()) == 0) in dumpAttrs()
/external/dng_sdk/source/
Ddng_jpeg_image.cpp330 uint32 arrayCount = tileCount + (fJPEGTables.Get () ? 1 : 0); in FindDigest() local
332 AutoArray<dng_fingerprint> digests (arrayCount); in FindDigest()
370 for (uint32 k = 0; k < arrayCount; k++) in FindDigest()
/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()