Home
last modified time | relevance | path

Searched refs:dst_rect (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/ui/gfx/
Dblit.cc55 const Rect& dst_rect, in BlitContextToContext() argument
59 BitBlt(dst_context, dst_rect.x(), dst_rect.y(), in BlitContextToContext()
60 dst_rect.width(), dst_rect.height(), in BlitContextToContext()
68 Rect src_rect(src_origin, dst_rect.size()); in BlitContextToContext()
80 CGContextDrawImage(dst_context, dst_rect.ToCGRect(), src_sub_image); in BlitContextToContext()
89 dst_rect.x()-surface_x, dst_rect.y()-surface_y); in BlitContextToContext()
90 cairo_rectangle(dst_context, dst_rect.x(), dst_rect.y(), in BlitContextToContext()
91 dst_rect.width(), dst_rect.height()); in BlitContextToContext()
101 const Rect& dst_rect, in BlitContextToCanvas() argument
105 BlitContextToContext(skia::BeginPlatformPaint(dst_canvas), dst_rect, in BlitContextToCanvas()
[all …]
Dblit.h21 const Rect& dst_rect,
27 const Rect& dst_rect,
33 const Rect& dst_rect,
39 const Rect& dst_rect,
/external/chromium_org/ash/wm/overview/
Dscoped_transform_overview_window.cc179 const gfx::Rect& dst_rect) { in GetTransformForRect() argument
181 DCHECK(!dst_rect.IsEmpty()); in GetTransformForRect()
183 transform.Translate(dst_rect.x() - src_rect.x(), in GetTransformForRect()
184 dst_rect.y() - src_rect.y()); in GetTransformForRect()
185 transform.Scale(static_cast<float>(dst_rect.width()) / src_rect.width(), in GetTransformForRect()
186 static_cast<float>(dst_rect.height()) / src_rect.height()); in GetTransformForRect()
Dscoped_transform_overview_window.h46 const gfx::Rect& dst_rect);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
Dvl_compositor.h190 struct u_rect *dst_rect,
203 struct u_rect *dst_rect,
215 struct u_rect *dst_rect,
Dvl_compositor.c873 struct u_rect *dst_rect, in vl_compositor_set_buffer_layer() argument
892 dst_rect ? *dst_rect : default_rect(&s->layers[layer])); in vl_compositor_set_buffer_layer()
927 struct u_rect *dst_rect, in vl_compositor_set_palette_layer() argument
947 dst_rect ? *dst_rect : default_rect(&s->layers[layer])); in vl_compositor_set_palette_layer()
956 struct u_rect *dst_rect, in vl_compositor_set_rgba_layer() argument
975 dst_rect ? *dst_rect : default_rect(&s->layers[layer])); in vl_compositor_set_rgba_layer()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor.h190 struct u_rect *dst_rect,
203 struct u_rect *dst_rect,
215 struct u_rect *dst_rect,
Dvl_compositor.c873 struct u_rect *dst_rect, in vl_compositor_set_buffer_layer() argument
892 dst_rect ? *dst_rect : default_rect(&s->layers[layer])); in vl_compositor_set_buffer_layer()
927 struct u_rect *dst_rect, in vl_compositor_set_palette_layer() argument
947 dst_rect ? *dst_rect : default_rect(&s->layers[layer])); in vl_compositor_set_palette_layer()
956 struct u_rect *dst_rect, in vl_compositor_set_rgba_layer() argument
975 dst_rect ? *dst_rect : default_rect(&s->layers[layer])); in vl_compositor_set_rgba_layer()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
Doutput.c293 struct u_rect dst_rect; in vlVdpOutputSurfacePutBitsIndexed() local
392 vl_compositor_set_layer_dst_area(cstate, 0, RectToPipe(destination_rect, &dst_rect)); in vlVdpOutputSurfacePutBitsIndexed()
427 struct u_rect dst_rect; in vlVdpOutputSurfacePutBitsYCbCr() local
498 vl_compositor_set_layer_dst_area(cstate, 0, RectToPipe(destination_rect, &dst_rect)); in vlVdpOutputSurfacePutBitsYCbCr()
638 struct u_rect src_rect, dst_rect; in vlVdpOutputSurfaceRenderOutputSurface() local
668 vl_compositor_set_layer_dst_area(cstate, 0, RectToPipe(destination_rect, &dst_rect)); in vlVdpOutputSurfaceRenderOutputSurface()
697 struct u_rect src_rect, dst_rect; in vlVdpOutputSurfaceRenderBitmapSurface() local
727 vl_compositor_set_layer_dst_area(cstate, 0, RectToPipe(destination_rect, &dst_rect)); in vlVdpOutputSurfaceRenderBitmapSurface()
/external/mesa3d/src/gallium/state_trackers/vdpau/
Doutput.c293 struct u_rect dst_rect; in vlVdpOutputSurfacePutBitsIndexed() local
392 vl_compositor_set_layer_dst_area(cstate, 0, RectToPipe(destination_rect, &dst_rect)); in vlVdpOutputSurfacePutBitsIndexed()
427 struct u_rect dst_rect; in vlVdpOutputSurfacePutBitsYCbCr() local
498 vl_compositor_set_layer_dst_area(cstate, 0, RectToPipe(destination_rect, &dst_rect)); in vlVdpOutputSurfacePutBitsYCbCr()
638 struct u_rect src_rect, dst_rect; in vlVdpOutputSurfaceRenderOutputSurface() local
668 vl_compositor_set_layer_dst_area(cstate, 0, RectToPipe(destination_rect, &dst_rect)); in vlVdpOutputSurfaceRenderOutputSurface()
697 struct u_rect src_rect, dst_rect; in vlVdpOutputSurfaceRenderBitmapSurface() local
727 vl_compositor_set_layer_dst_area(cstate, 0, RectToPipe(destination_rect, &dst_rect)); in vlVdpOutputSurfaceRenderBitmapSurface()
/external/qemu/distrib/sdl-1.2.15/src/video/gem/
DSDL_gemvideo.c1197 short icon_rect[4], dst_rect[4]; in refresh_window() local
1214 dst_rect[0] = rect[0]-wind_pxy[0]; in refresh_window()
1215 dst_rect[1] = rect[1]-wind_pxy[1]; in refresh_window()
1216 dst_rect[2] = rect[2]-rect[0]+1; in refresh_window()
1217 dst_rect[3] = rect[3]-rect[1]+1; in refresh_window()
1220 if (!rc_intersect((GRECT *)icon_rect, (GRECT *)dst_rect)) { in refresh_window()
1226 surface->w-1,surface->h-1, dst_rect[0],dst_rect[1],dst_rect[2],dst_rect[3]); in refresh_window()
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dsurface.c358 struct u_rect dst_rect = {destx, destx + destw, desty, desty + desth}; in XvMCPutSurface() local
422 … &subpicture_priv->src_rect, &subpicture_priv->dst_rect, true); in XvMCPutSurface()
425 &subpicture_priv->src_rect, &subpicture_priv->dst_rect, NULL); in XvMCPutSurface()
434 vl_compositor_set_layer_dst_area(cstate, 0, &dst_rect); in XvMCPutSurface()
435 vl_compositor_set_layer_dst_area(cstate, 1, &dst_rect); in XvMCPutSurface()
Dxvmc_private.h94 struct u_rect dst_rect; member
Dsubpicture.c440 struct u_rect dst_rect = {surfx, surfx + surfw, surfy, surfy + surfh}; in XvMCBlendSubpicture() local
465 subpicture_priv->dst_rect = dst_rect; in XvMCBlendSubpicture()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/
Dsurface.c358 struct u_rect dst_rect = {destx, destx + destw, desty, desty + desth}; in XvMCPutSurface() local
422 … &subpicture_priv->src_rect, &subpicture_priv->dst_rect, true); in XvMCPutSurface()
425 &subpicture_priv->src_rect, &subpicture_priv->dst_rect, NULL); in XvMCPutSurface()
434 vl_compositor_set_layer_dst_area(cstate, 0, &dst_rect); in XvMCPutSurface()
435 vl_compositor_set_layer_dst_area(cstate, 1, &dst_rect); in XvMCPutSurface()
Dxvmc_private.h94 struct u_rect dst_rect; member
Dsubpicture.c440 struct u_rect dst_rect = {surfx, surfx + surfw, surfy, surfy + surfh}; in XvMCBlendSubpicture() local
465 subpicture_priv->dst_rect = dst_rect; in XvMCBlendSubpicture()
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Dcarbonvideorenderer.cc102 CGRect dst_rect = CGRectMake(x, y, CGImageGetWidth(image_ref), in DrawFrame() local
104 CGContextDrawImage(context, dst_rect, image_ref); in DrawFrame()
/external/qemu/android/skin/
Dsurface.c290 SkinRect* dst_rect, in skin_blit_init_fill() argument
293 int x = dst_rect->pos.x; in skin_blit_init_fill()
294 int y = dst_rect->pos.y; in skin_blit_init_fill()
295 int w = dst_rect->size.w; in skin_blit_init_fill()
296 int h = dst_rect->size.h; in skin_blit_init_fill()
/external/chromium_org/content/renderer/gpu/
Dcompositor_software_output_device.cc176 SkRect dst_rect = SkRect::Make(src_rect); in BeginPaint() local
177 canvas_->drawBitmapRect(back_bitmap, &src_rect, dst_rect, NULL); in BeginPaint()
/external/chromium_org/content/browser/renderer_host/
Dbacking_store_aura.cc78 SkRect dst_rect = SkRect::MakeWH(pixel_size.width(), pixel_size.height()); in ScaleFactorChanged() local
79 new_canvas.get()->drawBitmapRect(bitmap_, &src_rect, dst_rect, &copy_paint); in ScaleFactorChanged()
/external/chromium_org/ui/surface/
Daccelerated_surface_transformer_win.cc354 const gfx::Rect& dst_rect) { in ResizeBilinear() argument
358 gfx::Size dst_size = dst_rect.size(); in ResizeBilinear()
397 write_rect = dst_rect.ToRECT(); in ResizeBilinear()
/external/qemu/distrib/sdl-1.2.15/src/video/macdsp/
DSDL_dspvideo.c1149 Rect src_rect, dst_rect; in DSp_HWAccelBlit() local
1158 SetRect (&dst_rect, dstrect->x, dstrect->y, dstrect->x + dstrect->w, dstrect->y + dstrect->h); in DSp_HWAccelBlit()
1176 &src_rect, &src_rect, &dst_rect, in DSp_HWAccelBlit()
1198 &src_rect, &dst_rect, mode, NULL ); in DSp_HWAccelBlit()
1204 &src_rect, &dst_rect, srcCopy, NULL ); in DSp_HWAccelBlit()