Home
last modified time | relevance | path

Searched refs:DrawElementsType (Results 1 – 25 of 129) sorted by relevance

123456

/external/angle/src/libANGLE/renderer/d3d/
DIndexDataManager.cpp29 gl::DrawElementsType sourceType, in ConvertIndexArray()
31 gl::DrawElementsType destinationType, in ConvertIndexArray()
56 void ConvertIndices(gl::DrawElementsType sourceType, in ConvertIndices()
57 gl::DrawElementsType destinationType, in ConvertIndices()
70 if (sourceType == gl::DrawElementsType::UnsignedByte) in ConvertIndices()
72 ASSERT(destinationType == gl::DrawElementsType::UnsignedShort); in ConvertIndices()
76 else if (sourceType == gl::DrawElementsType::UnsignedShort) in ConvertIndices()
78 ASSERT(destinationType == gl::DrawElementsType::UnsignedInt); in ConvertIndices()
90 gl::DrawElementsType srcType, in StreamInIndexBuffer()
91 gl::DrawElementsType dstType, in StreamInIndexBuffer()
[all …]
DIndexDataManager.h47 gl::DrawElementsType srcIndexType;
58 gl::DrawElementsType indexType;
73 gl::DrawElementsType srcType,
74 gl::DrawElementsType dstType,
84 gl::DrawElementsType srcType,
85 gl::DrawElementsType dstType,
89 gl::DrawElementsType destinationIndexType,
101 gl::DrawElementsType indexType,
104 gl::DrawElementsType *destTypeOut);
106 ANGLE_INLINE bool IsOffsetAligned(gl::DrawElementsType elementType, unsigned int offset) in IsOffsetAligned()
DIndexBuffer.h34 gl::DrawElementsType indexType,
45 virtual gl::DrawElementsType getIndexType() const = 0;
49 gl::DrawElementsType indexType) = 0;
69 gl::DrawElementsType indexType) = 0;
71 gl::DrawElementsType getIndexType() const;
92 gl::DrawElementsType indexType);
109 gl::DrawElementsType indexType) override;
120 gl::DrawElementsType indexType) override;
DIndexBuffer.cpp53 gl::DrawElementsType IndexBufferInterface::getIndexType() const in getIndexType()
125 gl::DrawElementsType indexType) in setBufferSize()
145 gl::DrawElementsType indexType) in reserveBufferSpace()
171 gl::DrawElementsType indexType) in reserveBufferSpace()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DIndexBuffer9.cpp21 mIndexType = gl::DrawElementsType::InvalidEnum; in IndexBuffer9()
32 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()
100 gl::DrawElementsType IndexBuffer9::getIndexType() const in getIndexType()
112 gl::DrawElementsType indexType) in setSize()
144 case gl::DrawElementsType::UnsignedByte: in getIndexFormat()
146 case gl::DrawElementsType::UnsignedShort: in getIndexFormat()
148 case gl::DrawElementsType::UnsignedInt: in getIndexFormat()
DContext9.h97 gl::DrawElementsType type,
102 gl::DrawElementsType type,
108 gl::DrawElementsType type,
114 gl::DrawElementsType type,
121 gl::DrawElementsType type,
131 gl::DrawElementsType type,
138 gl::DrawElementsType type,
146 gl::DrawElementsType type,
163 gl::DrawElementsType type,
169 gl::DrawElementsType type,
[all …]
DIndexBuffer9.h26 gl::DrawElementsType indexType,
35 gl::DrawElementsType getIndexType() const override;
39 gl::DrawElementsType indexType) override;
51 gl::DrawElementsType mIndexType;
DContext9.cpp194 gl::DrawElementsType type, in drawElements()
203 gl::DrawElementsType type, in drawElementsBaseVertex()
214 gl::DrawElementsType type, in drawElementsInstanced()
224 gl::DrawElementsType type, in drawElementsInstancedBaseVertex()
236 gl::DrawElementsType type, in drawElementsInstancedBaseVertexBaseInstance()
251 gl::DrawElementsType type, in drawRangeElements()
262 gl::DrawElementsType type, in drawRangeElementsBaseVertex()
280 gl::DrawElementsType type, in drawElementsIndirect()
310 gl::DrawElementsType type, in multiDrawElements()
320 gl::DrawElementsType type, in multiDrawElementsInstanced()
[all …]
/external/angle/src/tests/perf_tests/
DIndexDataManagerTest.cpp28 MockIndexBuffer(unsigned int bufferSize, gl::DrawElementsType indexType) in MockIndexBuffer()
33 angle::Result(const gl::Context *, unsigned int, gl::DrawElementsType, bool));
38 MOCK_METHOD3(setSize, angle::Result(const gl::Context *, unsigned int, gl::DrawElementsType));
41 gl::DrawElementsType getIndexType() const override { return mIndexType; } in getIndexType()
46 gl::DrawElementsType mIndexType;
52 MockBufferFactoryD3D(unsigned int bufferSize, gl::DrawElementsType indexType) in MockBufferFactoryD3D()
76 gl::DrawElementsType mIndexType;
166 mMockBufferFactory(mBufferSize, gl::DrawElementsType::UnsignedShort), in IndexDataManagerPerfTest()
187 (void)mIndexBuffer.getIndexRange(nullptr, gl::DrawElementsType::UnsignedShort, 0, in step()
189 (void)mIndexDataManager.prepareIndexData(nullptr, gl::DrawElementsType::UnsignedShort, in step()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DIndexBuffer11.cpp23 mIndexType(gl::DrawElementsType::InvalidEnum), in IndexBuffer11()
31 gl::DrawElementsType indexType, in initialize()
100 gl::DrawElementsType IndexBuffer11::getIndexType() const in getIndexType()
112 gl::DrawElementsType indexType) in setSize()
143 case gl::DrawElementsType::UnsignedByte: in getIndexFormat()
145 case gl::DrawElementsType::UnsignedShort: in getIndexFormat()
147 case gl::DrawElementsType::UnsignedInt: in getIndexFormat()
DVertexArray11.h39 gl::DrawElementsType indexTypeOrInvalid,
61 gl::DrawElementsType getCachedDestinationIndexType() const;
73 gl::DrawElementsType indexTypeOrInvalid,
83 gl::DrawElementsType indexType,
102 Optional<gl::DrawElementsType> mLastDrawElementsType;
107 gl::DrawElementsType mCachedDestinationIndexType;
DContext11.h98 gl::DrawElementsType type,
103 gl::DrawElementsType type,
109 gl::DrawElementsType type,
115 gl::DrawElementsType type,
122 gl::DrawElementsType type,
132 gl::DrawElementsType type,
139 gl::DrawElementsType type,
147 gl::DrawElementsType type,
164 gl::DrawElementsType type,
170 gl::DrawElementsType type,
[all …]
DIndexBuffer11.h27 gl::DrawElementsType indexType,
36 gl::DrawElementsType getIndexType() const override;
40 gl::DrawElementsType indexType) override;
52 gl::DrawElementsType mIndexType;
DContext11.cpp66 bool DrawCallHasStreamingElementArray(const gl::Context *context, gl::DrawElementsType srcType) in DrawCallHasStreamingElementArray()
73 const gl::DrawElementsType dstType = in DrawCallHasStreamingElementArray()
74 (srcType == gl::DrawElementsType::UnsignedInt || primitiveRestartWorkaround) in DrawCallHasStreamingElementArray()
75 ? gl::DrawElementsType::UnsignedInt in DrawCallHasStreamingElementArray()
76 : gl::DrawElementsType::UnsignedShort; in DrawCallHasStreamingElementArray()
269 context, mode, first, count, gl::DrawElementsType::InvalidEnum, nullptr, 0, 0, 0, true)); in drawArrays()
281 gl::DrawElementsType::InvalidEnum, nullptr, in drawArraysInstanced()
295 gl::DrawElementsType::InvalidEnum, nullptr, in drawArraysInstancedBaseInstance()
303 gl::DrawElementsType indexType, in drawElementsImpl()
339 gl::DrawElementsType type, in drawElements()
[all …]
/external/angle/src/libANGLE/renderer/
DContextImpl.h65 gl::DrawElementsType type,
70 gl::DrawElementsType type,
76 gl::DrawElementsType type,
82 gl::DrawElementsType type,
89 gl::DrawElementsType type,
99 gl::DrawElementsType type,
106 gl::DrawElementsType type,
115 gl::DrawElementsType type,
133 gl::DrawElementsType type,
139 gl::DrawElementsType type,
[all …]
/external/angle/src/libANGLE/
DIndexRangeCache.h29 void addRange(DrawElementsType type,
34 bool findRange(DrawElementsType type,
47 IndexRangeKey(DrawElementsType type, size_t offset, size_t count, bool primitiveRestart);
51 DrawElementsType type;
DIndexRangeCache.cpp22 void IndexRangeCache::addRange(DrawElementsType type, in addRange()
31 bool IndexRangeCache::findRange(DrawElementsType type, in findRange()
85 : IndexRangeCache::IndexRangeKey(DrawElementsType::InvalidEnum, 0, 0, false) in IndexRangeKey()
88 IndexRangeCache::IndexRangeKey::IndexRangeKey(DrawElementsType type_, in IndexRangeKey()
/external/angle/src/libANGLE/renderer/gl/
DContextGL.h119 gl::DrawElementsType type,
124 gl::DrawElementsType type,
130 gl::DrawElementsType type,
136 gl::DrawElementsType type,
143 gl::DrawElementsType type,
153 gl::DrawElementsType type,
160 gl::DrawElementsType type,
168 gl::DrawElementsType type,
185 gl::DrawElementsType type,
191 gl::DrawElementsType type,
[all …]
/external/angle/src/libANGLE/renderer/null/
DContextNULL.h67 gl::DrawElementsType type,
72 gl::DrawElementsType type,
78 gl::DrawElementsType type,
84 gl::DrawElementsType type,
91 gl::DrawElementsType type,
101 gl::DrawElementsType type,
108 gl::DrawElementsType type,
116 gl::DrawElementsType type,
133 gl::DrawElementsType type,
139 gl::DrawElementsType type,
[all …]
DContextNULL.cpp160 gl::DrawElementsType type, in drawElements()
169 gl::DrawElementsType type, in drawElementsBaseVertex()
179 gl::DrawElementsType type, in drawElementsInstanced()
189 gl::DrawElementsType type, in drawElementsInstancedBaseVertex()
200 gl::DrawElementsType type, in drawElementsInstancedBaseVertexBaseInstance()
214 gl::DrawElementsType type, in drawRangeElements()
225 gl::DrawElementsType type, in drawRangeElementsBaseVertex()
241 gl::DrawElementsType type, in drawElementsIndirect()
269 gl::DrawElementsType type, in multiDrawElements()
279 gl::DrawElementsType type, in multiDrawElementsInstanced()
[all …]
/external/angle/src/libANGLE/renderer/metal/
DContextMtl.h69 gl::DrawElementsType type,
74 gl::DrawElementsType type,
80 gl::DrawElementsType type,
86 gl::DrawElementsType type,
93 gl::DrawElementsType type,
103 gl::DrawElementsType type,
110 gl::DrawElementsType type,
118 gl::DrawElementsType type,
134 gl::DrawElementsType type,
140 gl::DrawElementsType type,
[all …]
DVertexArrayMtl.h42 gl::DrawElementsType indexTypeOrInvalid,
55 gl::DrawElementsType indexType,
61 gl::DrawElementsType *indexTypeOut);
76 gl::DrawElementsType indexType,
82 gl::DrawElementsType indexType,
90 gl::DrawElementsType indexType,
DBufferMtl.h64 gl::DrawElementsType elemType,
68 const gl::DrawElementsType elemType;
132 gl::DrawElementsType type,
141 gl::DrawElementsType type,
154 gl::DrawElementsType elemType,
/external/angle/src/libANGLE/renderer/vulkan/
DContextVk.h100 gl::DrawElementsType type,
105 gl::DrawElementsType type,
111 gl::DrawElementsType type,
117 gl::DrawElementsType type,
124 gl::DrawElementsType type,
134 gl::DrawElementsType type,
141 gl::DrawElementsType type,
149 gl::DrawElementsType type,
166 gl::DrawElementsType type,
172 gl::DrawElementsType type,
[all …]
DVertexArrayVk.h47 gl::DrawElementsType indexTypeOrInvalid,
53 gl::DrawElementsType indexTypeOrInvalid,
58 gl::DrawElementsType glIndexType,
103 gl::DrawElementsType indexType,

123456