/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_context.c | 56 struct svga_context *svga = svga_context( pipe ); local 59 svga_cleanup_framebuffer( svga ); 60 svga_cleanup_tss_binding( svga ); 62 svga_hwtnl_destroy( svga->hwtnl ); 64 svga_cleanup_vertex_state(svga); 66 svga->swc->destroy(svga->swc); 68 svga_destroy_swtnl( svga ); 70 u_upload_destroy( svga->upload_vb ); 71 u_upload_destroy( svga->upload_ib ) 88 struct svga_context *svga = NULL; local [all...] |
SConscript | 6 print 'warning: not building svga' 27 svga = env.ConvenienceLibrary( 28 target = 'svga', 32 env.Alias('svga', svga) 34 Export('svga')
|
svga_swtnl_draw.c | 39 svga_swtnl_draw_vbo(struct svga_context *svga, 45 struct draw_context *draw = svga->swtnl.draw; 50 assert(!svga->dirty); 51 assert(svga->state.sw.need_swtnl); 55 svga->state.sw.in_swtnl_draw = TRUE; 57 ret = svga_update_state(svga, SVGA_STATE_SWTNL_DRAW); 59 svga_context_flush(svga, NULL); 60 ret = svga_update_state(svga, SVGA_STATE_SWTNL_DRAW); 61 svga->swtnl.new_vbuf = TRUE; 68 for (i = 0; i < svga->curr.num_vertex_buffers; i++) [all...] |
svga_state_rss.c | 44 #define EMIT_RS(svga, value, token, fail) \ 46 assert(SVGA3D_RS_##token < Elements(svga->state.hw_draw.rs)); \ 47 if (svga->state.hw_draw.rs[SVGA3D_RS_##token] != value) { \ 49 svga->state.hw_draw.rs[SVGA3D_RS_##token] = value; \ 53 #define EMIT_RS_FLOAT(svga, fvalue, token, fail) \ 56 assert(SVGA3D_RS_##token < Elements(svga->state.hw_draw.rs)); \ 57 if (svga->state.hw_draw.rs[SVGA3D_RS_##token] != value) { \ 59 svga->state.hw_draw.rs[SVGA3D_RS_##token] = value; \ 80 emit_rss(struct svga_context *svga, unsigned dirty) 82 struct svga_screen *screen = svga_screen(svga->pipe.screen) [all...] |
svga_pipe_vertex.c | 42 struct svga_context *svga = svga_context(pipe); local 47 if (count == svga->curr.num_vertex_buffers && 48 memcmp(svga->curr.vb, buffers, count * sizeof buffers[0]) == 0) 53 pipe_resource_reference(&svga->curr.vb[i].buffer, buffers[i].buffer); 58 for ( ; i < svga->curr.num_vertex_buffers; i++) 59 pipe_resource_reference(&svga->curr.vb[i].buffer, NULL); 62 memcpy(svga->curr.vb, buffers, count * sizeof buffers[0]); 63 svga->curr.num_vertex_buffers = count; 64 svga->curr.any_user_vertex_buffers = any_user_buffer; 66 svga->dirty |= SVGA_NEW_VBUFFER 73 struct svga_context *svga = svga_context(pipe); local 106 struct svga_context *svga = svga_context(pipe); local [all...] |
svga_state_need_swtnl.c | 75 update_need_swvfetch( struct svga_context *svga, 81 if (!svga->curr.velems) { 86 for (i = 0; i < svga->curr.velems->count; i++) { 87 svga->state.sw.ve_format[i] = svga_translate_vertex_format(svga->curr.velems->velem[i].src_format); 88 if (svga->state.sw.ve_format[i] == SVGA3D_DECLTYPE_MAX) { 95 if (need_swvfetch != svga->state.sw.need_swvfetch) { 96 svga->state.sw.need_swvfetch = need_swvfetch; 97 svga->dirty |= SVGA_NEW_NEED_SWVFETCH; 115 update_need_pipeline( struct svga_context *svga, [all...] |
svga_pipe_draw.c | 56 svga_user_buffer_range(struct svga_context *svga, 61 const struct pipe_vertex_element *ve = svga->curr.velems->velem; 69 for (i=0; i < svga->curr.velems->count; i++) { 71 &svga->curr.vb[ve[i].vertex_buffer_index]; 82 for (i=0; i < svga->curr.velems->count; i++) { 84 &svga->curr.vb[ve[i].vertex_buffer_index]; 92 svga->dirty |= SVGA_NEW_VBUFFER; 117 svga_upload_user_buffers(struct svga_context *svga, 122 const struct pipe_vertex_element *ve = svga->curr.velems->velem; 126 svga_user_buffer_range(svga, start, count, instance_count) 327 struct svga_context *svga = svga_context( pipe ); local [all...] |
svga_state_tss.c | 38 void svga_cleanup_tss_binding(struct svga_context *svga) 41 unsigned count = MAX2( svga->curr.num_sampler_views, 42 svga->state.hw_draw.num_views ); 45 struct svga_hw_view_state *view = &svga->state.hw_draw.views[i]; 48 pipe_sampler_view_reference( &svga->curr.sampler_views[i], NULL ); 67 update_tss_binding(struct svga_context *svga, 70 boolean reemit = svga->rebind.texture_samplers; 72 unsigned count = MAX2( svga->curr.num_sampler_views, 73 svga->state.hw_draw.num_views ); 82 const struct svga_sampler_state *s = svga->curr.sampler[i] [all...] |
svga_swtnl_state.c | 48 static void set_draw_viewport( struct svga_context *svga ) 50 struct pipe_viewport_state vp = svga->curr.viewport; 54 switch (svga->curr.reduced_prim) { 64 if (svga->curr.rast->need_pipeline & SVGA_PIPELINE_FLAG_LINES) 83 draw_set_viewport_state(svga->swtnl.draw, &vp); 87 update_swtnl_draw( struct svga_context *svga, 90 draw_flush( svga->swtnl.draw ); 93 draw_bind_vertex_shader(svga->swtnl.draw, 94 svga->curr.vs->draw_shader); 97 draw_bind_fragment_shader(svga->swtnl.draw [all...] |
svga_swtnl_backend.c | 50 struct svga_context *svga = svga_render->svga; local 52 svga_swtnl_update_vdecl(svga); 64 struct svga_context *svga = svga_render->svga; local 65 struct pipe_screen *screen = svga->pipe.screen; 71 svga->swtnl.new_vdecl = TRUE; 74 if (svga->swtnl.new_vbuf) 76 svga->swtnl.new_vbuf = FALSE; 93 svga_context_flush(svga, NULL) 122 struct svga_context *svga = svga_render->svga; local 149 struct svga_context *svga = svga_render->svga; local 175 struct svga_context *svga = svga_render->svga; local 232 struct svga_context *svga = svga_render->svga; local 261 struct svga_context *svga = svga_render->svga; local [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_context.c | 56 struct svga_context *svga = svga_context( pipe ); local 59 svga_cleanup_framebuffer( svga ); 60 svga_cleanup_tss_binding( svga ); 62 svga_hwtnl_destroy( svga->hwtnl ); 64 svga_cleanup_vertex_state(svga); 66 svga->swc->destroy(svga->swc); 68 svga_destroy_swtnl( svga ); 70 u_upload_destroy( svga->upload_vb ); 71 u_upload_destroy( svga->upload_ib ) 88 struct svga_context *svga = NULL; local [all...] |
SConscript | 6 print 'warning: not building svga' 27 svga = env.ConvenienceLibrary( 28 target = 'svga', 32 env.Alias('svga', svga) 34 Export('svga')
|
svga_swtnl_draw.c | 39 svga_swtnl_draw_vbo(struct svga_context *svga, 45 struct draw_context *draw = svga->swtnl.draw; 50 assert(!svga->dirty); 51 assert(svga->state.sw.need_swtnl); 55 svga->state.sw.in_swtnl_draw = TRUE; 57 ret = svga_update_state(svga, SVGA_STATE_SWTNL_DRAW); 59 svga_context_flush(svga, NULL); 60 ret = svga_update_state(svga, SVGA_STATE_SWTNL_DRAW); 61 svga->swtnl.new_vbuf = TRUE; 68 for (i = 0; i < svga->curr.num_vertex_buffers; i++) [all...] |
svga_state_rss.c | 44 #define EMIT_RS(svga, value, token, fail) \ 46 assert(SVGA3D_RS_##token < Elements(svga->state.hw_draw.rs)); \ 47 if (svga->state.hw_draw.rs[SVGA3D_RS_##token] != value) { \ 49 svga->state.hw_draw.rs[SVGA3D_RS_##token] = value; \ 53 #define EMIT_RS_FLOAT(svga, fvalue, token, fail) \ 56 assert(SVGA3D_RS_##token < Elements(svga->state.hw_draw.rs)); \ 57 if (svga->state.hw_draw.rs[SVGA3D_RS_##token] != value) { \ 59 svga->state.hw_draw.rs[SVGA3D_RS_##token] = value; \ 80 emit_rss(struct svga_context *svga, unsigned dirty) 82 struct svga_screen *screen = svga_screen(svga->pipe.screen) [all...] |
svga_pipe_vertex.c | 42 struct svga_context *svga = svga_context(pipe); local 47 if (count == svga->curr.num_vertex_buffers && 48 memcmp(svga->curr.vb, buffers, count * sizeof buffers[0]) == 0) 53 pipe_resource_reference(&svga->curr.vb[i].buffer, buffers[i].buffer); 58 for ( ; i < svga->curr.num_vertex_buffers; i++) 59 pipe_resource_reference(&svga->curr.vb[i].buffer, NULL); 62 memcpy(svga->curr.vb, buffers, count * sizeof buffers[0]); 63 svga->curr.num_vertex_buffers = count; 64 svga->curr.any_user_vertex_buffers = any_user_buffer; 66 svga->dirty |= SVGA_NEW_VBUFFER 73 struct svga_context *svga = svga_context(pipe); local 106 struct svga_context *svga = svga_context(pipe); local [all...] |
svga_state_need_swtnl.c | 75 update_need_swvfetch( struct svga_context *svga, 81 if (!svga->curr.velems) { 86 for (i = 0; i < svga->curr.velems->count; i++) { 87 svga->state.sw.ve_format[i] = svga_translate_vertex_format(svga->curr.velems->velem[i].src_format); 88 if (svga->state.sw.ve_format[i] == SVGA3D_DECLTYPE_MAX) { 95 if (need_swvfetch != svga->state.sw.need_swvfetch) { 96 svga->state.sw.need_swvfetch = need_swvfetch; 97 svga->dirty |= SVGA_NEW_NEED_SWVFETCH; 115 update_need_pipeline( struct svga_context *svga, [all...] |
svga_pipe_draw.c | 56 svga_user_buffer_range(struct svga_context *svga, 61 const struct pipe_vertex_element *ve = svga->curr.velems->velem; 69 for (i=0; i < svga->curr.velems->count; i++) { 71 &svga->curr.vb[ve[i].vertex_buffer_index]; 82 for (i=0; i < svga->curr.velems->count; i++) { 84 &svga->curr.vb[ve[i].vertex_buffer_index]; 92 svga->dirty |= SVGA_NEW_VBUFFER; 117 svga_upload_user_buffers(struct svga_context *svga, 122 const struct pipe_vertex_element *ve = svga->curr.velems->velem; 126 svga_user_buffer_range(svga, start, count, instance_count) 327 struct svga_context *svga = svga_context( pipe ); local [all...] |
svga_state_tss.c | 38 void svga_cleanup_tss_binding(struct svga_context *svga) 41 unsigned count = MAX2( svga->curr.num_sampler_views, 42 svga->state.hw_draw.num_views ); 45 struct svga_hw_view_state *view = &svga->state.hw_draw.views[i]; 48 pipe_sampler_view_reference( &svga->curr.sampler_views[i], NULL ); 67 update_tss_binding(struct svga_context *svga, 70 boolean reemit = svga->rebind.texture_samplers; 72 unsigned count = MAX2( svga->curr.num_sampler_views, 73 svga->state.hw_draw.num_views ); 82 const struct svga_sampler_state *s = svga->curr.sampler[i] [all...] |
svga_swtnl_state.c | 48 static void set_draw_viewport( struct svga_context *svga ) 50 struct pipe_viewport_state vp = svga->curr.viewport; 54 switch (svga->curr.reduced_prim) { 64 if (svga->curr.rast->need_pipeline & SVGA_PIPELINE_FLAG_LINES) 83 draw_set_viewport_state(svga->swtnl.draw, &vp); 87 update_swtnl_draw( struct svga_context *svga, 90 draw_flush( svga->swtnl.draw ); 93 draw_bind_vertex_shader(svga->swtnl.draw, 94 svga->curr.vs->draw_shader); 97 draw_bind_fragment_shader(svga->swtnl.draw [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/include/ |
README | 1 This directory contains the headers from the VMware SVGA Device Developer Kit: 3 https://vmware-svga.svn.sourceforge.net/svnroot/vmware-svga/trunk/lib/vmware/
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
README | 1 This directory contains the headers from the VMware SVGA Device Developer Kit: 3 https://vmware-svga.svn.sourceforge.net/svnroot/vmware-svga/trunk/lib/vmware/
|
/external/chromium_org/third_party/mesa/src/src/gallium/targets/pipe-loader/ |
pipe_vmwgfx.c | 4 #include "svga/drm/svga_drm_public.h" 5 #include "svga/svga_public.h"
|
/external/chromium_org/third_party/mesa/src/src/gallium/targets/xa-vmwgfx/ |
vmw_target.c | 4 #include "svga/drm/svga_drm_public.h" 5 #include "svga/svga_public.h"
|
/external/mesa3d/src/gallium/targets/pipe-loader/ |
pipe_vmwgfx.c | 4 #include "svga/drm/svga_drm_public.h" 5 #include "svga/svga_public.h"
|
/external/mesa3d/src/gallium/targets/xa-vmwgfx/ |
vmw_target.c | 4 #include "svga/drm/svga_drm_public.h" 5 #include "svga/svga_public.h"
|