/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 __anon9ce5eea30111::MockIndexBuffer 53 : mBufferSize(bufferSize), mIndexType(indexType) in MockBufferFactoryD3D() 71 return new MockIndexBuffer(mBufferSize, mIndexType); in createIndexBuffer() 75 unsigned int mBufferSize; member in __anon9ce5eea30111::MockBufferFactoryD3D 155 unsigned int mBufferSize; member in __anon9ce5eea30111::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 __anon219ee10e0111::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/flutter/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 __anond2992a980111::MockIndexBuffer 53 : mBufferSize(bufferSize), mIndexType(indexType) in MockBufferFactoryD3D() 70 return new MockIndexBuffer(mBufferSize, mIndexType); in createIndexBuffer() 74 unsigned int mBufferSize; member in __anond2992a980111::MockBufferFactoryD3D 154 unsigned int mBufferSize; member in __anond2992a980111::IndexDataManagerPerfTest 164 mBufferSize(mIndexCount * sizeof(GLushort)), in IndexDataManagerPerfTest() 165 mMockBufferFactory(mBufferSize, gl::DrawElementsType::UnsignedShort), in IndexDataManagerPerfTest()
|
D | DrawElementsPerf.cpp | 83 GLsizei mBufferSize = 0; member in __anon1f706a830111::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/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | RingBuffer.cpp | 37 RingBuffer::RingBuffer(DeviceBase* device, size_t size) : mBufferSize(size), mDevice(device) { in RingBuffer() 41 DAWN_TRY_ASSIGN(mStagingBuffer, mDevice->CreateStagingBuffer(mBufferSize)); in Initialize() 76 return mBufferSize; in GetSize() 106 if (mUsedSize >= mBufferSize) in SubAllocate() 116 if (mUsedEndOffset + allocSize <= mBufferSize) { in SubAllocate() 124 const size_t requestSize = (mBufferSize - mUsedEndOffset) + allocSize; in SubAllocate()
|
D | StagingBuffer.cpp | 19 StagingBufferBase::StagingBufferBase(size_t size) : mBufferSize(size) { in StagingBufferBase() 23 return mBufferSize; in GetSize()
|
/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()
|
/third_party/flutter/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 | 113 size_t getSize() const { return mBufferSize; } in getSize() 146 size_t mBufferSize; member in rx::Buffer11::BufferStorage 985 : mRenderer(renderer), mRevision(0), mUsage(usage), mBufferSize(0) in BufferStorage() 997 size_t mapSize = std::min(size, mBufferSize - offset); in setData() 1046 if (!mBuffer.valid() || mBufferSize < requiredSize) in copyFromStorage() 1059 clampedSize = std::min(clampedSize, mBufferSize - destOffset); in copyFromStorage() 1110 mBufferSize = 0; in resize() 1125 ASSERT(mBufferSize <= size); in resize() 1129 srcBox.right = static_cast<unsigned int>(mBufferSize); in resize() 1143 mBufferSize = bufferDesc.ByteWidth; in resize() [all …]
|
/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 …]
|
/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
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 | 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()
|
/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()
|
/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/dawn/src/dawn_native/ |
D | StagingBuffer.cpp | 19 StagingBufferBase::StagingBufferBase(size_t size) : mBufferSize(size) { in StagingBufferBase() 23 return mBufferSize; in GetSize()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | BufferGL.cpp | 43 mBufferSize(0), in BufferGL() 79 mBufferSize = size; in setData() 141 mBufferSize, GL_MAP_WRITE_BIT); in map() 146 mMapSize = mBufferSize; in map()
|
/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()
|
/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()
|