/third_party/skia/third_party/externals/angle2/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 …]
|
/third_party/flutter/skia/third_party/externals/angle2/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 …]
|
/third_party/skia/third_party/externals/angle2/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 …]
|
/third_party/flutter/skia/third_party/externals/angle2/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, &dummy, D3DLOCK_DISCARD); in discard() [all …]
|
/third_party/skia/third_party/externals/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 …]
|
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/ |
D | TorusLightingES1.cpp | 36 GenerateTorus(&mVertexBuffer, &mIndexBuffer, &mIndexCount); in initialize() 47 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in initialize() 66 glDeleteBuffers(1, &mIndexBuffer); in destroy() 86 GLuint mIndexBuffer = 0; member in GLES1TorusLightingSample
|
D | TorusLightingES2.cpp | 64 GenerateTorus(&mVertexBuffer, &mIndexBuffer, &mIndexCount); in initialize() 76 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in initialize() 94 glDeleteBuffers(1, &mIndexBuffer); in destroy() 124 GLuint mIndexBuffer = 0; member in GLES2TorusLightingSample
|
D | TorusBufferStorage.cpp | 118 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in initialize() 134 glDeleteBuffers(1, &mIndexBuffer); in destroy() 176 GenerateTorus(&mVertexBuffer, &mIndexBuffer, &mIndexCount); in generateTorus() 206 GLuint mIndexBuffer = 0; member in BufferStorageSample
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | IndexConversionPerf.cpp | 65 GLuint mIndexBuffer; member in __anon5a8712d70111::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 | 157 gl::Buffer mIndexBuffer; member in __anon28b770190111::IndexDataManagerPerfTest 167 mIndexBuffer(&mMockGLFactory, {1}) in IndexDataManagerPerfTest() 176 mIndexBuffer.bufferData(nullptr, gl::BufferBinding::Array, &indexData[0], 186 (void)mIndexBuffer.getIndexRange(nullptr, gl::DrawElementsType::UnsignedShort, 0, in step() 190 &mIndexBuffer, nullptr, &translatedIndexData); in step()
|
D | DrawElementsPerf.cpp | 80 GLuint mIndexBuffer = 0; member in __anon046e17840111::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 | 90 GLBuffer mIndexBuffer; member in __anone7f06a640111::VulkanBarriersPerfBenchmark 222 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in createResources() 259 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in drawBenchmark()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | IndexConversionPerf.cpp | 65 GLuint mIndexBuffer; member in __anon680730820111::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 __anone63b43240111::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 __anon32a41d0f0111::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 __anon7bbdfeaf0111::VulkanBarriersPerfBenchmark 253 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in createResources() 291 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in drawBenchmark()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | MultiDrawTest.cpp | 141 mIndexBuffer(0u), in MultiDrawTest() 282 glGenBuffers(1, &mIndexBuffer); in SetupBuffers() 283 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in SetupBuffers() 339 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in DoDrawElements() 415 if (mIndexBuffer != 0u) in TearDown() 417 glDeleteBuffers(1, &mIndexBuffer); in TearDown() 454 GLuint mIndexBuffer; member in __anon8e1c31d60111::MultiDrawTest 483 mIndexBuffer(0u), in MultiDrawIndirectTest() 527 if (mIndexBuffer != 0u) in TearDown() 529 glDeleteBuffers(1, &mIndexBuffer); in TearDown() [all …]
|
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 | IndexBufferOffsetTest.cpp | 66 glGenBuffers(1, &mIndexBuffer); in testSetUp() 67 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in testSetUp() 73 glDeleteBuffers(1, &mIndexBuffer); in testTearDown() 136 preTestUpdateBuffer(elementUpdateFbo, elementUpdateTex, mIndexBuffer, in runTest() 228 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 __anon561b0b6f0111::AttributeLayoutTest 448 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in Draw()
|
/third_party/flutter/skia/third_party/externals/angle2/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 | IndexBufferOffsetTest.cpp | 58 glGenBuffers(1, &mIndexBuffer); in testSetUp() 59 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in testSetUp() 65 glDeleteBuffers(1, &mIndexBuffer); in testTearDown() 112 GLuint mIndexBuffer; member in IndexBufferOffsetTest
|
D | MultiDrawTest.cpp | 93 mIndexBuffer(0u), in MultiDrawTest() 226 glGenBuffers(1, &mIndexBuffer); in SetupBuffers() 227 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in SetupBuffers() 283 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in DoDrawElements() 359 if (mIndexBuffer != 0u) in TearDown() 361 glDeleteBuffers(1, &mIndexBuffer); in TearDown() 421 GLuint mIndexBuffer; member in __anon0d3d8f2b0111::MultiDrawTest 494 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in TEST_P()
|
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
|