/external/skia/src/core/ |
H A D | SkBlitMask_D32.cpp | 151 const SkIRect& clip, SkColor color) { 154 int x = clip.fLeft; 155 int y = clip.fTop; 157 mask.fRowBytes, color, clip.width(), clip.height()); 150 BlitColor(const SkBitmap& device, const SkMask& mask, const SkIRect& clip, SkColor color) argument
|
H A D | SkRecordDraw.cpp | 22 // Draw only ops that affect pixels in the canvas's current clip. 25 // this canvas' clip bounds transformed back into identity space, which 204 // The paint could do anything to our bounds. The only safe answer is the current clip. 217 // Nothing can draw outside the current clip. 237 // Most ops don't change the clip. 240 // Clip{Path,RRect,Rect,Region} obviously change the clip. They all know their bounds already. 246 // The bounds of clip ops need to be adjusted for the paints of saveLayers they're inside. 248 Bounds clip = SkRect::Make(devBounds); local 250 // clip bounds with the previous clip, exactl 265 Bounds clip = SkRect::Make(op.devBounds); local [all...] |
/external/skia/src/gpu/ |
H A D | GrAtlasTextContext.cpp | 348 void GrAtlasTextContext::drawTextBlob(GrRenderTarget* rt, const GrClip& clip, argument 389 clip.getConservativeBounds(rt->width(), rt->height(), &clipRect); 410 drawFilter, clipRect, rt, clip, grPaint); 427 drawFilter, clipRect, rt, clip, grPaint); 432 clip, viewMatrix, clipBounds, x, y, transX, transY); 475 GrRenderTarget* rt, const GrClip& clip, 555 this->fallbackDrawPosText(cacheBlob, run, rt, clip, paint, runPaint, viewMatrix, 650 GrRenderTarget* rt, const GrClip& clip, 694 GrAtlasTextContext::createDrawTextBlob(GrRenderTarget* rt, const GrClip& clip, argument 701 clip 470 regenerateTextBlob(BitmapTextBlob* cacheBlob, const SkPaint& skPaint, GrColor color, const SkMatrix& viewMatrix, const SkTextBlob* blob, SkScalar x, SkScalar y, SkDrawFilter* drawFilter, const SkIRect& clipRect, GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint) argument 648 fallbackDrawPosText(BitmapTextBlob* blob, int runIndex, GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkPaint& skPaint, const SkMatrix& viewMatrix, const SkTDArray<char>& fallbackTxt, const SkTDArray<SkScalar>& fallbackPos, int scalarsPerPosition, const SkPoint& offset, const SkIRect& clipRect) argument 734 createDrawPosTextBlob(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& regionClipBounds) argument 773 onDrawText(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x, SkScalar y, const SkIRect& regionClipBounds) argument 784 onDrawPosText(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& regionClipBounds) argument 2165 flush(GrDrawTarget* target, const SkTextBlob* blob, BitmapTextBlob* cacheBlob, GrRenderTarget* rt, const SkPaint& skPaint, const GrPaint& grPaint, SkDrawFilter* drawFilter, const GrClip& clip, const SkMatrix& viewMatrix, const SkIRect& clipBounds, SkScalar x, SkScalar y, SkScalar transX, SkScalar transY) argument 2198 flush(GrDrawTarget* target, BitmapTextBlob* cacheBlob, GrRenderTarget* rt, const SkPaint& skPaint, const GrPaint& grPaint, const GrClip& clip, const SkIRect& clipBounds) argument 2266 GrClip clip; local [all...] |
H A D | GrClipMaskManager.h | 29 * The clip mask creator handles the generation of the clip mask. If anti 32 * mask in the stencil buffer. In the non anti-aliasing case, if the clip 34 * cases scissoring is used to bound the range of the clip mask. 45 * Creates a clip mask if necessary as a stencil buffer or alpha texture 49 * clip. devBounds is optional but can help optimize clipping. 82 * buffer clip is being used. 85 // Draw to the clip bit of the stencil buffer 87 // Clip against the existing representation of the clip in the high bit 90 // Neither writing to nor clipping against the clip bi [all...] |
/external/skia/samplecode/ |
H A D | SampleAll.cpp | 314 SkRect clip; local 315 clip.set(0, 0, SkIntToScalar(160), SkIntToScalar(160)); 318 canvas->clipRect(clip); 321 if (clip.fRight < SkIntToScalar(320)) 322 clip.offset(SkIntToScalar(160), 0); 323 else if (clip.fBottom < SkIntToScalar(480)) 324 clip.offset(-SkIntToScalar(320), SkIntToScalar(160)); 397 // !!! draw through a clip 400 SkRect clip = {0, 0, SkIntToScalar(320), SkIntToScalar(120)}; local 401 canvas->clipRect(clip); [all...] |
H A D | SampleClip.cpp | 109 SkAAClip clip; local 111 clip.setRect(r);
|
H A D | SampleText.cpp | 168 SkRect clip; variable 169 clip.set(SkIntToScalar(25), SkIntToScalar(34), SkIntToScalar(88), SkIntToScalar(155));
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_vs.h | 68 unsigned clip:1; member in struct:draw_vs_variant_key
|
H A D | draw_pipe_validate.c | 272 draw->pipeline.clip->next = next; 273 next = draw->pipeline.clip;
|
H A D | draw_private.h | 79 float clip[4]; member in struct:vertex_header 109 struct draw_stage *clip; member in struct:draw_context::__anon11959 219 boolean force_passthrough; /**< never clip or shade */
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_state.h | 77 struct si_pm4_state *clip; member in struct:si_state::__anon12173
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_context.h | 77 struct pipe_clip_state clip; member in struct:softpipe_context
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_framebuffer.c | 329 prescale.translate[2] = 0.5; /* D3D clip space */ 330 prescale.scale[2] = 0.5; /* D3D clip space */ 506 float a = svga->curr.clip.ucp[i][0]; 507 float b = svga->curr.clip.ucp[i][1]; 508 float c = svga->curr.clip.ucp[i][2]; 509 float d = svga->curr.clip.ucp[i][3];
|
/external/mesa3d/src/mesa/tnl/ |
H A D | t_vb_program.c | 69 GLubyte *clipmask; /**< clip flags */ 83 GLvector4f *clip, 97 GLfloat *coord = (GLfloat *)clip->data; 98 GLuint stride = clip->stride; 99 GLuint count = clip->count; 82 userclip( struct gl_context *ctx, GLvector4f *clip, GLubyte *clipmask, GLubyte *clipormask, GLubyte *clipandmask ) argument
|
/external/skia/gm/ |
H A D | cubicpaths.cpp | 67 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, 78 canvas->clipRect(clip); 213 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, 224 canvas->clipRect(clip); 66 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPath::FillType fill, SkScalar strokeWidth) argument 212 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPath::FillType fill, SkScalar strokeWidth) argument
|
H A D | constcolorprocessor.cpp | 115 GrClip clip; variable 116 pipelineBuilder.setFromPaint(grPaint, rt, clip);
|
/external/webp/src/enc/ |
H A D | quant.c | 103 static WEBP_INLINE int clip(int v, int m, int M) { function 225 m->y1_.q_[0] = kDcTable[clip(q + enc->dq_y1_dc_, 0, 127)]; 226 m->y1_.q_[1] = kAcTable[clip(q, 0, 127)]; 228 m->y2_.q_[0] = kDcTable[ clip(q + enc->dq_y2_dc_, 0, 127)] * 2; 229 m->y2_.q_[1] = kAcTable2[clip(q + enc->dq_y2_ac_, 0, 127)]; 231 m->uv_.q_[0] = kDcTable[clip(q + enc->dq_uv_dc_, 0, 117)]; 232 m->uv_.q_[1] = kAcTable[clip(q + enc->dq_uv_ac_, 0, 127)]; 266 const int qstep = kAcTable[clip(m->quant_, 0, 127)] >> 2; 376 enc->dqm_[i].quant_ = clip(q, 0, 127); 395 dq_uv_ac = clip(dq_uv_a [all...] |
/external/skia/include/core/ |
H A D | SkRegion.h | 140 * drawn by the path (with no antialiasing) with the specified clip. 142 bool setPath(const SkPath&, const SkRegion& clip); 332 * this region intersected with the specified clip rectangle. 336 Cliperator(const SkRegion&, const SkIRect& clip);
|
/external/skia/include/device/xps/ |
H A D | SkXPSDevice.h | 281 HRESULT clip( 304 const SkIRect& clip, SkIRect* clipIRect);
|
/external/skia/include/gpu/ |
H A D | GrContext.h | 236 * Draw everywhere (respecting the clip) with the paint. 281 const GrClip& clip, 286 this->drawNonAARectToRect(rt, clip, paint, viewMatrix, rect, rect, &localMatrix); 280 drawNonAARectWithLocalMatrix(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, const SkRect& rect, const SkMatrix& localMatrix) argument
|
/external/skia/src/utils/ |
H A D | SkCullPoints.cpp | 201 SkRegion clip(iTarget); 203 return rgn.setPath(*pathPtr, clip) ^ isInverse;
|
/external/skia/tests/ |
H A D | ClipCacheTest.cpp | 71 // create a clip stack that will (trivially) reduce to a single rect that 105 const SkClipStack& clip, 108 REPORTER_ASSERT(reporter, clip.getTopmostGenID() == cache.getLastClipGenID()); 103 check_state(skiatest::Reporter* reporter, const GrClipMaskCache& cache, const SkClipStack& clip, GrTexture* mask, const SkIRect& bound) argument
|
H A D | ClipperTest.cpp | 28 * We had a bug where we misinterpreted the bottom of the clip, and 31 * should just draw to [1,1], [2,2], [3,3] modulo the clip. 60 const SkRect clip = { 0, 0, SkIntToScalar(300), SkIntToScalar(200) }; local 65 clipper.clipCubic(pts, clip);
|
H A D | GLProgramsTest.cpp | 236 // wide open clip 237 GrClip clip; local 251 pipelineBuilder.setClip(clip);
|
/external/freetype/src/smooth/ |
H A D | ftgrays.c | 1806 FT_BBox* clip; local 1812 /* clip to target bitmap, exit if nothing to do */ 1813 clip = &ras.clip_box; 1815 if ( ras.max_ex <= clip->xMin || ras.min_ex >= clip->xMax || 1816 ras.max_ey <= clip->yMin || ras.min_ey >= clip->yMax ) 1819 if ( ras.min_ex < clip->xMin ) ras.min_ex = clip->xMin; 1820 if ( ras.min_ey < clip [all...] |