Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwc2.1/libhwchelper/
DExynosHWCHelper.cpp1318 size_t bufferHandleSize = gmeta.stride * gmeta.vstride * formatToBpp(gmeta.format) / 8; in load_png_image() local
1320 if (bufferHandleSize > gmeta.size || (bufferHandleSize < png_size)) { in load_png_image()
1322 (int)bufferHandleSize, (int)png_size, gmeta.size); in load_png_image()
1328 mmap(0, bufferHandleSize, PROT_READ | PROT_WRITE, MAP_SHARED, gmeta.fd, 0); in load_png_image()
1350 munmap(bufferHandleData, bufferHandleSize); in load_png_image()