HomeSort by relevance Sort by last modified time
    Searched refs:clip (Results 51 - 75 of 563) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/mesa3d/src/mesa/tnl/
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,
181 /* Cliptest and perspective divide. Clip functions must clear
245 _mesa_vector4f_alloc( &store->clip, 0, size, 32 );
252 !store->clip.data |
    [all...]
  /external/skia/src/core/
SkBlitter.cpp 127 void SkBlitter::blitMask(const SkMask& mask, const SkIRect& clip) {
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.fTop)
    [all...]
SkScan_AntiPath.cpp 43 const SkRegion& clip, bool isInverse);
75 BaseSuperBlitter::BaseSuperBlitter(SkBlitter* realBlit, const SkIRect& ir, const SkRegion& clip,
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,
153 : BaseSuperBlitter(realBlitter, ir, clip, isInverse)
436 MaskSuperBlitter::MaskSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkRegion& clip,
438 : BaseSuperBlitter(realBlitter, ir, clip, isInverse
    [all...]
SkBlitter.h 50 virtual void blitMask(const SkMask&, const SkIRect& clip);
119 void blitMaskRegion(const SkMask& mask, const SkRegion& clip);
120 void blitRectRegion(const SkIRect& rect, const SkRegion& clip);
121 void blitRegion(const SkRegion& clip);
154 void blitMask(const SkMask&, const SkIRect& clip) override;
177 void blitMask(const SkMask&, const SkIRect& clip) override;
211 void blitMask(const SkMask&, const SkIRect& clip) override;
228 to apply a clip. Returns a pointer to a member, so lifetime must
233 SkBlitter* apply(SkBlitter* blitter, const SkRegion* clip,
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;
SkBlitter_A8.cpp 122 void SkA8_Blitter::blitMask(const SkMask& mask, const SkIRect& clip) {
129 SkA8_BlitBW(fDevice, mask, clip);
131 SkA8_BlendBW(fDevice, mask, clip, fSrcA,
137 int x = clip.fLeft;
138 int y = clip.fTop;
139 int width = clip.width();
140 int height = clip.height();
322 void SkA8_Shader_Blitter::blitMask(const SkMask& mask, const SkIRect& clip) {
324 this->INHERITED::blitMask(mask, clip);
328 int x = clip.fLeft
    [all...]
SkEdgeBuilder.cpp 167 SkRect clip; local
168 setShiftedClip(&clip, *iclip, shiftUp);
179 int lineCount = SkLineClipper::ClipLine(pts, clip, lines, canCullToTheRight);
253 SkRect clip; local
254 setShiftedClip(&clip, *iclip, shiftUp);
266 int lineCount = SkLineClipper::ClipLine(pts, clip, lines, canCullToTheRight);
273 if (clipper.clipQuad(pts, clip)) {
281 if (clipper.clipQuad(quadPts, clip)) {
288 if (clipper.clipCubic(pts, clip)) {
SkEdge.cpp 34 int SkEdge::setLine(const SkPoint& p0, const SkPoint& p1, const SkIRect* clip,
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)
129 SkASSERT(top < clip.fBottom);
131 // clip the line to the to
    [all...]
  /external/skia/src/gpu/
GrBlurUtils.h 34 const GrClip& clip,
GrDrawContext.cpp 108 void GrDrawContext::drawText(const GrClip& clip, const GrPaint& grPaint,
122 fAtlasTextContext->drawText(fContext, this, clip, grPaint, skPaint, viewMatrix, fSurfaceProps,
126 void GrDrawContext::drawPosText(const GrClip& clip, const GrPaint& grPaint,
141 fAtlasTextContext->drawPosText(fContext, this, clip, grPaint, skPaint, viewMatrix,
147 void GrDrawContext::drawTextBlob(const GrClip& clip, const SkPaint& skPaint,
160 fAtlasTextContext->drawTextBlob(fContext, this, clip, skPaint, viewMatrix, fSurfaceProps, blob,
187 void GrDrawContext::drawPaint(const GrClip& clip,
203 // by definition this fills the entire clip, no need for AA
220 this->drawRect(clip, *paint, viewMatrix, r);
230 GrPipelineBuilder pipelineBuilder(*paint, fRenderTarget, clip);
    [all...]
  /external/skia/src/svg/parser/
SkSVGPolygon.cpp 14 SVG_LITERAL_ATTRIBUTE(clip-rule, f_clipRule),
  /frameworks/base/libs/hwui/renderstate/
Scissor.h 32 void set(int viewportHeight, const Rect& clip);
  /frameworks/base/services/core/java/com/android/server/clipboard/
ClipboardService.java 160 public void setPrimaryClip(ClipData clip, String callingPackage) {
162 if (clip != null && clip.getItemCount() <= 0) {
170 checkDataOwnerLocked(clip, callingUid);
174 setPrimaryClipInternal(clipboard, clip);
186 // Copy clip data to related users if allowed. If disallowed, then remove
187 // primary clip in related users to prevent pasting stale content.
189 clip = null;
191 // We want to fix the uris of the related user's clip without changing the
192 // uris of the current user's clip
204 setPrimaryClipInternal(getClipboard(id), clip); local
    [all...]
  /external/mesa3d/src/gallium/drivers/llvmpipe/
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);
  /external/mesa3d/src/gallium/drivers/softpipe/
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);
  /external/skia/tools/skiaserve/urlhandlers/
InfoHandler.cpp 45 // TODO this is really slow and we should cache the matrix and clip
50 SkIRect clip = request->fDebugCanvas->getCurrentClip(); local
53 info["ClipRect"] = SkJSONCanvas::MakeIRect(clip);
  /frameworks/base/core/java/android/content/
IClipboard.aidl 29 void setPrimaryClip(in ClipData clip, String callingPackage);
  /external/skia/tools/lua/
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
  /development/samples/ApiDemos/src/com/example/android/apis/content/
ClipboardSample.java 130 ClipData clip = mClipboard.getPrimaryClip(); local
131 String[] mimeTypes = clip != null ? clip.getDescription().filterMimeTypes("*/*") : null;
145 if (clip != null) {
146 ClipData.Item item = clip.getItemAt(0);
163 if (clip != null) {
164 ClipData.Item item = clip.getItemAt(0);
195 mDataText.setText("(NULL clip)");
  /external/skia/gm/
path_stroke_with_zero_length.cpp 164 SkPath clip; local
166 fClipL.transform(clipM, &clip);
168 fClipS.transform(clipM, &clip);
170 canvas->clipPath(clip, SkRegion::kIntersect_Op, true);
181 SkPath clip; local
182 fClipR.transform(clipM, &clip);
183 canvas->clipPath(clip, SkRegion::kIntersect_Op, true);
  /frameworks/base/libs/hwui/
BakedOpState.cpp 24 static int computeClipSideFlags(const Rect& clip, const Rect& bounds) {
26 if (clip.left > bounds.left) clipSideFlags |= OpClipSideFlags::Left;
27 if (clip.top > bounds.top) clipSideFlags |= OpClipSideFlags::Top;
28 if (clip.right < bounds.right) clipSideFlags |= OpClipSideFlags::Right;
29 if (clip.bottom < bounds.bottom) clipSideFlags |= OpClipSideFlags::Bottom;
55 LOG_ALWAYS_FATAL_IF(!clipState, "must clip!");
59 // Rejected based on either empty clip, or bounds not intersecting with clip
140 // NOTE: this won't succeed if a clip was allocated
151 // clip isn't empty, so construct the o
    [all...]
FontRenderer.h 65 const ClipBase* clip,
74 , clip(clip)
89 const ClipBase* clip; member in class:android::uirenderer::TextDrawFunctor
114 bool renderPosText(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs,
118 bool renderTextOnPath(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs,
163 void initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor);
  /external/skia/tests/
ImageFilterCacheTest.cpp 35 SkIRect clip = SkIRect::MakeWH(100, 100); local
36 SkImageFilter::Cache::Key key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset());
37 SkImageFilter::Cache::Key key2(0, SkMatrix::I(), clip, subset->uniqueID(), subset->subset());
51 // If either id is different or the clip or the matrix are different the
84 SkIRect clip = SkIRect::MakeWH(100, 100); local
85 SkImageFilter::Cache::Key key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset());
86 SkImageFilter::Cache::Key key2(1, SkMatrix::I(), clip, image->uniqueID(), image->subset());
109 SkIRect clip = SkIRect::MakeWH(100, 100); local
110 SkImageFilter::Cache::Key key1(0, SkMatrix::I(), clip, image->uniqueID(), image->subset());
111 SkImageFilter::Cache::Key key2(1, SkMatrix::I(), clip, subset->uniqueID(), image->subset())
    [all...]
  /frameworks/base/core/java/android/speech/tts/
AudioPlaybackQueueItem.java 100 final float vol = clip(volume, 0.0f, 1.0f);
101 final float panning = clip(pan, -1.0f, 1.0f);
112 private static final float clip(float value, float min, float max) { method in class:AudioPlaybackQueueItem
  /frameworks/base/core/java/android/transition/
ChangeClipBounds.java 35 private static final String PROPNAME_CLIP = "android:clipBounds:clip";
59 Rect clip = view.getClipBounds(); local
60 values.values.put(PROPNAME_CLIP, clip);
61 if (clip == null) {
88 return null; // No animation required since there is no clip.

Completed in 627 milliseconds

1 23 4 5 6 7 8 91011>>