Home
last modified time | relevance | path

Searched refs:indexType (Results 1 - 25 of 122) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DIndexBuffer.cpp125 gl::DrawElementsType indexType) in setBufferSize()
129 return mIndexBuffer->initialize(context, bufferSize, indexType, mDynamic); in setBufferSize()
133 return mIndexBuffer->setSize(context, bufferSize, indexType); in setBufferSize()
145 gl::DrawElementsType indexType) in reserveBufferSpace()
151 ANGLE_TRY(setBufferSize(context, std::max(size, 2 * curBufferSize), indexType)); in reserveBufferSpace()
171 gl::DrawElementsType indexType) in reserveBufferSpace()
176 return setBufferSize(context, size, indexType); in reserveBufferSpace()
179 ASSERT(curSize >= size && indexType == getIndexType()); in reserveBufferSpace()
123 setBufferSize(const gl::Context *context, unsigned int bufferSize, gl::DrawElementsType indexType) setBufferSize() argument
143 reserveBufferSpace(const gl::Context *context, unsigned int size, gl::DrawElementsType indexType) reserveBufferSpace() argument
169 reserveBufferSpace(const gl::Context *context, unsigned int size, gl::DrawElementsType indexType) reserveBufferSpace() argument
H A DIndexBuffer.h34 gl::DrawElementsType indexType,
49 gl::DrawElementsType indexType) = 0;
69 gl::DrawElementsType indexType) = 0;
92 gl::DrawElementsType indexType);
109 gl::DrawElementsType indexType) override;
120 gl::DrawElementsType indexType) override;
H A DIndexDataManager.cpp149 translated->indexType = dstType; in prepareIndexData()
285 gl::DrawElementsType indexType, in GetIndexTranslationDestType()
304 context, indexType, indexCount, indices, &indexRange)); in GetIndexTranslationDestType()
305 if (indexRange.end == gl::GetPrimitiveRestartIndex(indexType)) in GetIndexTranslationDestType()
312 *destTypeOut = (indexType == gl::DrawElementsType::UnsignedInt) in GetIndexTranslationDestType()
283 GetIndexTranslationDestType(const gl::Context *context, GLsizei indexCount, gl::DrawElementsType indexType, const void *indices, bool usePrimitiveRestartWorkaround, gl::DrawElementsType *destTypeOut) GetIndexTranslationDestType() argument
H A DIndexDataManager.h58 gl::DrawElementsType indexType; member
101 gl::DrawElementsType indexType,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DIndexBuffer9.cpp32 gl::DrawElementsType indexType, in initialize()
42 if (indexType == gl::DrawElementsType::UnsignedShort || in initialize()
43 indexType == gl::DrawElementsType::UnsignedByte) in initialize()
47 else if (indexType == gl::DrawElementsType::UnsignedInt) in initialize()
68 mIndexType = indexType; in initialize()
112 gl::DrawElementsType indexType) in setSize()
114 if (bufferSize > mBufferSize || indexType != mIndexType) in setSize()
116 return initialize(context, bufferSize, indexType, mDynamic); in setSize()
30 initialize(const gl::Context *context, unsigned int bufferSize, gl::DrawElementsType indexType, bool dynamic) initialize() argument
110 setSize(const gl::Context *context, unsigned int bufferSize, gl::DrawElementsType indexType) setSize() argument
H A DIndexBuffer9.h26 gl::DrawElementsType indexType,
39 gl::DrawElementsType indexType) override;
/third_party/skia/src/gpu/mtl/
H A DGrMtlRenderCommandEncoder.h202 MTLIndexType indexType, id<MTLBuffer> indexBuffer, in drawIndexedPrimitives()
206 indexType:indexType in drawIndexedPrimitives()
211 MTLIndexType indexType, id<MTLBuffer> indexBuffer,
218 indexType:indexType
226 MTLIndexType indexType, id<MTLBuffer> indexBuffer,
231 indexType:indexType
201 drawIndexedPrimitives(MTLPrimitiveType primitiveType, NSUInteger indexCount, MTLIndexType indexType, id<MTLBuffer> indexBuffer, NSUInteger indexBufferOffset) drawIndexedPrimitives() argument
/third_party/skia/experimental/graphite/src/mtl/
H A DMtlRenderCommandEncoder.h206 MTLIndexType indexType, id<MTLBuffer> indexBuffer,
210 indexType:indexType
215 MTLIndexType indexType, id<MTLBuffer> indexBuffer,
222 indexType:indexType
230 MTLIndexType indexType, id<MTLBuffer> indexBuffer,
235 indexType:indexType
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineInputAssemblyTests.cpp85 VkIndexType indexType);
90 static bool isRestartIndex (VkIndexType indexType, deUint32 indexValue);
92 static deUint32 getRestartIndex (VkIndexType indexType);
98 VkIndexType indexType,
117 VkIndexType indexType);
123 VkIndexType indexType,
138 VkIndexType indexType,
146 VkIndexType indexType,
158 VkIndexType indexType,
176 VkIndexType indexType,
242 InputAssemblyTest(tcu::TestContext& testContext, const std::string& name, const PipelineConstructionType pipelineConstructionType, VkPrimitiveTopology primitiveTopology, int primitiveCount, bool testPrimitiveRestart, VkIndexType indexType) InputAssemblyTest() argument
369 isRestartIndex(VkIndexType indexType, deUint32 indexValue) isRestartIndex() argument
380 getRestartIndex(VkIndexType indexType) getRestartIndex() argument
393 PrimitiveTopologyTest(tcu::TestContext& testContext, const std::string& name, PipelineConstructionType pipelineConstructionType, VkPrimitiveTopology primitiveTopology, VkIndexType indexType) PrimitiveTopologyTest() argument
402 createBufferData(VkPrimitiveTopology topology, int primitiveCount, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) const createBufferData() argument
737 PrimitiveRestartTest(tcu::TestContext& testContext, const std::string& name, PipelineConstructionType pipelineConstructionType, VkPrimitiveTopology primitiveTopology, VkIndexType indexType, RestartType restartType) PrimitiveRestartTest() argument
816 createBufferData(VkPrimitiveTopology topology, int primitiveCount, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) const createBufferData() argument
1116 createListPrimitives(int primitiveCount, float originX, float originY, float primitiveSizeX, float primitiveSizeY, int verticesPerPrimitive, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData, std::vector<deUint32> adjacencies) const createListPrimitives() argument
1184 InputAssemblyInstance(Context& context, PipelineConstructionType pipelineConstructionType, VkPrimitiveTopology primitiveTopology, bool testPrimitiveRestart, VkIndexType indexType, const std::vector<deUint32>& indexBufferData, const std::vector<Vertex4RGBA>& vertexBufferData) InputAssemblyInstance() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineInputAssemblyTests.cpp84 VkIndexType indexType);
89 static bool isRestartIndex (VkIndexType indexType, deUint32 indexValue);
91 static deUint32 getRestartIndex (VkIndexType indexType);
97 VkIndexType indexType,
117 VkIndexType indexType);
123 VkIndexType indexType,
139 VkIndexType indexType,
147 VkIndexType indexType,
159 VkIndexType indexType,
177 VkIndexType indexType,
243 InputAssemblyTest(tcu::TestContext& testContext, const std::string& name, const std::string& description, const PipelineConstructionType pipelineConstructionType, VkPrimitiveTopology primitiveTopology, int primitiveCount, bool testPrimitiveRestart, VkIndexType indexType) InputAssemblyTest() argument
371 isRestartIndex(VkIndexType indexType, deUint32 indexValue) isRestartIndex() argument
382 getRestartIndex(VkIndexType indexType) getRestartIndex() argument
395 PrimitiveTopologyTest(tcu::TestContext& testContext, const std::string& name, const std::string& description, PipelineConstructionType pipelineConstructionType, VkPrimitiveTopology primitiveTopology, VkIndexType indexType) PrimitiveTopologyTest() argument
405 createBufferData(VkPrimitiveTopology topology, int primitiveCount, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) const createBufferData() argument
740 PrimitiveRestartTest(tcu::TestContext& testContext, const std::string& name, const std::string& description, PipelineConstructionType pipelineConstructionType, VkPrimitiveTopology primitiveTopology, VkIndexType indexType, RestartType restartType) PrimitiveRestartTest() argument
820 createBufferData(VkPrimitiveTopology topology, int primitiveCount, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) const createBufferData() argument
1120 createListPrimitives(int primitiveCount, float originX, float originY, float primitiveSizeX, float primitiveSizeY, int verticesPerPrimitive, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData, std::vector<deUint32> adjacencies) const createListPrimitives() argument
1188 InputAssemblyInstance(Context& context, PipelineConstructionType pipelineConstructionType, VkPrimitiveTopology primitiveTopology, bool testPrimitiveRestart, VkIndexType indexType, const std::vector<deUint32>& indexBufferData, const std::vector<Vertex4RGBA>& vertexBufferData) InputAssemblyInstance() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DIndexBuffer11.cpp31 gl::DrawElementsType indexType, in initialize()
61 mIndexType = indexType; in initialize()
112 gl::DrawElementsType indexType) in setSize()
114 if (bufferSize > mBufferSize || indexType != mIndexType) in setSize()
116 return initialize(context, bufferSize, indexType, mDynamicUsage); in setSize()
29 initialize(const gl::Context *context, unsigned int bufferSize, gl::DrawElementsType indexType, bool dynamic) initialize() argument
110 setSize(const gl::Context *context, unsigned int bufferSize, gl::DrawElementsType indexType) setSize() argument
H A DIndexBuffer11.h27 gl::DrawElementsType indexType,
40 gl::DrawElementsType indexType) override;
H A DVertexArray11.cpp196 gl::DrawElementsType indexType, in updateElementArrayStorage()
200 bool usePrimitiveRestartWorkaround = UsePrimitiveRestartWorkaround(restartEnabled, indexType); in updateElementArrayStorage()
202 ANGLE_TRY(GetIndexTranslationDestType(context, indexCount, indexType, indices, in updateElementArrayStorage()
209 ClassifyIndexStorage(context->getState(), mState.getElementArrayBuffer(), indexType, in updateElementArrayStorage()
194 updateElementArrayStorage(const gl::Context *context, GLsizei indexCount, gl::DrawElementsType indexType, const void *indices, bool restartEnabled) updateElementArrayStorage() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
H A DVertexArrayMtl.h55 gl::DrawElementsType indexType,
64 gl::DrawElementsType indexType,
83 gl::DrawElementsType indexType,
88 gl::DrawElementsType indexType,
95 gl::DrawElementsType indexType,
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fPrimitiveRestartTests.cpp91 PrimitiveRestartCase (Context& context, const char* name, const char* description, PrimitiveType primType, IndexType indexType, Function function, bool beginWithRestart, bool endWithRestart, bool duplicateRestarts);
131 PrimitiveRestartCase::PrimitiveRestartCase (Context& context, const char* name, const char* description, PrimitiveType primType, IndexType indexType, Function function, bool beginWithRestart, bool endWithRestart, bool duplicateRestarts) in PrimitiveRestartCase() argument
134 , m_indexType (indexType) in PrimitiveRestartCase()
689 for (int indexType = 0; indexType < (int)PrimitiveRestartCase::INDEX_LAST; indexType++) in init()
691 const char *indexTypeName = indexType == (int)PrimitiveRestartCase::INDEX_UNSIGNED_BYTE ? "unsigned_byte" in init()
692 : indexType == (int)PrimitiveRestartCase::INDEX_UNSIGNED_SHORT ? "unsigned_short" in init()
693 : indexType == (int)PrimitiveRestartCase::INDEX_UNSIGNED_INT ? "unsigned_int" in init()
714 (PrimitiveRestartCase::IndexType)indexType, in init()
[all...]
H A Des3fVertexArrayObjectTests.cpp121 GLenum indexType; member
135 , indexType (GL_NONE) in Spec()
270 switch (m_spec.indexType) in generateIndices()
285 switch (m_spec.indexType) in generateIndices()
585 GLU_CHECK_CALL(glDrawElements(GL_TRIANGLES, m_spec.count, m_spec.indexType, m_indices)); in makeDrawCall()
587 GLU_CHECK_CALL(glDrawElementsInstanced(GL_TRIANGLES, m_spec.count, m_spec.indexType, m_indices, m_spec.instances)); in makeDrawCall()
592 GLU_CHECK_CALL(glDrawElements(GL_TRIANGLES, m_spec.count, m_spec.indexType, (GLvoid*)((GLintptr)m_spec.indexOffset))); in makeDrawCall()
594 GLU_CHECK_CALL(glDrawElementsInstanced(GL_TRIANGLES, m_spec.count, m_spec.indexType, (GLvoid*)((GLintptr)m_spec.indexOffset), m_spec.instances)); in makeDrawCall()
757 m_spec.indexType = GL_NONE; in init()
854 switch (m_spec.indexType) in generateIndices()
[all...]
/third_party/vk-gl-cts/framework/opengl/
H A DgluDrawUtil.cpp128 IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const void* indices);
373 IndexBuffer::IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const void* indices) in IndexBuffer() argument
380 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, numIndices*getIndexSize(indexType), indices, usage); in IndexBuffer()
459 if ((primitives.indexType == INDEXTYPE_LAST) != (primitives.indices == 0)) in isDrawCallValid()
485 static inline void drawIndexed (const glw::Functions& gl, PrimitiveType type, int numElements, IndexType indexType, const void* indexPtr) in drawIndexed() argument
488 deUint32 indexGLType = getIndexGLType(indexType); in drawIndexed()
516 drawIndexed(gl, primitives.type, primitives.numElements, primitives.indexType, primitives.indices); in drawFromUserPointers()
549 IndexBuffer indexBuffer(context, primitives.indexType, primitives.numElements, primitives.indices); in drawFromBuffers()
556 drawIndexed(gl, primitives.type, primitives.numElements, primitives.indexType, 0); in drawFromBuffers()
H A DgluDrawUtil.hpp163 IndexType indexType; //!< Index type or INDEXTYPE_LAST if not used member
169 , indexType (INDEXTYPE_LAST) in PrimitiveList()
177 , indexType (indexType_) in PrimitiveList()
185 , indexType (INDEXTYPE_LAST) in PrimitiveList()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DIndexDataManagerTest.cpp28 MockIndexBuffer(unsigned int bufferSize, gl::DrawElementsType indexType) in MockIndexBuffer() argument
29 : mBufferSize(bufferSize), mIndexType(indexType) in MockIndexBuffer()
52 MockBufferFactoryD3D(unsigned int bufferSize, gl::DrawElementsType indexType) in MockBufferFactoryD3D() argument
53 : mBufferSize(bufferSize), mIndexType(indexType) in MockBufferFactoryD3D()
/third_party/skia/third_party/externals/angle2/src/common/
H A Dutilities.cpp692 IndexRange ComputeIndexRange(DrawElementsType indexType, in ComputeIndexRange() argument
697 switch (indexType) in ComputeIndexRange()
702 GetPrimitiveRestartIndex(indexType)); in ComputeIndexRange()
706 GetPrimitiveRestartIndex(indexType)); in ComputeIndexRange()
710 GetPrimitiveRestartIndex(indexType)); in ComputeIndexRange()
717 GLuint GetPrimitiveRestartIndex(DrawElementsType indexType) in GetPrimitiveRestartIndex() argument
719 switch (indexType) in GetPrimitiveRestartIndex()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fDrawTests.cpp77 spec.indexType = gls::DrawTestSpec::INDEXTYPE_LAST; in genBasicSpec()
114 AttributeGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMethod drawMethod, gls::DrawTestSpec::Primitive primitive, gls::DrawTestSpec::IndexType indexType, gls::DrawTestSpec::Storage indexStorage);
126 AttributeGroup::AttributeGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMethod drawMethod, gls::DrawTestSpec::Primitive primitive, gls::DrawTestSpec::IndexType indexType, gls::DrawTestSpec::Storage indexStorage) in AttributeGroup() argument
130 , m_indexType (indexType) in AttributeGroup()
150 spec.indexType = m_indexType; in init()
185 spec.indexType = m_indexType; in init()
231 spec.indexType = m_indexType; in init()
351 spec.indexType = indexTest.type; in init()
601 spec.indexType = random.chooseWeighted<gls::DrawTestSpec::IndexType> (DE_ARRAY_BEGIN(indexTypes), DE_ARRAY_END(indexTypes), indexTypeWeights.weights); in init()
/third_party/lzma/CPP/7zip/UI/Common/
H A DUpdateCallback.cpp769 Z7_COM7F_IMF(CArchiveUpdateCallback::ReportOperation(UInt32 indexType, UInt32 index, UInt32 op)) in ReportOperation() argument
773 // if (op == NUpdateNotifyOp::kOpFinished) return Callback->ReportFinished(indexType, index); in ReportOperation()
777 if (indexType == NArchive::NEventIndexType::kOutArcIndex) in ReportOperation()
796 if (indexType == NArchive::NEventIndexType::kInArcIndex) in ReportOperation()
814 else if (indexType == NArchive::NEventIndexType::kBlockIndex) in ReportOperation()
829 Z7_COM7F_IMF(CArchiveUpdateCallback::ReportExtractResult(UInt32 indexType, UInt32 index, Int32 opRes)) in ReportExtractResult() argument
838 if (indexType == NArchive::NEventIndexType::kOutArcIndex) in ReportExtractResult()
855 if (indexType == NArchive::NEventIndexType::kInArcIndex) in ReportExtractResult()
872 else if (indexType == NArchive::NEventIndexType::kBlockIndex) in ReportExtractResult()
894 Z7_COM7F_IMF(CArchiveUpdateCallback::ReportProp(UInt32 indexType, UInt3
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsDrawTest.cpp178 static deUint32 indexTypeToGL (DrawTestSpec::IndexType indexType) in indexTypeToGL() argument
187 return de::getSizedArrayElement<DrawTestSpec::INDEXTYPE_LAST>(indexTypes, (int)indexType); in indexTypeToGL()
1782 void render (DrawTestSpec::Primitive primitive, DrawTestSpec::DrawMethod drawMethod, int firstVertex, int vertexCount, DrawTestSpec::IndexType indexType, const void* indexOffset, int rangeStart, int rangeEnd, int instanceCount, int indirectOffset, int baseVertex, float coordScale, float colorScale, AttributeArray* indexArray);
1861 void AttributePack::render (DrawTestSpec::Primitive primitive, DrawTestSpec::DrawMethod drawMethod, int firstVertex, int vertexCount, DrawTestSpec::IndexType indexType, const void* indexOffset, int rangeStart, int rangeEnd, int instanceCount, int indirectOffset, int baseVertex, float coordScale, float colorScale, AttributeArray* indexArray) in render() argument
1910 m_ctx.drawElements(primitiveToGL(primitive), vertexCount, indexTypeToGL(indexType), indexOffset); in render()
1915 m_ctx.drawRangeElements(primitiveToGL(primitive), rangeStart, rangeEnd, vertexCount, indexTypeToGL(indexType), indexOffset); in render()
1920 m_ctx.drawElementsInstanced(primitiveToGL(primitive), vertexCount, indexTypeToGL(indexType), indexOffset, instanceCount); in render()
1985 DE_ASSERT(offsetAsInteger % gls::DrawTestSpec::indexTypeSize(indexType) == 0); // \note This is checked in spec validation in render()
1989 command.firstIndex = (glw::GLuint)(offsetAsInteger / gls::DrawTestSpec::indexTypeSize(indexType)); in render()
2015 m_ctx.drawElementsIndirect(primitiveToGL(primitive), indexTypeToGL(indexType), gl in render()
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fDrawElementsBaseVertexTests.cpp134 spec.indexType = gls::DrawTestSpec::INDEXTYPE_LAST; in genBasicSpec()
527 spec.indexType = indexTest.type; in init()
595 spec.indexType = indexTest.type; in init()
617 AttributeGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMethod drawMethod, gls::DrawTestSpec::Primitive primitive, gls::DrawTestSpec::IndexType indexType, gls::DrawTestSpec::Storage indexStorage);
629 AttributeGroup::AttributeGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMethod drawMethod, gls::DrawTestSpec::Primitive primitive, gls::DrawTestSpec::IndexType indexType, gls::DrawTestSpec::Storage indexStorage) in AttributeGroup() argument
633 , m_indexType (indexType) in AttributeGroup()
654 spec.indexType = m_indexType; in init()
691 spec.indexType = m_indexType; in init()
739 spec.indexType = m_indexType; in init()
801 spec.indexType in init()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DLineLoopTest.cpp107 void runTest(GLenum indexType, GLuint indexBuffer, const void *indexPtr) in runTest() argument
126 glDrawElements(GL_LINE_LOOP, 4, indexType, indexPtr); in runTest()
487 void runTest(GLenum indexType, in runTest() argument
561 glDrawElementsIndirect(GL_LINE_LOOP, indexType, nullptr); in runTest()

Completed in 23 milliseconds

12345