HomeSort by relevance Sort by last modified time
    Searched full:svga (Results 26 - 50 of 204) sorted by null

12 3 4 5 6 7 8 9

  /external/mesa3d/src/gallium/drivers/svga/
svga_state.c 128 update_state(struct svga_context *svga,
140 ret = svga_hwtnl_flush( svga->hwtnl );
163 ret = atoms[i]->update( svga, *state );
186 ret = atoms[i]->update( svga, *state );
199 svga_update_state(struct svga_context *svga, unsigned max_level)
201 struct svga_screen *screen = svga_screen(svga->pipe.screen);
211 if (svga->state.texture_timestamp != screen->texture_timestamp) {
212 svga->state.texture_timestamp = screen->texture_timestamp;
213 svga->dirty |= SVGA_NEW_TEXTURE;
217 svga->dirty |= svga->state.dirty[i]
    [all...]
svga_pipe_blit.c 45 copy_region_vgpu10(struct svga_context *svga, struct pipe_resource *src_tex,
74 ret = SVGA3D_vgpu10_PredCopyRegion(svga->swc,
78 svga_context_flush(svga, NULL);
79 ret = SVGA3D_vgpu10_PredCopyRegion(svga->swc,
124 struct svga_context *svga = svga_context(pipe); local
130 svga_surfaces_flush( svga );
134 if (svga_have_vgpu10(svga) && src_tex != dst_tex) {
140 src_surf = svga_buffer_handle(svga, src_tex);
141 dst_surf = svga_buffer_handle(svga, dst_tex);
143 ret = SVGA3D_vgpu10_BufferCopy(svga->swc, src_surf, dst_surf
318 struct svga_context *svga = svga_context(pipe); local
    [all...]
svga_state_constants.c 51 * Extra space for svga-specific VS/PS constants (such as texcoord
66 svga_get_extra_constants_common(struct svga_context *svga,
75 struct pipe_sampler_view *sv = svga->curr.sampler_views[shader][i];
117 svga_get_extra_fs_constants(struct svga_context *svga, float *dest)
119 const struct svga_shader_variant *variant = svga->state.hw_draw.fs;
122 count += svga_get_extra_constants_common(svga, variant,
136 svga_get_prescale_constants(struct svga_context *svga, float **dest)
138 memcpy(*dest, svga->state.hw_clear.prescale.scale, 4 * sizeof(float));
141 memcpy(*dest, svga->state.hw_clear.prescale.translate, 4 * sizeof(float));
151 svga_get_pt_sprite_constants(struct svga_context *svga, float **dest
    [all...]
svga_state_sampler.c 67 svga_check_sampler_view_resource_collision(struct svga_context *svga,
71 struct pipe_screen *screen = svga->pipe.screen;
78 for (i = 0; i < svga->curr.num_sampler_views[shader]; i++) {
80 svga_pipe_sampler_view(svga->curr.sampler_views[shader][i]);
96 svga_check_sampler_framebuffer_resource_collision(struct svga_context *svga,
102 for (i = 0; i < svga->curr.framebuffer.nr_cbufs; i++) {
103 surf = svga_surface(svga->curr.framebuffer.cbufs[i]);
105 svga_check_sampler_view_resource_collision(svga, surf->handle,
111 surf = svga_surface(svga->curr.framebuffer.zsbuf);
113 svga_check_sampler_view_resource_collision(svga, surf->handle, shader))
    [all...]
svga_pipe_constants.c 52 struct svga_context *svga = svga_context(pipe); local
67 assert(index < ARRAY_SIZE(svga->curr.constbufs[shader]));
71 pipe_resource_reference(&svga->curr.constbufs[shader][index].buffer, buf);
76 svga->curr.constbufs[shader][index].buffer_size =
79 svga->curr.constbufs[shader][index].buffer_offset = cb ? cb->buffer_offset : 0;
80 svga->curr.constbufs[shader][index].user_buffer = NULL; /* not used */
83 svga->dirty |= SVGA_NEW_FS_CONST_BUFFER;
85 svga->dirty |= SVGA_NEW_VS_CONST_BUFFER;
87 svga->dirty |= SVGA_NEW_GS_CONST_BUFFER;
90 svga->state.dirty_constbufs[shader] |= (1 << index)
    [all...]
svga_state.h 36 void svga_init_state( struct svga_context *svga );
37 void svga_destroy_state( struct svga_context *svga );
43 enum pipe_error (*update)( struct svga_context *svga, unsigned dirty );
91 enum pipe_error svga_update_state( struct svga_context *svga,
94 void svga_update_state_retry( struct svga_context *svga,
98 enum pipe_error svga_emit_initial_state( struct svga_context *svga );
100 enum pipe_error svga_reemit_framebuffer_bindings( struct svga_context *svga );
102 enum pipe_error svga_rebind_framebuffer_bindings( struct svga_context *svga );
104 enum pipe_error svga_reemit_tss_bindings( struct svga_context *svga );
106 enum pipe_error svga_reemit_vs_bindings(struct svga_context *svga);
    [all...]
svga_draw.c 48 svga_hwtnl_create(struct svga_context *svga)
54 hwtnl->svga = svga;
56 hwtnl->cmd.swc = svga->swc;
90 struct svga_screen *svgascreen = svga_screen(hwtnl->svga->pipe.screen);
180 struct svga_context *svga = hwtnl->svga; local
191 handle = svga_buffer_handle(svga, hwtnl->cmd.vbufs[j].buffer);
200 handle = svga_buffer_handle(svga, hwtnl->cmd.prim_ib[i]);
210 if (svga->rebind.flags.rendertargets)
464 struct svga_context *svga = hwtnl->svga; local
    [all...]
svga_state_framebuffer.c 53 emit_fb_vgpu9(struct svga_context *svga)
55 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen);
56 const struct pipe_framebuffer_state *curr = &svga->curr.framebuffer;
57 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer;
58 boolean reemit = svga->rebind.flags.rendertargets;
62 assert(!svga_have_vgpu10(svga));
71 if (svga->curr.nr_fbs++ > MAX_RT_PER_BATCH)
74 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_COLOR0 + i,
84 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_DEPTH, curr->zsbuf);
90 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_STENCIL
    [all...]
svga_shader.c 169 svga_init_shader_key_common(const struct svga_context *svga,
175 assert(shader < ARRAY_SIZE(svga->curr.num_sampler_views));
180 key->num_textures = MIN2(svga->curr.num_sampler_views[shader],
181 svga->curr.num_samplers[shader]);
184 struct pipe_sampler_view *view = svga->curr.sampler_views[shader][i];
185 const struct svga_sampler_state *sampler = svga->curr.sampler[shader][i];
257 define_gb_shader_vgpu9(struct svga_context *svga,
262 struct svga_winsys_screen *sws = svga_screen(svga->pipe.screen)->sws;
276 ret = SVGA3D_BindGBShader(svga->swc, variant->gb_shader);
285 define_gb_shader_vgpu10(struct svga_context *svga,
    [all...]
svga_pipe_rasterizer.c 105 define_rasterizer_object(struct svga_context *svga,
108 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen);
123 rast->id = util_bitmask_add(svga->rast_object_id_bm);
137 SVGA3D_vgpu10_DefineRasterizerState(svga->swc,
156 svga_context_flush(svga, NULL);
165 struct svga_context *svga = svga_context(pipe); local
215 else if (svga->debug.no_line_width) {
225 if (screen->haveLineStipple || svga->debug.force_hw_line_stipple) {
238 if (!svga_have_vgpu10(svga) && templ->point_smooth) {
352 debug_printf("svga: rast need_pipeline = 0x%x\n", rast->need_pipeline)
378 struct svga_context *svga = svga_context(pipe); local
397 struct svga_context *svga = svga_context(pipe); local
    [all...]
svga_state_vdecl.c 43 emit_hw_vs_vdecl(struct svga_context *svga, unsigned dirty)
45 const struct pipe_vertex_element *ve = svga->curr.velems->velem;
51 assert(svga->curr.velems->count >=
52 svga->curr.vs->base.info.file_count[TGSI_FILE_INPUT]);
69 for (i = 0; i < svga->curr.velems->count; i++) {
71 &svga->curr.vb[ve[i].vertex_buffer_index];
88 for (i = 0; i < svga->curr.velems->count; i++) {
90 &svga->curr.vb[ve[i].vertex_buffer_index];
102 decls[i].identity.type = svga->curr.velems->decl_type[i];
123 svga_hwtnl_vertex_decls(svga->hwtnl
    [all...]
svga_pipe_flush.c 39 struct svga_context *svga = svga_context(pipe); local
43 svga_surfaces_flush( svga );
47 svga_context_flush(svga, fence);
54 struct pipe_framebuffer_state *fb = &svga->curr.framebuffer;
61 debug_dump_surface_bmp(&svga->pipe, filename, fb->cbufs[i]);
66 debug_dump_surface_bmp(&svga->pipe, filename, fb->zsbuf);
74 void svga_init_flush_functions( struct svga_context *svga )
76 svga->pipe.flush = svga_flush;
svga_streamout.h 38 svga_create_stream_output(struct svga_context *svga,
43 svga_set_stream_output(struct svga_context *svga,
47 svga_delete_stream_output(struct svga_context *svga,
51 svga_rebind_stream_output_targets(struct svga_context *svga);
svga_surface.c 48 svga_texture_copy_handle(struct svga_context *svga,
61 assert(svga);
89 ret = SVGA3D_BeginSurfaceCopy(svga->swc,
94 svga_context_flush(svga, NULL);
95 ret = SVGA3D_BeginSurfaceCopy(svga->swc,
102 SVGA_FIFOCommitAll(svga->swc);
107 svga_texture_view_surface(struct svga_context *svga,
119 struct svga_screen *ss = svga_screen(svga->pipe.screen);
126 "svga: Create surface view: layer %d zslice %d mips %d..%d\n",
182 svga_texture_copy_handle(svga,
210 struct svga_context *svga = svga_context(pipe); local
343 struct svga_context *svga = svga_context(pipe); local
515 struct svga_context *svga = svga_context(pipe); local
    [all...]
svga_state_tgsi_transform.c 44 bind_gs_state(struct svga_context *svga,
47 svga->curr.gs = gs;
48 svga->dirty |= SVGA_NEW_GS;
63 emulate_point_sprite(struct svga_context *svga,
84 key.gs.sprite_coord_enable = svga->curr.rast->templ.sprite_coord_enable;
87 !(svga->curr.rast->templ.sprite_coord_mode == PIPE_SPRITE_COORD_LOWER_LEFT);
89 key.gs.aa_point = svga->curr.rast->templ.point_smooth;
152 gs = svga->pipe.create_gs_state(&svga->pipe, &templ);
179 bind_gs_state(svga, gs)
    [all...]
svga_context.h 631 void svga_init_state_functions( struct svga_context *svga );
632 void svga_init_flush_functions( struct svga_context *svga );
633 void svga_init_string_functions( struct svga_context *svga );
634 void svga_init_blit_functions(struct svga_context *svga);
636 void svga_init_blend_functions( struct svga_context *svga );
637 void svga_init_depth_stencil_functions( struct svga_context *svga );
638 void svga_init_misc_functions( struct svga_context *svga );
639 void svga_init_rasterizer_functions( struct svga_context *svga );
640 void svga_init_sampler_functions( struct svga_context *svga );
641 void svga_init_fs_functions( struct svga_context *svga );
    [all...]
svga_pipe_blend.c 38 svga_translate_blend_factor(const struct svga_context *svga, unsigned factor)
58 if (svga_have_vgpu10(svga))
63 if (svga_have_vgpu10(svga))
96 * svga blend state.
99 define_blend_state_object(struct svga_context *svga,
106 assert(svga_have_vgpu10(svga));
108 bs->id = util_bitmask_add(svga->blend_object_id_bm);
128 ret = SVGA3D_vgpu10_DefineBlendState(svga->swc,
135 svga_context_flush(svga, NULL);
144 struct svga_context *svga = svga_context(pipe) local
350 struct svga_context *svga = svga_context(pipe); local
359 struct svga_context *svga = svga_context(pipe); local
387 struct svga_context *svga = svga_context(pipe); local
    [all...]
svga_resource_texture.c 51 svga_transfer_dma_band(struct svga_context *svga,
90 ret = SVGA3D_SurfaceDMA(svga->swc, st, transfer, &box, 1, flags);
92 svga_context_flush(svga, NULL);
93 ret = SVGA3D_SurfaceDMA(svga->swc, st, transfer, &box, 1, flags);
100 svga_transfer_dma(struct svga_context *svga,
119 svga_surfaces_flush( svga );
123 svga_transfer_dma_band(svga, st, transfer,
130 svga_context_flush(svga, &fence);
165 svga_context_flush(svga, NULL);
177 svga_transfer_dma_band(svga, st, transfer
540 struct svga_context *svga = svga_context(pipe); local
840 struct svga_context *svga = svga_context(pipe); local
1252 struct svga_context *svga = svga_context(pipe); local
    [all...]
svga_resource_buffer_upload.c 65 svga_winsys_buffer_create( struct svga_context *svga,
70 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen);
81 svga_context_flush(svga, NULL);
230 svga_buffer_upload_gb_command(struct svga_context *svga,
233 struct svga_winsys_context *swc = svga->swc;
240 assert(svga_have_gb_objects(svga));
321 sbuf->dma.svga = svga;
329 svga->hud.num_resource_updates++;
341 svga_buffer_upload_hb_command(struct svga_context *svga,
    [all...]
svga_resource.c 105 svga_init_resource_functions(struct svga_context *svga)
107 svga->pipe.transfer_map = u_transfer_map_vtbl;
108 svga->pipe.transfer_flush_region = u_transfer_flush_region_vtbl;
109 svga->pipe.transfer_unmap = u_transfer_unmap_vtbl;
110 svga->pipe.buffer_subdata = u_default_buffer_subdata;
111 svga->pipe.texture_subdata = u_default_texture_subdata;
113 if (svga_have_vgpu10(svga)) {
114 svga->pipe.generate_mipmap = svga_texture_generate_mipmap;
116 svga->pipe.generate_mipmap = NULL;
svga_swtnl_private.h 36 * Primitive renderer for svga.
41 struct svga_context *svga; member in struct:svga_vbuf_render
92 svga_vbuf_render_create( struct svga_context *svga );
96 svga_swtnl_update_vdecl( struct svga_context *svga );
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/asm/
boot.h 4 /* Internal svga startup constants */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/asm/
boot.h 4 /* Internal svga startup constants */
  /external/kernel-headers/original/uapi/asm-x86/asm/
boot.h 5 /* Internal svga startup constants */
  /external/mesa3d/src/gallium/targets/pipe-loader/
pipe_vmwgfx.c 4 #include "svga/drm/svga_drm_public.h"
5 #include "svga/svga_public.h"

Completed in 899 milliseconds

12 3 4 5 6 7 8 9