Age | Commit message (Collapse) | Author |
|
Make sure that asynchronous semaphore destruction doesn't happen
before the queues that reference them have completed.
BUG=343234676
TEST=end2end tests + gfxstream guest ANGLE + gfxstream guest Zink
Change-Id: I90237e8002a353cebdacbeaae029a928f846495d
|
|
implementation.
Fence destruction may be deferred if it belongs to the
DeviceOpTracker, and will be destroyed in the
DeviceOpTracker::onDeviceDestroy call.
BUG=343234676
TEST=end2end tests + gfxstream guest ANGLE + gfxstream guest Zink
Change-Id: I29b1b202a16a29f04d8f00289b6c70487bcb095e
|
|
|
|
Change-Id: I31727f20908dcf10de24bc343d4ab80ed2df0831
|
|
* changes:
gfxstream: For vulkanOnly, propogate the linear bind attribute to the ColorBuffer image creation
gfxstream: Add linearPeerImage for Linux guests, to use for imageLayout queries
gfxstream: Switch to using scanout path with native DRM images for Linux WSI
gfxstream: Change createResource to use stride instead of bpp
gfxstream: Remove VkImage from functable handle translation
gfxstream: Fix bug in memory unmap.
gfxstream: support EXT_queue_family_foreign
gfxstream: convert some Vulkan to mesa_log(..)
|
|
Some people have Valgrind on their system and may
need this.
BUG=329882826
TEST=compile and run
Change-Id: I163b5ece7ed089c604e4a530940b660aa705ba94
|
|
|
|
Fixes invalid usage of image memory size directly for the
allocation of the staging buffer for Android native buffers.
Staging buffers might require bigger sizes.
Test: Run with -guest-angle and VVL
Change-Id: Ib2d95ad04b5180b2e4e41a619c55157a23e8526c
|
|
|
|
It seems that adding transfer src/dst usages to uniform buffers will
make Chrome less stable. Remove them and rely on memory snapshot to
snapshot buffer contents.
Bug: 342414479
Test: GfxstreamEnd2EndVkSnapshotPipelineTest
Change-Id: Ie9572a7e8f015378f89f106ec628647836513d8e
|
|
|
|
|
|
Bug: N/A
Test: build
Change-Id: Ie599d61073cbe9fbf0fddb09cc97387a121cb390
|
|
Avoid VK_EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA
flag being checked redundantly.
Bug: N/A
Test: build
Change-Id: I68b229f089f46c0722f0a74b265493ad2c6ac661
|
|
* changes:
[qemu] Call address_space_set_vm_operations in RenderLib.
Fix ubsan error.
Formalize definition of invalid context ids.
|
|
This is a hack because qemu's implementation is not using
virtio-gpu-gfxstream-renderer APIs yet, so
address_space_set_vm_operations was never called in gfxstream
space, which causes a null pointer dereference when using
asg.
Bug: 339461355
Test: Boot emulator with minigbm build
Change-Id: Ifaf3fc3d775079cae406152006c611635bc200f4
|
|
virtio can sometimes send a null iov (num_iovs=0). Don't give
memcpy a null pointer.
Bug: 339461355
Test: Boot emulator with ubsan
Change-Id: I3644e0280b0753159ff241825ca92b5929b6f14f
|
|
RenderThread guest puids are assumed to be invalid if it is 0, but
it seems we were using -1 as an invalid virtio-gpu context id. So
Let's check for both in RenderThread.
Bug: 339461355
Bug: 300146030
Test: Boot emulator, observe no logspam
Change-Id: I01d5bda6b48cf5f71c42f7234609b372e5612dd4
|
|
BUG=343757368
TEST=our custom branch has this change, host_query_reset is now usable.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a6fa05a299d1cb7e299a00c7554331027ee0a874)
Merged-In: I47778e5b78852f896b41dcf900ae1cf595bb9a27
Change-Id: I47778e5b78852f896b41dcf900ae1cf595bb9a27
|
|
|
|
ColorBuffer image creation
From virtio-gpu resource creation.
BUG=343234676
TEST=gfxstream guest Linux
Change-Id: I60da16cf47f80c63a43aab51c2f1c522773472e6
|
|
BUG=343234676
TEST=gfxstream guest Linux
Change-Id: I9190b73aa16adecf7fe4cee0715b2278631b3703
|
|
BUG=343234676
TEST=compile
Change-Id: Ibbdb41b078eda8aa27c70caee0d6d3a8e5fa0758
|
|
|
|
* Adding a drm format field in cb_handler
* Convert android->vulkan format mapping into drm->vulkan format mapping
Bug: b/323896722
Test: atest android.graphics.cts.MediaVulkanGpuTest#testMediaImportAndRendering
Change-Id: I9068be712c07704fde1f8f648f1c18aa281ef3fa
|
|
|
|
BUG=343234676
TEST=compile
Change-Id: I89c4c76951a2a996d4161b16e24cde971affa994
|
|
Not required for any Mesa object backings.
TODO: Investigate why VkBuffer still required (and crashing without
translation)
BUG=333133323
TEST=compile
Change-Id: Ibd1c93628d01adb90331b20269f34e99138d7007
|
|
The memory must be mapped before mapping
BUG=343234676
TEST=compile
Change-Id: Ifcb850b963e05e445f6f5f2b3a28e0056f9939f3
|
|
EXT_queue_family_foreign is a parent dependency of
QNX_external_memory_screen_buffer.
BUG=343234676
Change-Id: I731d11e0670808aae94554ae1c286e1a8318d98d
|
|
There are still some places left in the libgfxstream_vulkan.so
dependencies. For example, guest/platform &
guest/OpenglSystemCommon.
BUG=323384796
TEST=compile
Change-Id: I9953b945ae682b9b6c10f7fa001bb9ba071d6a1c
|
|
Enforce single queue family when using MoltenVK to satisfy
some ANGLE expectations when using -guest-angle option
and avoid crashes at the startup.
Bug: 333460957
Test: run with -guest-angle and host vulkan on Mac
Change-Id: I92075b855a0a8f10e604a87e3ebd3b4ef35d20da
|
|
Portability subset features are necessary for valid usages of Vulkan
with not-fully-conformant implementations. Enabling all supported
features to maximize the conformance.
Without these features enabled, VVL erros can be observed with features
such as vertexAttributeAccessBeyondStride, imageViewFormatSwizzle.
Bug: 333460957
Test: Run with -use-host-vulkan -guest-angle
Change-Id: Ia575ac3b232f5c702f045d7db073d53cc48ae701
|
|
This handles another corner case where users could delete a buffer before
descriptor update is committed.
Bug: 342414479
Test: DeleteBufferBeforeCommit
Change-Id: I26121c5d5efe8f4e761bc29c1db940b15f91a151
|
|
Record all vkCmd* commands. Also clear them on vkResetCommandBuffer.
Also use VK_IMAGE_ASPECT_STENCIL_BIT when snapshotting stencil
images.
Bug: 330763497
Test: CanSnapshotCommandBuffer
Change-Id: I71e1d80e59cb3321f3bb120f520e633aedf182d9
|
|
Set the flags and properties properly when vk snapshot is enabled.
Bug: 340286132
Test: manual
Change-Id: Ib911bddd0c68c0248349ed3165c7d5a12fbbbfad
|
|
|
|
There are some unintended changes introduced
in CoreProfileEngineShaders.h that caused
regressions on gles1.1 texture handling
reset to the same version as in libopenglrender
Bug: 300110548
Change-Id: Ic3ef2108d96962058489c54d7c1cc4f3c1e0e653
|
|
|
|
|
|
This commmit snapshots vulkan descriptor sets. Please refer to
go/aemu-vulkan-snapshot-testing for detailed design.
For descriptors, API playback does not work because it does not provide
enough granularity. To address this issue, we shadow the states of
descriptors and rebuild a descriptor update command on snapshot load.
Currently it only works with VulkanBatchedDescriptorSetUpdate.
Bug: 332770507
Test: CanSnapshotDescriptors
Change-Id: I01bd51cd03072da9357eba2404d408e6995ffc7a
|
|
Bug: b/341647448
Test: GfxstreamEnd2EndTests
Change-Id: Ic76847bf65691f65e517aeea994b58762d793422
|
|
|
|
Add required portability bits for instance and
device creation with the new version of MoltenVK.
Also always enable metal_objects extension when
using MoltenVK, to be able to retrieve external
handles later.
Test: Run vulkan apps on Mac with -use-host-vulkan
Bug: 332964912
Bug: 339094207
Change-Id: I7491ca6acd2daf69dc3e0df38c94de9ec31281f4
|
|
|
|
Mock ICD is not suitable for our needs of testing
as we don't validate API usage during the tests.
Test: build && run tests on windows
Change-Id: I4ddc7e814ebc0bb742c90a17cd5ccc0c1ef7d732
|
|
Enable MacOS surface extension and fix function pointer
retrieval to get MoltenVK path working for simple apps.
Also includes some changes to improve code readability
for incoming future changes.
Bug: b/332964912
Test: Run vulkan sample apps with -use-host-vulkan
Change-Id: Ia39d30f1558396fa656da779f41395297f50c259
|
|
|
|
|
|
|