Home
last modified time | relevance | path

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

/external/minigbm/cros_gralloc/gralloc3/
DCrosGralloc3Utils.cc310 uint32_t mapUsage = BO_MAP_NONE; in convertToMapUsage() local
313 mapUsage |= BO_MAP_READ; in convertToMapUsage()
316 mapUsage |= BO_MAP_WRITE; in convertToMapUsage()
319 *outMapUsage = mapUsage; in convertToMapUsage()
DCrosGralloc3Mapper.cc324 uint32_t mapUsage = 0; in lockInternal() local
325 int ret = convertToMapUsage(cpuUsage, &mapUsage); in lockInternal()
389 ret = mDriver->lock(bufferHandle, acquireFenceFd, false, &rect, mapUsage, result.mapped); in lockInternal()
/external/minigbm/cros_gralloc/gralloc4/
DCrosGralloc4Utils.cc340 uint32_t mapUsage = BO_MAP_NONE; in convertToMapUsage() local
343 mapUsage |= BO_MAP_READ; in convertToMapUsage()
346 mapUsage |= BO_MAP_WRITE; in convertToMapUsage()
349 *outMapUsage = mapUsage; in convertToMapUsage()
DCrosGralloc4Mapper.cc265 uint32_t mapUsage = 0; in lock() local
266 int ret = convertToMapUsage(cpuUsage, &mapUsage); in lock()
338 mapUsage, addr); in lock()