/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | IndexDataManager.cpp | 154 …r::StreamingIndexBuffer(unsigned int initialSize) : mIndexBuffer(nullptr), mBufferSize(initialSize) in StreamingIndexBuffer() 208 if(requiredSpace > mBufferSize) in reserveSpace() 216 mBufferSize = std::max(requiredSpace, 2 * mBufferSize); in reserveSpace() 218 mIndexBuffer = new sw::Resource(mBufferSize + 16); in reserveSpace() 222 ERR("Out of memory allocating an index buffer of size %u.", mBufferSize); in reserveSpace() 227 else if(mWritePosition + requiredSpace > mBufferSize) // Recycle in reserveSpace() 232 mIndexBuffer = new sw::Resource(mBufferSize + 16); in reserveSpace()
|
D | VertexDataManager.cpp | 266 mBufferSize = size; in StreamingVertexBuffer() 298 if(mRequiredSpace > mBufferSize) in reserveRequiredSpace() 306 …mBufferSize = std::max(mRequiredSpace, 3 * mBufferSize / 2); // 1.5 x mBufferSize is arbitrary a… in reserveRequiredSpace() 308 mVertexBuffer = new sw::Resource(mBufferSize); in reserveRequiredSpace() 312 ERR("Out of memory allocating a vertex buffer of size %u.", mBufferSize); in reserveRequiredSpace() 317 else if(mWritePosition + mRequiredSpace > mBufferSize) // Recycle in reserveRequiredSpace() 322 mVertexBuffer = new sw::Resource(mBufferSize); in reserveRequiredSpace()
|
D | IndexDataManager.h | 51 unsigned int mBufferSize; variable
|
/external/angle/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 __anon088433530111::MockIndexBuffer 53 : mBufferSize(bufferSize), mIndexType(indexType) in MockBufferFactoryD3D() 71 return new MockIndexBuffer(mBufferSize, mIndexType); in createIndexBuffer() 75 unsigned int mBufferSize; member in __anon088433530111::MockBufferFactoryD3D 155 unsigned int mBufferSize; member in __anon088433530111::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 __anon0af64dbe0111::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()
|
/external/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
|
/external/angle/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 1097 : mRenderer(renderer), mRevision(0), mUsage(usage), mBufferSize(0) in BufferStorage() 1109 size_t mapSize = std::min(size, mBufferSize - offset); in setData() 1159 if (!mBuffer.valid() || mBufferSize < requiredSize) in copyFromStorage() 1172 clampedSize = std::min(clampedSize, mBufferSize - destOffset); in copyFromStorage() 1223 mBufferSize = 0; in resize() 1238 ASSERT(mBufferSize <= size); in resize() 1242 srcBox.right = static_cast<unsigned int>(mBufferSize); in resize() 1256 mBufferSize = bufferDesc.ByteWidth; in resize() [all …]
|
D | IndexBuffer11.h | 51 unsigned int mBufferSize; variable
|
D | VertexBuffer11.h | 57 unsigned int mBufferSize; variable
|
/external/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
|
/external/angle/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
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/templates/ |
D | gen_ar_eventhandlerfile.hpp | 123 if ((mBufOffset + size + sizeof(eventId)) > mBufferSize) in Write() 168 static const uint32_t mBufferSize = 1024; variable 169 uint8_t mBuffer[mBufferSize];
|
/external/sl4a/Utils/src/com/trilead/ssh2/ |
D | StreamGobbler.java | 114 private final int mBufferSize; field in StreamGobbler 118 mBufferSize = buffer_size; in StreamGobbler() 126 buffer = new byte[mBufferSize]; in StreamGobbler()
|
/external/angle/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()
|
/external/oboe/samples/LiveEffect/src/main/cpp/ |
D | FullDuplexStream.cpp | 95 if (bufferSize > mBufferSize) { in start() 97 mBufferSize = bufferSize; in start()
|
D | FullDuplexStream.h | 97 int32_t mBufferSize = 0; variable
|
/external/oboe/apps/OboeTester/app/src/main/cpp/ |
D | FullDuplexStream.cpp | 115 if (bufferSize > mBufferSize) { in start() 117 mBufferSize = bufferSize; in start()
|
/external/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()
|