Searched refs:clip (Results 1 - 25 of 374) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_clip.c42 /* Second state atom for user clip planes:
46 struct pipe_clip_state clip; local in function:st_update_clip
50 STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane));
52 /* if we have a vertex shader that writes clip vertex we need to pass
60 memcpy(clip.ucp,
62 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp));
64 if (memcmp(&st->state.clip, &clip, sizeof(clip)) != 0) {
65 st->state.clip
[all...]
H A Dst_cb_blit.c65 } clip; local in function:st_BlitFramebuffer
74 clip.srcX0 = srcX0;
75 clip.srcY0 = srcY0;
76 clip.srcX1 = srcX1;
77 clip.srcY1 = srcY1;
78 clip.dstX0 = dstX0;
79 clip.dstY0 = dstY0;
80 clip.dstX1 = dstX1;
81 clip.dstY1 = dstY1;
90 &clip
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_atom_clip.c42 /* Second state atom for user clip planes:
46 struct pipe_clip_state clip; local in function:st_update_clip
50 STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane));
52 /* if we have a vertex shader that writes clip vertex we need to pass
60 memcpy(clip.ucp,
62 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp));
64 if (memcmp(&st->state.clip, &clip, sizeof(clip)) != 0) {
65 st->state.clip
[all...]
H A Dst_cb_blit.c66 } clip; local in function:st_BlitFramebuffer
75 clip.srcX0 = srcX0;
76 clip.srcY0 = srcY0;
77 clip.srcX1 = srcX1;
78 clip.srcY1 = srcY1;
79 clip.dstX0 = dstX0;
80 clip.dstY0 = dstY0;
81 clip.dstX1 = dstX1;
82 clip.dstY1 = dstY1;
91 &clip
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_clip_cull_distance_arrays.c30 * This pass combines clip and cull distance arrays in separate locations and
37 * Get the length of the clip/cull distance array, looking past
47 * underlying clip/cull distance array length, not the per-vertex
65 nir_variable *clip = NULL; local in function:combine_clip_cull
69 clip = var;
75 if (!cull && !clip) {
87 if (!cull && clip) {
89 if (!clip->data.compact)
93 * the combined clip/cull distance array was clip
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_clip_cull_distance_arrays.c30 * This pass combines clip and cull distance arrays in separate locations and
37 * Get the length of the clip/cull distance array, looking past
47 * underlying clip/cull distance array length, not the per-vertex
65 nir_variable *clip = NULL; local in function:combine_clip_cull
69 clip = var;
75 if (!cull && !clip)
78 if (!cull && clip) {
80 if (!clip->data.compact)
84 * the combined clip/cull distance array was clip
[all...]
/xsrc/external/mit/mesa-demos/dist/src/trivial/
H A DMakefile.am59 flat-clip \
62 line-clip \
66 lineloop-clip \
71 linestrip-clip \
76 line-userclip-clip \
78 line-userclip-nop-clip \
84 point-clip \
91 poly-flat-clip \
92 poly-flat-unfilled-clip \
95 quad-clip
[all...]
/xsrc/external/mit/xf86-video-intel/dist/src/sna/fb/
H A Dfblinebits.h33 const BoxRec *clip = region_rects(gc->pCompositeClip); local in function:POLYLINE
34 const BoxRec *const last_clip = clip + region_num_rects(gc->pCompositeClip);
58 DBG(("%s: processing %ld clip boxes\n", __FUNCTION__, (long)(last_clip - clip)));
64 INT32 ul = coordToInt(clip->x1 - xoff, clip->y1 - yoff);
65 INT32 lr = coordToInt(clip->x2 - xoff - 1, clip->y2 - yoff - 1);
67 DBG(("%s: clip box=(%d, %d), (%d, %d)\n", __FUNCTION__, clip
151 const BoxRec *clip = region_rects(gc->pCompositeClip); local in function:POLYSEGMENT
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/fb/
H A Dfblinebits.h33 const BoxRec *clip = region_rects(gc->pCompositeClip); local in function:POLYLINE
34 const BoxRec *const last_clip = clip + region_num_rects(gc->pCompositeClip);
58 DBG(("%s: processing %ld clip boxes\n", __FUNCTION__, (long)(last_clip - clip)));
64 INT32 ul = coordToInt(clip->x1 - xoff, clip->y1 - yoff);
65 INT32 lr = coordToInt(clip->x2 - xoff - 1, clip->y2 - yoff - 1);
67 DBG(("%s: clip box=(%d, %d), (%d, %d)\n", __FUNCTION__, clip
151 const BoxRec *clip = region_rects(gc->pCompositeClip); local in function:POLYSEGMENT
[all...]
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dsna_trapezoids_boxes.c122 pixman_region16_t region, clip; local in function:composite_aligned_boxes
185 if (!sna_compute_composite_region(&clip,
203 clip.extents.x1, clip.extents.y1,
204 clip.extents.x2, clip.extents.y2,
205 clip.extents.x1 - boxes[0].x1,
206 clip.extents.y1 - boxes[0].y1,
211 src_x + clip.extents.x1 - dst_x,
212 src_y + clip
337 composite_unaligned_box(struct sna * sna,struct sna_composite_spans_op * tmp,const BoxRec * box,float opacity,pixman_region16_t * clip) argument
361 composite_unaligned_trap_row(struct sna * sna,struct sna_composite_spans_op * tmp,const xTrapezoid * trap,int dx,int y1,int y2,int covered,pixman_region16_t * clip) argument
439 composite_unaligned_trap(struct sna * sna,struct sna_composite_spans_op * tmp,const xTrapezoid * trap,int dx,int dy,pixman_region16_t * clip) argument
792 RegionRec clip; local in function:composite_unaligned_boxes_inplace__solid
876 RegionRec clip; local in function:composite_unaligned_boxes_inplace__solid
1009 const RegionRec *clip; member in struct:rectilinear_inplace_thread
1092 RegionRec clip; local in function:composite_unaligned_boxes_inplace
1360 pixman_region16_t clip, *c; local in function:composite_unaligned_boxes
[all...]
H A Dsna_trapezoids_mono.c74 pixman_region16_t clip; member in struct:mono
221 ytop = MAX(y, mono->clip.extents.y1);
224 ybot = MIN(y, mono->clip.extents.y2);
267 struct mono_edge **ptail = &polygon->y_buckets[ytop - mono->clip.extents.y1];
268 assert(ytop - mono->clip.extents.y1 < mono->clip.extents.y2 - mono->clip.extents.y1);
456 if (c->clip.data) {
460 RegionIntersect(&region, &region, &c->clip);
586 box.y1 = c->clip
754 RegionPtr clip; member in struct:mono_span_thread
[all...]
H A Dsna_video_textured.c90 RegionUninit(&video->clip);
168 * clip is the clipping region in screen space.
182 RegionRec clip; local in function:sna_video_textured_put_image
191 init_video_region(&clip, draw, drw_x, drw_y, drw_w, drw_h);
194 RegionIntersect(&clip, &clip, gc->pCompositeClip);
195 if (!RegionNotEmpty(&clip))
205 region_num_rects(&clip),
206 clip.extents.x1, clip
[all...]
H A Dsna_trapezoids_precise.c78 pixman_region16_t *clip,
176 /* The vertical clip extents. */
1059 pixman_region16_t *clip,
1072 pixman_region16_t *clip,
1084 pixman_region16_t *clip,
1095 RegionIntersect(&region, &region, clip);
1110 pixman_region16_t *clip,
1113 pixman_region16_t *clip,
1149 span(sna, op, clip, &box, cover);
1164 span(sna, op, clip,
1057 tor_blt_span(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
1070 tor_blt_span__no_damage(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
1082 tor_blt_span_clipped(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
1107 tor_blt(struct sna * sna,struct tor * converter,struct sna_composite_spans_op * op,pixman_region16_t * clip,void (* span)(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage),int y,int height,int unbounded) argument
1182 tor_render(struct sna * sna,struct tor * converter,struct sna_composite_spans_op * op,pixman_region16_t * clip,void (* span)(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage),int unbounded) argument
1615 choose_span(struct sna_composite_spans_op * tmp,PicturePtr dst,PictFormatPtr maskFormat,RegionPtr clip) argument
1637 RegionPtr clip; member in struct:span_thread
1673 span_thread_box(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
1698 span_thread_clipped_box(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
1729 thread_choose_span(struct sna_composite_spans_op * tmp,PicturePtr dst,PictFormatPtr maskFormat,RegionPtr clip) argument
1753 span_thread_boxes_init(struct span_thread_boxes * boxes,const struct sna_composite_spans_op * op,const RegionRec * clip) argument
1809 pixman_region16_t clip; local in function:precise_trapezoid_span_converter
1980 tor_blt_mask(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2230 tor_blt_clipped(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2258 clipped_span(struct clipped_span * cs,span_func_t span,const RegionRec * clip) argument
2293 tor_blt_src(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2305 tor_blt_in(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2336 tor_blt_add(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2374 tor_blt_lerp32(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2437 pixmask_span_solid(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2456 pixmask_span(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2493 RegionPtr clip; local in function:inplace_x8r8g8b8_thread
3255 RegionPtr clip; member in struct:tristrip_thread
3323 pixman_region16_t clip; local in function:precise_tristrip_span_converter
3505 pixman_region16_t *clip; local in function:precise_trap_span_converter
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dsna_trapezoids_boxes.c122 pixman_region16_t region, clip; local in function:composite_aligned_boxes
185 if (!sna_compute_composite_region(&clip,
203 clip.extents.x1, clip.extents.y1,
204 clip.extents.x2, clip.extents.y2,
205 clip.extents.x1 - boxes[0].x1,
206 clip.extents.y1 - boxes[0].y1,
211 src_x + clip.extents.x1 - dst_x,
212 src_y + clip
337 composite_unaligned_box(struct sna * sna,struct sna_composite_spans_op * tmp,const BoxRec * box,float opacity,pixman_region16_t * clip) argument
361 composite_unaligned_trap_row(struct sna * sna,struct sna_composite_spans_op * tmp,const xTrapezoid * trap,int dx,int y1,int y2,int covered,pixman_region16_t * clip) argument
439 composite_unaligned_trap(struct sna * sna,struct sna_composite_spans_op * tmp,const xTrapezoid * trap,int dx,int dy,pixman_region16_t * clip) argument
790 RegionRec clip; local in function:composite_unaligned_boxes_inplace__solid
874 RegionRec clip; local in function:composite_unaligned_boxes_inplace__solid
1007 const RegionRec *clip; member in struct:rectilinear_inplace_thread
1090 RegionRec clip; local in function:composite_unaligned_boxes_inplace
1358 pixman_region16_t clip, *c; local in function:composite_unaligned_boxes
[all...]
H A Dsna_trapezoids_mono.c74 pixman_region16_t clip; member in struct:mono
220 ytop = MAX(y, mono->clip.extents.y1);
223 ybot = MIN(y, mono->clip.extents.y2);
267 struct mono_edge **ptail = &polygon->y_buckets[ytop - mono->clip.extents.y1];
448 if (c->clip.data) {
452 RegionIntersect(&region, &region, &c->clip);
510 assert(c->clip.data);
513 RegionIntersect(&region, &region, &c->clip);
543 box.y1 = c->clip.extents.y1 + y;
582 if (xstart < c->clip
696 RegionPtr clip; member in struct:mono_span_thread
[all...]
H A Dsna_video_textured.c65 RegionUninit(&video->clip);
136 * clip is the clipping region in screen space.
150 RegionRec clip; local in function:sna_video_textured_put_image
155 clip.extents.x1 = draw->x + drw_x;
156 clip.extents.y1 = draw->y + drw_y;
157 clip.extents.x2 = clip.extents.x1 + drw_w;
158 clip.extents.y2 = clip.extents.y1 + drw_h;
159 clip
[all...]
H A Dsna_trapezoids_precise.c78 pixman_region16_t *clip,
176 /* The vertical clip extents. */
1049 pixman_region16_t *clip,
1062 pixman_region16_t *clip,
1074 pixman_region16_t *clip,
1085 RegionIntersect(&region, &region, clip);
1100 pixman_region16_t *clip,
1103 pixman_region16_t *clip,
1139 span(sna, op, clip, &box, cover);
1154 span(sna, op, clip,
1047 tor_blt_span(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
1060 tor_blt_span__no_damage(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
1072 tor_blt_span_clipped(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
1097 tor_blt(struct sna * sna,struct tor * converter,struct sna_composite_spans_op * op,pixman_region16_t * clip,void (* span)(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage),int y,int height,int unbounded) argument
1172 tor_render(struct sna * sna,struct tor * converter,struct sna_composite_spans_op * op,pixman_region16_t * clip,void (* span)(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage),int unbounded) argument
1605 choose_span(struct sna_composite_spans_op * tmp,PicturePtr dst,PictFormatPtr maskFormat,RegionPtr clip) argument
1627 RegionPtr clip; member in struct:span_thread
1667 span_thread_box(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
1678 span_thread_clipped_box(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
1701 thread_choose_span(struct sna_composite_spans_op * tmp,PicturePtr dst,PictFormatPtr maskFormat,RegionPtr clip) argument
1771 pixman_region16_t clip; local in function:precise_trapezoid_span_converter
1942 tor_blt_mask(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2209 tor_blt_src(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2221 tor_blt_src_clipped(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2240 tor_blt_in(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2271 tor_blt_in_clipped(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2290 tor_blt_add(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2328 tor_blt_add_clipped(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2347 tor_blt_lerp32(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2400 tor_blt_lerp32_clipped(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2428 pixmask_span_solid(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2446 pixmask_span_solid__clipped(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2465 pixmask_span(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2484 pixmask_span__clipped(struct sna * sna,struct sna_composite_spans_op * op,pixman_region16_t * clip,const BoxRec * box,int coverage) argument
2519 RegionPtr clip; local in function:inplace_x8r8g8b8_thread
2864 RegionPtr clip; member in struct:inplace_thread
3300 RegionPtr clip; member in struct:tristrip_thread
3369 pixman_region16_t clip; local in function:precise_tristrip_span_converter
3551 pixman_region16_t *clip; local in function:precise_trap_span_converter
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_emit.c41 /* Clip to the scissor if it's enabled, but still clip to the
45 * Additionally, always clip the rendering to the viewport,
62 cl_emit(&job->bcl, CLIP_WINDOW, clip) {
63 clip.clip_window_left_pixel_coordinate = minx;
64 clip.clip_window_bottom_pixel_coordinate = miny;
65 clip.clip_window_height_in_pixels = maxy - miny;
66 clip.clip_window_width_in_pixels = maxx - minx;
122 cl_emit(&job->bcl, CLIPPER_XY_SCALING, clip) {
123 clip.viewport_half_width_in_1_16th_of_pixel =
125 clip
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_emit.c41 /* Clip to the scissor if it's enabled, but still clip to the
45 * Additionally, always clip the rendering to the viewport,
62 cl_emit(&job->bcl, CLIP_WINDOW, clip) {
63 clip.clip_window_left_pixel_coordinate = minx;
64 clip.clip_window_bottom_pixel_coordinate = miny;
65 clip.clip_window_height_in_pixels = maxy - miny;
66 clip.clip_window_width_in_pixels = maxx - minx;
122 cl_emit(&job->bcl, CLIPPER_XY_SCALING, clip) {
123 clip.viewport_half_width_in_1_16th_of_pixel =
125 clip
[all...]
/xsrc/external/mit/xf86-video-intel/dist/test/
H A Dbasic-stippledrect.c18 XRectangle *clip, int nclip,
42 XSetClipRectangles(dpy, gc, 0, 0, clip, nclip, Unsorted);
160 XRectangle *clip; local in function:complex_clip_tests
174 clip = malloc(sizeof(XRectangle)*nclip);
176 clip[r].x = rand() % out.width;
177 clip[r].y = rand() % out.height;
178 clip[r].width = rand() % (out.width - clip[r].x);
179 clip[r].height = rand() % (out.height - clip[
17 fill_rect(struct test_target * t,uint8_t alu,XRectangle * clip,int nclip,uint8_t stipple,uint8_t opaque,int tx,int ty,int x,int y,int w,int h,uint32_t fg,uint32_t bg) argument
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/test/
H A Dbasic-stippledrect.c18 XRectangle *clip, int nclip,
42 XSetClipRectangles(dpy, gc, 0, 0, clip, nclip, Unsorted);
160 XRectangle *clip; local in function:complex_clip_tests
174 clip = malloc(sizeof(XRectangle)*nclip);
176 clip[r].x = rand() % out.width;
177 clip[r].y = rand() % out.height;
178 clip[r].width = rand() % (out.width - clip[r].x);
179 clip[r].height = rand() % (out.height - clip[
17 fill_rect(struct test_target * t,uint8_t alu,XRectangle * clip,int nclip,uint8_t stipple,uint8_t opaque,int tx,int ty,int x,int y,int w,int h,uint32_t fg,uint32_t bg) argument
[all...]
/xsrc/external/mit/xclipboard/dist/
H A Dxclipboard.c68 char *clip; member in struct:_Clip
93 SaveClip(Widget w, ClipPtr clip) argument
104 if (len >= clip->avail)
106 if (clip->clip)
107 free (clip->clip);
108 clip->clip = malloc (len + 1);
109 if (!clip
121 RestoreClip(Widget w,ClipPtr clip) argument
153 DeleteClip(Widget w,ClipPtr clip) argument
174 ClipPtr clip; local in function:IndexCurrentClip
[all...]
/xsrc/external/mit/xf86-video-openchrome/dist/src/
H A Dvia_xvpriv.h57 RegionRec clip; member in struct:__anonb88ce9f00308
/xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/
H A Dt_vb_vertex.c45 GLvector4f clip; member in struct:vertex_stage_data
57 /* This function implements cliptesting for user-defined clip planes.
63 GLvector4f *clip, \
76 GLfloat *coord = (GLfloat *)clip->data; \
77 GLuint stride = clip->stride; \
78 GLuint count = clip->count; \
161 VB->ClipPtr = TransformRaw( &store->clip,
247 _mesa_vector4f_alloc( &store->clip, 0, size, 32 );
254 !store->clip.data ||
267 _mesa_vector4f_free( &store->clip );
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
H A Dt_vb_vertex.c45 GLvector4f clip; member in struct:vertex_stage_data
57 /* This function implements cliptesting for user-defined clip planes.
63 GLvector4f *clip, \
76 GLfloat *coord = (GLfloat *)clip->data; \
77 GLuint stride = clip->stride; \
78 GLuint count = clip->count; \
164 VB->ClipPtr = TransformRaw( &store->clip,
250 _mesa_vector4f_alloc( &store->clip, 0, size, 32 );
257 !store->clip.data ||
270 _mesa_vector4f_free( &store->clip );
[all...]

Completed in 20 milliseconds

1234567891011>>