Searched refs:newtex (Results 1 – 2 of 2) sorted by relevance
68 struct pipe_resource pt, *newtex; in st_texture_create() local99 newtex = screen->resource_create(screen, &pt); in st_texture_create()101 assert(!newtex || pipe_is_referenced(&newtex->reference)); in st_texture_create()103 return newtex; in st_texture_create()
2686 struct pipe_resource pt, *newtex; in st_texture_create_from_memory() local2717 newtex = screen->resource_from_memobj(screen, &pt, memObj->memory, offset); in st_texture_create_from_memory()2719 assert(!newtex || pipe_is_referenced(&newtex->reference)); in st_texture_create_from_memory()2721 return newtex; in st_texture_create_from_memory()