/external/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_state.h | 77 struct si_pm4_state *clip; member in struct:si_state::__anon14658
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_state_dump.c | 116 struct brw_clip_unit_state *clip = intel->batch.bo->virtual + offset; local 123 clip->thread4.max_threads + 1); 126 batch_out(brw, name, offset, 7, "vp xmin %f\n", clip->viewport_xmin); 127 batch_out(brw, name, offset, 8, "vp xmax %f\n", clip->viewport_xmax); 128 batch_out(brw, name, offset, 9, "vp ymin %f\n", clip->viewport_ymin); 129 batch_out(brw, name, offset, 10, "vp ymax %f\n", clip->viewport_ymax);
|
/external/mesa3d/src/mesa/tnl/ |
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...] |
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/experimental/svg/model/ |
H A D | SkSVGRenderContext.cpp | 284 if (auto* clip = attrs.fClipPath.getMaybeNull()) { 285 this->applyClip(*clip); 319 void SkSVGRenderContext::applyClip(const SkSVGClip& clip) { argument 320 if (clip.type() != SkSVGClip::Type::kIRI) { 324 const SkSVGNode* clipNode = this->findNodeById(clip.iri()); 331 // We use the computed clip path in two ways:
|
/external/skia/gm/ |
H A D | complexclip2.cpp | 26 ComplexClip2GM(Clip clip, bool antiAlias) argument 27 : fClip(clip) 110 static const char* ClipStr(Clip clip) { argument 111 switch (clip) { 119 SkDEBUGFAIL("Unknown clip type.");
|
H A D | convexpolyclip.cpp | 164 const Clip* clip = iter.get(); variable 169 clip->getBounds(&bounds); 177 clip->setOnCanvas(canvas, kIntersect_SkClipOp, SkToBool(aa)); 192 clip->getBounds(&bounds); 201 clip->asClosedPath(&closedClipPath); 203 clip->setOnCanvas(canvas, kIntersect_SkClipOp, SkToBool(aa));
|
H A D | cubicpaths.cpp | 93 void drawOne(SkCanvas* canvas, const SkPath& path, const SkRect& clip) { argument 96 canvas->drawRect(clip, framePaint); 99 canvas->clipRect(clip); 141 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, 152 canvas->clipRect(clip); 285 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, 296 canvas->clipRect(clip); 140 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 284 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 | pathfill.cpp | 344 // test inverse-fill w/ a clip that completely excludes the geometry 364 const SkRect* clip, SkScalar top, const SkScalar bottom) { 366 if (clip) { 367 SkRect r = *clip; 363 show(SkCanvas* canvas, const SkPath& path, const SkPaint& paint, const SkRect* clip, SkScalar top, const SkScalar bottom) argument
|
/external/skia/src/core/ |
H A D | SkBlitMask_D32.cpp | 55 const SkIRect& clip, SkColor color) { 56 int x = clip.fLeft, y = clip.fTop; 61 color, clip.width(), clip.height()); 69 color, clip.width(), clip.height()); 54 BlitColor(const SkPixmap& device, const SkMask& mask, const SkIRect& clip, SkColor color) argument
|
H A D | SkBlitter.cpp | 127 void SkBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { argument 128 SkASSERT(mask.fBounds.contains(clip)); 135 int cx = clip.fLeft; 136 int cy = clip.fTop; 139 int height = clip.height(); 147 if (cx == maskLeft && clip.fRight == mask.fBounds.fRight) { 166 int rightEdge = clip.fRight - bitsLeft; 190 int width = clip.width(); 193 const uint8_t* aa = mask.getAddr8(clip.fLeft, clip 210 blitMaskRegion(const SkMask& mask, const SkRegion& clip) argument 224 blitRectRegion(const SkIRect& rect, const SkRegion& clip) argument 234 blitRegion(const SkRegion& clip) argument 255 blitMask(const SkMask& mask, const SkIRect& clip) argument [all...] |
H A D | SkBlitter_A8.cpp | 121 void SkA8_Blitter::blitMask(const SkMask& mask, const SkIRect& clip) { argument 128 SkA8_BlitBW(fDevice, mask, clip); 130 SkA8_BlendBW(fDevice, mask, clip, fSrcA, 136 int x = clip.fLeft; 137 int y = clip.fTop; 138 int width = clip.width(); 139 int height = clip.height(); 318 void SkA8_Shader_Blitter::blitMask(const SkMask& mask, const SkIRect& clip) { argument 320 this->INHERITED::blitMask(mask, clip); 324 int x = clip 408 blitMask(const SkMask& mask, const SkIRect& clip) argument [all...] |
H A D | SkBlitter_ARGB32.cpp | 18 const SkIRect& clip, SkPMColor srcColor) { 26 int x = clip.fLeft; 27 int y = clip.fTop; 28 int width = clip.width(); 29 int height = clip.height(); 165 void SkARGB32_Blitter::blitMask(const SkMask& mask, const SkIRect& clip) { argument 166 SkASSERT(mask.fBounds.contains(clip)); 173 if (SkBlitMask::BlitColor(fDevice, mask, clip, fColor)) { 179 SkARGB32_BlendBW(fDevice, mask, clip, fPMColor, SkAlpha255To256(255 - fSrcA)); 182 SkARGB32_Blit32(fDevice, mask, clip, fPMColo 17 SkARGB32_Blit32(const SkPixmap& device, const SkMask& mask, const SkIRect& clip, SkPMColor srcColor) argument 189 blitMask(const SkMask& mask, const SkIRect& clip) argument 540 blitMask(const SkMask& mask, const SkIRect& clip) argument [all...] |
H A D | SkBlitter_PM4f.cpp | 87 void blitLCDMask(const SkMask& mask, const SkIRect& clip) { argument 90 const int x = clip.fLeft; 91 const int width = clip.width(); 92 const int y = clip.fTop; 93 const int height = clip.height(); 107 void blitMask(const SkMask& mask, const SkIRect& clip) override { 109 this->blitLCDMask(mask, clip); 113 this->INHERITED::blitMask(mask, clip); 117 SkASSERT(mask.fBounds.contains(clip)); 119 const int x = clip 244 blitLCDMask(const SkMask& mask, const SkIRect& clip) argument [all...] |
H A D | SkEdge.cpp | 33 int SkEdge::setLine(const SkPoint& p0, const SkPoint& p1, const SkIRect* clip, argument 67 // are we completely above or below the clip? 68 if (clip && (top >= clip->fBottom || bot <= clip->fTop)) { 83 if (clip) { 84 this->chopLineWithClip(*clip); 124 void SkEdge::chopLineWithClip(const SkIRect& clip) argument 128 SkASSERT(top < clip.fBottom); 130 // clip th [all...] |
H A D | SkEdgeBuilder.cpp | 263 SkRect clip; local 264 setShiftedClip(&clip, *iclip, shiftUp); 275 int lineCount = SkLineClipper::ClipLine(pts, clip, lines, canCullToTheRight); 363 SkRect clip; local 364 setShiftedClip(&clip, *iclip, shiftUp); 375 if (clipper.clipLine(pts[0], pts[1], clip)) { 380 if (clipper.clipQuad(pts, clip)) { 388 if (clipper.clipQuad(quadPts, clip)) { 395 if (clipper.clipCubic(pts, clip)) {
|
H A D | SkGpuBlurUtils.cpp | 70 const GrClip& clip, 90 renderTargetContext->fillRectWithLocalMatrix(clip, std::move(paint), GrAA::kNo, SkMatrix::I(), 95 const GrClip& clip, 120 renderTargetContext->fillRectWithLocalMatrix(clip, std::move(paint), GrAA::kNo, SkMatrix::I(), 125 const GrClip& clip, 136 convolve_gaussian_1d(renderTargetContext, clip, dstRect, srcOffset, 175 convolve_gaussian_1d(renderTargetContext, clip, dstRect, srcOffset, 179 convolve_gaussian_1d(renderTargetContext, clip, leftRect, srcOffset, 181 convolve_gaussian_1d(renderTargetContext, clip, rightRect, srcOffset, 183 convolve_gaussian_1d(renderTargetContext, clip, midRec 69 convolve_gaussian_1d(GrRenderTargetContext* renderTargetContext, const GrClip& clip, const SkIRect& dstRect, const SkIPoint& srcOffset, sk_sp<GrTextureProxy> proxy, Gr1DKernelEffect::Direction direction, int radius, float sigma, bool useBounds, int bounds[2]) argument 94 convolve_gaussian_2d(GrRenderTargetContext* renderTargetContext, const GrClip& clip, const SkIRect& dstRect, const SkIPoint& srcOffset, sk_sp<GrTextureProxy> proxy, int radiusX, int radiusY, SkScalar sigmaX, SkScalar sigmaY, const SkIRect* srcBounds) argument 124 convolve_gaussian(GrRenderTargetContext* renderTargetContext, const GrClip& clip, const SkIRect& srcRect, sk_sp<GrTextureProxy> proxy, Gr1DKernelEffect::Direction direction, int radius, float sigma, const SkIRect* srcBounds, const SkIPoint& srcOffset) argument [all...] |
H A D | SkRasterClip.cpp | 22 // These ops can only shrink the current clip. So leaving 23 // the clip unchanged conservatively respects the contract. 29 // These ops can grow the current clip up to the extents of 30 // the input clip, which is inverse filled, so we just set 31 // the current clip to the device bounds. 44 // Difference can only shrink the current clip. 45 // Leaving clip unchanged conservatively fullfills the contract. 227 bool SkRasterClip::setPath(const SkPath& path, const SkRegion& clip, bool doAA) { argument 231 (void)fBW.setPath(path, clip); 238 (void)fAA.setPath(path, &clip, doA 282 SkRasterClip clip; local 292 SkRasterClip clip; local 299 setPath(const SkPath& path, const SkIRect& clip, bool doAA) argument 325 op(const SkRasterClip& clip, SkRegion::Op op) argument 477 SkAAClipBlitterWrapper(const SkRasterClip& clip, SkBlitter* blitter) argument 493 init(const SkRasterClip& clip, SkBlitter* blitter) argument [all...] |
H A D | SkRasterClipStack.h | 131 const SkRasterClip& clip = this->rc(); local 133 SkASSERT(clip.isEmpty()); 134 } else if (!clip.isEmpty()) { 135 SkASSERT(fRootBounds.contains(clip.getBounds()));
|
H A D | SkRasterPipelineBlitter.cpp | 34 void blitMask (const SkMask&, const SkIRect& clip) override; 272 void SkRasterPipelineBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { argument 275 return INHERITED::blitMask(mask, clip); 304 int x = clip.left(); 305 for (int y = clip.top(); y < clip.bottom(); y++) { 312 fBlitMaskA8.run(x,clip.width()); 316 fBlitMaskLCD16.run(x,clip.width());
|
H A D | SkScan_AAAPath.cpp | 137 MaskAdditiveBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip, 205 SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip, bool isInverse) { 220 if (!fClipRect.intersect(clip.getBounds())) { 279 RunBasedAdditiveBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip, 375 SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip, bool isInverse) { 380 // We use the clip bounds instead of the ir, since we may be asked to 382 sectBounds = clip.getBounds(); 384 if (!sectBounds.intersect(ir, clip.getBounds())) { 474 SafeRLEAdditiveBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip, 475 bool isInverse) : RunBasedAdditiveBlitter(realBlitter, ir, clip, isInvers 204 MaskAdditiveBlitter( SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip, bool isInverse) argument [all...] |
/external/skia/src/effects/shadows/ |
H A D | SkAmbientShadowMaskFilter.cpp | 145 const GrClip& clip, 170 return this->directFilterRRectMaskGPU(context, rtContext, std::move(paint), clip, 174 return this->directFilterRRectMaskGPU(context, rtContext, std::move(paint), clip, 185 const GrClip& clip, 247 rtContext->drawShadowRRect(clip, std::move(newPaint), viewMatrix, ambientRRect, 142 directFilterMaskGPU(GrContext* context, GrRenderTargetContext* rtContext, GrPaint&& paint, const GrClip& clip, const SkMatrix& viewMatrix, const SkStrokeRec& strokeRec, const SkPath& path) const argument 182 directFilterRRectMaskGPU(GrContext*, GrRenderTargetContext* rtContext, GrPaint&& paint, const GrClip& clip, const SkMatrix& viewMatrix, const SkStrokeRec& strokeRec, const SkRRect& rrect, const SkRRect& devRRect) const argument
|
/external/skia/src/gpu/ |
H A D | GrBlurUtils.cpp | 34 const GrClip& clip, 53 renderTargetContext->fillRectWithLocalMatrix(clip, std::move(paint), GrAA::kNo, SkMatrix::I(), 85 // the current clip (and identity matrix) and GrPaint settings 133 // setup new clip 135 GrFixedClip clip(clipRect); 141 rtContext->drawPath(clip, std::move(maskPaint), aa, translate, devPath, 148 const GrClip& clip, 159 clip.getConservativeBounds(renderTargetContext->width(), 215 clip, 236 if (draw_mask(renderTargetContext, clip, viewMatri 33 draw_mask(GrRenderTargetContext* renderTargetContext, const GrClip& clip, const SkMatrix& viewMatrix, const SkIRect& maskRect, GrPaint&& paint, sk_sp<GrTextureProxy> mask) argument 146 draw_path_with_mask_filter(GrContext* context, GrRenderTargetContext* renderTargetContext, const GrClip& clip, GrPaint&& paint, GrAA aa, const SkMatrix& viewMatrix, const SkMaskFilter* maskFilter, const GrStyle& style, const SkPath* path, bool pathIsMutable) argument 249 drawPathWithMaskFilter(GrContext* context, GrRenderTargetContext* renderTargetContext, const GrClip& clip, const SkPath& path, GrPaint&& paint, GrAA aa, const SkMatrix& viewMatrix, const SkMaskFilter* mf, const GrStyle& style, bool pathIsMutable) argument 263 drawPathWithMaskFilter(GrContext* context, GrRenderTargetContext* renderTargetContext, const GrClip& clip, const SkPath& origPath, const SkPaint& paint, const SkMatrix& origViewMatrix, const SkMatrix* prePathMatrix, const SkIRect& clipBounds, bool pathIsMutable) argument [all...] |
H A D | GrRenderTargetOpList.cpp | 274 GrAppliedClip* clip, 310 if (this->combineIfPossible(candidate, op.get(), clip, dstTexture)) { 334 if (clip) { 335 clip = fClipAllocator.make<GrAppliedClip>(std::move(*clip)); 337 fRecordedOps.emplace_back(std::move(op), renderTarget, clip, dstTexture); local 390 void GrRenderTargetOpList::clearStencilClip(const GrFixedClip& clip, argument 393 this->recordOp(GrClearStencilClipOp::Make(clip, insideStencilMask, 272 recordOp(std::unique_ptr<GrOp> op, GrRenderTargetContext* renderTargetContext, GrAppliedClip* clip, const DstTexture* dstTexture) argument
|
H A D | GrSoftwarePathRenderer.cpp | 34 // Even though these are "unclipped" bounds we still clip to the int32_t range. 46 // Gets the shape bounds, the clip bounds, and the intersection (if any). Returns false if there 49 const GrClip& clip, 55 // compute bounds as intersection of rt size, clip, and path 56 clip.getConservativeBounds(width, height, devClipBounds); 75 const GrClip& clip, 84 renderTargetContext->addMeshDrawOp(pipelineBuilder, clip, std::move(op)); 90 const GrClip& clip, 103 DrawNonAARect(renderTargetContext, GrPaint(paint), userStencilSettings, clip, SkMatrix::I(), 109 DrawNonAARect(renderTargetContext, GrPaint(paint), userStencilSettings, clip, SkMatri 48 get_shape_and_clip_bounds(int width, int height, const GrClip& clip, const GrShape& shape, const SkMatrix& matrix, SkIRect* unclippedDevShapeBounds, SkIRect* clippedDevShapeBounds, SkIRect* devClipBounds) argument 72 DrawNonAARect(GrRenderTargetContext* renderTargetContext, GrPaint&& paint, const GrUserStencilSettings& userStencilSettings, const GrClip& clip, const SkMatrix& viewMatrix, const SkRect& rect, const SkMatrix& localMatrix) argument 87 DrawAroundInvPath(GrRenderTargetContext* renderTargetContext, GrPaint&& paint, const GrUserStencilSettings& userStencilSettings, const GrClip& clip, const SkMatrix& viewMatrix, const SkIRect& devClipBounds, const SkIRect& devPathBounds) argument [all...] |