Home
last modified time | relevance | path

Searched refs:mBufferSize (Results 1 – 20 of 20) 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/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/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp168 …ffer::StreamingIndexBuffer(unsigned int initialSize) : mIndexBuffer(NULL), mBufferSize(initialSize) 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.cpp281 mBufferSize = size; in StreamingVertexBuffer()
313 if(mRequiredSpace > mBufferSize) in reserveRequiredSpace()
321mBufferSize = std::max(mRequiredSpace, 3 * mBufferSize / 2); // 1.5 x mBufferSize is arbitrary a… in reserveRequiredSpace()
323 mVertexBuffer = new sw::Resource(mBufferSize); in reserveRequiredSpace()
327 ERR("Out of memory allocating a vertex buffer of size %u.", mBufferSize); in reserveRequiredSpace()
332 else if(mWritePosition + mRequiredSpace > mBufferSize) // Recycle in reserveRequiredSpace()
337 mVertexBuffer = new sw::Resource(mBufferSize); in reserveRequiredSpace()
DIndexDataManager.h51 unsigned int mBufferSize; variable
DVertexDataManager.h73 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.cpp118 mBufferSize = mRedSize + mGreenSize + mBlueSize + mLuminanceSize + mAlphaSize; in Config()
226 SORT_SMALLER(mBufferSize); in operator ()()
318 SORT_SMALLER(mBufferSize); in operator ()()
364 …case EGL_BUFFER_SIZE: match = config->mBufferSize >= attribute[1]; … in getConfigs()
DConfig.h44 EGLint mBufferSize; // Depth of the color buffer variable
DDisplay.cpp228 case EGL_BUFFER_SIZE: *value = configuration->mBufferSize; break; in getConfigAttrib()
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...