Lines Matching refs:bitmap
356 // Here we just need to upload the bitmap content to the GL Texture
358 *m_transferQueue[index].bitmap);
393 SkBitmap& bitmap)
396 if (!tryUpdateQueueWithBitmap(renderInfo, bitmap)) {
397 // failed placing bitmap in queue, discard tile's texture so it will be
406 SkBitmap& bitmap)
416 ALOGV("Quit bitmap update: not ready! for tile x y %d %d",
427 if (!GLUtils::updateSharedSurfaceTextureWithBitmap(m_ANW.get(), bitmap))
432 addItemInTransferQueue(renderInfo, currentUploadType, bitmap);
434 ALOGV("Bitmap updated x, y %d %d, baseTile %p",
478 SkBitmap& bitmap)
491 // Lazily create the bitmap
492 if (!m_transferQueue[index].bitmap) {
493 m_transferQueue[index].bitmap = new SkBitmap();
494 int w = bitmap.width();
495 int h = bitmap.height();
496 m_transferQueue[index].bitmap->setConfig(bitmap.config(), w, h);
497 m_transferQueue[index].bitmap->allocPixels();
499 SkBitmap temp = (*m_transferQueue[index].bitmap);
500 (*m_transferQueue[index].bitmap) = bitmap;
501 bitmap = temp;