Lines Matching full:svga
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];
219 if (svga->dirty) {
220 ret = update_state( svga,
222 &svga->dirty );
226 svga->state.dirty[i] = 0;
231 svga->state.dirty[i] |= svga->dirty;
233 svga->dirty = 0;
235 svga->hud.num_validations++;
245 void svga_update_state_retry( struct svga_context *svga,
250 ret = svga_update_state( svga, max_level );
253 svga_context_flush(svga, NULL);
254 ret = svga_update_state( svga, max_level );
273 enum pipe_error svga_emit_initial_state( struct svga_context *svga )
275 if (svga_have_vgpu10(svga)) {
276 SVGA3dRasterizerStateId id = util_bitmask_add(svga->rast_object_id_bm);
280 ret = SVGA3D_vgpu10_DefineRasterizerState(svga->swc,
301 ret = SVGA3D_vgpu10_SetRasterizerState(svga->swc, id);
310 ret = SVGA3D_BeginSetRenderState( svga->swc, &rs, COUNT );
322 SVGA_FIFOCommitAll( svga->swc );