Home
last modified time | relevance | path

Searched refs:clip (Results 176 - 200 of 342) sorted by relevance

12345678910>>...14

/third_party/skia/tests/
H A DLazyProxyTest.cpp116 GrProcessorSet::Analysis finalize(const GrCaps&, const GrAppliedClip* clip,
230 LazyProxyTest::Clip clip(&test, mockAtlas->asTextureProxy()); in DEF_GPUTEST()
231 sdc->addDrawOp(&clip, in DEF_GPUTEST()
/third_party/skia/tools/
H A DMSKPPlayer.cpp37 SkIRect fClipRect = SkIRect::MakeEmpty(); // clip for picture (no clip if empty).
273 const SkPoint clip[4],
279 const SkPoint clip[4],
284 clip,
/third_party/skia/experimental/sorttoy/
H A Dsorttoy.cpp177 // The initial state should have no translation & no clip in mcstack_test()
183 s.clip(sk_make_sp<ClipCmd>(ID(1), Shape::kRect, r)); in mcstack_test()
191 s.clip(sk_make_sp<ClipCmd>(ID(2), Shape::kRect, r)); in mcstack_test()
197 s.clip(sk_make_sp<ClipCmd>(ID(3), Shape::kRect, r)); in mcstack_test()
400 // simple clipping test - two shapes w/ 1 clip of the opposite shape
404 // The expected is front to back after the clip in test6()
426 // The expected is front to back modulated by the two clip states in test7()
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_vs.h68 unsigned clip:1; member
H A Ddraw_pipe_validate.c261 draw->pipeline.clip->next = next; in validate_pipeline()
262 next = draw->pipeline.clip; in validate_pipeline()
H A Ddraw_vs_variant.c187 if (vsvg->base.key.clip) { in vsvg_run_elts()
254 if (vsvg->base.key.clip) { in vsvg_run_linear()
/third_party/skia/src/gpu/ops/
H A DPathTessellateOp.h50 void prepareTessellator(const GrTessellationShader::ProgramArgs&, GrAppliedClip&& clip);
H A DDrawAtlasPathOp.cpp129 GrProcessorSet::Analysis DrawAtlasPathOp::finalize(const GrCaps& caps, const GrAppliedClip* clip, in finalize() argument
132 fHeadInstance->fColor, GrProcessorAnalysisCoverage::kSingleChannel, clip, in finalize()
H A DRegionOp.cpp78 GrProcessorSet::Analysis finalize(const GrCaps& caps, const GrAppliedClip* clip,
80 return fHelper.finalizeProcessors(caps, clip, clampType, GrProcessorAnalysisCoverage::kNone,
H A DGrOp.h47 * The bounds of the op must contain all the vertices in device space *irrespective* of the clip.
48 * The bounds are used in determining which clip elements must be applied and thus the bounds cannot
49 * in turn depend upon the clip.
174 GrAppliedClip* clip, const GrDstProxyView& dstProxyView, in prePrepare()
177 this->onPrePrepare(context, dstView, clip, dstProxyView, renderPassXferBarriers, in prePrepare()
173 prePrepare(GrRecordingContext* context, const GrSurfaceProxyView& dstView, GrAppliedClip* clip, const GrDstProxyView& dstProxyView, GrXferBarrierFlags renderPassXferBarriers, GrLoadOp colorLoadOp) prePrepare() argument
H A DStrokeRectOp.cpp165 GrProcessorSet::Analysis finalize(const GrCaps& caps, const GrAppliedClip* clip,
168 return fHelper.finalizeProcessors(caps, clip, clampType, GrProcessorAnalysisCoverage::kNone,
179 GrAppliedClip&& clip,
198 std::move(clip), dstProxyView, gp, primType,
502 GrProcessorSet::Analysis finalize(const GrCaps& caps, const GrAppliedClip* clip,
504 return fHelper.finalizeProcessors(caps, clip, clampType,
/third_party/ffmpeg/libavfilter/
H A Dvf_amplify.c98 #define AMPLIFY_SLICE(type, stype, clip) \
131 dst[x] = clip(src + amp, depth); \
/third_party/skia/src/gpu/v1/
H A DDevice_v1.h134 void drawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], SkCanvas::QuadAAFlags aaFlags,
203 const GrClip* clip() const { return &fClip; } in clip() function in skgpu::v1::final
/third_party/skia/src/utils/
H A DSkPaintFilterCanvas.cpp39 // Transfer matrix & clip state before adding the target canvas. in SkPaintFilterCanvas()
233 void SkPaintFilterCanvas::onDrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], in onDrawEdgeAAQuad() argument
240 this->SkNWayCanvas::onDrawEdgeAAQuad(rect, clip, aa, apf.paint().getColor4f(), in onDrawEdgeAAQuad()
/third_party/skia/tools/gpu/
H A DTestOps.cpp155 const GrAppliedClip* clip, in finalize()
158 GrProcessorAnalysisCoverage::kSingleChannel, clip, in finalize()
154 finalize(const GrCaps& caps, const GrAppliedClip* clip, GrClampType clampType) finalize() argument
/third_party/skia/tools/skiaserve/
H A DRequest.cpp121 // We clip to kMaxWidth / kMaxHeight for performance reasons. in getBounds()
256 // TODO this is really slow and we should cache the matrix and clip in getJsonInfo()
264 SkIRect clip = fDebugCanvas->getCurrentClip(); in getJsonInfo() local
270 DrawCommand::MakeJsonIRect(writer, clip); in getJsonInfo()
/third_party/ffmpeg/libavcodec/
H A Dvc1dsp.c163 int clip = src[-1 * stride] - src[0 * stride]; in vc1_filter_line() local
164 int clip_sign = clip >> 31; in vc1_filter_line()
166 clip = ((clip ^ clip_sign) - clip_sign) >> 1; in vc1_filter_line()
167 if (clip) { in vc1_filter_line()
178 d = FFMIN(d, clip); in vc1_filter_line()
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_hlsl.cpp603 for (uint32_t clip = 0; clip < clip_distance_count; clip += 4) in emit_builtin_outputs_in_struct()
605 uint32_t to_declare = clip_distance_count - clip; in emit_builtin_outputs_in_struct()
609 uint32_t semantic_index = clip / 4; in emit_builtin_outputs_in_struct()
733 for (uint32_t clip = 0; clip < clip_distance_count; clip += 4) in emit_builtin_inputs_in_struct()
735 uint32_t to_declare = clip_distance_count - clip; in emit_builtin_inputs_in_struct()
739 uint32_t semantic_index = clip / in emit_builtin_inputs_in_struct()
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c583 prescale->translate[2] = 0.5; /* D3D clip space */ in get_viewport_prescale()
584 prescale->scale[2] = 0.5; /* D3D clip space */ in get_viewport_prescale()
862 float a = svga->curr.clip.ucp[i][0]; in emit_clip_planes()
863 float b = svga->curr.clip.ucp[i][1]; in emit_clip_planes()
864 float c = svga->curr.clip.ucp[i][2]; in emit_clip_planes()
865 float d = svga->curr.clip.ucp[i][3]; in emit_clip_planes()
874 //debug_printf("XXX emit DX10 clip plane\n"); in emit_clip_planes()
/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_state.c843 const struct pipe_clip_state *clip) in i915_set_clip_state()
847 i915->clip = *clip; in i915_set_clip_state()
849 draw_set_clip_state(i915->draw, clip); in i915_set_clip_state()
842 i915_set_clip_state(struct pipe_context *pipe, const struct pipe_clip_state *clip) i915_set_clip_state() argument
/third_party/skia/samplecode/
H A DSampleClip.cpp210 static SkPath clip(const SkPath& path, SkPoint p0, SkPoint p1) { in clip() function
222 SkRect clip = {-big, 0, big, big }; in clip() local
229 SkEdgeClipper::ClipPath(rotated, clip, false, in clip()
318 canvas->drawPath(clip(fPath, fPts[0], fPts[1]), paint);
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_state.c72 const struct pipe_clip_state *clip) in vc4_set_clip_state()
75 vc4->clip = *clip; in vc4_set_clip_state()
71 vc4_set_clip_state(struct pipe_context *pctx, const struct pipe_clip_state *clip) vc4_set_clip_state() argument
/third_party/skia/src/core/
H A DSkDraw_vertices.cpp245 auto clip = [&](SkPoint3 curr, SkPoint3 next) { in fill_triangle_3() local
253 // Since we only clip against one "edge"/plane, the max number of points in the clipped in fill_triangle_3()
265 *outP++ = clip(pts[curr], pts[next]); in fill_triangle_3()
269 *outP++ = clip(pts[curr], pts[next]); in fill_triangle_3()
H A DSkM44.cpp174 // coordinates to clip against the w=0 plane in map_rect_perspective()
189 auto clip = [&](const sk4f& p) { in map_rect_perspective()
202 // (since clip returns infinity when both p0 and 2nd vertex have w<0, it'll in map_rect_perspective()
204 return min(clip(p1), clip(p2)); in map_rect_perspective()
H A DSkRecordDraw.cpp26 // Draw only ops that affect pixels in the canvas's current clip. in SkRecordDraw()
29 // this canvas' clip bounds transformed back into identity space, which in SkRecordDraw()
149 r.rect, r.clip, r.aa, r.color, r.mode));
330 // even with operations outisde the clip. in PaintMayAffectTransparentBlack()
483 if (op.clip) { in bounds()
484 bounds.setBounds(op.clip, 4); in bounds()

Completed in 24 milliseconds

12345678910>>...14