Searched refs:newtex (Results 1 – 2 of 2) sorted by relevance
68 struct pipe_resource pt, *newtex; in st_texture_create() local103 newtex = screen->resource_create(screen, &pt); in st_texture_create()105 assert(!newtex || pipe_is_referenced(&newtex->reference)); in st_texture_create()107 return newtex; in st_texture_create()
3126 struct pipe_resource pt, *newtex; in st_texture_create_from_memory() local3161 newtex = screen->resource_from_memobj(screen, &pt, memObj->memory, offset); in st_texture_create_from_memory()3163 assert(!newtex || pipe_is_referenced(&newtex->reference)); in st_texture_create_from_memory()3165 return newtex; in st_texture_create_from_memory()