/external/skia/src/core/ |
H A D | SkScan.h | 64 static void FillIRect(const SkIRect&, const SkRegion* clip, SkBlitter*); 65 static void FillXRect(const SkXRect&, const SkRegion* clip, SkBlitter*); 66 static void FillRect(const SkRect&, const SkRegion* clip, SkBlitter*); 67 static void AntiFillRect(const SkRect&, const SkRegion* clip, SkBlitter*); 69 static void FillPath(const SkPath&, const SkRegion& clip, SkBlitter*); 70 static void AntiFillPath(const SkPath&, const SkRegion& clip, SkBlitter*,
|
H A D | SkBlitter.cpp | 121 void SkBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { argument 122 SkASSERT(mask.fBounds.contains(clip)); 125 int cx = clip.fLeft; 126 int cy = clip.fTop; 129 int height = clip.height(); 133 if (cx == maskLeft && clip.fRight == mask.fBounds.fRight) { 142 int rite_edge = clip.fRight - maskLeft; 179 int width = clip.width(); 182 const uint8_t* aa = mask.getAddr8(clip.fLeft, clip 199 blitMaskRegion(const SkMask& mask, const SkRegion& clip) argument 213 blitRectRegion(const SkIRect& rect, const SkRegion& clip) argument 223 blitRegion(const SkRegion& clip) argument 244 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, canCullToTheRight); 182 SkRect clip; local 183 setShiftedClip(&clip, *iclip, shiftUp); 195 int lineCount = SkLineClipper::ClipLine(pts, clip, lines, canCullToTheRight); 202 if (clipper.clipQuad(pts, clip)) { 210 if (clipper.clipQuad(quadPts, clip)) { 217 if (clipper.clipCubic(pts, clip)) {
|
H A D | SkScan_AntiPath.cpp | 43 const SkRegion& clip, bool isInverse); 75 BaseSuperBlitter::BaseSuperBlitter(SkBlitter* realBlit, const SkIRect& ir, const SkRegion& clip, argument 81 // We use the clip bounds instead of the ir, since we may be asked to 83 sectBounds = clip.getBounds(); 85 if (!sectBounds.intersect(ir, clip.getBounds())) { 106 SuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip, bool isInverse); 151 SuperBlitter::SuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip, argument 153 : BaseSuperBlitter(realBlitter, ir, clip, isInverse) 436 MaskSuperBlitter::MaskSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip, 438 : BaseSuperBlitter(realBlitter, ir, clip, isInvers [all...] |
H A D | SkScan_Path.cpp | 292 // check our bottom clip 309 void setBlitter(SkBlitter* blitter, const SkIRect& clip, int shift) { argument 311 fFirstX = clip.fLeft << shift; 312 fLastX = clip.fRight << shift; 344 void blitMask(const SkMask&, const SkIRect& clip) override { 392 // clipRect may be null, even though we always have a clip. This indicates that 393 // the path is contained in the clip, and so we can ignore it during the blit 403 // If we're convex, then we need both edges, even the right edge is past the clip 416 * we need to restrict our drawing to the intersection of the clip 486 void sk_blit_above(SkBlitter* blitter, const SkIRect& ir, const SkRegion& clip) { argument 499 sk_blit_below(SkBlitter* blitter, const SkIRect& ir, const SkRegion& clip) argument 519 SkScanClipper(SkBlitter* blitter, const SkRegion* clip, const SkIRect& ir, bool skipRejectTest) argument 680 FillTriangle(const SkPoint pts[], const SkRasterClip& clip, SkBlitter* blitter) argument [all...] |
H A D | SkBlitter.h | 48 virtual void blitMask(const SkMask&, const SkIRect& clip); 117 void blitMaskRegion(const SkMask& mask, const SkRegion& clip); 118 void blitRectRegion(const SkIRect& rect, const SkRegion& clip); 119 void blitRegion(const SkRegion& clip); 154 void blitMask(const SkMask&, const SkIRect& clip) override; 178 void blitMask(const SkMask&, const SkIRect& clip) override; 213 void blitMask(const SkMask&, const SkIRect& clip) override; 230 to apply a clip. Returns a pointer to a member, so lifetime must 235 SkBlitter* apply(SkBlitter* blitter, const SkRegion* clip,
|
H A D | SkEdge.h | 39 int setLine(const SkPoint& p0, const SkPoint& p1, const SkIRect* clip, int shiftUp); 40 // call this version if you know you don't have a clip 43 void chopLineWithClip(const SkIRect& clip); 45 inline bool intersectsClip(const SkIRect& clip) const { 46 SkASSERT(fFirstY < clip.fBottom); 47 return fLastY >= clip.fTop;
|
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...] |
H A D | SkEdge.cpp | 34 int SkEdge::setLine(const SkPoint& p0, const SkPoint& p1, const SkIRect* clip, argument 68 // are we completely above or below the clip? 69 if (clip && (top >= clip->fBottom || bot <= clip->fTop)) { 84 if (clip) { 85 this->chopLineWithClip(*clip); 125 void SkEdge::chopLineWithClip(const SkIRect& clip) argument 129 SkASSERT(top < clip.fBottom); 131 // clip th [all...] |
H A D | SkBlitMask.h | 22 const SkIRect& clip, SkColor color);
|
H A D | SkSpriteBlitter.h | 34 virtual void blitMask(const SkMask&, const SkIRect& clip);
|
/external/skia/src/gpu/ |
H A D | GrTextContext.cpp | 35 void GrTextContext::init(GrRenderTarget* rt, const GrClip& clip, const GrPaint& grPaint, argument 37 fClip = clip; 50 void GrTextContext::drawText(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, argument 60 if (textContext->canDraw(rt, clip, paint, skPaint, viewMatrix)) { 61 textContext->onDrawText(rt, clip, paint, skPaint, viewMatrix, text, byteLength, x, y, 73 void GrTextContext::drawPosText(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, argument 84 if (textContext->canDraw(rt, clip, paint, skPaint, viewMatrix)) { 85 textContext->onDrawPosText(rt, clip, paint, skPaint, viewMatrix, text, byteLength, pos, 98 void GrTextContext::drawTextBlob(GrRenderTarget* rt, const GrClip& clip, const SkPaint& skPaint, argument 127 this->drawText(rt, clip, grPain [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...] |
H A D | t_rasterpos.c | 42 * \param v vertex vector describing the point to clip. 62 * \param v vertex vector describing the point to clip. 82 * \param v vertex vector describing the point to clip. 362 * XXX some of this code (such as viewport xform, clip testing and setting 377 GLfloat eye[4], clip[4], ndc[3], d; local 383 /* apply projection matrix: clip = Proj * eye */ 384 TRANSFORM_POINT( clip, ctx->ProjectionMatrixStack.Top->m, eye ); 386 /* clip to view volume. */ 388 if (viewclip_point_z(clip) == 0) { 394 if (viewclip_point_xy(clip) [all...] |
/external/skia/src/effects/ |
H A D | SkGpuBlurUtils.cpp | 48 const GrClip& clip, 61 context->drawNonAARectToRect(rt, clip, paint, SkMatrix::I(), dstRect, srcRect); 66 const GrClip& clip, 84 context->drawNonAARectToRect(rt, clip, paint, SkMatrix::I(), dstRect, srcRect); 89 const GrClip& clip, 99 convolve_gaussian_1d(context, rt, clip, srcRect, dstRect, texture, 131 convolve_gaussian_1d(context, rt, clip, srcRect, dstRect, texture, 135 convolve_gaussian_1d(context, rt, clip, lowerSrcRect, lowerDstRect, texture, 137 convolve_gaussian_1d(context, rt, clip, upperSrcRect, upperDstRect, texture, 139 convolve_gaussian_1d(context, rt, clip, middleSrcRec 46 convolve_gaussian_1d(GrContext* context, GrRenderTarget* rt, const GrClip& clip, const SkRect& srcRect, const SkRect& dstRect, GrTexture* texture, Gr1DKernelEffect::Direction direction, int radius, float sigma, bool useBounds, float bounds[2]) argument 64 convolve_gaussian_2d(GrContext* context, GrRenderTarget* rt, const GrClip& clip, const SkRect& srcRect, const SkRect& dstRect, GrTexture* texture, int radiusX, int radiusY, SkScalar sigmaX, SkScalar sigmaY, bool useBounds, SkIRect bounds) argument 87 convolve_gaussian(GrContext* context, GrRenderTarget* rt, const GrClip& clip, const SkRect& srcRect, const SkRect& dstRect, GrTexture* texture, Gr1DKernelEffect::Direction direction, int radius, float sigma, bool cropToSrcRect) argument [all...] |
/external/skia/src/svg/parser/ |
H A D | SkSVGPolygon.cpp | 14 SVG_LITERAL_ATTRIBUTE(clip-rule, f_clipRule),
|
H A D | SkSVGPolyline.cpp | 20 SVG_LITERAL_ATTRIBUTE(clip-rule, f_clipRule),
|
/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/skia/bench/ |
H A D | SKPBench.cpp | 16 SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale, argument 19 , fClip(clip) 66 SkRect clip = SkRect::Make(bounds); local 67 clip.offset(-SkIntToScalar(tileRect.fLeft), -SkIntToScalar(tileRect.fTop)); 68 fSurfaces.top()->getCanvas()->clipRect(clip);
|
/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/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/skia/tests/ |
H A D | AAClipTest.cpp | 181 SkAAClip clip; local 187 clip.setPath(path, NULL, true); 188 REPORTER_ASSERT(reporter, height == clip.getBounds().height()); 201 clip.setPath(path, NULL, true); 202 REPORTER_ASSERT(reporter, teardrop_height == clip.getBounds().height()); 309 SkAAClip clip; local 310 clip.setPath(path, NULL, 1 == i); 313 clip.copyToMask(&mask); 327 SkAAClip clip; local 328 clip 413 SkAAClip clip; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
H A D | ant-jmf.jar | ... sampled.Clip, int) javax.sound.sampled.Clip clip
int loops
private void playClip (javax.sound. ... |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/ |
H A D | FilteredBasis.java | 98 return this.clip(this.doFilter(sx, sy, base, retval, workSize), workSize, size, margin);
101 public FloatBuffer clip(FloatBuffer buf, int origSize, int newSize, int offset) {
method in class:FilteredBasis
|