Searched refs:needsAlloc (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/
H A DTexture.cpp124 bool needsAlloc = updateLayout(width, height, internalFormat, format, GL_TEXTURE_2D); local
127 needsAlloc = true;
131 if (needsAlloc) {
283 bool needsAlloc = canMipMap && mipMap && !bitmap.hasHardwareMipMap(); local
288 needsAlloc = true;
346 needsAlloc |= updateLayout(bitmap.width(), bitmap.height(), internalFormat, format, target);
357 uploadToTexture(needsAlloc, internalFormat, format, type, rgbaBitmap.rowBytesAsPixels(),
363 uploadToTexture(needsAlloc, internalFormat, format, type, bitmap.rowBytesAsPixels(),

Completed in 17 milliseconds