Home
last modified time | relevance | path

Searched refs:mBufferSize (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/src/OpenGL/libGLES_CM/
DIndexDataManager.cpp154 …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()
DVertexDataManager.cpp266 mBufferSize = size; in StreamingVertexBuffer()
298 if(mRequiredSpace > mBufferSize) in reserveRequiredSpace()
306mBufferSize = 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()
DIndexDataManager.h51 unsigned int mBufferSize; variable
DVertexDataManager.h73 unsigned int mBufferSize;
/external/swiftshader/src/OpenGL/libGLESv2/
DVertexDataManager.cpp294 mBufferSize = size; in StreamingVertexBuffer()
326 if(mRequiredSpace > mBufferSize) in reserveRequiredSpace()
334mBufferSize = 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()
DIndexDataManager.cpp373 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()
DIndexDataManager.h54 size_t mBufferSize; variable
DVertexDataManager.h73 unsigned int mBufferSize;
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/templates/
Dgen_ar_eventhandlerfile.hpp118 if ((mBufOffset + size + sizeof(eventId)) > mBufferSize) in Write()
156 static const uint32_t mBufferSize = 1024; member in ArchRast::EventHandlerFile
157 uint8_t mBuffer[mBufferSize];
/external/sl4a/Utils/src/com/trilead/ssh2/
DStreamGobbler.java114 private final int mBufferSize; field in StreamGobbler
118 mBufferSize = buffer_size; in StreamGobbler()
126 buffer = new byte[mBufferSize]; in StreamGobbler()
/external/swiftshader/src/OpenGL/libEGL/
DConfig.cpp120 mBufferSize = mRedSize + mGreenSize + mBlueSize + mLuminanceSize + mAlphaSize; in Config()
222 SORT_SMALLER(mBufferSize); in operator ()()
313 SORT_SMALLER(mBufferSize); in operator ()()
370 …case EGL_BUFFER_SIZE: match = config->mBufferSize >= attribIt->second; … in getConfigs()
DConfig.h43 EGLint mBufferSize; // Depth of the color buffer variable
DDisplay.cpp247 case EGL_BUFFER_SIZE: *value = configuration->mBufferSize; break; in getConfigAttrib()