HomeSort by: relevance | last modified time | path
    Searched defs:bufs (Results 1 - 25 of 29) sorted by relevancy

1 2

  /xsrc/external/mit/MesaLib/dist/src/freedreno/computerator/
main.h 47 struct fd_bo *bufs[MAX_BUFS]; member in struct:kernel
  /xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
vn_cs.c 150 void *bufs = realloc(enc->buffers, sizeof(*enc->buffers) * buf_max); local
151 if (!bufs)
154 enc->buffers = bufs;
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
fd2_draw.c 58 struct fd2_vertex_buf bufs[PIPE_MAX_ATTRIBS]; variable in typeref:struct:fd2_vertex_buf
67 bufs[i].offset = vb->buffer_offset;
68 bufs[i].size = fd_bo_size(fd_resource(vb->buffer.resource)->bo);
69 bufs[i].prsc = vb->buffer.resource;
75 fd2_emit_vertex_bufs(ctx->batch->draw, 0x78, bufs, vtx->num_elements);
76 fd2_emit_vertex_bufs(ctx->batch->binning, 0x78, bufs, vtx->num_elements);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
fd2_draw.c 59 struct fd2_vertex_buf bufs[PIPE_MAX_ATTRIBS]; local
69 bufs[i].offset = vb->buffer_offset;
70 bufs[i].size = fd_bo_size(fd_resource(vb->buffer.resource)->bo);
71 bufs[i].prsc = vb->buffer.resource;
77 fd2_emit_vertex_bufs(ctx->batch->draw, 0x78, bufs, vtx->num_elements);
78 fd2_emit_vertex_bufs(ctx->batch->binning, 0x78, bufs, vtx->num_elements);
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/
vl_deint_filter.c 419 struct pipe_video_buffer *bufs[] = { prevprev, prev, cur, next }; local
422 if (pipe_format_to_chroma_format(bufs[i]->buffer_format) != PIPE_VIDEO_CHROMA_FORMAT_420)
424 if (bufs[i]->width < filter->video_width ||
425 bufs[i]->height < filter->video_height)
427 if (!bufs[i]->interlaced)
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/vl/
vl_deint_filter.c 420 struct pipe_video_buffer *bufs[] = { prevprev, prev, cur, next }; local
423 if (bufs[i]->chroma_format != PIPE_VIDEO_CHROMA_FORMAT_420)
425 if (bufs[i]->width < filter->video_width ||
426 bufs[i]->height < filter->video_height)
428 if (!bufs[i]->interlaced)
  /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/
r200_sanity.c 616 static int total, total_changed, bufs; variable
1397 bufs++;
1437 fprintf(stderr, "Bufs %d Total emitted %d real changes %d (%.2f%%)\n",
1438 bufs,
1442 (float)total/(float)bufs);
1444 (float)total_changed/(float)bufs);
1446 bufs = n = total = total_changed = 0;
  /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/
radeon_sanity.c 338 static int total, total_changed, bufs; variable
1030 bufs++;
1063 fprintf(stderr, "Bufs %d Total emitted %d real changes %d (%.2f%%)\n",
1064 bufs,
1068 (float)total/(float)bufs);
1070 (float)total_changed/(float)bufs);
1072 bufs = n = total = total_changed = 0;
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/
r200_sanity.c 616 static int total, total_changed, bufs; variable
1397 bufs++;
1437 fprintf(stderr, "Bufs %d Total emitted %d real changes %d (%.2f%%)\n",
1438 bufs,
1442 (float)total/(float)bufs);
1444 (float)total_changed/(float)bufs);
1446 bufs = n = total = total_changed = 0;
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/
radeon_sanity.c 338 static int total, total_changed, bufs; variable
1030 bufs++;
1063 fprintf(stderr, "Bufs %d Total emitted %d real changes %d (%.2f%%)\n",
1064 bufs,
1068 (float)total/(float)bufs);
1070 (float)total_changed/(float)bufs);
1072 bufs = n = total = total_changed = 0;
  /xsrc/external/mit/xf86-video-intel/dist/src/legacy/i810/
