Searched refs:blit (Results 1 - 25 of 270) sorted by relevance

1234567891011

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_gen_mipmap.c64 struct pipe_blit_info blit; local in function:util_gen_mipmap
96 memset(&blit, 0, sizeof(blit));
97 blit.src.resource = blit.dst.resource = pt;
98 blit.src.format = blit.dst.format = format;
100 blit.mask = is_zs ? PIPE_MASK_Z : PIPE_MASK_RGBA;
101 blit.filter = filter;
104 blit
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_gen_mipmap.c64 struct pipe_blit_info blit; local in function:util_gen_mipmap
96 memset(&blit, 0, sizeof(blit));
97 blit.src.resource = blit.dst.resource = pt;
98 blit.src.format = blit.dst.format = format;
100 blit.mask = is_zs ? PIPE_MASK_Z : PIPE_MASK_RGBA;
101 blit.filter = filter;
104 blit
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_scissor.h36 struct pipe_blit_info *blit);
H A Dst_cb_blit.c66 struct pipe_blit_info blit; local in function:st_BlitFramebuffer
85 * would make us cut off fractional parts, affecting the result of the blit.
92 return; /* nothing to draw/blit */
94 memset(&blit, 0, sizeof(struct pipe_blit_info));
95 blit.scissor_enable =
109 if (blit.scissor_enable) {
110 blit.scissor.minx = MIN2(clip.dstX0, clip.dstX1);
111 blit.scissor.miny = MIN2(clip.dstY0, clip.dstY1);
112 blit.scissor.maxx = MAX2(clip.dstX0, clip.dstX1);
113 blit
[all...]
H A Dst_scissor.c36 struct pipe_blit_info *blit)
40 blit->num_window_rectangles = ctx->Scissor.NumWindowRects;
41 blit->window_rectangle_include =
43 for (i = 0; i < blit->num_window_rectangles; i++) {
45 struct pipe_scissor_state *dst_rect = &blit->window_rectangles[i];
35 st_window_rectangles_to_blit(const struct gl_context * ctx,struct pipe_blit_info * blit) argument
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_scissor.h36 struct pipe_blit_info *blit);
H A Dst_cb_blit.c67 struct pipe_blit_info blit; local in function:st_BlitFramebuffer
86 * would make us cut off fractional parts, affecting the result of the blit.
93 return; /* nothing to draw/blit */
95 memset(&blit, 0, sizeof(struct pipe_blit_info));
96 blit.scissor_enable =
110 if (blit.scissor_enable) {
111 blit.scissor.minx = MIN2(clip.dstX0, clip.dstX1);
112 blit.scissor.miny = MIN2(clip.dstY0, clip.dstY1);
113 blit.scissor.maxx = MAX2(clip.dstX0, clip.dstX1);
114 blit
[all...]
H A Dst_scissor.c36 struct pipe_blit_info *blit)
40 blit->num_window_rectangles = ctx->Scissor.NumWindowRects;
41 blit->window_rectangle_include =
43 for (i = 0; i < blit->num_window_rectangles; i++) {
45 struct pipe_scissor_state *dst_rect = &blit->window_rectangles[i];
35 st_window_rectangles_to_blit(const struct gl_context * ctx,struct pipe_blit_info * blit) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_clear_blit.c166 struct pipe_blit_info blit = {}; local in function:etna_copy_resource
167 blit.mask = util_format_get_mask(dst->format);
168 blit.filter = PIPE_TEX_FILTER_NEAREST;
169 blit.src.resource = src;
170 blit.src.format = src->format;
171 blit.dst.resource = dst;
172 blit.dst.format = dst->format;
173 blit.dst.box.depth = blit.src.box.depth = 1;
177 blit
198 struct pipe_blit_info blit = {}; local in function:etna_copy_resource_box
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_blitter.h51 #define DBG_BLIT(blit, batch) do { \
53 const struct fd_resource *src = fd_resource((blit)->src.resource); \
54 const struct fd_resource *dst = fd_resource((blit)->dst.resource); \
55 const char *src_target = util_str_tex_target((blit)->src.resource->target, true); \
56 const char *dst_target = util_str_tex_target((blit)->dst.resource->target, true); \
57 const char *src_format = util_format_short_name((blit)->src.format); \
58 const char *dst_format = util_format_short_name((blit)->dst.format); \
59 const char *src_tiling = fd_resource_tile_mode_desc(src, (blit)->src.level); \
60 const char *dst_tiling = fd_resource_tile_mode_desc(dst, (blit)->dst.level); \
/xsrc/external/mit/MesaLib/dist/src/freedreno/decode/scripts/
H A Dtex3d-layout.lua48 local blit = {}
50 blit.width = r.GRAS_2D_DST_BR.X + 1
51 blit.height = r.GRAS_2D_DST_BR.Y + 1
52 blit.pitch = r.RB_2D_DST_SIZE.PITCH
53 blit.addr = r.RB_2D_DST_LO | (r.RB_2D_DST_HI << 32)
54 blit.base = bos.base(blit.addr)
55 blit.endaddr = 0 -- filled in later
56 --printf("Found blit: 0x%x (0x%x)\n", blit
[all...]
H A Dtexturator-to-unit-test-5xx.lua24 local blit = allblits[n]
25 if blit.base == base and blit.width == width and blit.height == height then
26 if not first_blit or blit.addr < first_blit.addr then
27 first_blit = blit
59 local blit = {}
61 blit.width = r.RB_RESOLVE_CNTL_2.X + 1
62 blit.height = r.RB_RESOLVE_CNTL_2.Y + 1
63 blit
[all...]
H A Dtexturator-to-unit-test.lua24 local blit = allblits[n]
25 if blit.base == base and blit.width == width and blit.height == height then
26 if not first_blit or blit.addr < first_blit.addr then
27 first_blit = blit
54 local blit = {}
64 blit.width = r.GRAS_2D_DST_BR.X + 1
65 blit.height = r.GRAS_2D_DST_BR.Y + 1
66 blit
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_blit.c54 struct pipe_blit_info *blit)
56 memset(blit, 0, sizeof(*blit));
58 blit->src.format = src_tex->format;
59 blit->dst.format = dst_tex->format;
61 blit->mask = util_format_get_mask(blit->dst.format);
62 blit->filter = PIPE_TEX_FILTER_NEAREST;
63 blit->src.resource = src_tex;
64 blit
46 build_blit_info(struct pipe_resource * dst_tex,unsigned dst_level,unsigned dst_x,unsigned dst_y,unsigned dst_z,struct pipe_resource * src_tex,unsigned src_level,const struct pipe_box * src_box,struct pipe_blit_info * blit) argument
234 is_blending_enabled(struct svga_context * svga,const struct pipe_blit_info * blit) argument
282 check_blending_and_srgb_cond(struct svga_context * svga,const struct pipe_blit_info * blit) argument
466 try_copy_region(struct svga_context * svga,const struct pipe_blit_info * blit) argument
573 struct pipe_blit_info blit = *blit_info; local in function:try_blit
758 try_cpu_copy_region(struct svga_context * svga,const struct pipe_blit_info * blit) argument
786 svga_blit(struct pipe_context * pipe,const struct pipe_blit_info * blit) argument
864 struct pipe_blit_info blit; local in function:svga_resource_copy_region
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_blit.c54 struct pipe_blit_info *blit)
56 memset(blit, 0, sizeof(*blit));
58 blit->src.format = src_tex->format;
59 blit->dst.format = dst_tex->format;
61 blit->mask = util_format_get_mask(blit->dst.format);
62 blit->filter = PIPE_TEX_FILTER_NEAREST;
63 blit->src.resource = src_tex;
64 blit
46 build_blit_info(struct pipe_resource * dst_tex,unsigned dst_level,unsigned dst_x,unsigned dst_y,unsigned dst_z,struct pipe_resource * src_tex,unsigned src_level,const struct pipe_box * src_box,struct pipe_blit_info * blit) argument
226 is_blending_enabled(struct svga_context * svga,const struct pipe_blit_info * blit) argument
274 check_blending_and_srgb_cond(struct svga_context * svga,const struct pipe_blit_info * blit) argument
458 try_copy_region(struct svga_context * svga,const struct pipe_blit_info * blit) argument
565 struct pipe_blit_info blit = *blit_info; local in function:try_blit
752 try_cpu_copy_region(struct svga_context * svga,const struct pipe_blit_info * blit) argument
780 svga_blit(struct pipe_context * pipe,const struct pipe_blit_info * blit) argument
851 struct pipe_blit_info blit; local in function:svga_resource_copy_region
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_clear_blit.c100 if (ctx->blit(pctx, &info))
107 DBG("cannot blit stencil, skipping");
112 DBG("blit unsupported %s -> %s",
197 struct pipe_blit_info blit = {}; local in function:etna_copy_resource
198 blit.mask = util_format_get_mask(dst->format);
199 blit.filter = PIPE_TEX_FILTER_NEAREST;
200 blit.src.resource = src;
201 blit.src.format = src->format;
202 blit.dst.resource = dst;
203 blit
234 struct pipe_blit_info blit = {}; local in function:etna_copy_resource_box
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/postprocess/
H A Dpp_run.c48 struct pipe_blit_info blit; local in function:pp_blit
50 memset(&blit, 0, sizeof(blit));
52 blit.src.resource = src_tex;
53 blit.src.level = 0;
54 blit.src.format = src_tex->format;
55 blit.src.box.x = srcX0;
56 blit.src.box.y = srcY0;
57 blit.src.box.z = srcZ0;
58 blit
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/postprocess/
H A Dpp_run.c49 struct pipe_blit_info blit; local in function:pp_blit
51 memset(&blit, 0, sizeof(blit));
53 blit.src.resource = src_tex;
54 blit.src.level = 0;
55 blit.src.format = src_tex->format;
56 blit.src.box.x = srcX0;
57 blit.src.box.y = srcY0;
58 blit.src.box.z = srcZ0;
59 blit
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/virgl/
H A Dvirgl_texture.c40 struct pipe_blit_info blit; local in function:virgl_copy_region_with_blit
42 memset(&blit, 0, sizeof(blit));
43 blit.src.resource = src;
44 blit.src.format = src->format;
45 blit.src.level = src_level;
46 blit.src.box = *src_box;
47 blit.dst.resource = dst;
48 blit.dst.format = dst->format;
49 blit
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
H A Dr300_transfer.c63 struct pipe_blit_info blit; local in function:r300_copy_from_tiled_texture
65 memset(&blit, 0, sizeof(blit));
66 blit.src.resource = src;
67 blit.src.format = src->format;
68 blit.src.level = transfer->level;
69 blit.src.box = transfer->box;
70 blit.dst.resource = dst;
71 blit.dst.format = dst->format;
72 blit
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
H A Dr300_transfer.c60 struct pipe_blit_info blit; local in function:r300_copy_from_tiled_texture
62 memset(&blit, 0, sizeof(blit));
63 blit.src.resource = src;
64 blit.src.format = src->format;
65 blit.src.level = transfer->level;
66 blit.src.box = transfer->box;
67 blit.dst.resource = dst;
68 blit.dst.format = dst->format;
69 blit
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/common/
H A Dmeta_blit.c62 struct blit_state *blit,
74 _mesa_meta_setup_vertex_objects(ctx, &blit->VAO, &blit->buf_obj, true,
78 do_depth ? &blit->shaders_with_depth
79 : &blit->shaders_without_depth);
100 struct blit_state *blit = &ctx->Meta->Blit; local in function:blitframebuffer_texture
184 setup_glsl_blit_framebuffer(ctx, blit, drawFb, rb, target, do_depth);
211 * When values are written to the draw buffers, blit operations
213 * operations which affect a blit are the pixel ownership test,
280 _mesa_buffer_sub_data(ctx, blit
61 setup_glsl_blit_framebuffer(struct gl_context * ctx,struct blit_state * blit,const struct gl_framebuffer * drawFb,struct gl_renderbuffer * src_rb,GLenum target,bool do_depth) argument
297 _mesa_meta_fb_tex_blit_begin(struct gl_context * ctx,struct fb_tex_blit_state * blit) argument
315 _mesa_meta_fb_tex_blit_end(struct gl_context * ctx,GLenum target,struct fb_tex_blit_state * blit) argument
505 _mesa_meta_glsl_blit_cleanup(struct gl_context * ctx,struct blit_state * blit) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/common/
H A Dmeta_blit.c60 struct blit_state *blit,
107 if (blit->msaa_shaders[shader_index]) {
108 _mesa_meta_use_program(ctx, blit->msaa_shaders[shader_index]);
111 _mesa_program_resource_location(blit->msaa_shaders[shader_index], GL_UNIFORM, "src_width");
113 _mesa_program_resource_location(blit->msaa_shaders[shader_index], GL_UNIFORM, "src_height");
238 &blit->msaa_shaders[shader_index]);
240 _mesa_program_resource_location(blit->msaa_shaders[shader_index], GL_UNIFORM, "src_width");
242 _mesa_program_resource_location(blit->msaa_shaders[shader_index], GL_UNIFORM, "src_height");
251 struct blit_state *blit,
349 if (blit
59 setup_glsl_msaa_blit_scaled_shader(struct gl_context * ctx,struct blit_state * blit,struct gl_renderbuffer * src_rb,GLenum target) argument
250 setup_glsl_msaa_blit_shader(struct gl_context * ctx,struct blit_state * blit,const struct gl_framebuffer * drawFb,struct gl_renderbuffer * src_rb,GLenum target) argument
561 setup_glsl_blit_framebuffer(struct gl_context * ctx,struct blit_state * blit,const struct gl_framebuffer * drawFb,struct gl_renderbuffer * src_rb,GLenum target,GLenum filter,bool is_scaled_blit,bool do_depth) argument
612 struct blit_state *blit = &ctx->Meta->Blit; local in function:blitframebuffer_texture
823 _mesa_meta_fb_tex_blit_begin(struct gl_context * ctx,struct fb_tex_blit_state * blit) argument
841 _mesa_meta_fb_tex_blit_end(struct gl_context * ctx,GLenum target,struct fb_tex_blit_state * blit) argument
1038 _mesa_meta_glsl_blit_cleanup(struct gl_context * ctx,struct blit_state * blit) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
H A Dswapchain9.c622 struct pipe_blit_info blit; local in function:handle_draw_cursor_and_hud
626 memset(&blit, 0, sizeof(blit));
627 blit.src.resource = device->cursor.image;
628 blit.src.level = 0;
629 blit.src.format = device->cursor.image->format;
630 blit.src.box.x = 0;
631 blit.src.box.y = 0;
632 blit.src.box.z = 0;
633 blit
725 struct pipe_blit_info blit; local in function:present
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
H A Dswapchain9.c622 struct pipe_blit_info blit; local in function:handle_draw_cursor_and_hud
626 memset(&blit, 0, sizeof(blit));
627 blit.src.resource = device->cursor.image;
628 blit.src.level = 0;
629 blit.src.format = device->cursor.image->format;
630 blit.src.box.x = 0;
631 blit.src.box.y = 0;
632 blit.src.box.z = 0;
633 blit
725 struct pipe_blit_info blit; local in function:present
[all...]

Completed in 18 milliseconds

1234567891011