/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | IndexDataManagerTest.cpp | 29 : mBufferSize(bufferSize), mIndexType(indexType) in MockIndexBuffer() 42 unsigned int getBufferSize() const override { return mBufferSize; } in getBufferSize() 45 unsigned int mBufferSize; member in __anonc91d86850111::MockIndexBuffer 53 : mBufferSize(bufferSize), mIndexType(indexType) in MockBufferFactoryD3D() 71 return new MockIndexBuffer(mBufferSize, mIndexType); in createIndexBuffer() 75 unsigned int mBufferSize; member in __anonc91d86850111::MockBufferFactoryD3D 155 unsigned int mBufferSize; member in __anonc91d86850111::IndexDataManagerPerfTest 165 mBufferSize(mIndexCount * sizeof(GLushort)), in IndexDataManagerPerfTest() 166 mMockBufferFactory(mBufferSize, gl::DrawElementsType::UnsignedShort), in IndexDataManagerPerfTest()
|
D | DrawElementsPerf.cpp | 83 GLsizei mBufferSize = 0; member in __anon5151d7f00111::DrawElementsPerfBenchmark 134 mBufferSize = ElementTypeSize(params.type) * mCount; in initializeBenchmark() 138 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, mBufferSize, mIntIndexData.data()); in initializeBenchmark() 142 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, mBufferSize, mShortIndexData.data()); in initializeBenchmark() 190 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, mBufferSize, bufferData); in drawBenchmark()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | VertexDataManager.cpp | 294 mBufferSize = size; in StreamingVertexBuffer() 326 if(mRequiredSpace > mBufferSize) in reserveRequiredSpace() 334 …mBufferSize = std::max(mRequiredSpace, 3 * mBufferSize / 2); // 1.5 x mBufferSize is arbitrary a… in reserveRequiredSpace() 336 mVertexBuffer = new sw::Resource(mBufferSize); in reserveRequiredSpace() 340 ERR("Out of memory allocating a vertex buffer of size %u.", mBufferSize); in reserveRequiredSpace() 345 else if(mWritePosition + mRequiredSpace > mBufferSize) // Recycle in reserveRequiredSpace() 350 mVertexBuffer = new sw::Resource(mBufferSize); in reserveRequiredSpace()
|
D | IndexDataManager.cpp | 373 StreamingIndexBuffer::StreamingIndexBuffer(size_t initialSize) : mIndexBuffer(NULL), mBufferSize(in… in StreamingIndexBuffer() 427 if(requiredSpace > mBufferSize) in reserveSpace() 435 mBufferSize = std::max(requiredSpace, 2 * mBufferSize); in reserveSpace() 437 mIndexBuffer = new sw::Resource(mBufferSize + 16); in reserveSpace() 441 ERR("Out of memory allocating an index buffer of size %u.", mBufferSize); in reserveSpace() 446 else if(mWritePosition + requiredSpace > mBufferSize) // Recycle in reserveSpace() 451 mIndexBuffer = new sw::Resource(mBufferSize + 16); in reserveSpace()
|
D | IndexDataManager.h | 54 size_t mBufferSize; variable
|
D | VertexDataManager.h | 73 unsigned int mBufferSize;
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | IndexBuffer11.cpp | 22 mBufferSize(0), in IndexBuffer11() 60 mBufferSize = bufferSize; in initialize() 77 bool outOfBounds = (offset + size < offset || offset + size > mBufferSize); in mapBuffer() 107 return mBufferSize; in getBufferSize() 114 if (bufferSize > mBufferSize || indexType != mIndexType) in setSize()
|
D | VertexBuffer11.cpp | 27 mBufferSize(0), in VertexBuffer11() 66 mBufferSize = size; in initialize() 136 return mBufferSize; in getBufferSize() 141 if (size > mBufferSize) in setBufferSize()
|
D | Buffer11.cpp | 115 size_t getSize() const { return mBufferSize; } in getSize() 150 size_t mBufferSize; member in rx::Buffer11::BufferStorage 1102 : mRenderer(renderer), mRevision(0), mUsage(usage), mBufferSize(0) in BufferStorage() 1114 size_t mapSize = std::min(size, mBufferSize - offset); in setData() 1164 if (!mBuffer.valid() || mBufferSize < requiredSize) in copyFromStorage() 1177 clampedSize = std::min(clampedSize, mBufferSize - destOffset); in copyFromStorage() 1228 mBufferSize = 0; in resize() 1243 ASSERT(mBufferSize <= size); in resize() 1247 srcBox.right = static_cast<unsigned int>(mBufferSize); in resize() 1261 mBufferSize = bufferDesc.ByteWidth; in resize() [all …]
|
D | IndexBuffer11.h | 51 unsigned int mBufferSize; variable
|
D | VertexBuffer11.h | 57 unsigned int mBufferSize; variable
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/ |
D | AAssetDataSource.h | 27 int64_t getSize() const override { return mBufferSize; } in getSize() 41 , mBufferSize(size) in AAssetDataSource() 46 const int64_t mBufferSize; variable
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | IndexBuffer9.cpp | 20 mBufferSize = 0; in IndexBuffer9() 67 mBufferSize = bufferSize; in initialize() 107 return mBufferSize; in getBufferSize() 114 if (bufferSize > mBufferSize || indexType != mIndexType) in setSize()
|
D | VertexBuffer9.cpp | 25 mBufferSize = 0; in VertexBuffer9() 55 mBufferSize = size; in initialize() 116 return mBufferSize; in getBufferSize() 121 if (size > mBufferSize) in setBufferSize()
|
D | VertexBuffer9.h | 50 unsigned int mBufferSize; variable
|
D | IndexBuffer9.h | 50 unsigned int mBufferSize; variable
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | StagingBuffer.cpp | 19 StagingBufferBase::StagingBufferBase(size_t size) : mBufferSize(size) { in StagingBufferBase() 23 return mBufferSize; in GetSize()
|
D | StagingBuffer.h | 36 const size_t mBufferSize;
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | BindGroupValidationTests.cpp | 1402 mBufferSize = 3 * mMinUniformBufferOffsetAlignment + 8; in SetUp() 1514 uint64_t mBufferSize; member in SetBindGroupValidationTest 1520 wgpu::Buffer uniformBuffer = CreateBuffer(mBufferSize, wgpu::BufferUsage::Uniform); in TEST_F() 1521 wgpu::Buffer storageBuffer = CreateBuffer(mBufferSize, wgpu::BufferUsage::Storage); in TEST_F() 1522 wgpu::Buffer readonlyStorageBuffer = CreateBuffer(mBufferSize, wgpu::BufferUsage::Storage); in TEST_F() 1545 wgpu::Buffer uniformBuffer = CreateBuffer(mBufferSize, wgpu::BufferUsage::Uniform); in TEST_F() 1546 wgpu::Buffer storageBuffer = CreateBuffer(mBufferSize, wgpu::BufferUsage::Storage); in TEST_F() 1547 wgpu::Buffer readonlyStorageBuffer = CreateBuffer(mBufferSize, wgpu::BufferUsage::Storage); in TEST_F() 1594 wgpu::Buffer uniformBuffer = CreateBuffer(mBufferSize, wgpu::BufferUsage::Uniform); in TEST_F() 1595 wgpu::Buffer storageBuffer = CreateBuffer(mBufferSize, wgpu::BufferUsage::Storage); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | BufferGL.cpp | 40 mBufferSize(0), in BufferGL() 81 mBufferSize = size; in setData() 167 0, mBufferSize, GL_MAP_WRITE_BIT)); in map() 172 mMapSize = mBufferSize; in map()
|
/third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/cpp/ |
D | FullDuplexStream.cpp | 95 if (bufferSize > mBufferSize) { in start() 97 mBufferSize = bufferSize; in start()
|
D | FullDuplexStream.h | 102 int32_t mBufferSize = 0; variable
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/ |
D | FullDuplexStream.cpp | 115 if (bufferSize > mBufferSize) { in start() 117 mBufferSize = bufferSize; in start()
|
D | FullDuplexStream.h | 110 int32_t mBufferSize = 0; variable
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/ |
D | Config.cpp | 121 mBufferSize = mRedSize + mGreenSize + mBlueSize + mLuminanceSize + mAlphaSize; in Config() 224 SORT_SMALLER(mBufferSize); in operator ()() 315 SORT_SMALLER(mBufferSize); in operator ()() 372 …case EGL_BUFFER_SIZE: match = config->mBufferSize >= attribIt->second; … in getConfigs()
|