Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/driver_noop/
Dnoop_pipe.c102 struct noop_resource *nresource; in noop_resource_create() local
105 nresource = CALLOC_STRUCT(noop_resource); in noop_resource_create()
106 if (!nresource) in noop_resource_create()
110 nresource->base = *templ; in noop_resource_create()
111 nresource->base.screen = screen; in noop_resource_create()
112 nresource->size = stride * templ->height0 * templ->depth0; in noop_resource_create()
113 nresource->data = MALLOC(nresource->size); in noop_resource_create()
114 pipe_reference_init(&nresource->base.reference, 1); in noop_resource_create()
115 if (nresource->data == NULL) { in noop_resource_create()
116 FREE(nresource); in noop_resource_create()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_asm.h268 unsigned nresource; member