Searched refs:pixmap_buffer (Results 1 - 3 of 3) sorted by relevance

/xsrc/external/mit/xf86-video-amdgpu/dist/src/
H A Damdgpu_bo_helper.c67 struct amdgpu_buffer *pixmap_buffer; local in function:amdgpu_alloc_pixmap_bo
76 pixmap_buffer = (struct amdgpu_buffer *)calloc(1, sizeof(struct amdgpu_buffer));
77 if (!pixmap_buffer) {
80 pixmap_buffer->ref_count = 1;
92 pixmap_buffer->bo.gbm = gbm_bo_create(info->gbm, width, height,
95 if (!pixmap_buffer->bo.gbm) {
96 free(pixmap_buffer);
100 pixmap_buffer->flags |= AMDGPU_BO_FLAGS_GBM;
103 *new_pitch = gbm_bo_get_stride(pixmap_buffer->bo.gbm);
112 pixmap_buffer
407 struct amdgpu_buffer *pixmap_buffer = NULL; local in function:amdgpu_set_shared_pixmap_backing
[all...]
/xsrc/external/mit/MesaLib/dist/src/loader/
H A Dloader_dri3_helper.c1356 __DRIimage *pixmap_buffer = NULL, *linear_buffer_display_gpu = NULL; local in function:dri3_alloc_render_buffer
1455 pixmap_buffer = buffer->image;
1483 pixmap_buffer = linear_buffer_display_gpu;
1486 if (!pixmap_buffer) {
1497 pixmap_buffer = buffer->linear_buffer;
1506 if (!draw->ext->image->queryImage(pixmap_buffer, __DRI_IMAGE_ATTRIB_NUM_PLANES,
1511 __DRIimage *image = draw->ext->image->fromPlanar(pixmap_buffer, i, NULL);
1515 image = pixmap_buffer;
1526 if (image != pixmap_buffer)
1533 ret = draw->ext->image->queryImage(pixmap_buffer,
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/loader/
H A Dloader_dri3_helper.c1234 __DRIimage *pixmap_buffer; local in function:dri3_alloc_render_buffer
1348 pixmap_buffer = buffer->image;
1370 pixmap_buffer = buffer->linear_buffer;
1378 if (!draw->ext->image->queryImage(pixmap_buffer, __DRI_IMAGE_ATTRIB_NUM_PLANES,
1383 __DRIimage *image = draw->ext->image->fromPlanar(pixmap_buffer, i, NULL);
1387 image = pixmap_buffer;
1396 if (image != pixmap_buffer)
1403 ret = draw->ext->image->queryImage(pixmap_buffer,
1406 ret &= draw->ext->image->queryImage(pixmap_buffer,
1464 draw->ext->image->destroyImage(pixmap_buffer);
[all...]

Completed in 6 milliseconds