Searched refs:needsAlloc (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/ |
D | Texture.cpp | 123 bool needsAlloc = updateLayout(width, height, internalFormat, format, GL_TEXTURE_2D); in upload() local 126 needsAlloc = true; in upload() 130 if (needsAlloc) { in upload() 291 bool needsAlloc = canMipMap && mipMap && !bitmap.hasHardwareMipMap(); in upload() local 296 needsAlloc = true; in upload() 349 needsAlloc |= updateLayout(bitmap.width(), bitmap.height(), internalFormat, format, target); in upload() 360 uploadToTexture(needsAlloc, internalFormat, format, type, rgbaBitmap.rowBytesAsPixels(), in upload() 366 uploadToTexture(needsAlloc, internalFormat, format, type, bitmap.rowBytesAsPixels(), in upload()
|