Beispiel #1
0
void brw_destroy_state( struct brw_context *brw )
{
   if (brw->state.atoms) {
      _mesa_free(brw->state.atoms);
      brw->state.atoms = NULL;
   }

   brw_destroy_caches(brw);
   brw_destroy_batch_cache(brw);
   brw_destroy_pools(brw);   
}
void brw_destroy_state( struct brw_context *brw )
{
   brw_destroy_caches(brw);
}