Lines Matching refs:src_hnd
1258 private_handle_t* src_hnd = new private_handle_t(-1, 0, 0, 0, src_info.format, in stretch_copybit_internal() local
1260 if (NULL == src_hnd) { in stretch_copybit_internal()
1274 delete_handle(src_hnd); in stretch_copybit_internal()
1279 src_hnd->fd = ctx->temp_src_buffer.fd; in stretch_copybit_internal()
1280 src_hnd->size = ctx->temp_src_buffer.size; in stretch_copybit_internal()
1281 src_hnd->flags = ctx->temp_src_buffer.allocType; in stretch_copybit_internal()
1282 src_hnd->base = (uintptr_t)(ctx->temp_src_buffer.base); in stretch_copybit_internal()
1283 src_hnd->offset = ctx->temp_src_buffer.offset; in stretch_copybit_internal()
1284 src_hnd->gpuaddr = 0; in stretch_copybit_internal()
1285 src_image.handle = src_hnd; in stretch_copybit_internal()
1293 delete_handle(src_hnd); in stretch_copybit_internal()
1299 IMemAlloc* memalloc = sAlloc->getAllocator(src_hnd->flags); in stretch_copybit_internal()
1300 if (memalloc->clean_buffer((void *)(src_hnd->base), src_hnd->size, in stretch_copybit_internal()
1301 src_hnd->offset, src_hnd->fd, in stretch_copybit_internal()
1305 delete_handle(src_hnd); in stretch_copybit_internal()
1318 delete_handle(src_hnd); in stretch_copybit_internal()
1332 delete_handle(src_hnd); in stretch_copybit_internal()
1378 delete_handle(src_hnd); in stretch_copybit_internal()
1390 delete_handle(src_hnd); in stretch_copybit_internal()