/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | IndexDataManager.cpp | 154 StreamingIndexBuffer::StreamingIndexBuffer(unsigned int initialSize) : mIndexBuffer(nullptr), mBuff… in StreamingIndexBuffer() 158 mIndexBuffer = new sw::Resource(initialSize + 16); in StreamingIndexBuffer() 160 if(!mIndexBuffer) in StreamingIndexBuffer() 171 if(mIndexBuffer) in ~StreamingIndexBuffer() 173 mIndexBuffer->destruct(); in ~StreamingIndexBuffer() 181 if(mIndexBuffer) in map() 183 mapPtr = (char*)mIndexBuffer->lock(sw::PUBLIC) + mWritePosition; in map() 200 if(mIndexBuffer) in unmap() 202 mIndexBuffer->unlock(); in unmap() 210 if(mIndexBuffer) in reserveSpace() [all …]
|
D | IndexDataManager.h | 50 sw::Resource *mIndexBuffer;
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | IndexBuffer.cpp | 39 mIndexBuffer = factory->createIndexBuffer(); in IndexBufferInterface() 47 if (mIndexBuffer) in ~IndexBufferInterface() 49 delete mIndexBuffer; in ~IndexBufferInterface() 55 return mIndexBuffer->getIndexType(); in getIndexType() 60 return mIndexBuffer->getBufferSize(); in getBufferSize() 65 return mIndexBuffer->getSerial(); in getSerial() 79 angle::Result error = mIndexBuffer->mapBuffer(context, mWritePosition, size, outMappedMemory); in mapBuffer() 100 return mIndexBuffer->unmapBuffer(context); in unmapBuffer() 105 return mIndexBuffer; in getIndexBuffer() 120 return mIndexBuffer->discard(context); in discard() [all …]
|
D | IndexBuffer.h | 95 IndexBuffer *mIndexBuffer;
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | IndexBuffer9.cpp | 19 mIndexBuffer = nullptr; in IndexBuffer9() 27 SafeRelease(mIndexBuffer); in ~IndexBuffer9() 35 SafeRelease(mIndexBuffer); in initialize() 62 mRenderer->createIndexBuffer(bufferSize, usageFlags, format, &mIndexBuffer); in initialize() 79 ASSERT(mIndexBuffer); in mapBuffer() 84 HRESULT result = mIndexBuffer->Lock(offset, size, &mapPtr, lockFlags); in mapBuffer() 93 ASSERT(mIndexBuffer); in unmapBuffer() 94 HRESULT result = mIndexBuffer->Unlock(); in unmapBuffer() 124 ASSERT(mIndexBuffer); in discard() 131 result = mIndexBuffer->Lock(0, 1, &mock, D3DLOCK_DISCARD); in discard() [all …]
|
D | IndexBuffer9.h | 49 IDirect3DIndexBuffer9 *mIndexBuffer; variable
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | IndexDataManager.cpp | 373 StreamingIndexBuffer::StreamingIndexBuffer(size_t initialSize) : mIndexBuffer(NULL), mBufferSize(in… in StreamingIndexBuffer() 377 mIndexBuffer = new sw::Resource(initialSize + 16); in StreamingIndexBuffer() 379 if(!mIndexBuffer) in StreamingIndexBuffer() 390 if(mIndexBuffer) in ~StreamingIndexBuffer() 392 mIndexBuffer->destruct(); in ~StreamingIndexBuffer() 400 if(mIndexBuffer) in map() 402 mapPtr = (char*)mIndexBuffer->lock(sw::PUBLIC) + mWritePosition; in map() 419 if(mIndexBuffer) in unmap() 421 mIndexBuffer->unlock(); in unmap() 429 if(mIndexBuffer) in reserveSpace() [all …]
|
D | IndexDataManager.h | 53 sw::Resource *mIndexBuffer;
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | Grid.java | 46 private CharBuffer mIndexBuffer; field in Grid 110 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount) in Grid() 136 mIndexBuffer.put(i++, a); in Grid() 137 mIndexBuffer.put(i++, b); in Grid() 138 mIndexBuffer.put(i++, c); in Grid() 140 mIndexBuffer.put(i++, b); in Grid() 141 mIndexBuffer.put(i++, c); in Grid() 142 mIndexBuffer.put(i++, d); in Grid() 247 GL10.GL_UNSIGNED_SHORT, mIndexBuffer.position(startIndex)); in drawStrip() 265 GL10.GL_UNSIGNED_SHORT, mIndexBuffer); in draw() [all …]
|
/external/angle/samples/torus_lighting/ |
D | TorusLightingES1.cpp | 31 GenerateTorus(&mVertexBuffer, &mIndexBuffer, &mIndexCount); in initialize() 39 glDeleteBuffers(1, &mIndexBuffer); in destroy() 76 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in draw() 88 GLuint mIndexBuffer; member in GLES1TorusLightingSample
|
D | TorusLightingES2.cpp | 62 GenerateTorus(&mVertexBuffer, &mIndexBuffer, &mIndexCount); in initialize() 71 glDeleteBuffers(1, &mIndexBuffer); in destroy() 101 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in draw() 119 GLuint mIndexBuffer; member in GLES2TorusLightingSample
|
/external/angle/src/tests/perf_tests/ |
D | IndexConversionPerf.cpp | 65 GLuint mIndexBuffer; member in __anon51cb56d10111::IndexConversionPerfTest 73 mIndexBuffer(0) in IndexConversionPerfTest() 112 glGenBuffers(1, &mIndexBuffer); in initializeBenchmark() 113 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in initializeBenchmark() 132 glDeleteBuffers(1, &mIndexBuffer); in destroyBenchmark()
|
D | IndexDataManagerTest.cpp | 158 gl::Buffer mIndexBuffer; member in __anon088433530111::IndexDataManagerPerfTest 168 mIndexBuffer(&mMockGLFactory, {1}) in IndexDataManagerPerfTest() 177 mIndexBuffer.bufferData(nullptr, gl::BufferBinding::Array, &indexData[0], 187 (void)mIndexBuffer.getIndexRange(nullptr, gl::DrawElementsType::UnsignedShort, 0, in step() 191 &mIndexBuffer, nullptr, &translatedIndexData); in step()
|
D | DrawElementsPerf.cpp | 80 GLuint mIndexBuffer = 0; member in __anon0af64dbe0111::DrawElementsPerfBenchmark 123 mIndexBuffer = CreateElementArrayBuffer(mCount, params.type, GL_STATIC_DRAW); in initializeBenchmark() 132 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in initializeBenchmark() 163 glDeleteBuffers(1, &mIndexBuffer); in destroyBenchmark()
|
D | VulkanBarriersPerf.cpp | 97 GLBuffer mIndexBuffer; member in __anonb15f171e0111::VulkanBarriersPerfBenchmark 253 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in createResources() 291 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in drawBenchmark()
|
/external/angle/src/tests/gl_tests/ |
D | BuiltinVariableTest.cpp | 74 glDeleteBuffers(1, &mIndexBuffer); in testTearDown() 85 glGenBuffers(1, &mIndexBuffer); in runTest() 86 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in runTest() 106 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in runTest() 137 GLuint mIndexBuffer = 0; member in BuiltinVariableVertexIdTest
|
D | IndexedPointsTest.cpp | 96 glGenBuffers(1, &mIndexBuffer); in testSetUp() 97 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in testSetUp() 104 glDeleteBuffers(1, &mIndexBuffer); in testTearDown() 144 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in runTest() 180 GLuint mIndexBuffer; member in IndexedPointsTest
|
D | MultiDrawTest.cpp | 102 mIndexBuffer(0u), in MultiDrawTest() 241 glGenBuffers(1, &mIndexBuffer); in SetupBuffers() 242 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in SetupBuffers() 298 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in DoDrawElements() 374 if (mIndexBuffer != 0u) in TearDown() 376 glDeleteBuffers(1, &mIndexBuffer); in TearDown() 436 GLuint mIndexBuffer; member in __anon5c2279250111::MultiDrawTest 513 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in TEST_P()
|
D | IndexBufferOffsetTest.cpp | 59 glGenBuffers(1, &mIndexBuffer); in testSetUp() 60 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in testSetUp() 66 glDeleteBuffers(1, &mIndexBuffer); in testTearDown() 129 preTestUpdateBuffer(elementUpdateFbo, elementUpdateTex, mIndexBuffer, in runTest() 195 GLuint mIndexBuffer; member in IndexBufferOffsetTest
|
D | AttributeLayoutTest.cpp | 273 glGenBuffers(1, &mIndexBuffer); in testSetUp() 282 glDeleteBuffers(1, &mIndexBuffer); in testTearDown() 334 GLuint mIndexBuffer; member in __anon38b351fe0111::AttributeLayoutTest 448 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in Draw()
|
/external/angle/src/libANGLE/renderer/gl/egl/gbm/ |
D | DisplayGbm.cpp | 364 mIndexBuffer(0), in DisplayGbm() 717 gl->genBuffers(1, &mIndexBuffer); in drawWithTexture() 718 sm->bindBuffer(gl::BufferBinding::ElementArray, mIndexBuffer); in drawWithTexture() 725 sm->bindBuffer(gl::BufferBinding::ElementArray, mIndexBuffer); in drawWithTexture() 848 gl->deleteBuffers(1, &mIndexBuffer); in terminate()
|
D | DisplayGbm.h | 176 GLuint mIndexBuffer; variable
|
/external/angle/doc/ |
D | BufferImplementation.md | 48 (Buffer::mVertexBuffer and Buffer::mIndexBuffer). When a GL buffer with static
|