Home
last modified time | relevance | path

Searched refs:indexRange (Results 1 – 15 of 15) sorted by relevance

/external/angle/src/libANGLE/renderer/gl/
DVertexArrayGL.cpp192 IndexRange indexRange; in syncDrawState() local
197 needsStreamingAttribs.any(), &indexRange, outIndices)); in syncDrawState()
202 indexRange.start = first; in syncDrawState()
203 indexRange.end = first + count - 1; in syncDrawState()
235 indexRange, true)); in syncDrawState()
244 streamAttributes(context, needsStreamingAttribs, instanceCount, indexRange, false)); in syncDrawState()
334 const gl::IndexRange &indexRange, in computeStreamingAttributeSizes() argument
357 typeSize * ComputeVertexBindingElementCount(adjustedDivisor, indexRange.vertexCount(), in computeStreamingAttributeSizes()
367 const gl::IndexRange &indexRange, in streamAttributes() argument
377 computeStreamingAttributeSizes(attribsToStream, instanceCount, indexRange, &streamingDataSize, in streamAttributes()
[all …]
DVertexArrayGL.h89 const gl::IndexRange &indexRange,
97 const gl::IndexRange &indexRange,
/external/angle/src/libANGLE/renderer/d3d/
DIndexDataManager.cpp302 gl::IndexRange indexRange; in GetIndexTranslationDestType() local
304 context, indexType, indexCount, indices, &indexRange)); in GetIndexTranslationDestType()
305 if (indexRange.end == gl::GetPrimitiveRestartIndex(indexType)) in GetIndexTranslationDestType()
/external/angle/src/tests/perf_tests/
DIndexDataManagerTest.cpp184 gl::IndexRange indexRange; in step() local
188 mIndexCount, false, &indexRange); in step()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DContext11.cpp314 gl::IndexRange indexRange; in drawElementsImpl() local
316 context, indexType, indexCount, indices, &indexRange)); in drawElementsImpl()
318 ANGLE_TRY(ComputeStartVertex(GetImplAs<Context11>(context), indexRange, baseVertex, in drawElementsImpl()
453 gl::IndexRange indexRange; in drawElementsIndirect() local
455 indices, &indexRange)); in drawElementsIndirect()
458 ANGLE_TRY(ComputeStartVertex(GetImplAs<Context11>(context), indexRange, cmd->baseVertex, in drawElementsIndirect()
464 return mRenderer->drawElements(context, mode, static_cast<GLint>(indexRange.start), in drawElementsIndirect()
DRenderer11.cpp1897 gl::IndexRange indexRange; in drawElements() local
1899 &indexRange)); in drawElements()
1901 UINT clampedVertexCount = gl::clampCast<UINT>(indexRange.vertexCount()); in drawElements()
/external/angle/src/libANGLE/renderer/
Drenderer_utils.cpp878 const gl::IndexRange &indexRange, in ComputeStartVertex() argument
884 ASSERT(indexRange.start <= std::numeric_limits<uint32_t>::max() && in ComputeStartVertex()
885 indexRange.end <= std::numeric_limits<uint32_t>::max()); in ComputeStartVertex()
890 static_cast<int64_t>(baseVertex) + static_cast<int64_t>(indexRange.start); in ComputeStartVertex()
918 gl::IndexRange indexRange; in GetVertexRangeInfo() local
920 context, indexTypeOrInvalid, vertexOrIndexCount, indices, &indexRange)); in GetVertexRangeInfo()
921 ANGLE_TRY(ComputeStartVertex(context->getImplementation(), indexRange, baseVertex, in GetVertexRangeInfo()
923 *vertexCountOut = indexRange.vertexCount(); in GetVertexRangeInfo()
Drenderer_utils.h267 const gl::IndexRange &indexRange,
/external/angle/src/libANGLE/
DvalidationES.h1014 IndexRange indexRange{IndexRange::Undefined()}; in ValidateDrawElementsCommon()
1015 ANGLE_VALIDATION_TRY(vao->getIndexRange(context, type, count, indices, &indexRange)); in ValidateDrawElementsCommon()
1020 if (static_cast<GLint64>(indexRange.end) >= context->getCaps().maxElementIndex) in ValidateDrawElementsCommon()
1026 if (!ValidateDrawAttribs(context, static_cast<GLint>(indexRange.end))) in ValidateDrawElementsCommon()
1032 return (indexRange.vertexIndexCount > 0); in ValidateDrawElementsCommon()
DvalidationESEXT.cpp368 IndexRange indexRange; in ValidateDrawRangeElementsBaseVertexEXT() local
370 indices, &indexRange)); in ValidateDrawRangeElementsBaseVertexEXT()
372 if (indexRange.end > end || indexRange.start < start) in ValidateDrawRangeElementsBaseVertexEXT()
458 IndexRange indexRange; in ValidateDrawRangeElementsBaseVertexOES() local
460 indices, &indexRange)); in ValidateDrawRangeElementsBaseVertexOES()
462 if (indexRange.end > end || indexRange.start < start) in ValidateDrawRangeElementsBaseVertexOES()
DVertexArray.cpp723 const IndexRange &indexRange) in put() argument
730 mPayload = indexRange; in put()
DVertexArray.h390 const IndexRange &indexRange);
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParser.java694 String[] indexRange = indexRangeText.split("-"); in parseSegmentBase() local
695 indexStart = Long.parseLong(indexRange[0]); in parseSegmentBase()
696 indexLength = Long.parseLong(indexRange[1]) - indexStart + 1; in parseSegmentBase()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.cpp1444 gl::IndexRange indexRange; in drawElementsImpl() local
1446 &indexRange)); in drawElementsImpl()
1448 size_t vertexCount = indexRange.vertexCount(); in drawElementsImpl()
1449 ANGLE_TRY(applyVertexBuffer(context, mode, static_cast<GLsizei>(indexRange.start), in drawElementsImpl()
1454 int minIndex = static_cast<int>(indexRange.start); in drawElementsImpl()
/external/angle/src/libANGLE/capture/
DFrameCapture.cpp4360 gl::IndexRange indexRange; in maybeCaptureDrawElementsClientData() local
4369 &indexRange); in maybeCaptureDrawElementsClientData()
4374 indexRange = gl::ComputeIndexRange(drawElementsType, indices, count, restart); in maybeCaptureDrawElementsClientData()
4378 captureClientArraySnapshot(context, indexRange.end + 1, instanceCount); in maybeCaptureDrawElementsClientData()