Home
last modified time | relevance | path

Searched refs:nbox (Results 1 – 25 of 86) sorted by relevance

1234

/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_copy.c166 int nbox, in glamor_copy_bail() argument
177 fbCopyNto1(src, dst, gc, box, nbox, dx, dy, in glamor_copy_bail()
180 fbCopy1toN(src, dst, gc, box, nbox, dx, dy, in glamor_copy_bail()
183 fbCopyNtoN(src, dst, gc, box, nbox, dx, dy, in glamor_copy_bail()
204 int nbox, in glamor_copy_cpu_fbo() argument
252 fbCopyNto1(src, &tmp_pix->drawable, gc, box, nbox, dx, dy, in glamor_copy_cpu_fbo()
255 fbCopy1toN(src, &tmp_pix->drawable, gc, box, nbox, dx, dy, in glamor_copy_cpu_fbo()
258 glamor_upload_boxes(dst_pixmap, box, nbox, tmp_xoff, tmp_yoff, in glamor_copy_cpu_fbo()
269 glamor_upload_boxes(dst_pixmap, box, nbox, src_xoff + dx, src_yoff + dy, in glamor_copy_cpu_fbo()
290 int nbox, in glamor_copy_fbo_cpu() argument
[all …]
H A Dglamor_utils.c27 BoxPtr box, int nbox, unsigned long fg_pixel) in glamor_solid_boxes() argument
34 rect = xallocarray(nbox, sizeof(xRectangle)); in glamor_solid_boxes()
37 for (n = 0; n < nbox; n++) { in glamor_solid_boxes()
51 gc->ops->PolyFillRect(drawable, gc, nbox, rect); in glamor_solid_boxes()
H A Dglamor_transfer.c53 int nbox = in_nbox; in glamor_upload_boxes() local
57 while (nbox--) { in glamor_upload_boxes()
152 int nbox = in_nbox; in glamor_download_boxes() local
158 while (nbox--) { in glamor_download_boxes()
H A Dglamor_render.c1420 int nbox; in glamor_composite_clipped_region() local
1425 nbox = RegionNumRects(region); in glamor_composite_clipped_region()
1464 box, nbox, x_source - x_dest, in glamor_composite_clipped_region()
1552 if (nbox > ARRAY_SIZE(rect)) { in glamor_composite_clipped_region()
1553 prect = calloc(nbox, sizeof(*prect)); in glamor_composite_clipped_region()
1555 prect_size = nbox; in glamor_composite_clipped_region()
1561 while (nbox) { in glamor_composite_clipped_region()
1564 box_cnt = nbox > prect_size ? prect_size : nbox; in glamor_composite_clipped_region()
1583 nbox -= box_cnt; in glamor_composite_clipped_region()
1615 int nbox, ok = FALSE; in glamor_composite() local
[all …]
H A Dglamor_points.c91 int nbox = RegionNumRects(gc->pCompositeClip); in glamor_poly_point_gl() local
98 while (nbox--) { in glamor_poly_point_gl()
/OK3568_Linux_fs/external/xserver/mi/
H A Dmicopy.c45 int nbox; in miCopyRegion() local
49 nbox = RegionNumRects(pDstRegion); in miCopyRegion()
63 if (nbox > 1) { in miCopyRegion()
65 pboxNew1 = xallocarray(nbox, sizeof(BoxRec)); in miCopyRegion()
68 pboxBase = pboxNext = pbox + nbox - 1; in miCopyRegion()
78 pboxNew1 -= nbox; in miCopyRegion()
94 if (nbox > 1) { in miCopyRegion()
96 pboxNew2 = xallocarray(nbox, sizeof(BoxRec)); in miCopyRegion()
102 while (pboxBase < pbox + nbox) { in miCopyRegion()
103 while ((pboxNext < pbox + nbox) && in miCopyRegion()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/mga/
H A Dmga_state.c423 if (sarea_priv->nbox > MGA_NR_SAREA_CLIPRECTS) in mga_verify_state()
424 sarea_priv->nbox = MGA_NR_SAREA_CLIPRECTS; in mga_verify_state()
486 int nbox = sarea_priv->nbox; in mga_dma_dispatch_clear() local
499 for (i = 0; i < nbox; i++) { in mga_dma_dispatch_clear()
574 int nbox = sarea_priv->nbox; in mga_dma_dispatch_swap() local
582 BEGIN_DMA(4 + nbox); in mga_dma_dispatch_swap()
597 for (i = 0; i < nbox; i++) { in mga_dma_dispatch_swap()
639 if (i < sarea_priv->nbox) { in mga_dma_dispatch_vertex()
654 } while (++i < sarea_priv->nbox); in mga_dma_dispatch_vertex()
686 if (i < sarea_priv->nbox) { in mga_dma_dispatch_indices()
[all …]
/OK3568_Linux_fs/external/xserver/exa/
H A Dexa_accel.c50 int nbox; in exaFillSpans() local
106 nbox = RegionNumRects(pClip); in exaFillSpans()
107 if (nbox == 1) { in exaFillSpans()
114 while (nbox--) { in exaFillSpans()
147 int nbox; in exaDoPutImage() local
191 for (nbox = RegionNumRects(pClip), in exaDoPutImage()
192 pbox = RegionRects(pClip); nbox--; pbox++) { in exaDoPutImage()
241 GCPtr pGC, BoxPtr pbox, int nbox, int dx, int dy) in exaCopyNtoNTwoDir() argument
259 for (; nbox; pbox++, nbox--) { in exaCopyNtoNTwoDir()
368 int nbox, int dx, int dy, Bool reverse, Bool upsidedown) in exaHWCopyNtoN() argument
[all …]
H A Dexa_migration_classic.c121 int nbox; in exaCopyDirty() local
204 nbox = RegionNumRects(&CopyReg); in exaCopyDirty()
211 while (nbox--) { in exaCopyDirty()
540 int dst_pitch, src_pitch, cpp, y, nbox, save_pitch; in exaAssertNotDirty() local
549 nbox = RegionNumRects(&ValidReg); in exaAssertNotDirty()
551 if (!nbox) in exaAssertNotDirty()
568 while (nbox--) { in exaAssertNotDirty()
H A Dexa_render.c258 int nbox; in exaTryDriverSolidFill() local
326 nbox = RegionNumRects(&region); in exaTryDriverSolidFill()
329 while (nbox--) { in exaTryDriverSolidFill()
446 int nbox; in exaTryDriverCompositeRects() local
465 nbox = RegionNumRects(&region); in exaTryDriverCompositeRects()
473 while (nbox--) { in exaTryDriverCompositeRects()
641 int nbox; in exaTryDriverComposite() local
754 nbox = RegionNumRects(&region); in exaTryDriverComposite()
763 while (nbox--) { in exaTryDriverComposite()
/OK3568_Linux_fs/external/xserver/fb/
H A Dfbfillsp.c35 int nbox; in fbFillSpans() local
64 nbox = RegionNumRects(pClip); in fbFillSpans()
65 if (nbox == 1) { in fbFillSpans()
70 while (nbox--) { in fbFillSpans()
H A Dfbimage.c89 int nbox; in fbPutZImage() local
95 for (nbox = RegionNumRects(pClip), in fbPutZImage()
96 pbox = RegionRects(pClip); nbox--; pbox++) { in fbPutZImage()
139 int nbox; in fbPutXYImage() local
165 for (nbox = RegionNumRects(pClip), in fbPutXYImage()
166 pbox = RegionRects(pClip); nbox--; pbox++) { in fbPutXYImage()
H A Dfbcopy.c36 int nbox, in fbCopyNtoN() argument
54 while (nbox--) { in fbCopyNtoN()
91 int nbox, in fbCopy1toN() argument
108 while (nbox--) { in fbCopy1toN()
146 int nbox, in fbCopyNto1() argument
152 while (nbox--) { in fbCopyNto1()
H A Dfbpush.c147 int nbox; in fbPushImage() local
151 for (nbox = RegionNumRects(pClip), in fbPushImage()
152 pbox = RegionRects(pClip); nbox--; pbox++) { in fbPushImage()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/savage/
H A Dsavage_state.c805 unsigned int nbox, in savage_dispatch_clear() argument
813 if (nbox == 0) in savage_dispatch_clear()
832 for (i = 0; i < nbox; ++i) { in savage_dispatch_clear()
875 unsigned int nbox, const struct drm_clip_rect *boxes) in savage_dispatch_swap() argument
881 if (nbox == 0) in savage_dispatch_swap()
888 for (i = 0; i < nbox; ++i) { in savage_dispatch_swap()
909 unsigned int nbox, in savage_dispatch_draw() argument
915 for (i = 0; i < nbox; ++i) { in savage_dispatch_draw()
1023 if (cmdbuf->nbox) { in savage_bci_cmdbuf()
1024 kbox_addr = kmalloc_array(cmdbuf->nbox, sizeof(struct drm_clip_rect), in savage_bci_cmdbuf()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/r128/
H A Dr128_state.c363 int nbox = sarea_priv->nbox; in r128_cce_dispatch_clear() local
380 for (i = 0; i < nbox; i++) { in r128_cce_dispatch_clear()
468 int nbox = sarea_priv->nbox; in r128_cce_dispatch_swap() local
480 for (i = 0; i < nbox; i++) { in r128_cce_dispatch_swap()
582 DRM_DEBUG("buf=%d nbox=%d\n", buf->idx, sarea_priv->nbox); in r128_cce_dispatch_vertex()
595 if (i < sarea_priv->nbox) { in r128_cce_dispatch_vertex()
598 sarea_priv->nbox - i); in r128_cce_dispatch_vertex()
614 } while (i < sarea_priv->nbox); in r128_cce_dispatch_vertex()
637 sarea_priv->nbox = 0; in r128_cce_dispatch_vertex()
744 if (i < sarea_priv->nbox) { in r128_cce_dispatch_indices()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i810/
H A Di810_dma.c598 int nbox = sarea_priv->nbox; in i810_dma_dispatch_clear() local
617 if (nbox > I810_NR_SAREA_CLIPRECTS) in i810_dma_dispatch_clear()
618 nbox = I810_NR_SAREA_CLIPRECTS; in i810_dma_dispatch_clear()
620 for (i = 0; i < nbox; i++, pbox++) { in i810_dma_dispatch_clear()
671 int nbox = sarea_priv->nbox; in i810_dma_dispatch_swap() local
682 if (nbox > I810_NR_SAREA_CLIPRECTS) in i810_dma_dispatch_swap()
683 nbox = I810_NR_SAREA_CLIPRECTS; in i810_dma_dispatch_swap()
685 for (i = 0; i < nbox; i++, pbox++) { in i810_dma_dispatch_swap()
720 int nbox = sarea_priv->nbox; in i810_dma_dispatch_vertex() local
728 if (nbox > I810_NR_SAREA_CLIPRECTS) in i810_dma_dispatch_vertex()
[all …]
/OK3568_Linux_fs/external/xserver/miext/shadow/
H A Dshpacked.c48 int nbox = RegionNumRects(damage); in shadowUpdatePacked() local
62 while (nbox--) { in shadowUpdatePacked()
H A Dshiplan2p8.c84 int nbox = RegionNumRects(damage); in shadowUpdateIplan2p8() local
104 while (nbox--) { in shadowUpdateIplan2p8()
H A Dshiplan2p4.c83 int nbox = RegionNumRects(damage); in shadowUpdateIplan2p4() local
103 while (nbox--) { in shadowUpdateIplan2p4()
H A Dshafb4.c85 int nbox = RegionNumRects(damage); in shadowUpdateAfb4() local
106 while (nbox--) { in shadowUpdateAfb4()
H A Dshafb8.c89 int nbox = RegionNumRects(damage); in shadowUpdateAfb8() local
110 while (nbox--) { in shadowUpdateAfb8()
H A Dshplanar.c94 int nbox = RegionNumRects(damage); in shadowUpdatePlanar4() local
111 while (nbox--) { in shadowUpdatePlanar4()
H A Dsh3224.c105 int nbox = RegionNumRects(damage); in shadowUpdate32to24() local
122 while (nbox--) { in shadowUpdate32to24()
H A Dshplanar8.c97 int nbox = RegionNumRects(damage); in shadowUpdatePlanar4x8() local
113 while (nbox--) { in shadowUpdatePlanar4x8()

1234