2021-12-01から1ヶ月間の記事一覧
android_main()でコールバック関数の登録 android_appにinput eventが通知された際に呼び出されるコールバック関数を登録する。 int32_t handle_input(struct android_app* app, AInputEvent* inputEvent) { //define app process } void android_main(struc…
サンプルコード git hubで公開されている、android + vulkanでのbufferにデータをコピーするの部分について考察してみた。 android-vulkan-tutorials/tutorial05_triangle at master · googlesamples/android-vulkan-tutorials · GitHub サンプルとしては以…
サンプルコード git hubで公開されている、android + vulkanでのsynchronizationの部分について考察してみた。 android-vulkan-tutorials/tutorial05_triangle at master · googlesamples/android-vulkan-tutorials · GitHubmain loopの関数は以下 bool Vulk…
Image Layout Transitions memory dependenciesの例としてImage Layout Transitions*1がある。 Image Layouts 仕様書にはこのように書かれている。Vulkan® 1.2.202 - A Specification (with all registered Vulkan extensions) Images are stored in impleme…
Synchronization 仕様書にはこのように書かれている。Vulkan® 1.2.202 - A Specification (with all registered Vulkan extensions) Synchronization of access to resources is primarily the responsibility of the application in Vulkan. The order of e…
Buffersについて 仕様書によるとVulkan® 1.2.202 - A Specification (with all registered Vulkan extensions) Vulkan supports two primary resource types: buffers and images. Resources are views of memory with associated formatting and dimensiona…
Imageについて 仕様書によるとVulkan® 1.2.202 - A Specification (with all registered Vulkan extensions) Images represent multidimensional - up to 3 - arrays of data which can be used for various purposes (e.g. attachments, textures), by bind…
Render Passについて 仕様書には次のように書かれている。 Vulkan® 1.2.202 - A Specification (with all registered Vulkan extensions) Draw commands must be recorded within a render pass instance. Each render pass instance defines a set of image…
Surfaceとは "Vulkan® 1.2.202 - A Specification (with all registered Vulkan extensions)"内で SurfaceはWSI(Window System Integration)の章の見出しのひとつのWSI Surfaceとして紹介されている。 つまりSurfaceとはVulkanのWindow Systemの扱い方である…