aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Snap for 4813226 from 22dc42d6cf91ef90ae3fb6342d8e716666a87df8 to pi-releaseandroid-wear-9.0.0_r9android-wear-9.0.0_r8android-wear-9.0.0_r7android-wear-9.0.0_r6android-wear-9.0.0_r5android-wear-9.0.0_r4android-wear-9.0.0_r3android-wear-9.0.0_r23android-wear-9.0.0_r22android-wear-9.0.0_r21android-wear-9.0.0_r20android-wear-9.0.0_r2android-wear-9.0.0_r19android-wear-9.0.0_r18android-wear-9.0.0_r17android-wear-9.0.0_r16android-wear-9.0.0_r15android-wear-9.0.0_r14android-wear-9.0.0_r13android-wear-9.0.0_r12android-wear-9.0.0_r11android-wear-9.0.0_r10android-wear-9.0.0_r1android-vts-9.0_r9android-vts-9.0_r8android-vts-9.0_r7android-vts-9.0_r6android-vts-9.0_r5android-vts-9.0_r4android-vts-9.0_r14android-vts-9.0_r13android-vts-9.0_r12android-vts-9.0_r11android-vts-9.0_r10android-cts-9.0_r9android-cts-9.0_r8android-cts-9.0_r7android-cts-9.0_r6android-cts-9.0_r5android-cts-9.0_r4android-cts-9.0_r3android-cts-9.0_r2android-cts-9.0_r13android-cts-9.0_r12android-cts-9.0_r11android-cts-9.0_r10android-cts-9.0_r1android-9.0.0_r9android-9.0.0_r8android-9.0.0_r7android-9.0.0_r60android-9.0.0_r6android-9.0.0_r59android-9.0.0_r58android-9.0.0_r57android-9.0.0_r56android-9.0.0_r55android-9.0.0_r54android-9.0.0_r53android-9.0.0_r52android-9.0.0_r51android-9.0.0_r50android-9.0.0_r5android-9.0.0_r49android-9.0.0_r48android-9.0.0_r3android-9.0.0_r2android-9.0.0_r18android-9.0.0_r17android-9.0.0_r10android-9.0.0_r1security-pi-releasepie-vts-releasepie-security-releasepie-s2-releasepie-release-2pie-releasepie-r2-s2-releasepie-r2-s1-releasepie-r2-releasepie-cts-releasemaster-cuttlefish-testing-releaseandroid-build-team Robot2018-05-318-1/+130
|\ | | | | | | Change-Id: I21f5684debac5913e77f16ec7d59801f50b98dd1
| * Fix glReadPixels when row length != 0pie-devLingfeng Yang2018-05-308-1/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: 79208762 The pipe encoder assumes the user in the guest side has allocated all the client memory for glReadPixels including the padding between image rows (the total pitch determined by GL_PACK_ROW_LENGTH), but that is not necessarily the case; the guest can have allocated fewer bytes than the row length would suggest. This can cause memory corruption. This CL detects the case when GL_PACK_ROW_LENGTH != 0 and there is a client buffer for glReadPixels, in which case it takes the pipe buffer and only writes the pixels, row by row, to the client buffer, discarding the padding. this cl does not impact real devices Change-Id: I6fde6677897f2717c7ac05bc349225ea1e02243e Merged-In: I6fde6677897f2717c7ac05bc349225ea1e02243e (cherry picked from commit 372c425bd2d1d67eced350383e6369bca1530b4e)
* | Snap for 4787078 from cc22a7af8b2dbeeec9db7962a2652c1331e83d18 to pi-releaseandroid-build-team Robot2018-05-171-31/+104
|\| | | | | | | Change-Id: I874c084a64496a17b343015da779eab1dacc7be1
| * Detect #define ___ samplerExternalOESLingfeng Yang2018-05-161-31/+104
| | | | | | | | | | | | | | | | | | | | | | | | This is a temp fix until we move external sampler to the host. bug: 79741627 bug: 63115808 this cl does not impact real devices Change-Id: Ic74557eae4d826f1dc19aa5dcc83f2e0ec42b193 (cherry picked from commit d3cab58212dc042713f674ec6231f6618f84797f)
* | Snap for 4773106 from 691b44d51b02a1b4fc6fd00605e5dd6098d217b9 to pi-releaseandroid-build-team Robot2018-05-103-34/+34
|\| | | | | | | Change-Id: I05c05a22f2527ef85bce431f1a2af97b10d20730
| * Merge "Fix EGL image regressions in CTS dEQP" into pi-devandroid-build-team Robot2018-05-092-24/+34
| |\
| | * Fix EGL image regressions in CTS dEQPYahan Zhou2018-05-072-24/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We got a crash when calling glEGLImageTargetRenderbufferStorageOES with a texture backed EGL image. In fact, we never support this use case correctly. This CL fixes the crash. The real support will be left for future work. This cl does not impact real devices. BUG: 78918794 Test: atest CtsDeqpTestCases Change-Id: I33ce76401bc390cba129583edffa581d68d45b68
| * | Remove support for EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHRYahan Zhou2018-05-081-10/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | CTS dEQP says it should not be supported by EGL version <= 1.4. This cl does not impact real devices. BUG: 78918794 Test: cts-tradefed run cts -m CtsDeqpTestCases -t dEQP-EGL.functional.robustness.negative_context#invalid_notification_strategy_enum Change-Id: I3f056e506198216857e139897308a9244222be7f
* | Snap for 4754571 from 068717010e0481268c3abc23068cd7ec436f1253 to pi-releaseandroid-build-team Robot2018-05-011-2/+11
|\| | | | | | | Change-Id: I93e3eafe0a8e029681764c67d1212df1f52d52c7
| * Merge "Proper fix for HAL_PIXEL_FORMAT_RGBX_8888" into pi-devandroid-build-team Robot2018-04-301-2/+11
| |\
| | * Proper fix for HAL_PIXEL_FORMAT_RGBX_8888Yahan Zhou2018-04-271-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an appropriate fix for HAL_PIXEL_FORMAT_RGBX_8888. The handling of RGBX_8888 is very subtle. Most of time we want it to be treated as RGBA_8888, with the exception that alpha is always ignored and treated as 1. The solution is to create 3 channel RGB texture on the host while telling the guest to use 4 channel RGBA for read/write. The host GL will handle the Alpha channel approriately. BUG: 78602661 This cl does not impact real devices. Test: atest CtsNativeHardwareTestCases Change-Id: Ife299bfc55ce327d0213616b9902ba537cfb0d82
* | | Snap for 4751833 from da929c7b4c1892cfbaa643b6c3402eb6ac5b5d8f to pi-releaseandroid-build-team Robot2018-04-292-18/+32
|\| | | | | | | | | | | Change-Id: I630c494f9651a60eeac8d2560549894ea7ef49c0
| * | Merge "Revert "Handle HAL_PIXEL_FORMAT_RGBX_8888 more appropriately"" into ↵android-build-team Robot2018-04-281-6/+2
| |\| | | | | | | | | | pi-dev
| | * Revert "Handle HAL_PIXEL_FORMAT_RGBX_8888 more appropriately"Yahan Zhou2018-04-261-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 93eee36521f0e34a823faad4e5570662042baedd. Reason for revert: cause system UI crashes BUG: 78602661 This cl does not impact real devices. Change-Id: I0e68902c575c5ce0124173d19dd808613b764967
| * | Support GL_RGBA16F and GL_RGB10_A2 pixel sizeYahan Zhou2018-04-232-12/+30
| |/ | | | | | | | | | | | | | | | | | | | | Also, GL_RGB10_A2 should work with GL_UNSIGNED_INT_2_10_10_10_REV instead of GL_UNSIGNED_INT_10_10_10_2. This cl does not impact real devices. BUG: 77977729 Test: atest CtsNativeHardwareTestCases Change-Id: I01fe508d741b04a7107f0a628b5ccb4ba320daa0
* | Snap for 4736748 from 93eee36521f0e34a823faad4e5570662042baedd to pi-releaseandroid-build-team Robot2018-04-225-5/+12
|\| | | | | | | Change-Id: I3b54649c84d71b5332defaff72e0aff52be31ac8
| * Handle HAL_PIXEL_FORMAT_RGBX_8888 more appropriatelyYahan Zhou2018-04-181-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | This format needs to be treated as RGB most of the time, except when reading back from it. This cl does not impact real devices. BUG: 77977729 Test: atest CtsNativeHardwareTestCases Change-Id: I4ff989c3f7c8d9730a863dd3644b436d50c26c87
| * Fix glEGLImageTargetRenderbufferStorageOESYahan Zhou2018-04-182-2/+2
| | | | | | | | | | | | | | | | | | This cl does not impact real devices. BUG: 77977729 Test: atest CtsNativeHardwareTestCases Change-Id: I8a024708f5bedfc1844eb402b7cc6ef4436c9d06
| * glGenerateMipmap should accept GL_TEXTURE_2D_ARRAYYahan Zhou2018-04-181-1/+2
| | | | | | | | | | | | | | | | | | This cl does not impact real devices. BUG: 77977729 Test: atest CtsNativeHardwareTestCases Change-Id: Id812865294471e16f890a01814e99e416a8c76c6
| * Add 2 format to be supported by eglCreateImageKHRYahan Zhou2018-04-181-0/+2
| | | | | | | | | | | | | | | | | | | | This cl does not impact real devices. BUG: 77977729 Test: atest -m CtsNativeHardwareTestCases Change-Id: I3a2afb44f4f4c8b4aa665a1e0d3de41f565c1e4f
* | Snap for 4713750 from 3546c4df120220fc0ca5e1ad242213fc2ca4c2b5 to pi-releaseandroid-build-team Robot2018-04-112-57/+106
|\| | | | | | | Change-Id: Idbb87d82803cf5fcc8840130dab73e70c5695a97
| * [skia] Add GL_OES_EGL_image_external_essl3 if missingLingfeng Yang2018-04-102-57/+106
| | | | | | | | | | bug: 77809054 Change-Id: I0b1e87dce4fc2ea073af6fe2b852cef9d42c6bbf
* | Snap for 4667902 from 62dc210fc5785b67845ea84d38bacc5e5a6ed626 to pi-releaseandroid-build-team Robot2018-03-214-6/+61
|\| | | | | | | Change-Id: If59ff1e069cf8c9011bef6720e8681ac72bc3607
| * Merge "asan: Fix setting context non-current too much" into pi-devTreeHugger Robot2018-03-203-6/+28
| |\
| | * asan: Fix setting context non-current too muchLingfeng Yang2018-03-203-6/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 74981595 + avoid double frees in eglDestroy(Context|Surface) Change-Id: Ie4801a8a2c0bc42fc26fcba2de81f3f830c59ae9 (cherry picked from commit 0c41152cda253edb3c9cef9e4b05dc18302aac2e)
| * | Fix missing target overridesLingfeng Yang2018-03-201-0/+33
| |/ | | | | | | | | | | | | bug: 74112713 Change-Id: I28eed9d8fe390dd94b49c0b99bb168e5abf0efc0 (cherry picked from commit be41d0d275a9dee262b7e04c0cff38f947642a34)
* | Snap for 4632767 from 9b51713941462a709044b038d245913cdc24f1d5 to pi-releaseandroid-build-team Robot2018-03-041-1/+1
|\| | | | | | | Change-Id: I70004660005257cec2cb78237a8ee05783d74b1e
| * Silence -Wformat compile warning in log print am: 032255d4c6 am: dff613b015liuchao2018-03-021-1/+1
| |\ | | | | | | | | | | | | | | | am: b434e67d0c Change-Id: I14f3b464a3469c1c362a492d2cddc9ec73c11869
| | * Silence -Wformat compile warning in log print am: 032255d4c6liuchao2018-03-021-1/+1
| | |\ | | | | | | | | | | | | | | | | | | | | am: dff613b015 Change-Id: I4ffb6f6d2047622e0b94afb353e236f37aec37e6
| | | * Silence -Wformat compile warning in log printliuchao2018-03-021-1/+1
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | am: 032255d4c6 Change-Id: Icf4e7c58c4cea626294e66e8df5eefd51089b918
| | | | * Silence -Wformat compile warning in log printandroid-wear-p-preview-2android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7o-mr1-iot-preview-8o-mr1-iot-preview-7liuchao2018-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Test: code compilation without -Wformate warning Change-Id: I0dcd11dab045870fe783289beec6d28f5070a262
* | | | | Snap for 4620899 from a16eb2ef2da86593bad89f82ed8246126a092564 to pi-releaseandroid-build-team Robot2018-02-253-6/+63
|\| | | | | | | | | | | | | | | | | | | Change-Id: If3e201c77c94f4cbb6e97a03d68aba5df6b5cdd5
| * | | | Fix glGetStringiLingfeng Yang2018-02-233-6/+63
| | | | | | | | | | | | | | | | | | | | Change-Id: Ibccbbbe4122c96386ca4de2df505f1e350bd9bed
* | | | | Snap for 4557233 from e8e341a3aa0353286bfe7961fe3f05e410148f8e to pi-releaseandroid-build-team Robot2018-01-210-0/+0
|\| | | | | | | | | | | | | | | | | | | Change-Id: Ia0f9b1f993ff88546dfc00c08765a30ee527673d
| * | | | goldfish_sync: detect when running on a 64-bit kernel am: 4546cf071d am: ↵Lingfeng Yang2018-01-180-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9f8ef70533 am: f785fcdd00 -s ours Change-Id: I42876358adfb1129d86c0b5c1436b09519dd26cb
| | * | | goldfish_sync: detect when running on a 64-bit kernel am: 4546cf071dLingfeng Yang2018-01-181-1/+14
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | am: 9f8ef70533 Change-Id: If915fcc5a7845d4a99e776bef9a1e0ec55a9436f
| | | * | goldfish_sync: detect when running on a 64-bit kernelLingfeng Yang2018-01-181-1/+14
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 4546cf071d Change-Id: I39f6fd4b8a5d2e2dadb1ec279723e8acd2bbec0c
| | | | * goldfish_sync: detect when running on a 64-bit kernelandroid-wear-8.0.0_r1Lingfeng Yang2018-01-181-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 71861550 The goldfish sync ioctl cmd for QUEUE_WORK is different when running a 64-bit kernel. Use that magic number instead if we get a negative return code and ENOTTY from ioctl. Change-Id: I23b1f6d0d8be9e97f3d14105882d4c8d9c4435df Merged-In: I23b1f6d0d8be9e97f3d14105882d4c8d9c4435df
* | | | | Snap for 4551672 from 7a5ca8b779574ff15d3b14f8d810159298777ab3 to pi-releaseandroid-build-team Robot2018-01-181-1/+14
|\| | | | | | | | | | | | | | | | | | | Change-Id: I9422610ed3f44faf7fa4058f91d4cc011309d883
| * | | | goldfish_sync: detect when running on a 64-bit kernelLingfeng Yang2018-01-171-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 71861550 The goldfish sync ioctl cmd for QUEUE_WORK is different when running a 64-bit kernel. Use that magic number instead if we get a negative return code and ENOTTY from ioctl. Change-Id: I23b1f6d0d8be9e97f3d14105882d4c8d9c4435df
* | | | | Snap for 4545621 from e980c7a4de6cc56e63fd013ce7811bcdeeabb57c to pi-releaseandroid-build-team Robot2018-01-144-2/+26
|\| | | | | | | | | | | | | | | | | | | Change-Id: I7dc9247ff1669e09cb67451c87c534fdffc25b72
| * | | | Feature: IgnoreHostOpenGLErrorsLingfeng Yang2018-01-134-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 71853717 If you use the emulator and the UI works fine, do this to make the UI faster. Change-Id: I044a46956eadb17021d6cf2c7b87c6423a328051
* | | | | Snap for 4498106 from 93e2ca64fa87cf0e9f92e0239f934b20255bd65f to pi-releaseandroid-build-team Robot2017-12-120-0/+0
|\| | | | | | | | | | | | | | | | | | | Change-Id: I41add9d634bfec265f71fc53546b7ab608a4ef85
| * | | | Export libui_headers as vndk header library am: 5f81367c6f am: 1744c252d6Isaac Chen2017-12-120-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 9fd37ff364 -s ours Change-Id: I2ab825e03fc1573f72e7a865e6786bea72cfc42d
| | * | | Export libui_headers as vndk header library am: 5f81367c6fIsaac Chen2017-12-121-0/+8
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | am: 1744c252d6 Change-Id: I05d1248ad64856e287133c519eff326ebbb80b8f
| | | * | Export libui_headers as vndk header libraryIsaac Chen2017-12-121-0/+8
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 5f81367c6f Change-Id: I6d1d0f41d180e0a0564f7a41e5405c91164eec67
| | | | * Export libui_headers as vndk header libraryIsaac Chen2017-12-071-0/+8
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Export relevant headers as VNDK header library so this can build successfully when BOARD_VNDK_VERSION is enabled. This is actually ag/2828467+ag/2833066, which are probably overwritten by some recent emulator related merge/CL on master, ag/3131017. Bug: 69395141 Test: Both of the following 2 products can boot to home screen $ lunch aosp_x86-userdebug; m -j; emulator $ lunch aosp_x86_64-userdebug; m -j; emulator Change-Id: I3a806dbe8f1f254ca1e06c002724ffbd4ae12e63 Merged-In: I3a806dbe8f1f254ca1e06c002724ffbd4ae12e63 (cherry picked from commit 2c82f2f9e3f2990a3f4512e19445a2dba9e715f6)
* | | | Snap for 4484469 from d53a6a38216f1277a2487d06beb4f632c6498bdb to pi-releaseandroid-build-team Robot2017-12-051-0/+8
|\| | | | | | | | | | | | | | | Change-Id: I8a9400691fa28ec008c7104905e779427f62d543
| * | | Merge "Export libui_headers as vndk header library"Isaac Chen2017-12-051-0/+8
| |\ \ \
| | * | | Export libui_headers as vndk header libraryIsaac Chen2017-11-301-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Export relevant headers as VNDK header library so this can build successfully when BOARD_VNDK_VERSION is enabled. This is actually ag/2828467+ag/2833066, which are probably overwritten by some recent emulator related merge/CL on master, ag/3131017. Bug: 69395141 Test: Both of the following 2 products can boot to home screen $ lunch aosp_x86-userdebug; m -j; emulator $ lunch aosp_x86_64-userdebug; m -j; emulator Change-Id: I3a806dbe8f1f254ca1e06c002724ffbd4ae12e63