Home
last modified time | relevance | path

Searched refs:mBufferSize (Results 1 – 18 of 18) 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/
DIndexDataManager.cpp168 StreamingIndexBuffer::StreamingIndexBuffer(size_t initialSize) : mIndexBuffer(NULL), mBufferSize(in… in StreamingIndexBuffer()
222 if(requiredSpace > mBufferSize) in reserveSpace()
230 mBufferSize = std::max(requiredSpace, 2 * mBufferSize); in reserveSpace()
232 mIndexBuffer = new sw::Resource(mBufferSize + 16); in reserveSpace()
236 ERR("Out of memory allocating an index buffer of size %u.", mBufferSize); in reserveSpace()
241 else if(mWritePosition + requiredSpace > mBufferSize) // Recycle in reserveSpace()
246 mIndexBuffer = new sw::Resource(mBufferSize + 16); in reserveSpace()
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.h51 size_t mBufferSize; variable
DVertexDataManager.h73 unsigned int mBufferSize;
/external/swiftshader/src/OpenGL/libGL/
DIndexDataManager.cpp172 …r::StreamingIndexBuffer(unsigned int initialSize) : mIndexBuffer(nullptr), mBufferSize(initialSize) in StreamingIndexBuffer()
226 if(requiredSpace > mBufferSize) in reserveSpace()
234 mBufferSize = std::max(requiredSpace, 2 * mBufferSize); in reserveSpace()
236 mIndexBuffer = new sw::Resource(mBufferSize + 16); in reserveSpace()
240 ERR("Out of memory allocating an index buffer of size %u.", mBufferSize); in reserveSpace()
245 else if(mWritePosition + requiredSpace > mBufferSize) // Recycle in reserveSpace()
250 mIndexBuffer = new sw::Resource(mBufferSize + 16); in reserveSpace()
DVertexDataManager.cpp272 mBufferSize = size; in StreamingVertexBuffer()
304 if(mRequiredSpace > mBufferSize) in reserveRequiredSpace()
312mBufferSize = std::max(mRequiredSpace, 3 * mBufferSize / 2); // 1.5 x mBufferSize is arbitrary a… in reserveRequiredSpace()
314 mVertexBuffer = new sw::Resource(mBufferSize); in reserveRequiredSpace()
318 ERR("Out of memory allocating a vertex buffer of size %u.", mBufferSize); in reserveRequiredSpace()
323 else if(mWritePosition + mRequiredSpace > mBufferSize) // Recycle in reserveRequiredSpace()
328 mVertexBuffer = new sw::Resource(mBufferSize); in reserveRequiredSpace()
DIndexDataManager.h54 unsigned int mBufferSize; variable
DVertexDataManager.h76 unsigned int 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/svox/pico/compat/jni/
Dcom_android_tts_compat_SynthProxy.cpp144 size_t mBufferSize; member in SynthProxyJniStorage
149 mBufferSize = DEFAULT_TTS_BUFFERSIZE; in SynthProxyJniStorage()
150 mBuffer = new int8_t[mBufferSize]; in SynthProxyJniStorage()
151 memset(mBuffer, 0, mBufferSize); in SynthProxyJniStorage()
304 *pBufferSize = pJniData->mBufferSize; in __ttsSynthDoneCB()
544 memset(pSynthData->mBuffer, 0, pSynthData->mBufferSize); in com_android_tts_compat_SynthProxy_speak()
547 pSynthData->mBuffer, pSynthData->mBufferSize, static_cast<void *>(pRequestData)); in com_android_tts_compat_SynthProxy_speak()
/external/swiftshader/src/OpenGL/libEGL/
DConfig.cpp127 mBufferSize = mRedSize + mGreenSize + mBlueSize + mLuminanceSize + mAlphaSize; in Config()
229 SORT_SMALLER(mBufferSize); in operator ()()
321 SORT_SMALLER(mBufferSize); in operator ()()
373 …case EGL_BUFFER_SIZE: match = config->mBufferSize >= attribute[1]; … in getConfigs()
DConfig.h43 EGLint mBufferSize; // Depth of the color buffer variable
DDisplay.cpp247 case EGL_BUFFER_SIZE: *value = configuration->mBufferSize; break; in getConfigAttrib()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/templates/
Dar_eventhandlerfile_h.template112 if ((mBufOffset + size + sizeof(eventId)) > mBufferSize)
150 static const uint32_t mBufferSize = 1024;
151 uint8_t mBuffer[mBufferSize];