aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "vkGetPhysicalDeviceProperties: Set device type to Virtual GPU."aosp-emu-30-releaseYilong Li2020-06-253-0/+65
|\
| * vkGetPhysicalDeviceProperties: Set device type to Virtual GPU.Yilong Li2020-06-253-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Vulkan has a specific type VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU to indicate if a device is emulated or a virtual node. We can overwrite the physical device type of all emulated Vulkan physical devices so that clients will be aware that they are running in emulator. vkgen scripts updated in https://android-review.googlesource.com/c/platform/external/qemu/+/1350142 Bug: fxb/54086 Change-Id: I402f9b0f9266eb5e55d744a04294a0d971e7ed80
* | Merge "Fix log priority on Fuchsia."Treehugger Robot2020-06-252-5/+8
|\ \ | |/ |/|
| * Fix log priority on Fuchsia.Yilong Li2020-06-252-5/+8
| | | | | | | | | | | | | | | | | | | | 1) Fix log priorities on Fuchsia, allowing ALOGD() to be printed as long as the system minimum logging level is lower than DEBUG. 2) The address space backoff should be a WARNING instead of ERROR. Bug: fxb/54083 Change-Id: I2eb013e99830edf2c12608946c6dc0f3ec05c974
* | Merge "Revert "virtio-gpu-asg transport""Lingfeng Yang2020-06-2414-628/+26
|\ \
| * | Revert "virtio-gpu-asg transport"Lingfeng Yang2020-06-2414-628/+26
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 7ceae4f920c59c0110c4347a21dec3d5066453cc. Reason for revert: build break Change-Id: Icad5325c97d6cb7b2a227173fc7bb47841058cbb
* | | Merge "virtio-gpu-asg transport"Lingfeng Yang2020-06-2414-26/+628
|\| |
| * | virtio-gpu-asg transportLingfeng Yang2020-06-2214-26/+628
| | | | | | | | | | | | | | | | | | | | | Requires ro.boot.hardware.gltransport=virtio-gpu-asg or ro.kernel.qemu.gltransport=virtio-gpu-asg Change-Id: Ie7f961e7f007a93dac0cbc5b6b833e292cc36309
* | | Initialize the framebuffer of secondary display with its own size.Yuncheol Heo2020-06-232-11/+12
| | | | | | | | | | | | | | | | | | Bug: 158801569 Test: set the secondary display size to the different size with the default display and check if it shows normally. Change-Id: Ia7a072b619a46d63916580b9dc3ce6f6f08ce6f5
* | | Force reset displayId for secondary displayHuan Song2020-06-232-4/+11
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Rebooting the framework will allocate two new secondary displays. But the previous allocated displays still exits. So, delete the previous allocatd displays when allocating new ones. Bug: 149930332 Test: lunch gcar_hl_md_emu_x86-userdebug; m -j; run emualtor, adb reboot Change-Id: I8d506b15bb3d28d53fafa2657325ad1ef9c2d0dd Merged-In: I8d506b15bb3d28d53fafa2657325ad1ef9c2d0dd
* | Squelch negative counts/lengths in glInvalidate(Sub)FramebufferLingfeng Yang2020-06-122-0/+25
| | | | | | | | | | Bug: 158890590 Change-Id: I8e4d688ea413cdef755f8efcfec1a1fd19822693
* | Merge changes I8d819b6b,I6a79ad91Lingfeng Yang2020-06-128-59/+265
|\ \ | |/ |/| | | | | | | * changes: Add checks to glDrawElementsInstanced, glGetShaderSource Account for row slack in upload/download of textures
| * Add checks to glDrawElementsInstanced, glGetShaderSourceLingfeng Yang2020-06-121-1/+6
| | | | | | | | | | | | Bug: 158533223 Change-Id: I8d819b6b5edc10b863e57dda788591cabe34a971
| * Account for row slack in upload/download of texturesLingfeng Yang2020-06-127-58/+259
| | | | | | | | | | | | | | Also treat 3D the same way. Bug: 158533223 Change-Id: I6a79ad917c87136b6483b734909fa91d26683a9f
* | Fix Fuchsia build.Yilong Li2020-06-121-0/+1
|/ | | | | | Add unistd.h for close(). Change-Id: Ic3ed99266d206c4aecb4c51e0e5f18b660a1d53f
* support EGL_ANDROID_native_fence_sync via virtio-gpuLingfeng Yang2020-06-049-25/+222
| | | | | | | | regardless of api transport type, we can now support native fence sync via virtio-gpu Bug: 156130048 Change-Id: I93801428ede7fdcf1cf28240a4e4f560912f4a4a
* Fix typo for Fuchsia build. am: 256f18fe78Yilong Li2020-06-021-1/+1
|\ | | | | | | | | | | Original change: undetermined Change-Id: I5d47318d6b986356fe0001a9a4e5ad1b6388aea3
| * Fix typo for Fuchsia build.Yilong Li2020-06-011-1/+1
| | | | | | | | Change-Id: I1af43a4616a5fc533416be54c62c3233dfd7b4c6
* | Fix zxio deps in fuchsia build am: 8ce39b8895Yilong Li2020-06-011-1/+1
|\| | | | | | | | | | | Original change: undetermined Change-Id: Ia651ffae9761914b30a483fc7b3e145fd00bc5b2
| * Fix zxio deps in fuchsia buildYilong Li2020-06-011-1/+1
|/ | | | Change-Id: Iffbc5ab82e8a572af9573d947559fe458705a878
* asg: add a backoff to the guest am: ce8c0591beLingfeng Yang2020-06-011-0/+16
|\ | | | | | | Change-Id: I093a70144f9b22ad9215d87fe2b474d1db738d94
| * asg: add a backoff to the guestLingfeng Yang2020-05-301-0/+16
| | | | | | | | | | | | if the host is slow lets wait for it, don't priority invert Change-Id: If680b01098c7f3918fa9dbcf6b0683ec49bbc888
* | [fuchsia] Add R8G8B8A8 external image support. am: 6a2544969bDavid Reveman2020-05-291-35/+94
|\| | | | | | | Change-Id: I985ee2f5d483ef0d04d758dad9bfa563b1228e12
| * [fuchsia] Add R8G8B8A8 external image support.David Reveman2020-05-291-35/+94
| | | | | | | | | | | | | | | | This format is preferred by the swapchain implementation on Fuchsia and colors are incorrent if we don't handle this format properly. Change-Id: I79c042bfd6ecc1fbb685fba63ff0b8ee521f7231
* | Move syslog to //zircon/system/ulib am: 952139b702Yilong Li2020-05-221-1/+1
|\| | | | | | | Change-Id: If55e1b4a7693e620591ad834527b0ee3b221de76
| * Move syslog to //zircon/system/ulibYilong Li2020-05-221-1/+1
| | | | | | | | | | | | | | This fixes build after https://fuchsia-review.googlesource.com/c/fuchsia/+/388456 landed. Change-Id: If82169a38920cca4edd5709cb9f8719ce0cd74ed
* | Use new tracing headers in Fuchsia. am: 80b93954e1Yilong Li2020-05-221-1/+1
|\| | | | | | | Change-Id: Id59e337c7ca870bc653cc410866a8ad0b09b0dfc
| * Use new tracing headers in Fuchsia.Yilong Li2020-05-211-1/+1
| | | | | | | | | | | | | | The old tracing headers is removed in change https://fuchsia-review.googlesource.com/c/fuchsia/+/391353. Change-Id: Ia5e9e565cabc81099b3d9b0f5fe04c9b36a7113a
* | Use qemu_pipe_bp headers for Fuchsia build. am: 5ef2a50ba8Yilong Li2020-05-221-0/+8
|\| | | | | | | Change-Id: I19f62223fcb084d8d23c327597627b862d42a712
| * Use qemu_pipe_bp headers for Fuchsia build.Yilong Li2020-05-211-0/+8
| | | | | | | | | | | | | | This fixes Fuchsia build after aosp/1315474 lands. Bug: 154151802 Change-Id: If07606fb53ebecd9276cd1206cf366f8959f6fd6
* | Rename Call() in goldfish pipe FIDL call usage. am: e1c7dbee96Yilong Li2020-05-222-3/+3
|\| | | | | | | Change-Id: Ib9fe4350042d07898f3c544ae2a85f955fca0791
| * Rename Call() in goldfish pipe FIDL call usage.Yilong Li2020-05-212-3/+3
| | | | | | | | | | | | | | Call() method in goldfish.pipe FIDL API is renamed to DoCall() in fxrev.dev/388123 . Change-Id: I734f9b06e88c7857382af3976ca61986077fb344
* | Merge "Retire duplicate qemu_pipe and gralloc_cb headers" am: 90ea14103aTreehugger Robot2020-05-2136-436/+161
|\| | | | | | | Change-Id: I92c77c37baa4454cad873f86c83e658f3ee4e137
| * Merge "Retire duplicate qemu_pipe and gralloc_cb headers"Treehugger Robot2020-05-2136-436/+161
| |\
| | * Retire duplicate qemu_pipe and gralloc_cb headersRoman Kiryanov2020-05-2036-436/+161
| | | | | | | | | | | | | | | | | | | | | Bug: 154151802 Test: build Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I3c0eb4470b1a2e7d67be3e4e16297b411b69dd76
* | | Define NVX_device_generated_commands handles only when that extension ↵Yilong Li2020-05-211-2/+13
|\| | | | | | | | | | | | | | | | | exists. am: 4e4418616b Change-Id: I9ca7cddf63da8338b2e4fb997b53f5d01356b879
| * | Define NVX_device_generated_commands handles only when that extension exists.Yilong Li2020-05-201-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After Vulkan SDK 1.2.135 (currently used in Fuchsia tree), VK_NVX_device_generated_commands is renamed to VK_NV_... . This change modifies the handle definition to make sure that we only refer to these handle types when the NVX extension exists. Change-Id: Ib1063f7d5e3b6efefee2bc643e4cef58fbd8a39f
* | | Fix BUILD.gn on Fuchsia am: 4ccb872f23Yilong Li2020-05-211-2/+2
|\| | | | | | | | | | | Change-Id: Ie3c3bd04ac6cf306f023838cadde2454dbf45657
| * | Fix BUILD.gn on FuchsiaYilong Li2020-05-201-2/+2
| |/ | | | | | | | | | | | | | | | | | | After fxrev.dev/390754 an fxrev.dev/388763 lands, static trace engine is moved from //zircon/public to //zircon/system/ulib, fuchsia.logger FIDL interface is moved to //sdk/fidl. This change fixes BUILD.gn to reflect the changes above. Change-Id: I00d758b8bbd794b0e52b38acabf2c44437026028
* | Do not crash in cmake_transform.py is a module has no 'libs' am: c9801f4bfbRoman Kiryanov2020-05-201-1/+1
|\| | | | | | | Change-Id: Idbe39319f6ce9504fcce189baaf1001d60aab844
| * Do not crash in cmake_transform.py is a module has no 'libs'Roman Kiryanov2020-05-191-1/+1
| | | | | | | | | | | | | | Bug: 154151802 Test: build Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: Iaa3b4bf253daac9e6b9755cb31bb63d51273ef38
* | Revert "Migrate codecs to .bp" am: f0ae38e53bRoman Kiryanov2020-05-1922-193/+235
|\| | | | | | | Change-Id: I77ea2c40d3c9a5c51138096a8c346804f06e840c
| * Revert "Migrate codecs to .bp"Roman Kiryanov2020-05-1922-193/+235
| | | | | | | | | | | | | | | | | | This reverts commit 4e97ba42deffa82ed4a875bda085766d79659b64. Bug: 157055359 Reason for revert: Broken build on git_qt-qpr1-dev-plus-aosp on build_test Change-Id: I96c9d467d53aaf1aaa0cbb9231fe2ab92930d5fd
* | Migrate codecs to .bp am: 4e97ba42deRoman Kiryanov2020-05-1922-235/+193
|\| | | | | | | Change-Id: Ia57ead9ca278788ff5d399e306bafd166ba991a2
| * Migrate codecs to .bpRoman Kiryanov2020-05-1822-235/+193
| | | | | | | | | | | | | | Bug: 154151802 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I6d1b7d899c75b6f12c4cf5bf79cf9d55dc7d9469
* | Add d/g/goldfish-opengl soong namespace am: d1d3419ff9Roman Kiryanov2020-05-181-0/+17
|\| | | | | | | Change-Id: I1810eae1df14136a4683ec6c9da7d893de8e9c07
| * Add d/g/goldfish-opengl soong namespaceRoman Kiryanov2020-05-181-0/+17
| | | | | | | | | | | | | | | | Bug: 154151802 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I609aae958c33cbb0560d32503fc26106df065ce9 Merged-In: I609aae958c33cbb0560d32503fc26106df065ce9
* | Support Ycbcr sampler on Fuchsia. am: 80bb14a5b0Yilong Li2020-05-161-1/+1
|\| | | | | | | Change-Id: I46e48b34b449a035b821cd60ab14ff48e967a55f
| * Support Ycbcr sampler on Fuchsia.Yilong Li2020-05-161-1/+1
| | | | | | | | | | | | TEST=fx shell run "fuchsia-pkg://fuchsia.com/escher_waterfall#meta/escher_waterfall.cmx" Change-Id: I6e7239299c8ef0031d0b3431fccc1be9d6faff6d
* | Sync up gles/rc encoders (guest side) am: dd49a0e5b9Lingfeng Yang2020-05-158-3/+44
|\| | | | | | | Change-Id: I0a23e9587ceecda0c95d81b6c66ad47a6345c17b