MCPcopy Create free account
hub / github.com/android/ndk-samples / reset

Method reset

hello-vulkan/app/src/main/cpp/hellovk.h:385–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383}
384
385void HelloVK::reset(ANativeWindow* newWindow, AAssetManager* newManager) {
386 window.reset(newWindow);
387 assetManager = newManager;
388 if (initialized) {
389 createSurface();
390 recreateSwapChain();
391 }
392}
393
394void HelloVK::recreateSwapChain() {
395 vkDeviceWaitIdle(device);

Callers 1

HandleCmdFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected