Searched refs:clip (Results 276 - 300 of 575) sorted by relevance

<<11121314151617181920>>

/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_context.h77 struct pipe_clip_state clip; member in struct:softpipe_context
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c329 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 Dt_vb_program.c69 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 Dcubicpaths.cpp73 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join,
84 canvas->clipRect(clip);
220 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join,
231 canvas->clipRect(clip);
72 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
219 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
/external/skia/platform_tools/nacl/src/
H A Dnacl_hello.cpp86 virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { argument
/external/skia/src/gpu/
H A DGrClipMaskManager.h32 * The clip mask creator handles the generation of the clip mask. If anti
35 * mask in the stencil buffer. In the non anti-aliasing case, if the clip
37 * cases scissoring is used to bound the range of the clip mask.
47 * Creates a clip mask if necessary as a stencil buffer or alpha texture
51 * clip. devBounds is optional but can help optimize clipping.
81 * buffer clip is being used.
84 // Draw to the clip bit of the stencil buffer
86 // Clip against the existing representation of the clip in the high bit
89 // Neither writing to nor clipping against the clip bi
[all...]
/external/chromium_org/third_party/skia/samplecode/
H A DSampleAll.cpp320 SkRect clip; local
321 clip.set(0, 0, SkIntToScalar(160), SkIntToScalar(160));
324 canvas->clipRect(clip);
327 if (clip.fRight < SkIntToScalar(320))
328 clip.offset(SkIntToScalar(160), 0);
329 else if (clip.fBottom < SkIntToScalar(480))
330 clip.offset(-SkIntToScalar(320), SkIntToScalar(160));
403 // !!! draw through a clip
406 SkRect clip = {0, 0, SkIntToScalar(320), SkIntToScalar(120)}; local
407 canvas->clipRect(clip);
[all...]
H A DSampleClip.cpp109 SkAAClip clip; local
111 clip.setRect(r);
/external/skia/samplecode/
H A DSampleAll.cpp318 SkRect clip; local
319 clip.set(0, 0, SkIntToScalar(160), SkIntToScalar(160));
322 canvas->clipRect(clip);
325 if (clip.fRight < SkIntToScalar(320))
326 clip.offset(SkIntToScalar(160), 0);
327 else if (clip.fBottom < SkIntToScalar(480))
328 clip.offset(-SkIntToScalar(320), SkIntToScalar(160));
401 // !!! draw through a clip
404 SkRect clip = {0, 0, SkIntToScalar(320), SkIntToScalar(120)}; local
405 canvas->clipRect(clip);
[all...]
/external/chromium_org/third_party/libwebp/enc/
H A Dquant.c103 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/webp/src/enc/
H A Dquant.c103 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/chromium_org/content/browser/android/in_process/
H A Dsynchronous_compositor_impl.cc122 gfx::Rect clip,
132 clip,
118 DemandDrawHw( gfx::Size surface_size, const gfx::Transform& transform, gfx::Rect viewport, gfx::Rect clip, gfx::Rect viewport_rect_for_tile_priority, const gfx::Transform& transform_for_tile_priority) argument
/external/chromium_org/content/renderer/pepper/
H A Dpepper_graphics_2d_host.cc459 const PP_Rect& clip,
462 if (!ValidateAndConvertRect(clip_specified ? &clip : NULL,
468 // If we're being asked to scroll by more than the clip rect size, just
658 gfx::Rect clip = PP_ToGfxRect(bound_instance_->view_data().clip_rect); local
659 is_plugin_visible = !clip.IsEmpty();
663 if (!gfx::IntersectRects(clip, op_rect).IsEmpty()) {
733 void PepperGraphics2DHost::ExecuteScroll(const gfx::Rect& clip, argument
737 gfx::ScrollCanvas(image_data_->GetCanvas(), clip, gfx::Vector2d(dx, dy));
738 *invalidated_rect = clip;
456 OnHostMsgScroll( ppapi::host::HostMessageContext* context, bool clip_specified, const PP_Rect& clip, const PP_Point& amount) argument
/external/chromium_org/ppapi/api/private/
H A Dppb_flash.idl142 [in] PP_Rect clip,
/external/chromium_org/ppapi/proxy/
H A Dppp_instance_proxy_unittest.cc51 const PP_Rect* clip) {
54 received_clip = *clip;
50 DidChangeView(PP_Instance instance, const PP_Rect* position, const PP_Rect* clip) argument
/external/chromium_org/ppapi/thunk/
H A Dppb_flash_thunk.cc35 const PP_Rect* clip,
45 instance, pp_image_data, font_desc, color, position, clip, transformation,
30 DrawGlyphs(PP_Instance instance, PP_Resource pp_image_data, const PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const PP_Point* position, const PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const PP_Point glyph_advances[]) argument
/external/chromium_org/remoting/webapp/
H A Dtoolbar.css30 clip: rect(0, 999px, 999px, -999px);
/external/chromium_org/skia/ext/
H A Dbitmap_platform_device_cairo.cc60 void LoadClipToContext(cairo_t* context, const SkRegion& clip) { argument
64 SkIRect bounding = clip.getBounds();
86 // Load the identity matrix since this is what our clip is relative to.
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DscreencastView.css48 background-clip: content-box;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/
H A DTimelineUIUtilsImpl.js69 return record.data().clip;
342 var width = WebInspector.TimelineUIUtils.quadWidth(recordData.clip);
343 var height = WebInspector.TimelineUIUtils.quadHeight(recordData.clip);
574 var clip = recordData["clip"];
575 contentHelper.appendTextRow(WebInspector.UIString("Location"), WebInspector.UIString("(%d, %d)", clip[0], clip[1]));
576 var clipWidth = WebInspector.TimelineUIUtils.quadWidth(clip);
577 var clipHeight = WebInspector.TimelineUIUtils.quadHeight(clip);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGraphicsLayer.h236 virtual void paint(GraphicsContext&, const IntRect& clip) OVERRIDE;
257 void paintGraphicsLayerContents(GraphicsContext&, const IntRect& clip);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_pipe_validate.c272 draw->pipeline.clip->next = next;
273 next = draw->pipeline.clip;
H A Ddraw_private.h79 float clip[4]; member in struct:vertex_header
109 struct draw_stage *clip; member in struct:draw_context::__anon13705
219 boolean force_passthrough; /**< never clip or shade */
/external/chromium_org/third_party/skia/include/core/
H A DSkRegion.h141 * drawn by the path (with no antialiasing) with the specified clip.
143 bool setPath(const SkPath&, const SkRegion& clip);
333 * this region intersected with the specified clip rectangle.
337 Cliperator(const SkRegion&, const SkIRect& clip);
/external/chromium_org/third_party/skia/include/device/xps/
H A DSkXPSDevice.h291 HRESULT clip(
314 const SkIRect& clip, SkIRect* clipIRect);

Completed in 1895 milliseconds

<<11121314151617181920>>