Home
last modified time | relevance | path

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

/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
DIndexDataManager.cpp207 …rect3DDevice9 *device, UINT size, D3DFORMAT format) : mDevice(device), mBufferSize(size), mIndexBu… in IndexBuffer()
274 if (requiredSpace > mBufferSize) in reserveSpace()
282 mBufferSize = std::max(requiredSpace, 2 * mBufferSize); in reserveSpace()
285 …HRESULT result = mDevice->CreateIndexBuffer(mBufferSize, D3DUSAGE_DYNAMIC | D3DUSAGE_WRITEONLY, ty… in reserveSpace()
289 ERR("Out of memory allocating a vertex buffer of size %lu.", mBufferSize); in reserveSpace()
294 else if (mWritePosition + requiredSpace > mBufferSize) // Recycle in reserveSpace()
335 if (!mIndexBuffer && mBufferSize == 0) in reserveSpace()
342 ERR("Out of memory allocating a vertex buffer of size %lu.", mBufferSize); in reserveSpace()
345 mBufferSize = requiredSpace; in reserveSpace()
348 else if (mIndexBuffer && mBufferSize >= requiredSpace && mCacheType == type) in reserveSpace()
DVertexDataManager.cpp608 mBufferSize = size; in ArrayVertexBuffer()
658 if (mRequiredSpace > mBufferSize) in reserveRequiredSpace()
666mBufferSize = std::max(mRequiredSpace, 3 * mBufferSize / 2); // 1.5 x mBufferSize is arbitrary a… in reserveRequiredSpace()
669 …HRESULT result = mDevice->CreateVertexBuffer(mBufferSize, D3DUSAGE_DYNAMIC | D3DUSAGE_WRITEONLY, 0… in reserveRequiredSpace()
673 ERR("Out of memory allocating a vertex buffer of size %lu.", mBufferSize); in reserveRequiredSpace()
678 else if (mWritePosition + mRequiredSpace > mBufferSize) // Recycle in reserveRequiredSpace()
728 if (!mVertexBuffer && mBufferSize == 0) in reserveRequiredSpace()
738 mBufferSize = mRequiredSpace; in reserveRequiredSpace()
740 else if (mVertexBuffer && mBufferSize >= mRequiredSpace) in reserveRequiredSpace()
DIndexDataManager.h39 UINT size() const { return mBufferSize; } in size()
50 UINT mBufferSize; variable
DVertexDataManager.h67 UINT size() const { return mBufferSize; } in size()
74 UINT mBufferSize;
/external/webkit/Source/ThirdParty/ANGLE/src/libEGL/
DConfig.cpp30 mBufferSize = 0; in setDefaults()
70 mBufferSize = 16; in set()
77 mBufferSize = 32; in set()
84 mBufferSize = 32; in set()
91 mBufferSize = 16; in set()
98 mBufferSize = 32; in set()
251 SORT(mBufferSize); in operator ()()
311 …case EGL_BUFFER_SIZE: match = config->mBufferSize >= attribute[1]; … in getConfigs()
DConfig.h40 EGLint mBufferSize; // Depth of the color buffer variable
DDisplay.cpp306 case EGL_BUFFER_SIZE: *value = configuration->mBufferSize; break; in getConfigAttrib()
/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/qemu/distrib/sdl-1.2.12/src/cdrom/macosx/
DAudioFileReaderThread.c526 if (afm->mBufferOffset >= afm->mBufferSize) { in AudioFileManager_Render()
527 result = afm->GetFileData(afm, &afm->mTmpBuffer, &afm->mBufferSize); in AudioFileManager_Render()
537 if (ioData->mDataByteSize > afm->mBufferSize - afm->mBufferOffset) in AudioFileManager_Render()
538 ioData->mDataByteSize = afm->mBufferSize - afm->mBufferOffset; in AudioFileManager_Render()
596 afm->mBufferSize = inChunkSize; in new_AudioFileManager()
DAudioFilePlayer.h138 UInt32 mBufferSize; member
/external/webkit/Source/WebKit/android/nav/
DCacheBuilder.cpp319 mBufferSize = size; in init()
412 mBufferSize = sizeof(buffer); in groups()
586 … mIndex += snprintf(&mBuffer[mIndex], mBufferSize - mIndex, "{ %d, %d, %d, %d, %d", in groups()
588 mIndex += snprintf(&mBuffer[mIndex], mBufferSize - mIndex, ", %d, %d, %d", in groups()
591 mIndex += snprintf(&mBuffer[mIndex], mBufferSize - mIndex, ", %d, %d, %d", in groups()
593 … mIndex += snprintf(&mBuffer[mIndex], mBufferSize - mIndex, ", %d, %d, %d, %d", in groups()
596 … mIndex += snprintf(&mBuffer[mIndex], mBufferSize - mIndex, ", %d, %d }, // %d ", in groups()
727 mIndex += snprintf(&mBuffer[mIndex], mBufferSize - mIndex, "\\x%02x", ch); in uChar()
734 mIndex += snprintf(&mBuffer[mIndex], mBufferSize - mIndex, in uChar()
737 mIndex += snprintf(&mBuffer[mIndex], mBufferSize - mIndex, in uChar()
[all …]
DCacheBuilder.h287 size_t mBufferSize; variable