void app_scenario3::start(const bool) { _renderer.reset(new renderer(this, true)); _renderer->start(SRC_LOCATION); base::make_current_shared_context(); app::start(true); _scene.reset(new scene()); scene::create_test_scene(_scene.get()); init_screen_capture(); }
void app_scenario1::start(const bool) { app::start(); create_frame_context_pool(false); // set projection matrix app::load_and_init_shaders(SRC_LOCATION); base::canvas::load_and_init_shaders(SRC_LOCATION); scene::load_and_init_shaders(SRC_LOCATION); _scene.reset(new scene()); scene::create_test_scene(_scene.get()); init_screen_capture(); }