Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_pipe.c157 struct agx_resource *nresource; in agx_resource_create() local
159 nresource = CALLOC_STRUCT(agx_resource); in agx_resource_create()
160 if (!nresource) in agx_resource_create()
163 nresource->base = *templ; in agx_resource_create()
164 nresource->base.screen = screen; in agx_resource_create()
166 nresource->modifier = agx_select_modifier(nresource); in agx_resource_create()
167 nresource->mipmapped = (templ->last_level > 0); in agx_resource_create()
168 nresource->internal_format = nresource->base.format; in agx_resource_create()
177 if (nresource->modifier == DRM_FORMAT_MOD_APPLE_64X64_MORTON_ORDER) { in agx_resource_create()
185 nresource->slices[l].line_stride = util_format_get_stride(templ->format, width); in agx_resource_create()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/driver_noop/
Dnoop_pipe.c106 struct noop_resource *nresource; in noop_resource_create() local
109 nresource = CALLOC_STRUCT(noop_resource); in noop_resource_create()
110 if (!nresource) in noop_resource_create()
114 nresource->b.b = *templ; in noop_resource_create()
115 nresource->b.b.screen = screen; in noop_resource_create()
116 nresource->size = stride * templ->height0 * templ->depth0; in noop_resource_create()
117 nresource->data = MALLOC(nresource->size); in noop_resource_create()
118 pipe_reference_init(&nresource->b.b.reference, 1); in noop_resource_create()
119 if (nresource->data == NULL) { in noop_resource_create()
120 FREE(nresource); in noop_resource_create()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_asm.h269 unsigned nresource; member