Searched defs:indexCount (Results 1 - 25 of 65) sorted by relevance

123

/external/skia/src/core/
H A DSkVertState.h27 VertState(int vCount, const uint16_t indices[], int indexCount) argument
31 fCount = indexCount;
H A DSkVertices.cpp26 Sizes(int vertexCount, int indexCount, bool hasTexs, bool hasColors) { argument
32 fISize = safe.mul(indexCount, sizeof(uint16_t));
56 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, argument
60 this->init(mode, vertexCount, indexCount,
61 SkVertices::Sizes(vertexCount, indexCount, hasTexs, hasColors));
64 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, argument
66 this->init(mode, vertexCount, indexCount, sizes);
69 void SkVertices::Builder::init(VertexMode mode, int vertexCount, int indexCount, argument
86 fVertices->fIndexCnt = indexCount;
104 int SkVertices::Builder::indexCount() cons function in class:SkVertices::Builder
126 MakeCopy(VertexMode mode, int vertexCount, const SkPoint pos[], const SkPoint texs[], const SkColor colors[], int indexCount, const uint16_t indices[]) argument
203 const int indexCount = safe.checkGE(reader.readInt(), 0); local
[all...]
H A DSkDraw_vertices.cpp179 const uint16_t indices[], int indexCount,
184 if (count < 3 || (indices && indexCount < 3) || fRC->isEmpty()) {
228 VertState state(count, indices, indexCount);
176 drawVertices(SkVertices::VertexMode vmode, int count, const SkPoint vertices[], const SkPoint textures[], const SkColor colors[], SkBlendMode bmode, const uint16_t indices[], int indexCount, const SkPaint& paint) const argument
/external/skqp/src/core/
H A DSkVertState.h27 VertState(int vCount, const uint16_t indices[], int indexCount) argument
31 fCount = indexCount;
H A DSkVertices.cpp26 Sizes(int vertexCount, int indexCount, bool hasTexs, bool hasColors) { argument
32 fISize = safe.mul(indexCount, sizeof(uint16_t));
56 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, argument
60 this->init(mode, vertexCount, indexCount,
61 SkVertices::Sizes(vertexCount, indexCount, hasTexs, hasColors));
64 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, argument
66 this->init(mode, vertexCount, indexCount, sizes);
69 void SkVertices::Builder::init(VertexMode mode, int vertexCount, int indexCount, argument
86 fVertices->fIndexCnt = indexCount;
104 int SkVertices::Builder::indexCount() cons function in class:SkVertices::Builder
126 MakeCopy(VertexMode mode, int vertexCount, const SkPoint pos[], const SkPoint texs[], const SkColor colors[], int indexCount, const uint16_t indices[]) argument
203 const int indexCount = safe.checkGE(reader.readInt(), 0); local
[all...]
H A DSkDraw_vertices.cpp178 const uint16_t indices[], int indexCount,
183 if (count < 3 || (indices && indexCount < 3) || fRC->isEmpty()) {
227 VertState state(count, indices, indexCount);
175 drawVertices(SkVertices::VertexMode vmode, int count, const SkPoint vertices[], const SkPoint textures[], const SkColor colors[], SkBlendMode bmode, const uint16_t indices[], int indexCount, const SkPaint& paint) const argument
/external/skia/include/core/
H A DSkVertices.h32 * and indices is ignored if indexCount == 0.
38 int indexCount,
56 Builder(VertexMode mode, int vertexCount, int indexCount, uint32_t flags);
62 int indexCount() const;
72 Builder(VertexMode mode, int vertexCount, int indexCount, const Sizes&);
74 void init(VertexMode mode, int vertexCount, int indexCount, const Sizes&);
95 int indexCount() const { return fIndexCnt; } function in class:SkVertices
/external/skqp/include/core/
H A DSkVertices.h32 * and indices is ignored if indexCount == 0.
38 int indexCount,
56 Builder(VertexMode mode, int vertexCount, int indexCount, uint32_t flags);
62 int indexCount() const;
72 Builder(VertexMode mode, int vertexCount, int indexCount, const Sizes&);
74 void init(VertexMode mode, int vertexCount, int indexCount, const Sizes&);
95 int indexCount() const { return fIndexCnt; } function in class:SkVertices
/external/deqp/external/vulkancts/modules/vulkan/robustness/
H A DvktRobustnessUtil.hpp84 deUint32 indexCount; member in struct:vkt::robustness::GraphicsEnvironment::DrawConfig
/external/icu/icu4c/source/common/
H A Ducol_swp.cpp325 int indexCount = ds->readUInt16(*((uint16_t*)(inBytes+header.scriptToLeadByte))); // each entry = 2 * uint16 local
328 4 + (4 * indexCount) + (2 * dataCount),
334 int indexCount = ds->readUInt16(*((uint16_t*)(inBytes+header.leadByteToScript))); // each entry = uint16 local
337 4 + (2 * indexCount) + (2 * dataCount),
/external/icu/icu4c/source/test/letest/
H A Dxmlreader.cpp183 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; local
229 expected.indices = (le_int32 *) getHexArray(indices, indexCount);
234 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) {
235 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n",
236 id, charCount, glyphCount, indexCount, positionCount);
/external/icu/icu4c/source/test/perf/leperf/
H A Dxmlreader.cpp187 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; local
233 expected.indices = (le_int32 *) getHexArray(indices, indexCount);
238 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) {
239 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n",
240 id, charCount, glyphCount, indexCount, positionCount);
/external/replicaisland/src/com/replica/replicaisland/
H A DGrid.java108 int indexCount = quadCount * 6;
109 mIndexCount = indexCount;
110 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount)
240 public void drawStrip(GL10 gl, boolean useTexture, int startIndex, int indexCount) { argument
241 int count = indexCount;
242 if (startIndex + indexCount >= mIndexCount) {
/external/skia/src/gpu/
H A DGrBufferAllocPool.cpp440 void* GrIndexBufferAllocPool::makeSpace(int indexCount, argument
444 SkASSERT(indexCount >= 0);
449 void* ptr = INHERITED::makeSpace(SkSafeMath::Mul(indexCount, sizeof(uint16_t)),
H A DGrMesh.h37 void setIndexed(const GrBuffer* indexBuffer, int indexCount, int baseIndex,
39 void setIndexedPatterned(const GrBuffer* indexBuffer, int indexCount, int vertexCount,
44 void setIndexedInstanced(const GrBuffer* indexBuffer, int indexCount,
56 const GrBuffer* indexBuffer, int indexCount,
67 const GrBuffer* indexBuffer, int indexCount,
138 inline void GrMesh::setIndexed(const GrBuffer* indexBuffer, int indexCount, int baseIndex, argument
141 SkASSERT(indexCount >= 1);
146 fIndexData.fIndexCount = indexCount;
153 inline void GrMesh::setIndexedPatterned(const GrBuffer* indexBuffer, int indexCount, argument
157 SkASSERT(indexCount >
181 setIndexedInstanced(const GrBuffer* indexBuffer, int indexCount, const GrBuffer* instanceBuffer, int instanceCount, int baseInstance) argument
[all...]
H A DGrOpFlushState.cpp166 uint16_t* GrOpFlushState::makeIndexSpace(int indexCount, const GrBuffer** buffer, int* startIndex) { argument
167 return reinterpret_cast<uint16_t*>(fIndexPool.makeSpace(indexCount, buffer, startIndex));
184 void GrOpFlushState::putBackIndices(int indexCount) { argument
185 fIndexPool.putBack(indexCount * sizeof(uint16_t));
/external/skqp/src/gpu/
H A DGrBufferAllocPool.cpp440 void* GrIndexBufferAllocPool::makeSpace(int indexCount, argument
444 SkASSERT(indexCount >= 0);
449 void* ptr = INHERITED::makeSpace(SkSafeMath::Mul(indexCount, sizeof(uint16_t)),
H A DGrMesh.h37 void setIndexed(const GrBuffer* indexBuffer, int indexCount, int baseIndex,
39 void setIndexedPatterned(const GrBuffer* indexBuffer, int indexCount, int vertexCount,
44 void setIndexedInstanced(const GrBuffer* indexBuffer, int indexCount,
56 const GrBuffer* indexBuffer, int indexCount,
67 const GrBuffer* indexBuffer, int indexCount,
138 inline void GrMesh::setIndexed(const GrBuffer* indexBuffer, int indexCount, int baseIndex, argument
141 SkASSERT(indexCount >= 1);
146 fIndexData.fIndexCount = indexCount;
153 inline void GrMesh::setIndexedPatterned(const GrBuffer* indexBuffer, int indexCount, argument
157 SkASSERT(indexCount >
181 setIndexedInstanced(const GrBuffer* indexBuffer, int indexCount, const GrBuffer* instanceBuffer, int instanceCount, int baseInstance) argument
[all...]
H A DGrOpFlushState.cpp162 uint16_t* GrOpFlushState::makeIndexSpace(int indexCount, const GrBuffer** buffer, int* startIndex) { argument
163 return reinterpret_cast<uint16_t*>(fIndexPool.makeSpace(indexCount, buffer, startIndex));
180 void GrOpFlushState::putBackIndices(int indexCount) { argument
181 fIndexPool.putBack(indexCount * sizeof(uint16_t));
/external/skia/src/gpu/ops/
H A DGrAALinearizingConvexPathRenderer.cpp209 int indexCount, uint16_t* indices) const {
210 if (vertexCount == 0 || indexCount == 0) {
226 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex);
231 memcpy(idxs, indices, indexCount * sizeof(uint16_t));
232 mesh.setIndexed(indexBuffer, indexCount, firstIndex, 0, vertexCount - 1);
259 int indexCount = 0; variable
274 if (indexCount + currentIndices > UINT16_MAX) {
278 indexCount, indices);
280 indexCount = 0;
287 if (indexCount
207 draw(GrMeshDrawOp::Target* target, const GrGeometryProcessor* gp, const GrPipeline* pipeline, int vertexCount, size_t vertexStride, void* vertices, int indexCount, uint16_t* indices) const argument
[all...]
H A DGrDrawVerticesOp.cpp40 fIndexCount = vertices->indexCount();
183 int indexCount = mesh.fVertices->indexCount(); local
184 for (int j = 0; j < indexCount; ++j) {
/external/skqp/src/gpu/ccpr/
H A DGrCCPathParser.cpp210 int indexCount, const Sk2f& atlasOffset,
212 if (indexCount < 3) {
216 int32_t oneThirdCount = indexCount / 3;
217 int32_t twoThirdsCount = (2 * indexCount) / 3;
225 int endIndex = firstIndex + indexCount;
229 indexCount - twoThirdsCount + 1, atlasOffset, out);
208 emit_recursive_fan(const SkTArray<SkPoint, true>& pts, SkTArray<int32_t, true>& indices, int firstIndex, int indexCount, const Sk2f& atlasOffset, TriangleInstance out[]) argument
/external/skqp/src/gpu/ops/
H A DGrAALinearizingConvexPathRenderer.cpp209 int indexCount, uint16_t* indices) const {
210 if (vertexCount == 0 || indexCount == 0) {
226 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex);
231 memcpy(idxs, indices, indexCount * sizeof(uint16_t));
232 mesh.setIndexed(indexBuffer, indexCount, firstIndex, 0, vertexCount - 1);
259 int indexCount = 0; variable
275 if (indexCount + currentIndices > UINT16_MAX) {
279 indexCount, indices);
281 indexCount = 0;
288 if (indexCount
207 draw(GrMeshDrawOp::Target* target, const GrGeometryProcessor* gp, const GrPipeline* pipeline, int vertexCount, size_t vertexStride, void* vertices, int indexCount, uint16_t* indices) const argument
[all...]
H A DGrDrawVerticesOp.cpp40 fIndexCount = vertices->indexCount();
183 int indexCount = mesh.fVertices->indexCount(); local
184 for (int j = 0; j < indexCount; ++j) {
/external/deqp/modules/gles3/functional/
H A Des3fVertexArrayObjectTests.cpp125 int indexCount; member in struct:deqp::gles3::Functional::__anon5223::Spec
139 , indexCount (-1)
279 deUint8* indices = new deUint8[m_spec.indexCount * typeSize];
281 for (int i = 0; i < m_spec.indexCount; i++)
750 m_spec.indexCount = 0;
855 deUint8* indices = new deUint8[m_spec.indexCount * typeSize];
857 for (int i = 0; i < m_spec.indexCount; i++)
1288 spec.indexCount = 0;
1325 spec.indexCount = 0;
1363 spec.indexCount
[all...]

Completed in 655 milliseconds

123