| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Change-Id: I6e5afa2b2057621750f39ce1c3b54a4c327298d9
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This call should be implemented with a dedicated
subdevice similar to the host memory allocator
to support snapshots.
Bug: 132180901
Test: make
Change-Id: I0542d987b3c4b014aa37b1c7b34b7092ad4e8fac
Merged-In: I14931f38f6093205ac73f608992a2eadbfd9e97a
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
|\|
| |
| |
| | |
Change-Id: I788af55ac4c63b54367083c03b22febf800ca184
|
| |
| |
| |
| |
| |
| | |
BUG: 131917822
Test: cts-tradefed run cts -m CtsDeqpTestCases -t dEQP-EGL.functional.choose_config.simple*
Change-Id: Idc82f469c606009eb0ace6f33ad9524b4a70877d
|
|\|
| |
| |
| | |
Change-Id: I6f0eb3baf4a7e3e85b2f6261c9a9509a6a5f0b3a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Camera is a special citizen, it delivers buffer bits
directly (no reading required) and supports
YUV_420 (interleaved), this is the only format it
supports.
Bug: 130295800
Test: emulator -wipe-data -no-snapshot -camera-back virtualscene
Test: take photo, take video
Change-Id: I0192084d88f27235d4d1a2c0a7598cd28200bc48
Merged-In: Ib37ec0a85a48d6a6ac6bbf6b9033ffd60ac7a727
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
|\|
| |
| |
| | |
Change-Id: I016b434a1b1d1cb11dec031095b309cf59942902
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
BasicVulkanGpuTest expilictly requests
GPU_SAMPLED_IMAGE usage, we can use it to decide
if we support RGB_888 (Vulkan does not support it).
HardwareBufferTest#testCreate requests only CPU access.
Bug: 132447509
Bug: 131184223
Test: [OpenGL, Vulkan] x [CtsGraphicsTestCases, CtsHardwareTestCases]
Change-Id: I2bbcddd2b3153208cbb00b76caca9564b743c61e
Merged-In: Ib3f5d6cd9ed361205952d99b2f7173d5518dea79
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
|\|
| |
| |
| | |
Change-Id: I322ea0e4e3c35deee4c0cbeab597ba623b65bff2
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There can be periods in the platform version, so it's not safe to use.
Just run PLATFORM_SDK_VERSION instead.
Bug: 131089111
Change-Id: I72c0af3407f88753cf69b2ba2565b221345d3f3a
|
|\|
| |
| |
| | |
Change-Id: Iedfc014e298e5e648dd923e66133aea10069eafe
|
| |
| |
| |
| |
| |
| |
| |
| | |
some gralloc0 entry points not defined for older api levels
bug: Bug: 131089111
Change-Id: If3f1843ffb2c008052a5dec87b9063d2500298f1
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add validateBufferSize and getTransportSize
Bug: 131089111
Test: build, boot
Change-Id: I9820197865e47832ae209cbf1cac3b544f45e60e
|
|\| |
| | |
| | |
| | | |
Change-Id: I234b6f960cef9e70e593074a10f33970ef0d6a64
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We need to update arguments for vkCreateImageView
before sending them to the host.
Bug: 131176903
Test: make
Change-Id: I44e0bc845435cbfebe60cad1e5f8594cb0e9f673
Merged-In: Ia83af721caabedad3a194d3776882ac75690bb02
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add the type->id mapping to get Vulkan struct sType at
compile time. This will produce a compile time error
for unknown types.
Bug: 131181334
Test: make
Change-Id: Ib3003195d686ba20b3ea16a3215c4e6d07426fb7
Merged-In: I47800f6068cb21eabac935cf5873faee7e5a2854
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The YCBCR_601 model should be applied only for
YUV formats.
Bug: 131176903
Test: CtsGraphicsTestCases \
Test: android.graphics.cts.BasicVulkanGpuTest# \
Test: testBasicBufferImportAndRenderingExternalFormat\
Test: [AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM]
Change-Id: I4701464e99928d62aa6e0382daff002d2cd90003
Merged-In: I1888238a890bcbc685b63b996790d8de5f55b412
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
|\| |
| | |
| | |
| | | |
Change-Id: I33aea8d373b9c752df1a121b0ebcb5a064e3006b
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For better type safety.
Bug: 131176903
Test: make
Change-Id: Ic32f43b4ce3d8a609e70bb8021b5560aa97493ef
Merged-In: Id7c67e234ec96b01bbf53bae257c1b0a355e2d0a
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 131176903
Test: make
Change-Id: I82d5edba3bfcde83acef95cc59c9b15045a448cc
Merged-In: Ieaa4ddfa2e6030a21ccf3887d3fe796ec242643d
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We need to set the 'format' field if no external format
is provided.
Bug: 131176903
Test: android.graphics.cts.BasicVulkanGpuTest# \
Test: testBasicBufferImportAndRenderingExplicitFormat \
Test: [AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM]
Change-Id: I7c11c0e8babf87f8a55e5f8e91df739c2d8ef153
Merged-In: I5a32f4ab0714704a0e3f8dfd3998d6efba66b3e9
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is needed as POSIX IO support on Fuchsia is being
deprecated. Benchmarks also show that FIDL API is ~ 25X
faster for large transfers to host so this will result
in a performance improvement.
Bug: 111137294
Test: none
Change-Id: I4538adb5075a25a2d099332b6f3eae42eab717e5
Merged-In: Iedda195ef0931c1f561f4b60ab811d968a83c0e8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* add a dedicated function to create local copies with pNext;
* add vk_struct_chain_iterator to attach structs into the chain.
Test: make
Bug: 131181334
Change-Id: I963bc70541650b9ef0a75d464a57d8223504dc07
Merged-In: I754efa82be381d001cbd50190dd98fd6b2f66bfb
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
static_assert with no message is a C++17 extension
Bug: 131176903
Test: make
Change-Id: Ib3a07f5c6edee8dd1dfab3ac9d57209c920a287d
Merged-In: I156b3754d142d3903c732e1ac7e95c137302a15a
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Reduces amount of type castings and improves
type safety.
Bug: 131181334
Test: make
Change-Id: I4d24dc81d8f6c062d5c221aea0b683f01f9e0689
Merged-In: Ide295127573ad16915ae1fd481601e6b1632b1f9
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
|\| |
| | |
| | |
| | | |
Change-Id: I126d513b24352b5fe574d3830af1c9cb9e2776a7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Other parts of the code expect to see an AHB
format there. The format field is ignored
if externalFormat is set.
Bug: 131181334
Test: make
Change-Id: I509f608f66f2cd5c354beebb9500ab6a79fb6568
Merged-In: Ic34c6a2bea57c0008cceb99b5a50f79392092b14
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 131181334
Test: make
Change-Id: I317e265594471e0a0eaf81a6520d497a558a2a32
Merged-In: I2feefa3e180a6f19be532db3e9f11b593bcdf47f
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This removes import/export race conditions and provides
a more appropriate mechanism for exporting memory.
Bug: 111137294
Test: none
Change-Id: I0f6f5a69304eb762376f11caf155a50423ee4f89
Merged-In: I8f78f622368583f96776673f98d716fb51956823
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This also limits list's length to some random number
to crash if the struct chain has a loop.
Bug: 131181334
Test: make
Change-Id: I265b0c69e528154917f031799b37014502fd4ec3
Merged-In: I5ae17ce129aba820b98f999208802c9135cbd8b8
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 589c957ec9924f86757067b9195480fc95b3877a.
Reason for revert: Emulator build break:
I0425 08:32:25.637401 139856603629312 process.py:43] In file included from /usr/local/google/home/lfy/emu/device/generic/goldfish-opengl/system/vulkan_enc/AndroidHardwareBuffer.cpp:19:
I0425 08:32:25.637607 139856603629312 process.py:43] /usr/local/google/home/lfy/emu/device/generic/goldfish-opengl/system/vulkan_enc/vk_util.h:229:7: error: no member named 'abort' in the global namespace
I0425 08:32:25.637734 139856603629312 process.py:43] ::abort(); // crash on loops in the chain
I0425 08:32:25.637989 139856603629312 process.py:43] ~~^
I0425 08:32:25.638082 139856603629312 process.py:43] 1 error generated.
Change-Id: I3c78c841c821d29fb5fbdad552adee567893b2ba
Merged-In: I61bc2011e51bc92a3fffcb36910d916092d3897d
Test: none
Bug: 131181334
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fail on_vkCreateImage earlier if vk_format_from_android
did not recognize the format.
Bug: 131181334
Test: make
Change-Id: Idf884c1e8d4fc1a8f3bc40fa195719fced231d1b
Merged-In: I21e213bb1f4e2b22989269b77859912a51ad5e28
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This also limits list's length to some random number
to crash if the struct chain has a loop.
Bug: 131181334
Test: make
Change-Id: I385dc02012290b2e1a2a07dd00e209326a7196b5
Merged-In: I4e7beb622afc35ee26b58f7060596bd3f2250156
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
|\| |
| | |
| | |
| | | |
Change-Id: I67ffcc64757152b4e99e5e4798ae721b91bc985a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This also fixes the implementation of
GetMemoryZirconHandlePropertiesFUCHSIA.
Test: none
Bug: 111137294
Change-Id: If862823bf0eb555734e5a4528bc9c83d8071a2ff
Merged-In: I2a6ac9132aa591f3410871f3500171a0e8746fd1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use goldfish address space device on fuchsia.
Test: none
Bug: 111137294
Change-Id: I1b340f21f745075848df613d2e47e5f169e8b802
Merged-In: Ibf86ba488c08c2ea5825fd271ae1a1dcc5a604da
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use VMO memory instead of cookie for association between
VMOs and color buffers.
Test: none
Bug: 111137294
Change-Id: If07c76f818cdeaab97d812bfb1d472e014a42d91
Merged-In: I86b20e10a1c0a6ae4ec61b436b81e776f9aa3583
|
|\| |
| | |
| | |
| | | |
Change-Id: I0deca772b9a5ff847fe16e50c9be1dab2216d6de
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is not a must and adds confusion between
OpenGL (supported) and Vulkan (not supported)
they are mixed (e.g. AHardwareBuffer_allocate
which goes though OpenGL)
Bug: 131184223
Test: lunch sdk_gphone_x86-userdebug
Test: emulator -wipe-data -no-snapshot -show-kernel -feature Vulkan,GLDirectMem
Test: ./android-cts/tools/cts-tradefed -- run cts -m CtsGraphicsTestCases
Test: emulator -wipe-data -no-snapshot -feature GLESDynamicVersion,PlayStoreImage,KernelDeviceTreeBlobSupport -gpu host
Test: ./android-cts/tools/cts-tradefed -- run cts -m CtsNativeHardwareTestCases
Test: ./android-cts/tools/cts-tradefed -- run cts -m CtsGraphicsTestCases
Test: ./android-cts/tools/cts-tradefed -- run cts -m CtsCameraTestCases
Change-Id: Idb5d5885efd18219c86cc1b76722d41f49d68d03
Merged-In: Ie6f40c717a36ae4a9ef477cc420dc083b63ffbc3
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This allows the full goldfish vulkan ICD to be built outside the
fuchsia tree.
Test: none
Bug: 111137294
Change-Id: I02fe24617e114e0c07dc010bb7268ec6124af48e
Merged-In: I62065020349dfc3e34f93380abcab22c31a7e856
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bug: 111137294
Wow :)
Test: none
Change-Id: I2146a8c2b796ae8db5043f2153174daea8323221
Merged-In: I724b0a641b22495897b72db19b2e2771a96689fc
|
|\|
| |
| |
| | |
Change-Id: I51400665244cb4fba281b5105562023ca218a02b
|
| |
| |
| |
| |
| |
| |
| | |
Bug: 129696724
Test: make checkbuild
Change-Id: I4e36b89ff2f008ce4893e7e8ab32f20c40913a8b
Merged-In: I4e36b89ff2f008ce4893e7e8ab32f20c40913a8b
|
|\|
| |
| |
| | |
Change-Id: I2363f0efbebbf5dee02557e94125510bea9ce6c4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
HAL_PIXEL_FORMAT_YCbCr_420_888 does not specify the exact
buffer layout. EmulatedFakeCamera3.cpp uses interleaved
UV planes, while other places place them separately.
Bug: 130295800
Bug: 129974968
Test: run cts -m CtsCameraTestCases \
-t android.hardware.camera2.cts.ImageReaderTest#teutYUVResolutions
Merged-In: If3a495aa794d9ab09288b7b92be7258a07cc077d
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I33f6777b5cca6f4fa0c61ac3db994230d6b6efb0
|
|\|
| |
| |
| | |
Change-Id: Ia3fa4eb9308f151328662d58188404c276b1ff50
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
error: 'class std::vector<char>' has no member named 'data'
Bug: 130246090
Test: make
Change-Id: I1c7146a6eada5be4aa0678c7a3ddb762d080c981
Merged-In: I39eec3b4d6621067387e48e1481de3cd614b79a1
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
am: 9160f9f2fa am: 7359abbf6d
am: 65576fcaca
BUG: 125540538
Change-Id: I00aeb57a840ca5932011a3ae01d4f089c9bf8a2d
(cherry picked from commit 1a85198d3287a31734f62f3f83b97c1c86f66fa9)
|
|\|
| |
| |
| | |
Change-Id: I01a57c0e78f1c8cb42b50fde302194da81a1cc6d
|