Home
last modified time | relevance | path

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

/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.h28 void set1iv(UniformHandle, int arrayCount, const int32_t v[]) const override;
30 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
32 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
34 void set3fv(UniformHandle, int arrayCount, const float v[]) const override;
36 void set4fv(UniformHandle, int arrayCount, const float v[]) const override;
42 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override;
43 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override;
44 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override;
68 template<int N> inline void setMatrices(UniformHandle, int arrayCount,
DGrVkUniformHandler.cpp118 int arrayCount) { in get_ubo_aligned_offset() argument
121 if (arrayCount || type == kMat22f_GrSLType) { in get_ubo_aligned_offset()
130 if (arrayCount) { in get_ubo_aligned_offset()
133 *currentOffset = *uniformOffset + elementSize * arrayCount; in get_ubo_aligned_offset()
145 int arrayCount, in internalAddUniformArray() argument
170 uni.fVariable.setArrayCount(arrayCount); in internalAddUniformArray()
185 get_ubo_aligned_offset(&uni.fUBOffset, currentOffset, type, arrayCount); in internalAddUniformArray()
DGrVkUniformHandler.h60 int arrayCount,
/external/skia/src/gpu/gl/
DGrGLProgramDataManager.cpp84 int arrayCount, in set1iv() argument
88 SkASSERT(arrayCount > 0); in set1iv()
89 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in set1iv()
91 GR_GL_CALL(fGpu->glInterface(), Uniform1iv(uni.fLocation, arrayCount, v)); in set1iv()
105 int arrayCount, in set1fv() argument
109 SkASSERT(arrayCount > 0); in set1fv()
110 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount); in set1fv()
116 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fLocation, arrayCount, v)); in set1fv()
130 int arrayCount, in set2fv() argument
134 SkASSERT(arrayCount > 0); in set2fv()
[all …]
DGrGLProgramDataManager.h55 void set1iv(UniformHandle, int arrayCount, const int v[]) const override;
57 void set1fv(UniformHandle, int arrayCount, const float v[]) const override;
59 void set2fv(UniformHandle, int arrayCount, const float v[]) const override;
61 void set3fv(UniformHandle, int arrayCount, const float v[]) const override;
63 void set4fv(UniformHandle, int arrayCount, const float v[]) const override;
69 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override;
70 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override;
71 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override;
101 template<int N> inline void setMatrices(UniformHandle, int arrayCount,
DGrGLVertexArray.h26 explicit GrGLAttribArrayState(int arrayCount = 0) {
27 this->resize(arrayCount);
DGrGLUniformHandler.cpp23 int arrayCount, in internalAddUniformArray() argument
43 uni.fVariable.setArrayCount(arrayCount); in internalAddUniformArray()
DGrGLUniformHandler.h41 int arrayCount,
/external/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.h31 virtual void set1iv(UniformHandle, int arrayCount, const int v[]) const = 0;
33 virtual void set1fv(UniformHandle, int arrayCount, const float v[]) const = 0;
35 virtual void set2fv(UniformHandle, int arrayCount, const float v[]) const = 0;
37 virtual void set3fv(UniformHandle, int arrayCount, const float v[]) const = 0;
39 virtual void set4fv(UniformHandle, int arrayCount, const float v[]) const = 0;
45 virtual void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
46 virtual void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
47 virtual void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
DGrGLSLUniformHandler.h45 int arrayCount,
48 return this->internalAddUniformArray(visibility, type, precision, name, true, arrayCount,
86 int arrayCount,
/external/skia/src/gpu/
DGrShaderVar.h50 GrShaderVar(const SkString& name, GrSLType type, int arrayCount = kNonArray,
54 , fCount(arrayCount) in fType()
62 GrShaderVar(const char* name, GrSLType type, int arrayCount = kNonArray,
66 , fCount(arrayCount) in fType()
86 int arrayCount, GrSLPrecision precision = kDefault_GrSLPrecision)
89 , fCount(arrayCount) in fType()
/external/skia/src/gpu/effects/
DGrGaussianConvolutionFragmentProcessor.cpp53 int arrayCount = (width + 3) / 4; in emitCode() local
54 SkASSERT(4 * arrayCount >= width); in emitCode()
57 kDefault_GrSLPrecision, "Kernel", arrayCount); in emitCode()
161 int arrayCount = (width + 3) / 4; in onSetData() local
162 SkASSERT(4 * arrayCount >= width); in onSetData()
163 pdman.set4fv(fKernelUni, arrayCount, conv.kernel()); in onSetData()
DGrMatrixConvolutionEffect.cpp46 int arrayCount = (kWidth * kHeight + 3) / 4; in emitCode() local
47 SkASSERT(4 * arrayCount >= kWidth * kHeight); in emitCode()
56 arrayCount); in emitCode()
143 int arrayCount = (kernelCount + 3) / 4; in onSetData() local
144 SkASSERT(4 * arrayCount >= kernelCount); in onSetData()
145 pdman.set4fv(fKernelUni, arrayCount, conv.kernel()); in onSetData()
/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/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.cpp42 void SkScan::HairLineRgn(const SkPoint array[], int arrayCount, const SkRegion* clip, in HairLineRgn() argument
55 for (int i = 0; i < arrayCount - 1; ++i) { in HairLineRgn()
DSkScan_Antihair.cpp522 void SkScan::AntiHairLineRgn(const SkPoint array[], int arrayCount, const SkRegion* clip, in AntiHairLineRgn() argument
552 for (int i = 0; i < arrayCount - 1; ++i) { in AntiHairLineRgn()