/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
|
D | VertexDataManager.h | 73 unsigned int mBufferSize;
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | IndexDataManager.cpp | 168 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()
|
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.h | 51 size_t mBufferSize; variable
|
D | VertexDataManager.h | 73 unsigned int mBufferSize;
|
/external/swiftshader/src/OpenGL/libGL/ |
D | IndexDataManager.cpp | 172 …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()
|
D | VertexDataManager.cpp | 272 mBufferSize = size; in StreamingVertexBuffer() 304 if(mRequiredSpace > mBufferSize) in reserveRequiredSpace() 312 …mBufferSize = 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()
|
D | IndexDataManager.h | 54 unsigned int mBufferSize; variable
|
D | VertexDataManager.h | 76 unsigned int 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/svox/pico/compat/jni/ |
D | com_android_tts_compat_SynthProxy.cpp | 144 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/ |
D | Config.cpp | 127 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()
|
D | Config.h | 43 EGLint mBufferSize; // Depth of the color buffer variable
|
D | Display.cpp | 247 case EGL_BUFFER_SIZE: *value = configuration->mBufferSize; break; in getConfigAttrib()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/templates/ |
D | ar_eventhandlerfile_h.template | 112 if ((mBufOffset + size + sizeof(eventId)) > mBufferSize) 150 static const uint32_t mBufferSize = 1024; 151 uint8_t mBuffer[mBufferSize];
|