OSDN Git Service

vulkan: Implement V7 of ANDROID_native_buffer in nulldrv
authorChris Forbes <chrisforbes@google.com>
Wed, 15 Mar 2017 03:09:15 +0000 (16:09 +1300)
committerChris Forbes <chrisforbes@google.com>
Wed, 15 Mar 2017 20:45:36 +0000 (09:45 +1300)
commitb4eb278b714aea2c231b0debbd934352c14d1883
tree232709de7176e471f7253b66fc08c01018e22b14
parentff4bc528be20936c496d4fbf006c97f7972dc8ff
vulkan: Implement V7 of ANDROID_native_buffer in nulldrv

Walks the struct chain in GPDP2, and claims support for shared
presentable image. This is enough to have libvulkan expose the
extension for us.

Change-Id: Id22593932cd567e79d18aae788935148d6278b3f
Test: setprop ro.hardware.vulkan default, observe extension exposed
vulkan/nulldrv/null_driver.cpp