/external/qemu/android/skin/ |
H A D | scaler.c | 107 SDL_Surface* dst_surface, 120 SDL_LockSurface( dst_surface ); 127 op.dst_pitch = dst_surface->pitch; 128 op.dst_line = dst_surface->pixels; 156 if (dst_surface->format->Rshift != 16 || 157 dst_surface->format->Gshift != 8 || 158 dst_surface->format->Bshift != 0) 160 uint32_t rshift = dst_surface->format->Rshift; 161 uint32_t gshift = dst_surface->format->Gshift; 162 uint32_t bshift = dst_surface 106 skin_scaler_scale( SkinScaler* scaler, SDL_Surface* dst_surface, SDL_Surface* src_surface, int sx, int sy, int sw, int sh ) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_blit.c | 442 struct pipe_surface *dst_surface; local 528 dst_surface = dst; 532 dst_surface = pipe->create_surface(pipe, dst->texture, &templ); 537 if (src_tex == dst_surface->texture && 538 dst_surface->u.tex.level == src_level && 539 dst_surface->u.tex.first_layer == srcZ0) { 650 dst_surface->texture->nr_samples, 743 ctx->viewport.scale[0] = 0.5f * dst_surface->width; 744 ctx->viewport.scale[1] = 0.5f * dst_surface->height; 747 ctx->viewport.translate[0] = 0.5f * dst_surface [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
H A D | vl_compositor.c | 985 struct pipe_surface *dst_surface, 989 assert(dst_surface); 991 c->fb_state.width = dst_surface->width; 992 c->fb_state.height = dst_surface->height; 993 c->fb_state.cbufs[0] = dst_surface; 998 s->scissor.maxx = dst_surface->width; 999 s->scissor.maxy = dst_surface->height; 1007 c->pipe->clear_render_target(c->pipe, dst_surface, &s->clear_color, 1008 0, 0, dst_surface->width, dst_surface 983 vl_compositor_render(struct vl_compositor_state *s, struct vl_compositor *c, struct pipe_surface *dst_surface, struct u_rect *dirty_area) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_blit.c | 442 struct pipe_surface *dst_surface; local 528 dst_surface = dst; 532 dst_surface = pipe->create_surface(pipe, dst->texture, &templ); 537 if (src_tex == dst_surface->texture && 538 dst_surface->u.tex.level == src_level && 539 dst_surface->u.tex.first_layer == srcZ0) { 650 dst_surface->texture->nr_samples, 743 ctx->viewport.scale[0] = 0.5f * dst_surface->width; 744 ctx->viewport.scale[1] = 0.5f * dst_surface->height; 747 ctx->viewport.translate[0] = 0.5f * dst_surface [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_compositor.c | 985 struct pipe_surface *dst_surface, 989 assert(dst_surface); 991 c->fb_state.width = dst_surface->width; 992 c->fb_state.height = dst_surface->height; 993 c->fb_state.cbufs[0] = dst_surface; 998 s->scissor.maxx = dst_surface->width; 999 s->scissor.maxy = dst_surface->height; 1007 c->pipe->clear_render_target(c->pipe, dst_surface, &s->clear_color, 1008 0, 0, dst_surface->width, dst_surface 983 vl_compositor_render(struct vl_compositor_state *s, struct vl_compositor *c, struct pipe_surface *dst_surface, struct u_rect *dirty_area) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
H A D | xa_renderer.c | 393 struct pipe_surface *dst_surface, 403 assert(screen->is_format_supported(screen, dst_surface->format, 437 renderer_bind_destination(r, dst_surface, 438 dst_surface->width, dst_surface->height); 455 if (dst_surface->format == PIPE_FORMAT_L8_UNORM) 392 renderer_copy_prepare(struct xa_context *r, struct pipe_surface *dst_surface, struct pipe_resource *src_texture, const enum xa_formats src_xa_format, const enum xa_formats dst_xa_format) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
H A D | st_cb_texture.c | 561 struct pipe_surface *dst_surface; local 569 &dst_texture, &dst_surface)) { 602 dst_surface, /* pipe_surface (dst) */ 614 /* map the dst_surface so we can read from it */ 675 util_destroy_rgba_surface(dst_texture, dst_surface);
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
H A D | xa_renderer.c | 393 struct pipe_surface *dst_surface, 403 assert(screen->is_format_supported(screen, dst_surface->format, 437 renderer_bind_destination(r, dst_surface, 438 dst_surface->width, dst_surface->height); 455 if (dst_surface->format == PIPE_FORMAT_L8_UNORM) 392 renderer_copy_prepare(struct xa_context *r, struct pipe_surface *dst_surface, struct pipe_resource *src_texture, const enum xa_formats src_xa_format, const enum xa_formats dst_xa_format) argument
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_texture.c | 561 struct pipe_surface *dst_surface; local 569 &dst_texture, &dst_surface)) { 602 dst_surface, /* pipe_surface (dst) */ 614 /* map the dst_surface so we can read from it */ 675 util_destroy_rgba_surface(dst_texture, dst_surface);
|
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/ |
H A D | SDL_dx5video.c | 1906 LPDIRECTDRAWSURFACE3 dst_surface; local 1913 dst_surface = dst->hwdata->dd_writebuf; 1928 result = IDirectDrawSurface3_BltFast(dst_surface, 1933 result = IDirectDrawSurface3_Restore(dst_surface); 1945 PrintSurface("DST", dst_surface, dst->flags); 1998 LPDIRECTDRAWSURFACE3 dst_surface; local 2006 dst_surface = dst->hwdata->dd_writebuf; 2017 result = IDirectDrawSurface3_Blt(dst_surface, 2020 IDirectDrawSurface3_Restore(dst_surface); 2021 result = IDirectDrawSurface3_Blt(dst_surface, [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/dxgi/src/ |
H A D | dxgi_native.cpp | 1109 struct pipe_surface* dst_surface; local 1135 dst_surface = 0; 1175 dst_surface = pipe->create_surface(pipe, dst, &templat); 1209 pipe->clear_render_target(pipe, dst_surface, &black, rect.left, rect.top, blit_x, dst_h); 1211 pipe->clear_render_target(pipe, dst_surface, &black, rect.left, rect.top, dst_w, blit_y); 1224 blitter->blit(dst_surface, gallium_buffer0_view, rect.left + blit_x, rect.top + blit_y, blit_w, blit_h); 1230 pipe->clear_render_target(pipe, dst_surface, &black, rect.left + blit_x + blit_w, rect.top, dst_w - blit_x - blit_w, dst_h); 1232 pipe->clear_render_target(pipe, dst_surface, &black, rect.left, rect.top + blit_y + blit_h, dst_w, dst_h - blit_y - blit_h); 1235 if(dst_surface) 1236 pipe->surface_destroy(pipe, dst_surface); [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/ |
H A D | dxgi_native.cpp | 1109 struct pipe_surface* dst_surface; local 1135 dst_surface = 0; 1175 dst_surface = pipe->create_surface(pipe, dst, &templat); 1209 pipe->clear_render_target(pipe, dst_surface, &black, rect.left, rect.top, blit_x, dst_h); 1211 pipe->clear_render_target(pipe, dst_surface, &black, rect.left, rect.top, dst_w, blit_y); 1224 blitter->blit(dst_surface, gallium_buffer0_view, rect.left + blit_x, rect.top + blit_y, blit_w, blit_h); 1230 pipe->clear_render_target(pipe, dst_surface, &black, rect.left + blit_x + blit_w, rect.top, dst_w - blit_x - blit_w, dst_h); 1232 pipe->clear_render_target(pipe, dst_surface, &black, rect.left, rect.top + blit_y + blit_h, dst_w, dst_h - blit_y - blit_h); 1235 if(dst_surface) 1236 pipe->surface_destroy(pipe, dst_surface); [all...] |