Home
last modified time | relevance | path

Searched refs:mVertexBuffer (Results 1 – 25 of 46) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DVertexBuffer.cpp59 : mFactory(factory), mVertexBuffer(factory->createVertexBuffer()), mDynamic(dynamic) in VertexBufferInterface()
64 if (mVertexBuffer) in ~VertexBufferInterface()
66 mVertexBuffer->release(); in ~VertexBufferInterface()
67 mVertexBuffer = nullptr; in ~VertexBufferInterface()
73 ASSERT(mVertexBuffer); in getSerial()
74 return mVertexBuffer->getSerial(); in getSerial()
79 ASSERT(mVertexBuffer); in getBufferSize()
80 return mVertexBuffer->getBufferSize(); in getBufferSize()
85 ASSERT(mVertexBuffer); in setBufferSize()
86 if (mVertexBuffer->getBufferSize() == 0) in setBufferSize()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DVertexBuffer.cpp59 : mFactory(factory), mVertexBuffer(factory->createVertexBuffer()), mDynamic(dynamic) in VertexBufferInterface()
64 if (mVertexBuffer) in ~VertexBufferInterface()
66 mVertexBuffer->release(); in ~VertexBufferInterface()
67 mVertexBuffer = nullptr; in ~VertexBufferInterface()
73 ASSERT(mVertexBuffer); in getSerial()
74 return mVertexBuffer->getSerial(); in getSerial()
79 ASSERT(mVertexBuffer); in getBufferSize()
80 return mVertexBuffer->getBufferSize(); in getBufferSize()
85 ASSERT(mVertexBuffer); in setBufferSize()
86 if (mVertexBuffer->getBufferSize() == 0) in setBufferSize()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DVertexDataManager.cpp239 VertexBuffer::VertexBuffer(unsigned int size) : mVertexBuffer(nullptr) in VertexBuffer()
243 mVertexBuffer = new sw::Resource(size + 1024); in VertexBuffer()
245 if(!mVertexBuffer) in VertexBuffer()
254 if(mVertexBuffer) in ~VertexBuffer()
256 mVertexBuffer->destruct(); in ~VertexBuffer()
262 if(mVertexBuffer) in unmap()
264 mVertexBuffer->unlock(); in unmap()
270 return mVertexBuffer; in getResource()
275 if(mVertexBuffer) in ConstantVertexBuffer()
277 float *vector = (float*)mVertexBuffer->lock(sw::PUBLIC); in ConstantVertexBuffer()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DVertexBuffer9.cpp24 mVertexBuffer = nullptr; in VertexBuffer9()
31 SafeRelease(mVertexBuffer); in ~VertexBuffer9()
38 SafeRelease(mVertexBuffer); in initialize()
50 HRESULT result = mRenderer->createVertexBuffer(size, flags, &mVertexBuffer); in initialize()
70 ASSERT(mVertexBuffer); in storeVertexAttributes()
84 mVertexBuffer->Lock(offset, mapSize, reinterpret_cast<void **>(&mapPtr), lockFlags); in storeVertexAttributes()
109 mVertexBuffer->Unlock(); in storeVertexAttributes()
133 ASSERT(mVertexBuffer); in discard()
140 result = mVertexBuffer->Lock(0, 1, &mock, D3DLOCK_DISCARD); in discard()
143 result = mVertexBuffer->Unlock(); in discard()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DVertexBuffer9.cpp24 mVertexBuffer = nullptr; in VertexBuffer9()
31 SafeRelease(mVertexBuffer); in ~VertexBuffer9()
38 SafeRelease(mVertexBuffer); in initialize()
50 HRESULT result = mRenderer->createVertexBuffer(size, flags, &mVertexBuffer); in initialize()
70 ASSERT(mVertexBuffer); in storeVertexAttributes()
84 mVertexBuffer->Lock(offset, mapSize, reinterpret_cast<void **>(&mapPtr), lockFlags); in storeVertexAttributes()
109 mVertexBuffer->Unlock(); in storeVertexAttributes()
133 ASSERT(mVertexBuffer); in discard()
140 result = mVertexBuffer->Lock(0, 1, &dummy, D3DLOCK_DISCARD); in discard()
143 result = mVertexBuffer->Unlock(); in discard()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DIndexBufferOffsetTest.cpp54 glGenBuffers(1, &mVertexBuffer); in testSetUp()
55 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in testSetUp()
64 glDeleteBuffers(1, &mVertexBuffer); in testTearDown()
85 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in runTest()
111 GLuint mVertexBuffer; member in IndexBufferOffsetTest
157 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in TEST_P()
189 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in TEST_P()
DMultiDrawTest.cpp92 mVertexBuffer(0u), in MultiDrawTest()
221 glGenBuffers(1, &mVertexBuffer); in SetupBuffers()
222 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in SetupBuffers()
284 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in DoDrawElements()
355 if (mVertexBuffer != 0u) in TearDown()
357 glDeleteBuffers(1, &mVertexBuffer); in TearDown()
420 GLuint mVertexBuffer; member in __anon0d3d8f2b0111::MultiDrawTest
495 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in TEST_P()
DIndexedPointsTest.cpp90 glGenBuffers(1, &mVertexBuffer); in testSetUp()
91 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in testSetUp()
103 glDeleteBuffers(1, &mVertexBuffer); in testTearDown()
138 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in runTest()
179 GLuint mVertexBuffer; member in IndexedPointsTest
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/
DTorusLightingES1.cpp36 GenerateTorus(&mVertexBuffer, &mIndexBuffer, &mIndexCount); in initialize()
40 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in initialize()
65 glDeleteBuffers(1, &mVertexBuffer); in destroy()
85 GLuint mVertexBuffer = 0; member in GLES1TorusLightingSample
DTorusLightingES2.cpp64 GenerateTorus(&mVertexBuffer, &mIndexBuffer, &mIndexCount); in initialize()
69 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in initialize()
93 glDeleteBuffers(1, &mVertexBuffer); in destroy()
123 GLuint mVertexBuffer = 0; member in GLES2TorusLightingSample
DTorusBufferStorage.cpp107 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in initialize()
133 glDeleteBuffers(1, &mVertexBuffer); in destroy()
176 GenerateTorus(&mVertexBuffer, &mIndexBuffer, &mIndexCount); in generateTorus()
204 GLuint mVertexBuffer = 0; member in BufferStorageSample
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultiDrawTest.cpp140 mVertexBuffer(0u), in MultiDrawTest()
277 glGenBuffers(1, &mVertexBuffer); in SetupBuffers()
278 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in SetupBuffers()
340 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in DoDrawElements()
411 if (mVertexBuffer != 0u) in TearDown()
413 glDeleteBuffers(1, &mVertexBuffer); in TearDown()
453 GLuint mVertexBuffer; member in __anon8e1c31d60111::MultiDrawTest
482 mVertexBuffer(0u), in MultiDrawIndirectTest()
523 if (mVertexBuffer != 0u) in TearDown()
525 glDeleteBuffers(1, &mVertexBuffer); in TearDown()
[all …]
DIndexBufferOffsetTest.cpp62 glGenBuffers(1, &mVertexBuffer); in testSetUp()
63 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in testSetUp()
72 glDeleteBuffers(1, &mVertexBuffer); in testTearDown()
172 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in runTest()
227 GLuint mVertexBuffer; member in IndexBufferOffsetTest
374 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in TEST_P()
410 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in TEST_P()
449 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in TEST_P()
DIndexedPointsTest.cpp90 glGenBuffers(1, &mVertexBuffer); in testSetUp()
91 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in testSetUp()
103 glDeleteBuffers(1, &mVertexBuffer); in testTearDown()
138 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in runTest()
179 GLuint mVertexBuffer; member in IndexedPointsTest
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DIndexFormatTests.cpp243 wgpu::Buffer mVertexBuffer; member in TriangleStripPrimitiveRestartTests
247 mVertexBuffer = utils::CreateBufferFromData<float>(device, wgpu::BufferUsage::Vertex, in SetUp()
279 pass.SetVertexBuffer(0, mVertexBuffer); in TEST_P()
314 pass.SetVertexBuffer(0, mVertexBuffer); in TEST_P()
350 pass.SetVertexBuffer(0, mVertexBuffer); in TEST_P()
379 wgpu::Buffer mVertexBuffer; member in LineStripPrimitiveRestartTests
383 mVertexBuffer = utils::CreateBufferFromData<float>(device, wgpu::BufferUsage::Vertex, in SetUp()
404 pass.SetVertexBuffer(0, mVertexBuffer); in TEST_P()
433 pass.SetVertexBuffer(0, mVertexBuffer); in TEST_P()
460 pass.SetVertexBuffer(0, mVertexBuffer); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DIndexConversionPerf.cpp64 GLuint mVertexBuffer; member in __anon5a8712d70111::IndexConversionPerfTest
72 mVertexBuffer(0), in IndexConversionPerfTest()
90 mVertexBuffer = Create2DTriangleBuffer(numTris, GL_STATIC_DRAW); in initializeBenchmark()
131 glDeleteBuffers(1, &mVertexBuffer); in destroyBenchmark()
DLinkProgramPerfTest.cpp104 GLuint mVertexBuffer = 0; member in __anon7697323f0111::LinkProgramBenchmark
120 glGenBuffers(1, &mVertexBuffer); in initializeBenchmark()
121 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in initializeBenchmark()
128 glDeleteBuffers(1, &mVertexBuffer); in destroyBenchmark()
DVulkanBarriersPerf.cpp89 GLBuffer mVertexBuffer; member in __anone7f06a640111::VulkanBarriersPerfBenchmark
218 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in createResources()
258 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in drawBenchmark()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DIndexConversionPerf.cpp64 GLuint mVertexBuffer; member in __anon680730820111::IndexConversionPerfTest
72 mVertexBuffer(0), in IndexConversionPerfTest()
90 mVertexBuffer = Create2DTriangleBuffer(numTris, GL_STATIC_DRAW); in initializeBenchmark()
131 glDeleteBuffers(1, &mVertexBuffer); in destroyBenchmark()
DLinkProgramPerfTest.cpp104 GLuint mVertexBuffer = 0; member in __anon84174fea0111::LinkProgramBenchmark
120 glGenBuffers(1, &mVertexBuffer); in initializeBenchmark()
121 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in initializeBenchmark()
128 glDeleteBuffers(1, &mVertexBuffer); in destroyBenchmark()
DVulkanBarriersPerf.cpp96 GLBuffer mVertexBuffer; member in __anon7bbdfeaf0111::VulkanBarriersPerfBenchmark
249 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in createResources()
290 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in drawBenchmark()
/third_party/skia/third_party/externals/angle2/samples/multiple_contexts/
DMultipleContexts.cpp140 glGenBuffers(1, &mVertexBuffer); in initialize()
141 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in initialize()
181 glDeleteBuffers(1, &mVertexBuffer); in destroy()
248 GLuint mVertexBuffer = 0; member in MultipleContextsSample
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/gbm/
DDisplayGbm.cpp364 mVertexBuffer(0), in DisplayGbm()
641 gl->genBuffers(1, &mVertexBuffer); in drawWithTexture()
642 sm->bindBuffer(gl::BufferBinding::Array, mVertexBuffer); in drawWithTexture()
655 sm->bindBuffer(gl::BufferBinding::Array, mVertexBuffer); in drawWithTexture()
779 gl->deleteBuffers(1, &mVertexBuffer); in terminate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp224 mVertexBuffer(), in Clear11()
333 if (mVertexBuffer.valid()) in ensureVertexBufferCreated()
362 &mVertexBuffer)); in ensureVertexBufferCreated()
363 mVertexBuffer.setInternalName("Clear11VertexBuffer"); in ensureVertexBufferCreated()
743 stateManager->setSingleVertexBuffer(&mVertexBuffer, g_VertexSize, 0); in clearFramebuffer()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp224 mVertexBuffer(), in Clear11()
341 if (mVertexBuffer.valid()) in ensureVertexBufferCreated()
370 &mVertexBuffer)); in ensureVertexBufferCreated()
371 mVertexBuffer.setDebugName("Clear11 Vertex Buffer"); in ensureVertexBufferCreated()
745 stateManager->setSingleVertexBuffer(&mVertexBuffer, g_VertexSize, 0); in clearFramebuffer()

12