/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | VertexDataManager.cpp | 211 VertexBuffer::VertexBuffer(unsigned int size) : mVertexBuffer(nullptr) in VertexBuffer() 215 mVertexBuffer = new sw::Resource(size + 1024); in VertexBuffer() 217 if(!mVertexBuffer) in VertexBuffer() 226 if(mVertexBuffer) in ~VertexBuffer() 228 mVertexBuffer->destruct(); in ~VertexBuffer() 234 if(mVertexBuffer) in unmap() 236 mVertexBuffer->unlock(); in unmap() 242 return mVertexBuffer; in getResource() 247 if(mVertexBuffer) in ConstantVertexBuffer() 249 float *vector = (float*)mVertexBuffer->lock(sw::PUBLIC); in ConstantVertexBuffer() [all …]
|
D | VertexDataManager.h | 52 sw::Resource *mVertexBuffer;
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | VertexBuffer.cpp | 59 : 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 …]
|
D | VertexBuffer.h | 108 VertexBuffer *mVertexBuffer; variable
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | VertexDataManager.cpp | 239 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 …]
|
D | VertexDataManager.h | 52 sw::Resource *mVertexBuffer;
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | VertexBuffer9.cpp | 24 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 …]
|
D | VertexBuffer9.h | 49 IDirect3DVertexBuffer9 *mVertexBuffer; variable
|
/external/angle/samples/torus_lighting/ |
D | TorusLightingES1.cpp | 31 GenerateTorus(&mVertexBuffer, &mIndexBuffer, &mIndexCount); in initialize() 38 glDeleteBuffers(1, &mVertexBuffer); in destroy() 69 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in draw() 87 GLuint mVertexBuffer; member in GLES1TorusLightingSample
|
D | TorusLightingES2.cpp | 62 GenerateTorus(&mVertexBuffer, &mIndexBuffer, &mIndexCount); in initialize() 70 glDeleteBuffers(1, &mVertexBuffer); in destroy() 94 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in draw() 118 GLuint mVertexBuffer; member in GLES2TorusLightingSample
|
/external/angle/src/tests/gl_tests/ |
D | IndexBufferOffsetTest.cpp | 55 glGenBuffers(1, &mVertexBuffer); in testSetUp() 56 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in testSetUp() 65 glDeleteBuffers(1, &mVertexBuffer); in testTearDown() 152 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in runTest() 194 GLuint mVertexBuffer; member in IndexBufferOffsetTest 337 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in TEST_P() 373 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in TEST_P() 412 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in TEST_P()
|
D | IndexedPointsTest.cpp | 90 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
|
D | MultiDrawTest.cpp | 101 mVertexBuffer(0u), in MultiDrawTest() 236 glGenBuffers(1, &mVertexBuffer); in SetupBuffers() 237 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in SetupBuffers() 299 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in DoDrawElements() 370 if (mVertexBuffer != 0u) in TearDown() 372 glDeleteBuffers(1, &mVertexBuffer); in TearDown() 435 GLuint mVertexBuffer; member in __anon5c2279250111::MultiDrawTest 514 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in TEST_P()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | Grid.java | 48 private Buffer mVertexBuffer; field in Grid 87 mVertexBuffer = mFixedVertexBuffer; in Grid() 98 mVertexBuffer = mFloatVertexBuffer; in Grid() 220 gl.glVertexPointer(3, mCoordinateType, 0, mVertexBuffer); in beginDrawingStrips() 258 gl.glVertexPointer(3, mCoordinateType, 0, mVertexBuffer); in draw() 346 final int vertexSize = mVertexBuffer.capacity() * mCoordinateSize; in generateHardwareBuffers() 349 mVertexBuffer.position(0); in generateHardwareBuffers() 351 mVertexBuffer, GL11.GL_STATIC_DRAW); in generateHardwareBuffers()
|
/external/angle/src/tests/perf_tests/ |
D | IndexConversionPerf.cpp | 64 GLuint mVertexBuffer; member in __anon51cb56d10111::IndexConversionPerfTest 72 mVertexBuffer(0), in IndexConversionPerfTest() 90 mVertexBuffer = Create2DTriangleBuffer(numTris, GL_STATIC_DRAW); in initializeBenchmark() 131 glDeleteBuffers(1, &mVertexBuffer); in destroyBenchmark()
|
D | LinkProgramPerfTest.cpp | 104 GLuint mVertexBuffer = 0; member in __anon6ddb76390111::LinkProgramBenchmark 120 glGenBuffers(1, &mVertexBuffer); in initializeBenchmark() 121 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in initializeBenchmark() 128 glDeleteBuffers(1, &mVertexBuffer); in destroyBenchmark()
|
D | VulkanBarriersPerf.cpp | 96 GLBuffer mVertexBuffer; member in __anonb15f171e0111::VulkanBarriersPerfBenchmark 249 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in createResources() 290 glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer); in drawBenchmark()
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | Clear11.cpp | 224 mVertexBuffer(), in Clear11() 333 if (mVertexBuffer.valid()) in ensureVertexBufferCreated() 362 &mVertexBuffer)); in ensureVertexBufferCreated() 363 mVertexBuffer.setDebugName("Clear11 Vertex Buffer"); in ensureVertexBufferCreated() 743 stateManager->setSingleVertexBuffer(&mVertexBuffer, g_VertexSize, 0); in clearFramebuffer()
|
D | Blit11.cpp | 536 mVertexBuffer(), in Blit11() 598 ANGLE_TRY(mRenderer->allocateResource(context11, vbDesc, &mVertexBuffer)); in initResources() 599 mVertexBuffer.setDebugName("Blit11 vertex buffer"); in initResources() 849 ANGLE_TRY(mRenderer->mapResource(context, mVertexBuffer.get(), 0, D3D11_MAP_WRITE_DISCARD, 0, in swizzleTexture() 863 deviceContext->Unmap(mVertexBuffer.get(), 0); in swizzleTexture() 880 stateManager->setSingleVertexBuffer(&mVertexBuffer, stride, 0); in swizzleTexture() 979 ANGLE_TRY(mRenderer->mapResource(context, mVertexBuffer.get(), 0, D3D11_MAP_WRITE_DISCARD, 0, in copyTexture() 989 deviceContext->Unmap(mVertexBuffer.get(), 0); in copyTexture() 994 stateManager->setSingleVertexBuffer(&mVertexBuffer, stride, 0); in copyTexture() 1083 ANGLE_TRY(mRenderer->mapResource(context, mVertexBuffer.get(), 0, D3D11_MAP_WRITE_DISCARD, 0, in copyDepth() [all …]
|
D | Clear11.h | 94 d3d11::Buffer mVertexBuffer; variable
|
D | Blit11.h | 268 d3d11::Buffer mVertexBuffer; variable
|
/external/angle/src/libANGLE/renderer/gl/egl/gbm/ |
D | DisplayGbm.cpp | 363 mVertexBuffer(0), in DisplayGbm() 710 gl->genBuffers(1, &mVertexBuffer); in drawWithTexture() 711 sm->bindBuffer(gl::BufferBinding::Array, mVertexBuffer); in drawWithTexture() 724 sm->bindBuffer(gl::BufferBinding::Array, mVertexBuffer); in drawWithTexture() 847 gl->deleteBuffers(1, &mVertexBuffer); in terminate()
|
D | DisplayGbm.h | 175 GLuint mVertexBuffer; variable
|
/external/angle/src/libANGLE/renderer/gl/ |
D | BlitGL.h | 209 GLuint mVertexBuffer = 0; variable
|
D | BlitGL.cpp | 225 mVertexBuffer(0) in BlitGL() 1131 ANGLE_GL_TRY(context, mFunctions->genBuffers(1, &mVertexBuffer)); in initializeResources() 1132 mStateManager->bindBuffer(gl::BufferBinding::Array, mVertexBuffer); in initializeResources() 1250 mStateManager->bindBuffer(gl::BufferBinding::Array, mVertexBuffer); in initializeVAOState() 1264 binding.buffer = mVertexBuffer; in initializeVAOState()
|