Home
last modified time | relevance | path

Searched refs:blit (Results 1 – 25 of 64) sorted by relevance

123

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
Dnv50_surface.c451 nv50_blitctx_make_vp(struct nv50_blitctx *blit) in nv50_blitctx_make_vp() argument
467 blit->vp.type = PIPE_SHADER_VERTEX; in nv50_blitctx_make_vp()
468 blit->vp.translated = TRUE; in nv50_blitctx_make_vp()
469 blit->vp.code = (uint32_t *)code; /* const_cast */ in nv50_blitctx_make_vp()
470 blit->vp.code_size = sizeof(code); in nv50_blitctx_make_vp()
471 blit->vp.max_gpr = 4; in nv50_blitctx_make_vp()
472 blit->vp.max_out = 5; in nv50_blitctx_make_vp()
473 blit->vp.out_nr = 2; in nv50_blitctx_make_vp()
474 blit->vp.out[0].mask = 0x3; in nv50_blitctx_make_vp()
475 blit->vp.out[0].sn = TGSI_SEMANTIC_POSITION; in nv50_blitctx_make_vp()
[all …]
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_surface.c451 nv50_blitctx_make_vp(struct nv50_blitctx *blit) in nv50_blitctx_make_vp() argument
467 blit->vp.type = PIPE_SHADER_VERTEX; in nv50_blitctx_make_vp()
468 blit->vp.translated = TRUE; in nv50_blitctx_make_vp()
469 blit->vp.code = (uint32_t *)code; /* const_cast */ in nv50_blitctx_make_vp()
470 blit->vp.code_size = sizeof(code); in nv50_blitctx_make_vp()
471 blit->vp.max_gpr = 4; in nv50_blitctx_make_vp()
472 blit->vp.max_out = 5; in nv50_blitctx_make_vp()
473 blit->vp.out_nr = 2; in nv50_blitctx_make_vp()
474 blit->vp.out[0].mask = 0x3; in nv50_blitctx_make_vp()
475 blit->vp.out[0].sn = TGSI_SEMANTIC_POSITION; in nv50_blitctx_make_vp()
[all …]
/external/qemu/android/skin/
Dsurface.c288 skin_blit_init_fill( SkinBlit* blit, in skin_blit_init_fill() argument
318 blit->x = x; in skin_blit_init_fill()
319 blit->y = y; in skin_blit_init_fill()
320 blit->w = w; in skin_blit_init_fill()
321 blit->h = h; in skin_blit_init_fill()
326 blit->dst_lock = dst->surface; in skin_blit_init_fill()
327 blit->dst_pitch = dst->surface->pitch; in skin_blit_init_fill()
328 blit->dst_line = dst->surface->pixels + y*blit->dst_pitch; in skin_blit_init_fill()
330 blit->src_lock = NULL; in skin_blit_init_fill()
331 blit->src_color = color; in skin_blit_init_fill()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
Dnvc0_surface.c472 nvc0_blitctx_make_vp(struct nvc0_blitctx *blit) in nvc0_blitctx_make_vp() argument
483 blit->vp.type = PIPE_SHADER_VERTEX; in nvc0_blitctx_make_vp()
484 blit->vp.translated = TRUE; in nvc0_blitctx_make_vp()
485 blit->vp.code = (uint32_t *)code; /* no relocations -> no modification */ in nvc0_blitctx_make_vp()
486 blit->vp.code_size = sizeof(code); in nvc0_blitctx_make_vp()
487 blit->vp.max_gpr = 6; in nvc0_blitctx_make_vp()
488 blit->vp.vp.edgeflag = PIPE_MAX_ATTRIBS; in nvc0_blitctx_make_vp()
490 blit->vp.hdr[0] = 0x00020461; /* vertprog magic */ in nvc0_blitctx_make_vp()
491 blit->vp.hdr[4] = 0x000ff000; /* no outputs read */ in nvc0_blitctx_make_vp()
492 blit->vp.hdr[6] = 0x0000003f; /* a[0x80], a[0x90] */ in nvc0_blitctx_make_vp()
[all …]
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_surface.c472 nvc0_blitctx_make_vp(struct nvc0_blitctx *blit) in nvc0_blitctx_make_vp() argument
483 blit->vp.type = PIPE_SHADER_VERTEX; in nvc0_blitctx_make_vp()
484 blit->vp.translated = TRUE; in nvc0_blitctx_make_vp()
485 blit->vp.code = (uint32_t *)code; /* no relocations -> no modification */ in nvc0_blitctx_make_vp()
486 blit->vp.code_size = sizeof(code); in nvc0_blitctx_make_vp()
487 blit->vp.max_gpr = 6; in nvc0_blitctx_make_vp()
488 blit->vp.vp.edgeflag = PIPE_MAX_ATTRIBS; in nvc0_blitctx_make_vp()
490 blit->vp.hdr[0] = 0x00020461; /* vertprog magic */ in nvc0_blitctx_make_vp()
491 blit->vp.hdr[4] = 0x000ff000; /* no outputs read */ in nvc0_blitctx_make_vp()
492 blit->vp.hdr[6] = 0x0000003f; /* a[0x80], a[0x90] */ in nvc0_blitctx_make_vp()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_blit.c94 RunBlit = src->map->sw_data->blit; in SDL_SoftBlit()
305 surface->map->sw_data->blit = SDL_BlitCopy; in SDL_CalculateBlit()
309 surface->map->sw_data->blit = SDL_BlitCopyOverlap; in SDL_CalculateBlit()
313 surface->map->sw_data->blit = in SDL_CalculateBlit()
318 surface->map->sw_data->blit = in SDL_CalculateBlit()
324 surface->map->sw_data->blit = in SDL_CalculateBlit()
328 surface->map->sw_data->blit = NULL; in SDL_CalculateBlit()
334 if ( surface->map->sw_data->blit == NULL ) { in SDL_CalculateBlit()
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_cb_blit.c50 st->blit = util_create_blit(st->pipe, st->cso_context); in st_init_blit()
57 util_destroy_blit(st->blit); in st_destroy_blit()
58 st->blit = NULL; in st_destroy_blit()
241 util_blit_pixels(st->blit, srcObj->pt, srcAtt->TextureLevel, in st_BlitFramebuffer()
255 util_blit_pixels(st->blit, in st_BlitFramebuffer()
298 util_blit_pixels(st->blit, in st_BlitFramebuffer()
318 util_blit_pixels(st->blit, srcDepthRb->texture, in st_BlitFramebuffer()
328 util_blit_pixels(st->blit, srcStencilRb->texture, in st_BlitFramebuffer()
Dst_context.h184 struct blit_state *blit; member
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_blit.c50 st->blit = util_create_blit(st->pipe, st->cso_context); in st_init_blit()
57 util_destroy_blit(st->blit); in st_destroy_blit()
58 st->blit = NULL; in st_destroy_blit()
241 util_blit_pixels(st->blit, srcObj->pt, srcAtt->TextureLevel, in st_BlitFramebuffer()
255 util_blit_pixels(st->blit, in st_BlitFramebuffer()
298 util_blit_pixels(st->blit, in st_BlitFramebuffer()
318 util_blit_pixels(st->blit, srcDepthRb->texture, in st_BlitFramebuffer()
328 util_blit_pixels(st->blit, srcStencilRb->texture, in st_BlitFramebuffer()
Dst_context.h184 struct blit_state *blit; member
/external/qemu/distrib/sdl-1.2.15/
DTODO15 * Add hardware accelerated scaled blit
17 * Redesign blitting architecture to allow blit plugins
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tex_copy.c57 if (!radeon->vtbl.blit) { in do_copy_texsubimage()
128 return radeon->vtbl.blit(ctx, rrb->bo, src_offset, src_mesaformat, rrb->pitch/rrb->cpp, in do_copy_texsubimage()
Dradeon_pixel_read.c109 !radeon->vtbl.check_blit(dst_format, rrb->pitch / rrb->cpp) || !radeon->vtbl.blit) { in do_blit_readpixels()
158 if (radeon->vtbl.blit(ctx, in do_blit_readpixels()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
Dradeon_pixel_read.c109 !radeon->vtbl.check_blit(dst_format, rrb->pitch / rrb->cpp) || !radeon->vtbl.blit) { in do_blit_readpixels()
158 if (radeon->vtbl.blit(ctx, in do_blit_readpixels()
Dradeon_tex_copy.c57 if (!radeon->vtbl.blit) { in do_copy_texsubimage()
128 return radeon->vtbl.blit(ctx, rrb->bo, src_offset, src_mesaformat, rrb->pitch/rrb->cpp, in do_copy_texsubimage()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_pixel_read.c109 !radeon->vtbl.check_blit(dst_format, rrb->pitch / rrb->cpp) || !radeon->vtbl.blit) { in do_blit_readpixels()
158 if (radeon->vtbl.blit(ctx, in do_blit_readpixels()
Dradeon_tex_copy.c57 if (!radeon->vtbl.blit) { in do_copy_texsubimage()
128 return radeon->vtbl.blit(ctx, rrb->bo, src_offset, src_mesaformat, rrb->pitch/rrb->cpp, in do_copy_texsubimage()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
Dradeon_pixel_read.c109 !radeon->vtbl.check_blit(dst_format, rrb->pitch / rrb->cpp) || !radeon->vtbl.blit) { in do_blit_readpixels()
158 if (radeon->vtbl.blit(ctx, in do_blit_readpixels()
Dradeon_tex_copy.c57 if (!radeon->vtbl.blit) { in do_copy_texsubimage()
128 return radeon->vtbl.blit(ctx, rrb->bo, src_offset, src_mesaformat, rrb->pitch/rrb->cpp, in do_copy_texsubimage()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c347 static void meta_glsl_blit_cleanup(struct gl_context *ctx, struct blit_state *blit);
1399 struct blit_state *blit = &ctx->Meta->Blit; in init_blit_depth_pixels() local
1403 assert(blit->DepthFP == 0); in init_blit_depth_pixels()
1413 _mesa_GenPrograms(1, &blit->DepthFP); in init_blit_depth_pixels()
1414 _mesa_BindProgram(GL_FRAGMENT_PROGRAM_ARB, blit->DepthFP); in init_blit_depth_pixels()
1579 struct blit_state *blit = &ctx->Meta->Blit; in _mesa_meta_BlitFramebuffer() local
1621 if (blit->ArrayObj == 0) { in _mesa_meta_BlitFramebuffer()
1625 _mesa_GenVertexArrays(1, &blit->ArrayObj); in _mesa_meta_BlitFramebuffer()
1626 _mesa_BindVertexArray(blit->ArrayObj); in _mesa_meta_BlitFramebuffer()
1629 _mesa_GenBuffersARB(1, &blit->VBO); in _mesa_meta_BlitFramebuffer()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/
Dmeta.c347 static void meta_glsl_blit_cleanup(struct gl_context *ctx, struct blit_state *blit);
1399 struct blit_state *blit = &ctx->Meta->Blit; in init_blit_depth_pixels() local
1403 assert(blit->DepthFP == 0); in init_blit_depth_pixels()
1413 _mesa_GenPrograms(1, &blit->DepthFP); in init_blit_depth_pixels()
1414 _mesa_BindProgram(GL_FRAGMENT_PROGRAM_ARB, blit->DepthFP); in init_blit_depth_pixels()
1579 struct blit_state *blit = &ctx->Meta->Blit; in _mesa_meta_BlitFramebuffer() local
1621 if (blit->ArrayObj == 0) { in _mesa_meta_BlitFramebuffer()
1625 _mesa_GenVertexArrays(1, &blit->ArrayObj); in _mesa_meta_BlitFramebuffer()
1626 _mesa_BindVertexArray(blit->ArrayObj); in _mesa_meta_BlitFramebuffer()
1629 _mesa_GenBuffersARB(1, &blit->VBO); in _mesa_meta_BlitFramebuffer()
[all …]
/external/qemu/distrib/sdl-1.2.15/test/
Dtestblitspeed.c145 static Uint32 blit(SDL_Surface *dst, SDL_Surface *src, int x, int y) in blit() function
167 blit(dst, src, x, y); in blitCentered()
389 elasped += blit(dest, src, randRange(0, wmax), randRange(0, hmax)); in test_blit_speed()
/external/mesa3d/src/gallium/state_trackers/vega/
Dvg_context.c141 ctx->blit = util_create_blit(ctx->pipe, ctx->cso_context); in vg_create_context()
150 util_destroy_blit(ctx->blit); in vg_destroy_context()
460 util_blit_pixels_tex(ctx->blit, in vg_prepare_blend_texture()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
Dvg_context.c141 ctx->blit = util_create_blit(ctx->pipe, ctx->cso_context); in vg_create_context()
150 util_destroy_blit(ctx->blit); in vg_destroy_context()
460 util_blit_pixels_tex(ctx->blit, in vg_prepare_blend_texture()
/external/mesa3d/src/gallium/drivers/i915/
DTODO45 - Switch to the blitter for those buggy blit copies

123