Searched refs:clip (Results 126 - 150 of 575) sorted by relevance

1234567891011>>

/external/chromium-trace/trace-viewer/src/about_tracing/
H A Dtracing_controller.css19 background-clip: border-box;
/external/chromium_org/chrome/browser/resources/options/
H A Dstartup_overlay.css32 background-clip: padding-box;
/external/chromium_org/ppapi/api/
H A Dppb_view.idl88 * module instance is scrolled into view and the clip rectangle is nonempty)
120 * GetClipRect() returns the clip rectangle relative to the upper-left corner
125 * (0, 0, 0, 0). This clip rectangle does <i>not</i> take into account page
132 * Most applications will not need to worry about the clip rectangle. The
140 * further. In this case, the clip rectangle will tell you which parts of
147 * application generates new content with the new clip. This may cause
151 * background color) or to paint a certain region outside the clip to reduce
157 * @param clip Output argument receiving the clip rect on success.
160 * clip rec
[all...]
/external/chromium_org/ppapi/shared_impl/
H A Dppp_instance_combined.cc59 const struct PP_Rect* clip) {
64 CallWhileUnlocked(did_change_view_1_0_, instance, position, clip);
56 DidChangeView(PP_Instance instance, PP_Resource view_changed_resource, const struct PP_Rect* position, const struct PP_Rect* clip) argument
/external/chromium_org/ppapi/thunk/
H A Dppb_browser_font_trusted_thunk.cc49 const PP_Rect* clip,
53 enter.object()->DrawTextAt(image_data, text, position, color, clip,
44 DrawTextAt(PP_Resource font_id, PP_Resource image_data, const PP_BrowserFont_Trusted_TextRun* text, const PP_Point* position, uint32_t color, const PP_Rect* clip, PP_Bool image_data_is_opaque) argument
/external/chromium_org/third_party/skia/src/core/
H A DSkQuadClipper.cpp15 void SkQuadClipper::setClip(const SkIRect& clip) { argument
17 fClip.set(clip);
H A DSkBlitter_ARGB32.cpp18 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();
150 void SkARGB32_Blitter::blitMask(const SkMask& mask, const SkIRect& clip) { argument
151 SkASSERT(mask.fBounds.contains(clip));
158 if (SkBlitMask::BlitColor(fDevice, mask, clip, fColor)) {
163 SkARGB32_BlendBW(fDevice, mask, clip, fPMColor, SkAlpha255To256(255 - fSrcA));
165 SkARGB32_Blit32(fDevice, mask, clip, fPMColo
17 SkARGB32_Blit32(const SkBitmap& device, const SkMask& mask, const SkIRect& clip, SkPMColor srcColor) argument
169 blitMask(const SkMask& mask, const SkIRect& clip) argument
487 blitMask(const SkMask& mask, const SkIRect& clip) argument
[all...]
H A DSkMaskFilter.cpp184 bool fillCenter, const SkRasterClip& clip, SkBlitter* blitter) {
185 // if we get here, we need to (possibly) resolve the clip and blitter
186 SkAAClipBlitterWrapper wrapper(clip, blitter);
208 const SkRasterClip& clip, SkBlitter* blitter,
216 clip.getBounds(),
221 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, true, clip, blitter);
227 const SkRasterClip& clip, SkBlitter* blitter,
239 clip.getBounds(), &patch)) {
245 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, 1 == rectCount, clip,
259 if (!SkDraw::DrawToMask(devPath, &clip
183 draw_nine(const SkMask& mask, const SkIRect& outerR, const SkIPoint& center, bool fillCenter, const SkRasterClip& clip, SkBlitter* blitter) argument
207 filterRRect(const SkRRect& devRRect, const SkMatrix& matrix, const SkRasterClip& clip, SkBlitter* blitter, SkPaint::Style style) const argument
226 filterPath(const SkPath& devPath, const SkMatrix& matrix, const SkRasterClip& clip, SkBlitter* blitter, SkPaint::Style style) const argument
[all...]
/external/skia/src/core/
H A DSkQuadClipper.cpp15 void SkQuadClipper::setClip(const SkIRect& clip) { argument
17 fClip.set(clip);
H A DSkBlitter_ARGB32.cpp18 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();
150 void SkARGB32_Blitter::blitMask(const SkMask& mask, const SkIRect& clip) { argument
151 SkASSERT(mask.fBounds.contains(clip));
158 if (SkBlitMask::BlitColor(fDevice, mask, clip, fColor)) {
163 SkARGB32_BlendBW(fDevice, mask, clip, fPMColor, SkAlpha255To256(255 - fSrcA));
165 SkARGB32_Blit32(fDevice, mask, clip, fPMColo
17 SkARGB32_Blit32(const SkBitmap& device, const SkMask& mask, const SkIRect& clip, SkPMColor srcColor) argument
169 blitMask(const SkMask& mask, const SkIRect& clip) argument
487 blitMask(const SkMask& mask, const SkIRect& clip) argument
[all...]
H A DSkMaskFilter.cpp184 bool fillCenter, const SkRasterClip& clip, SkBlitter* blitter) {
185 // if we get here, we need to (possibly) resolve the clip and blitter
186 SkAAClipBlitterWrapper wrapper(clip, blitter);
208 const SkRasterClip& clip, SkBlitter* blitter,
216 clip.getBounds(),
221 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, true, clip, blitter);
227 const SkRasterClip& clip, SkBlitter* blitter,
239 clip.getBounds(), &patch)) {
245 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, 1 == rectCount, clip,
259 if (!SkDraw::DrawToMask(devPath, &clip
183 draw_nine(const SkMask& mask, const SkIRect& outerR, const SkIPoint& center, bool fillCenter, const SkRasterClip& clip, SkBlitter* blitter) argument
207 filterRRect(const SkRRect& devRRect, const SkMatrix& matrix, const SkRasterClip& clip, SkBlitter* blitter, SkPaint::Style style) const argument
226 filterPath(const SkPath& devPath, const SkMatrix& matrix, const SkRasterClip& clip, SkBlitter* blitter, SkPaint::Style style) const argument
[all...]
/external/chromium_org/third_party/skia/samplecode/
H A DSampleLayers.cpp47 const SkIRect& clip = iter.clip().getBounds(); local
48 SkDebugf("Layer[%d] bitmap [%d %d] X=%d Y=%d clip=[%d %d %d %d] alpha=%d\n", index++,
50 clip.fLeft, clip.fTop, clip.fRight, clip.fBottom,
/external/skia/samplecode/
H A DSampleLayers.cpp47 const SkIRect& clip = iter.clip().getBounds(); local
48 SkDebugf("Layer[%d] bitmap [%d %d] X=%d Y=%d clip=[%d %d %d %d] alpha=%d\n", index++,
50 clip.fLeft, clip.fTop, clip.fRight, clip.fBottom,
/external/chromium_org/third_party/skia/src/utils/
H A DSkTextureCompressor_Blitter.h309 virtual void blitMask(const SkMask& mask, const SkIRect& clip) SK_OVERRIDE {
314 SkASSERT(mask.fBounds.contains(clip));
316 // Start from largest block boundary less than the clip boundaries.
317 const int startI = BlockDim * (clip.left() / BlockDim);
318 const int startJ = BlockDim * (clip.top() / BlockDim);
320 for (int j = startJ; j < clip.bottom(); j += BlockDim) {
324 for (int i = startI; i < clip.right(); i += BlockDim) {
326 // At this point, the block should intersect the clip.
328 SkIRect::MakeXYWH(i, j, BlockDim, BlockDim), clip));
331 if (i < clip
[all...]
H A DSkCanvasStateUtils.cpp160 static void setup_MC_state(SkMCState* state, const SkMatrix& matrix, const SkRegion& clip) { argument
170 * capture the clip
179 if (!clip.isEmpty()) {
180 // only returns the b/w clip so aa clips fail
181 SkRegion::Iterator clip_iterator(clip);
190 // allocate memory for the clip then and copy them to the struct
200 // Check the clip can be decomposed into rectangles (i.e. no soft clips).
211 // decompose the total matrix and clip
253 setup_MC_state(&layerState->mcState, layer.matrix(), layer.clip());
280 // reconstruct the clip
281 SkRegion clip; local
[all...]
/external/chromium_org/third_party/webrtc/video/
H A Dfull_stack.cc45 } clip; member in struct:webrtc::FullStackTestParams
380 kFullStackTestDurationSecs * params.clip.fps);
397 stream->width = params.clip.width;
398 stream->height = params.clip.height;
402 stream->max_framerate = params.clip.fps;
413 test::ResourcePath(params.clip.name, "yuv").c_str(),
414 params.clip.width,
415 params.clip.height,
416 params.clip.fps,
420 << "Could not create capturer for " << params.clip
[all...]
/external/pixman/test/
H A Daffine-test.c32 pixman_region16_t clip; local
236 printf ("source clip box: [%d,%d-%d,%d]\n",
242 pixman_region_init_rects (&clip, clip_boxes, n);
243 pixman_image_set_clip_region (src_img, &clip);
245 pixman_region_fini (&clip);
263 printf ("destination clip box: [%d,%d-%d,%d]\n",
268 pixman_region_init_rects (&clip, clip_boxes, n);
269 pixman_image_set_clip_region (dst_img, &clip);
270 pixman_region_fini (&clip);
/external/skia/src/utils/
H A DSkCanvasStateUtils.cpp155 static void setup_MC_state(SkMCState* state, const SkMatrix& matrix, const SkRegion& clip) { argument
165 * capture the clip
174 if (!clip.isEmpty()) {
175 // only returns the b/w clip so aa clips fail
176 SkRegion::Iterator clip_iterator(clip);
185 // allocate memory for the clip then and copy them to the struct
195 // Check the clip can be decomposed into rectangles (i.e. no soft clips).
206 // decompose the total matrix and clip
248 setup_MC_state(&layerState->mcState, layer.matrix(), layer.clip());
275 // reconstruct the clip
276 SkRegion clip; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DImagePainter.cpp65 paintInfo.context->clip(m_renderImage.absoluteContentBox());
156 bool clip = !contentRect.contains(paintRect); local
157 if (clip) {
159 context->clip(contentRect);
164 if (clip)
/external/chromium_org/third_party/skia/bench/
H A DAAClipBench.cpp52 // jostle the clip regions each time to prevent caching
69 // this path tests out directly draw the clip primitive
70 // use it to comparing just drawing the clip vs. drawing using
71 // the clip
86 // This bench tests out nested clip stacks. It is intended to simulate
203 SkAAClip clip; local
205 clip.setPath(fPath, &fRegion, fDoAA);
207 clip.setRect(fRect, fDoAA);
220 // test conversion of a complex clip to a aaclip
235 SkAAClip clip; local
[all...]
/external/skia/bench/
H A DAAClipBench.cpp52 // jostle the clip regions each time to prevent caching
69 // this path tests out directly draw the clip primitive
70 // use it to comparing just drawing the clip vs. drawing using
71 // the clip
86 // This bench tests out nested clip stacks. It is intended to simulate
203 SkAAClip clip; local
205 clip.setPath(fPath, &fRegion, fDoAA);
207 clip.setRect(fRect, fDoAA);
220 // test conversion of a complex clip to a aaclip
235 SkAAClip clip; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_pipe_misc.c150 const struct pipe_clip_state *clip )
154 svga->curr.clip = *clip; /* struct copy */
/external/chromium_org/third_party/skia/gm/
H A Dcolorfilterimagefilter.cpp64 SkRect clip(r);
65 clip.outset(outset, outset);
66 canvas->clipRect(clip);
/external/chromium_org/ui/ozone/platform/dri/
H A Ddri_surface_factory.cc39 SkRect clip; local
40 clip.set(
42 canvas->clipRect(clip, SkRegion::kReplace_Op);
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_misc.c150 const struct pipe_clip_state *clip )
154 svga->curr.clip = *clip; /* struct copy */

Completed in 1100 milliseconds

1234567891011>>