i810_dri.c 169 int bufs; local
833 if ((bufs = drmAddBufs(pI810->drmSubFD,
845 "[drm] added %d %d byte DMA buffers\n", bufs, I810_DMA_BUF_SZ);
  /xsrc/external/mit/xf86-video-intel-2014/dist/src/legacy/i810/
i810_dri.c 169 int bufs; local
833 if ((bufs = drmAddBufs(pI810->drmSubFD,
845 "[drm] added %d %d byte DMA buffers\n", bufs, I810_DMA_BUF_SZ);
  /xsrc/external/mit/xf86-video-vmware/dist/vmwgfx/
vmwgfx_overlay.c 182 struct vmw_video_buffer bufs[VMWARE_VID_NUM_BUFFERS]; member in struct:vmwgfx_overlay_port
413 ret = vmw_video_buffer_alloc(port->drm_fd, port->size, &port->bufs[i]);
426 vmw_video_buffer_free(&port->bufs[i]);
481 memcpy(port->bufs[port->currBuf].data, buf, port->size);
489 arg.handle = port->bufs[port->currBuf].buf->handle;
566 vmw_video_buffer_free(&port->bufs[i]);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
svga_cmd_vgpu10.c 1172 SVGA3dVertexBuffer *bufs; local
1186 bufs = (SVGA3dVertexBuffer *) &cmd[1];
1188 bufs[i].stride = bufferInfo[i].stride;
1189 bufs[i].offset = bufferInfo[i].offset;
1190 assert(bufs[i].stride % 4 == 0);
1191 assert(bufs[i].offset % 4 == 0);
1192 swc->surface_relocation(swc, &bufs[i].sid, NULL, surfaces[i],
  /xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
panvk_vX_cmd_buffer.c 559 struct panfrost_ptr bufs = local
563 panvk_per_arch(emit_varying_bufs)(varyings, bufs.cpu);
580 draw->varying_bufs = bufs.gpu;
613 struct panfrost_ptr bufs = local
618 cmdbuf->state.vb.bufs,
620 draw, bufs.cpu);
621 cmdbuf->state.vb.attrib_bufs = bufs.gpu;
629 cmdbuf->state.vb.bufs, cmdbuf->state.vb.count,
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
svga_cmd_vgpu10.c 1172 SVGA3dVertexBuffer *bufs; local
1186 bufs = (SVGA3dVertexBuffer *) &cmd[1];
1188 bufs[i].stride = bufferInfo[i].stride;
1189 bufs[i].offset = bufferInfo[i].offset;
1190 assert(bufs[i].stride % 4 == 0);
1191 assert(bufs[i].offset % 4 == 0);
1192 swc->surface_relocation(swc, &bufs[i].sid, NULL, surfaces[i],
  /xsrc/external/mit/xf86-video-intel-old/dist/src/
i810_dri.c 287 int bufs; local
941 if ((bufs = drmAddBufs(pI810->drmSubFD,
953 "[drm] added %d %d byte DMA buffers\n", bufs, I810_DMA_BUF_SZ);
  /xsrc/external/mit/xf86-video-vmware/dist/src/
vmwarevideo.c 185 VMWAREVideoBuffer bufs[VMWARE_VID_NUM_BUFFERS]; member in struct:VMWAREVideoRec
685 pVid->bufs[0].dataOffset = pVid->fbarea->offset;
686 pVid->bufs[0].data = pVMWARE->FbBase + pVid->bufs[0].dataOffset;
689 pVid->bufs[i].dataOffset = pVid->bufs[i-1].dataOffset + pVid->size;
690 pVid->bufs[i].data = pVMWARE->FbBase + pVid->bufs[i].dataOffset;
842 memcpy(pVid->bufs[pVid->currBuf].data, buf, pVid->size);
857 pVid->bufs[pVid->currBuf].dataOffset
    [all...]
  /xsrc/external/mit/ico/dist/
ico.c 139 DBufInfo bufs[2]; member in struct:closure
503 closure->drawbuf = closure->bufs+n;
529 closure->dpybuf = closure->bufs+n;
542 b = closure->bufs+i;
744 b = closure->bufs+i;
773 b = closure->bufs+i;
803 XSetBackground(dpy, closure->gcontext, closure->bufs[0].pixels[0]);
804 XSetWindowBackground(dpy, closure->draw_window, closure->bufs[0].pixels[0]);
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
nine_state.c 2228 unsigned bufs = 0; local
2236 if (Flags & D3DCLEAR_TARGET) bufs |= PIPE_CLEAR_COLOR;
2239 if (Flags & D3DCLEAR_ZBUFFER) bufs |= PIPE_CLEAR_DEPTH;
2240 if (Flags & D3DCLEAR_STENCIL) bufs |= PIPE_CLEAR_STENCIL;
2242 if (!bufs)
2279 (!(bufs & PIPE_CLEAR_COLOR) || (rt_mask == context->rt_mask)) &&
2282 ((!(bufs & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) &&
2287 ((bufs & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) &&
2291 pipe->clear(pipe, bufs, NULL, &rgba, Z, Stencil);
2303 !(bufs & PIPE_CLEAR_COLOR)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
nine_state.c 2177 unsigned bufs = 0; local
2185 if (Flags & D3DCLEAR_TARGET) bufs |= PIPE_CLEAR_COLOR;
2188 if (Flags & D3DCLEAR_ZBUFFER) bufs |= PIPE_CLEAR_DEPTH;
2189 if (Flags & D3DCLEAR_STENCIL) bufs |= PIPE_CLEAR_STENCIL;
2191 if (!bufs)
2228 (!(bufs & PIPE_CLEAR_COLOR) || (rt_mask == context->rt_mask)) &&
2231 ((!(bufs & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) &&
2236 ((bufs & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) &&
2240 pipe->clear(pipe, bufs, &rgba, Z, Stencil);
2252 !(bufs & PIPE_CLEAR_COLOR)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/
pan_cmdstream.c 1457 struct mali_attribute_buffer_packed *bufs,
1469 pan_pack(bufs + (i * 2), ATTRIBUTE_BUFFER, cfg);
1470 pan_pack(bufs + (i * 2) + 1, ATTRIBUTE_BUFFER, cfg);
1502 pan_pack(bufs + (i * 2), ATTRIBUTE_BUFFER, cfg) {
1510 pan_pack(bufs + (i * 2) + 1, ATTRIBUTE_BUFFER_CONTINUATION_3D, cfg) {
1519 pan_pack(bufs + (i * 2) + 1, ATTRIBUTE_BUFFER_CONTINUATION_3D, cfg) {
1557 struct panfrost_ptr bufs = local
1564 emit_image_bufs(batch, type, bufs.cpu, 0);
1568 pan_pack(bufs.cpu + ((buf_count - 1) * pan_size(ATTRIBUTE_BUFFER)),
1572 *buffers = bufs.gpu
1616 struct mali_attribute_buffer_packed *bufs = local
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
xf86str.h 413 confDRIBufferRec *bufs; member in struct:_confdrirec
  /xsrc/external/mit/libdrm/dist/
xf86drm.c 1880 drm_buf_map_t bufs; local
1884 memclear(bufs);
1885 if (drmIoctl(fd, DRM_IOCTL_MAP_BUFS, &bufs))
1888 if (!bufs.count)
1891 if (!(bufs.list = drmMalloc(bufs.count * sizeof(*bufs.list))))
1894 if (drmIoctl(fd, DRM_IOCTL_MAP_BUFS, &bufs)) {
1895 drmFree(bufs.list);
1900 retval->count = bufs.count
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/
xf86str.h 496 confDRIBufferRec *bufs; member in struct:_confdrirec

Completed in 40 milliseconds

1 2