Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.c575 STATIC_ASSERT(ARRAY_SIZE(st->pbo.upload_fs) == ST_NUM_PBO_CONVERSIONS); in st_pbo_get_upload_fs()
579 if (!st->pbo.upload_fs[conversion][need_layer]) in st_pbo_get_upload_fs()
580 st->pbo.upload_fs[conversion][need_layer] = create_fs(st, false, 0, conversion, need_layer); in st_pbo_get_upload_fs()
582 return st->pbo.upload_fs[conversion][need_layer]; in st_pbo_get_upload_fs()
648 for (i = 0; i < ARRAY_SIZE(st->pbo.upload_fs); ++i) { in st_destroy_pbo_helpers()
649 for (unsigned j = 0; j < ARRAY_SIZE(st->pbo.upload_fs[0]); j++) { in st_destroy_pbo_helpers()
650 if (st->pbo.upload_fs[i][j]) { in st_destroy_pbo_helpers()
651 st->pipe->delete_fs_state(st->pipe, st->pbo.upload_fs[i][j]); in st_destroy_pbo_helpers()
652 st->pbo.upload_fs[i][j] = NULL; in st_destroy_pbo_helpers()
Dst_context.h320 void *upload_fs[3][2]; member