/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
H A D | t_vb_vertex.c | 44 GLvector4f clip; member in struct:vertex_stage_data 56 /* This function implements cliptesting for user-defined clip planes. 62 GLvector4f *clip, \ 76 GLfloat *coord = (GLfloat *)clip->data; \ 77 GLuint stride = clip->stride; \ 78 GLuint count = clip->count; \ 161 VB->ClipPtr = TransformRaw( &store->clip, 245 _mesa_vector4f_alloc( &store->clip, 0, size, 32 ); 252 !store->clip.data || 265 _mesa_vector4f_free( &store->clip ); [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBlitter.cpp | 120 void SkBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { argument 121 SkASSERT(mask.fBounds.contains(clip)); 124 int cx = clip.fLeft; 125 int cy = clip.fTop; 128 int height = clip.height(); 132 if (cx == maskLeft && clip.fRight == mask.fBounds.fRight) { 141 int rite_edge = clip.fRight - maskLeft; 178 int width = clip.width(); 181 const uint8_t* aa = mask.getAddr8(clip.fLeft, clip 198 blitMaskRegion(const SkMask& mask, const SkRegion& clip) argument 212 blitRectRegion(const SkIRect& rect, const SkRegion& clip) argument 222 blitRegion(const SkRegion& clip) argument 243 blitMask(const SkMask& mask, const SkIRect& clip) argument [all...] |
H A D | SkEdgeBuilder.cpp | 106 SkRect clip; local 107 setShiftedClip(&clip, *iclip, shiftUp); 118 int lineCount = SkLineClipper::ClipLine(pts, clip, lines); 181 SkRect clip; local 182 setShiftedClip(&clip, *iclip, shiftUp); 194 int lineCount = SkLineClipper::ClipLine(pts, clip, lines); 201 if (clipper.clipQuad(pts, clip)) { 218 if (clipper.clipQuad(&storage[i * 2], clip)) { 224 if (clipper.clipCubic(pts, clip)) {
|
H A D | SkScan_AntiPath.cpp | 48 const SkRegion& clip); 79 const SkRegion& clip) { 83 * We use the clip bounds instead of the ir, since we may be asked to 86 const int left = clip.getBounds().fLeft; 87 const int right = clip.getBounds().fRight; 107 const SkRegion& clip); 153 const SkRegion& clip) 154 : BaseSuperBlitter(realBlitter, ir, clip) { 402 const SkRegion& clip); 441 const SkRegion& clip) 78 BaseSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip) argument 152 SuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip) argument [all...] |
H A D | SkScan_Path.cpp | 301 // check our bottom clip 318 void setBlitter(SkBlitter* blitter, const SkIRect& clip, int shift) { argument 320 fFirstX = clip.fLeft << shift; 321 fLastX = clip.fRight << shift; 353 virtual void blitMask(const SkMask&, const SkIRect& clip) { argument 427 // clipRect may be null, even though we always have a clip. This indicates that 428 // the path is contained in the clip, and so we can ignore it during the blit 447 * we need to restrict our drawing to the intersection of the clip 510 void sk_blit_above(SkBlitter* blitter, const SkIRect& ir, const SkRegion& clip) { argument 511 const SkIRect& cr = clip 523 sk_blit_below(SkBlitter* blitter, const SkIRect& ir, const SkRegion& clip) argument 543 SkScanClipper(SkBlitter* blitter, const SkRegion* clip, const SkIRect& ir, bool skipRejectTest) argument 704 FillTriangle(const SkPoint pts[], const SkRasterClip& clip, SkBlitter* blitter) argument [all...] |
H A D | SkBlitter.h | 50 virtual void blitMask(const SkMask&, const SkIRect& clip); 90 void blitMaskRegion(const SkMask& mask, const SkRegion& clip); 91 void blitRectRegion(const SkIRect& rect, const SkRegion& clip); 92 void blitRegion(const SkRegion& clip); 127 virtual void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE; 151 virtual void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE; 186 virtual void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE; 203 to apply a clip. Returns a pointer to a member, so lifetime must 208 SkBlitter* apply(SkBlitter* blitter, const SkRegion* clip,
|
H A D | SkBlitter_A8.cpp | 123 void SkA8_Blitter::blitMask(const SkMask& mask, const SkIRect& clip) { argument 130 SkA8_BlitBW(fDevice, mask, clip); 132 SkA8_BlendBW(fDevice, mask, clip, fSrcA, 138 int x = clip.fLeft; 139 int y = clip.fTop; 140 int width = clip.width(); 141 int height = clip.height(); 322 void SkA8_Shader_Blitter::blitMask(const SkMask& mask, const SkIRect& clip) { argument 324 this->INHERITED::blitMask(mask, clip); 328 int x = clip 412 blitMask(const SkMask& mask, const SkIRect& clip) argument [all...] |
/external/mesa3d/src/mesa/tnl/ |
H A D | t_vb_vertex.c | 44 GLvector4f clip; member in struct:vertex_stage_data 56 /* This function implements cliptesting for user-defined clip planes. 62 GLvector4f *clip, \ 76 GLfloat *coord = (GLfloat *)clip->data; \ 77 GLuint stride = clip->stride; \ 78 GLuint count = clip->count; \ 161 VB->ClipPtr = TransformRaw( &store->clip, 245 _mesa_vector4f_alloc( &store->clip, 0, size, 32 ); 252 !store->clip.data || 265 _mesa_vector4f_free( &store->clip ); [all...] |
/external/skia/src/core/ |
H A D | SkBlitter.cpp | 120 void SkBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { argument 121 SkASSERT(mask.fBounds.contains(clip)); 124 int cx = clip.fLeft; 125 int cy = clip.fTop; 128 int height = clip.height(); 132 if (cx == maskLeft && clip.fRight == mask.fBounds.fRight) { 141 int rite_edge = clip.fRight - maskLeft; 178 int width = clip.width(); 181 const uint8_t* aa = mask.getAddr8(clip.fLeft, clip 198 blitMaskRegion(const SkMask& mask, const SkRegion& clip) argument 212 blitRectRegion(const SkIRect& rect, const SkRegion& clip) argument 222 blitRegion(const SkRegion& clip) argument 243 blitMask(const SkMask& mask, const SkIRect& clip) argument [all...] |
H A D | SkEdgeBuilder.cpp | 106 SkRect clip; local 107 setShiftedClip(&clip, *iclip, shiftUp); 118 int lineCount = SkLineClipper::ClipLine(pts, clip, lines); 181 SkRect clip; local 182 setShiftedClip(&clip, *iclip, shiftUp); 194 int lineCount = SkLineClipper::ClipLine(pts, clip, lines); 201 if (clipper.clipQuad(pts, clip)) { 218 if (clipper.clipQuad(&storage[i * 2], clip)) { 224 if (clipper.clipCubic(pts, clip)) {
|
H A D | SkScan_AntiPath.cpp | 48 const SkRegion& clip); 79 const SkRegion& clip) { 83 * We use the clip bounds instead of the ir, since we may be asked to 86 const int left = clip.getBounds().fLeft; 87 const int right = clip.getBounds().fRight; 107 const SkRegion& clip); 131 const SkRegion& clip) 132 : BaseSuperBlitter(realBlitter, ir, clip) { 378 const SkRegion& clip); 417 const SkRegion& clip) 78 BaseSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip) argument 130 SuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip) argument 416 MaskSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip) argument 707 FillPath(const SkPath& path, const SkRasterClip& clip, SkBlitter* blitter) argument 725 AntiFillPath(const SkPath& path, const SkRasterClip& clip, SkBlitter* blitter) argument [all...] |
H A D | SkScan_Path.cpp | 301 // check our bottom clip 318 void setBlitter(SkBlitter* blitter, const SkIRect& clip, int shift) { argument 320 fFirstX = clip.fLeft << shift; 321 fLastX = clip.fRight << shift; 353 virtual void blitMask(const SkMask&, const SkIRect& clip) { argument 427 // clipRect may be null, even though we always have a clip. This indicates that 428 // the path is contained in the clip, and so we can ignore it during the blit 447 * we need to restrict our drawing to the intersection of the clip 510 void sk_blit_above(SkBlitter* blitter, const SkIRect& ir, const SkRegion& clip) { argument 511 const SkIRect& cr = clip 523 sk_blit_below(SkBlitter* blitter, const SkIRect& ir, const SkRegion& clip) argument 543 SkScanClipper(SkBlitter* blitter, const SkRegion* clip, const SkIRect& ir, bool skipRejectTest) argument 704 FillTriangle(const SkPoint pts[], const SkRasterClip& clip, SkBlitter* blitter) argument [all...] |
/external/chromium_org/cc/blink/ |
H A D | web_content_layer_impl.cc | 52 const gfx::Rect& clip, 59 clip, 50 PaintContents( SkCanvas* canvas, const gfx::Rect& clip, ContentLayerClient::GraphicsContextStatus graphics_context_status) argument
|
/external/chromium_org/content/browser/android/in_process/ |
H A D | synchronous_compositor_output_surface.cc | 168 gfx::Rect clip, 178 clip, 195 gfx::Rect clip = gfx::SkIRectToRect(canvas_clip); local 207 clip, 208 clip, 219 gfx::Rect clip, 231 clip, 244 cached_hw_clip_ = clip; 164 DemandDrawHw( gfx::Size surface_size, const gfx::Transform& transform, gfx::Rect viewport, gfx::Rect clip, gfx::Rect viewport_rect_for_tile_priority, const gfx::Transform& transform_for_tile_priority) argument 216 InvokeComposite( const gfx::Transform& transform, gfx::Rect viewport, gfx::Rect clip, gfx::Rect viewport_rect_for_tile_priority, gfx::Transform transform_for_tile_priority, bool hardware_draw) argument
|
/external/chromium_org/content/child/ |
H A D | browser_font_resource_trusted.h | 52 const PP_Rect* clip, 71 const PP_Rect* clip,
|
/external/chromium_org/ppapi/api/ |
H A D | ppp_instance.idl | 116 * DidChangeView() is called when the position, the size, of the clip 135 * @param[in] clip The visible region of the instance. This is relative to 137 * module is invisible, <code>clip</code> will be (0, 0, 0, 0). 142 * the clip when the instance is partially visible. Instead, update the entire 158 * is invisible, clip will be (0, 0, 0, 0). 160 [in] PP_Rect clip);
|
/external/chromium_org/skia/ext/ |
H A D | vector_platform_device_skia.cc | 52 // SkPDFDevice checks the passed SkDraw for an empty clip (only). Fake 53 // it out by setting a non-empty clip. 55 SkRegion clip(SkIRect::MakeWH(width(), height())); 56 draw.fClip=&clip;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_clip.c | 37 const struct pipe_clip_state *clip) 41 /* pass the clip state to the draw module */ 42 draw_set_clip_state(llvmpipe->draw, clip); 36 llvmpipe_set_clip_state(struct pipe_context *pipe, const struct pipe_clip_state *clip) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
H A D | sp_state_clip.c | 37 const struct pipe_clip_state *clip) 41 /* pass the clip state to the draw module */ 42 draw_set_clip_state(softpipe->draw, clip); 36 softpipe_set_clip_state(struct pipe_context *pipe, const struct pipe_clip_state *clip) argument
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_clip.c | 37 const struct pipe_clip_state *clip) 41 /* pass the clip state to the draw module */ 42 draw_set_clip_state(llvmpipe->draw, clip); 36 llvmpipe_set_clip_state(struct pipe_context *pipe, const struct pipe_clip_state *clip) argument
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_state_clip.c | 37 const struct pipe_clip_state *clip) 41 /* pass the clip state to the draw module */ 42 draw_set_clip_state(softpipe->draw, clip); 36 softpipe_set_clip_state(struct pipe_context *pipe, const struct pipe_clip_state *clip) argument
|
/external/chromium_org/third_party/libwebp/dsp/ |
H A D | yuv.c | 20 static WEBP_INLINE uint8_t clip(int v, int max_value) { function 43 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255); 44 VP8kClip4Bits[i - YUV_RANGE_MIN] = clip((k + 8) >> 4, 15); 55 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255); 56 VP8kClip4Bits[i - YUV_RANGE_MIN] = clip((k + 8) >> 4, 15);
|
/external/webp/src/dsp/ |
H A D | yuv.c | 20 static WEBP_INLINE uint8_t clip(int v, int max_value) { function 43 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255); 44 VP8kClip4Bits[i - YUV_RANGE_MIN] = clip((k + 8) >> 4, 15); 55 VP8kClip[i - YUV_RANGE_MIN] = clip(k, 255); 56 VP8kClip4Bits[i - YUV_RANGE_MIN] = clip((k + 8) >> 4, 15);
|
/external/chromium_org/third_party/skia/tools/lua/ |
H A D | paths.lua | 12 -- may cause three uploads to the GPU (set clip 1, set clip 2, unset clip 2/reset clip 1), 72 if (string.starts(t.verb, "clip")) then
|
/external/pixman/test/ |
H A D | scaling-test.c | 57 pixman_region16_t clip; local 271 printf ("source clip box: [%d,%d-%d,%d]\n", 277 pixman_region_init_rects (&clip, clip_boxes, n); 278 pixman_image_set_clip_region (src_img, &clip); 280 pixman_region_fini (&clip); 299 printf ("mask clip box: [%d,%d-%d,%d]\n", 305 pixman_region_init_rects (&clip, clip_boxes, n); 306 pixman_image_set_clip_region (mask_img, &clip); 308 pixman_region_fini (&clip); 326 printf ("destination clip bo [all...] |