summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Modify gralloc0 implementationandroid-mainline-10.0.0_r4android-mainline-10.0.0_r10android-10.0.0_r9android-10.0.0_r8android-10.0.0_r7android-10.0.0_r45android-10.0.0_r44android-10.0.0_r43android-10.0.0_r42android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android-10.0.0_r14android-10.0.0_r13android-10.0.0_r12android10-qpr3-s1-releaseandroid10-qpr3-releaseandroid10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-mainline-releaseandroid10-mainline-media-releaseandroid10-devandroid10-d4-s1-releaseandroid10-d4-releaseandroid10-c2f2-s2-releaseandroid10-c2f2-s1-releaseandroid10-c2f2-releaseValerie Hau2019-05-021-1/+4
| | | | | | | | Add validateBufferSize and getTransportSize Bug: 131089111 Test: build, boot Change-Id: I052f9537fa1b37a4a7b2f5d82309aff3d2e1f2f3
* [automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li2019-02-240-0/+0
|\ | | | | | | | | | | | | am: e612ed0ba6 -s ours am skip reason: subject contains skip directive Change-Id: Ie0a052923250a3a583bc41cb07a3dd7e37dcddea
| * DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li2019-02-200-0/+0
| |\ | | | | | | | | | | | | Bug: 120848293 Change-Id: I178359ad531f0194030e56de95d67ae8af87232e
* | \ Merge ab/5111269 into master am: 816a8bb037 am: 6437e802bbCody Schuffelen2018-11-265-34/+58
|\ \ \ | | |/ | |/| | | | | | | | | | am: 6f55538523 Change-Id: I029c73dceadda59a3e96e5bf80f94da35104445d
| * | Merge ab/5111269 into master am: 816a8bb037Cody Schuffelen2018-11-265-34/+58
| |\| | | | | | | | | | | | | | | | am: 6437e802bb Change-Id: I67ae198166a09649c70d71bcdd007bf67a6fb28a
| | * Merge ab/5111269 into masterCody Schuffelen2018-11-265-34/+58
| | |\ | | | | | | | | | | | | | | | | | | | | am: 816a8bb037 Change-Id: I2afd0756285435d56a592b122432959b683c566a
| | | * Merge ab/5111269 into masterandroid-wear-8.0.0_r2android-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1Cody Schuffelen2018-11-195-34/+58
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | Test: TH Bug: 119522286 Change-Id: I0481b3f41b2c4895b88bdd8a58d32ae02769bca7
| | | | * Fix implicit-fallthrough warnings in AVDVirglRenderer.cpp etc.Chih-Hung Hsieh2018-11-022-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It will be a global error by default. Test: make checkbuild Bug: 112564944 Exempt-From-Owner-Approval: do not block on new warnings
| | | | * Document why we can't build this for MacGreg Hartman2018-10-261-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: 118466250 Test: TH Change-Id: I2858aa77749eb8637afb1e5c9e26f184ba3d525e
| | | | * Fix build break on macGreg Hartman2018-10-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Visual inspection There's no reason that emugen wouldn't compile on the mac, and turning it off here breaks things. Change-Id: Icaa6e06a8e69d89a7739b4702a62906767c03d58 (cherry picked from commit a688f6d6369222c9bdf5bd30a7b87aafa22ed7cd)
| | | | * Merge changes from topic "enablehostside" into cuttlefish-testingGreg Hartman2018-10-175-32/+54
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Hack to allow compilation on oreo and oreo-mr1 Add additional Android.bp files to make libs visible
| | | | | * Hack to allow compilation on oreo and oreo-mr1Greg Hartman2018-10-153-32/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2ddf71162da32b99e4c5f23bc0e505bcc43fb75e Test: Compiles
| | | | | * Add additional Android.bp files to make libs visibleGreg Hartman2018-10-122-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: 117561734 Test: Builds on oreo and oreo-mr1 Change-Id: Ie295ccd3ca252f35763f9ec5097075e722ed37f3
| | | | * | Remove spurious Android.mkGreg Hartman2018-10-151-39/+0
| | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | BUG: 117561734 Test: Local build gets further Change-Id: I96a0d285b98f97bed38a8f18657b9f12f21e6b47
* | | | | Merge "Silence a static analyzer warning"TreeHugger Robot2018-11-011-0/+8
|\ \ \ \ \
| * | | | | Silence a static analyzer warningGeorge Burgess IV2018-10-311-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our static analyzer is unhappy with this code, and thinks it has a memory leak: device/generic/opengl-transport/host/libs/virglrenderer/AVDVirglRenderer.cpp:343:38: warning: Potential leak of memory pointed to by 'config' [clang-analyzer-cplusplus.NewDeleteLeaks] While this immediately seems true, the constructor for `config` will stash a pointer to `config` in a static vector, which presumably is meant to manage the lifetime of our newly-allocated `config`. As noted in the comments, the analyzer can generally reason about that, but it gives up trying to figure out what the constructor is doing before we reach the vector's push_back. Just put a NOLINT here to make it be quiet. Bug: None Test: Ran the analyzer. It's no longer angry. Change-Id: Ida0118ef8b9ca0cd40cdd5e76489ab14cb86ea23
* | | | | | Fix implicit-fallthrough warnings in AVDVirglRenderer.cpp etc. am: ↵Chih-Hung Hsieh2018-10-292-2/+2
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / | | | | | | | | | | | | | | | | | | | | d282cb97c8 am: b6da014c67 am: a6b9bb3007 Change-Id: Iec0097eda096e0b216911d4dcaf458afe8542c3f
| * | | | Fix implicit-fallthrough warnings in AVDVirglRenderer.cpp etc. am: d282cb97c8Chih-Hung Hsieh2018-10-292-2/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b6da014c67 Change-Id: I11815126c83eea63c1dcd56255b2ffa613f0b836
| | * | | Fix implicit-fallthrough warnings in AVDVirglRenderer.cpp etc.Chih-Hung Hsieh2018-10-292-2/+2
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | am: d282cb97c8 Change-Id: I7c6252f82dfb9fefce714fbfb1a0e0ff38670737
| | | * | Fix implicit-fallthrough warnings in AVDVirglRenderer.cpp etc.Chih-Hung Hsieh2018-10-292-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It will be a global error by default. Test: make checkbuild Bug: 112564944 Exempt-From-Owner-Approval: do not block on new warnings
* | | | | Fix build break on mac am: 756d558aaf am: 167517c4e6Greg Hartman2018-10-260-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 2e2bd25a28 Change-Id: I72c38364245e7fbd669e3412c71ccc4d8b21dab0
| * | | | Fix build break on mac am: 756d558aafGreg Hartman2018-10-261-1/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 167517c4e6 Change-Id: I8fd099791d5a4fcb1b15cde61fb35e995e968d88
| | * | | Fix build break on macGreg Hartman2018-10-261-1/+0
| |/| | | | | |/ / | | | | | | | | | | | | | | | | am: 756d558aaf Change-Id: I5fc1c8f5b496a8978dfaff051a927c13f301bae0
| | * / Fix build break on macGreg Hartman2018-10-261-1/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Visual inspection There's no reason that emugen wouldn't compile on the mac, and turning it off here breaks things. Change-Id: Icaa6e06a8e69d89a7739b4702a62906767c03d58 (cherry picked from commit a688f6d6369222c9bdf5bd30a7b87aafa22ed7cd)
* | | Remove spurious Android.mkGreg Hartman2018-10-260-0/+0
|\| | | | | | | | | | | | | | | | | am: 6a076d3bfa Change-Id: I9b25d0feae4d3b4702e7a9764b084cdfae91e96e
| * | Remove spurious Android.mkGreg Hartman2018-10-241-39/+0
| | | | | | | | | | | | | | | | | | | | | BUG: 117561734 Test: Local build gets further Change-Id: I96a0d285b98f97bed38a8f18657b9f12f21e6b47 (cherry picked from commit b647927ff80c6f4f44d07c978d16936f33ff2e61)
* | | Merging from ab/5068661Greg Hartman2018-10-260-0/+0
|\| | | | | | | | | | | | | | | | | am: 8af14a4c74 Change-Id: I485a444082b0d7a2da76df1f00535a34860a2e9c
| * | Merging from ab/5068661Greg Hartman2018-10-243084-374032/+13798
| |\| | | | | | | | | | | | | | | | BUG: 117514054 Test: TH Change-Id: I2fe8bc306369d45939b50d21aa6516882ca0d049
* | | Fix build break on macGreg Hartman2018-10-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Visual inspection There's no reason that emugen wouldn't compile on the mac, and turning it off here breaks things. Change-Id: Icaa6e06a8e69d89a7739b4702a62906767c03d58
* | | Remove spurious Android.mkGreg Hartman2018-10-241-39/+0
| | | | | | | | | | | | | | | | | | | | | BUG: 117561734 Test: Local build gets further Change-Id: I96a0d285b98f97bed38a8f18657b9f12f21e6b47 (cherry picked from commit b647927ff80c6f4f44d07c978d16936f33ff2e61)
* | | Merging from ab/5068661Greg Hartman2018-10-243084-374032/+13798
|\ \ \ | |/ / |/| | | | | | | | | | | BUG: 117514054 Test: TH Change-Id: I0d6cad419788371ee23c2260d0ddb9b72998812c
| * | Snap for 5066971 from c67c108c07fd71f3bffc744fada1bb9450d3a0ce to pi-gce-releaseandroid-build-team Robot2018-10-151-6/+0
| |\ \ | | | | | | | | | | | | Change-Id: Ica0e0b87821f72dac4c14df4cbf61f707b5b4395
| | * | Remove supurious references to librariesGreg Hartman2018-10-121-6/+0
| |/| | | | |/ | | | | | | | | | | | | am: 246ae79db4 Change-Id: I140001850c11b113306c3394089673096539e83f
| | * Remove supurious references to librariesGreg Hartman2018-10-121-6/+0
| |/ | | | | | | | | BUG: 117561734 Change-Id: I2a5fb555be55e728fcb24a43244c781179a6b2f4
| * Changes to build a host-side libvirglrender.sotemp_116172357_cuttlefish-testingmaster-cuttlefish-testing-releaseGreg Hartman2018-08-2812-22/+429
| | | | | | | | | | | | BUG: 77276633 Change-Id: Ie6b4ddc5010e35bd7940a5c82e84480460ef542a Test: builds
| * AVDVirglRenderer: Host-side 3D for cuttlefishAlistair Strachan2018-08-2369-2786/+5783
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial implementation of libvirglrenderer for the cuttlefish AVD. This replaces the host renderer part of the Virgil3D project. Control messages are replaced with the goldfish-opengl protocol. QEMU needs to be built with support for libvirglrenderer, then this library can either replace the system copy of libvirglrenderer, or be LD_PRELOADed. Code from the goldfish emulator has been extensively reused. The protocol decoders are identical to those used by the external/qemu emu-master-dev project. Additionally, the OpenGLESDispatch library was taken and repurposed to allow an alternative EGL/GLES implementation to be loaded and utilized by AVDVirglRenderer. - OpenGL ES 1.1 and OpenGL ES 3.1 are supported. - OpenGL ES 3.2 support is not planned. - Vulkan support is not planned. Bug: 77276633 Change-Id: I981102308113577bccb514d1d7c515a999e6b059
| * Add a fork of the emugen host toolAlistair Strachan2018-08-234-0/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change also adds a fork of the emugen host tool from external/qemu 799a545 to enable the generation of wrapper code using the emulator library templates. To regenerate the wrappers, use the following commands: $ emugen_cuttlefish -W eglwrapper -i eglwrapper egl $ emugen_cuttlefish -W eglwrapper -i eglwrapper gles1 $ emugen_cuttlefish -W eglwrapper -i eglwrapper gles3 Bug: 76027192 Bug: 74573450 Bug: 74572414 Bug: 74571771 Bug: 73780279 Test: this change is completely untested Change-Id: Ib5e26ff824fd073a670971174014ea4c1b86c9f6
| * Enable ASAN on mac os.Erwin Jansen2018-08-231-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | - We passed in the wrong type of parameters to enable asan. Note: Asan cannot work on gcc4.8-mingw. Bug: b/80526239 Test: Launch emulator on mac: ==95822==ERROR: AddressSanitizer: global-buffer-overflow on address 0x00010a24ea60 at pc 0x00010c7a7844 bp 0x70000eb11c70 sp 0x70000eb11420 Change-Id: I9ce056733ca93d88440c3c51ed1becc0c34d3dd4
| * EGL: export eglQuerySurface function.Tao Wu2018-08-231-0/+1
| | | | | | | | | | | | | | It seems somehow we forget to export it even we've already implemented it. BUG: 70179880 Change-Id: Ib06ab832ed957a1c176cc37ee5f32ced37b6db6c
| * Enable Windows x86 buildErwin Jansen2018-08-231-6/+0
| | | | | | | | | | | | | | | | We disabled the Windows 32 bit build during the introduction of clang, we now turn it back on again Bug: b/73238968 Change-Id: I3ba976b9b7c40bfdd67cbc7a75161aad3a434b88
| * Enable static ASAN from clangErwin Jansen2018-08-231-0/+4
| | | | | | | | | | | | | | | | | | | | - We now use the sanitizer shipped with clang. - Note: Running with the sanitizer enabled might not always work or behave as expected. This change merely enables the sanitizer, it doesn't fix any failures. Change-Id: Ib58171129ab96c3073402ae22e6af1074ab7bb98 Test: ASAN_SYMBOLIZER_PATH=$PWD/../../prebuilts/clang/host/linux-x86/clang-4053586/bin/llvm-symbolizer ./objs/android_emu64_unittests
| * Fix missing dlls on windowsErwin Jansen2018-08-231-2/+2
| | | | | | | | | | | | | | | | | | - We no longer include libc++.so on windows - Fix missing dlls due to toolchain changes. Bug: b/73547546 Test: Launched emulator on windows Change-Id: I19dd13b40b1655eac71fb8c9a903d0e836d45ecd
| * Use libc++ instead of libstdc++ on linux.Erwin Jansen2018-08-231-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - We now use libc++ with clang vs. libstdc++ with gcc4.8 - Fixes compiler issues - Fixes build scripts to use libc.so, set rpath in executables - Removes libstdc++.so copying - Deprecrates -use-system-libs - Fix reporting bug in rebuild.sh - Run tests on newer versions of wine. - Remove 32 bit support on windows, cross compilers currently expect same bitness on host as as target. Clang only produces 64 bit, breaking the 32 bit build. Test: Unit tests green, can launch Test: Runs on Xenial Bug: b/37075150 Change-Id: Id37a98c36d7e9c0d26d737286e3a2f9e46269cf6
| * [deqp] fix delete_sync failureLingfeng Yang2018-08-231-0/+1
| | | | | | | | | | | | | | | | Separate gl vs egl sync namespaces. bug: 71354060 Change-Id: I50f3c66b6945ffb76da5531cf99496ec63e531a5
| * [gl] remove some glClientWaitSyncLingfeng Yang2018-08-231-1/+2
| | | | | | | | | | | | | | | | | | Test: No out of order frames on Antutu Thought I could get rid of all the glClientWaitSyncs, but we still need the SyncThread one. Change-Id: I639b98ddba15618139574895282e70c49c1e280f
| * [gl] Rewrite blitFromCurrentReadBufferLingfeng Yang2018-08-231-0/+1
| | | | | | | | | | | | | | - Most eglMakeCurrent calls per frame removed (rest are from the guest OS) - Client wait sync still necessary (actually even extra ones needed) Change-Id: I717c924a6efa127c4cff88c3552f1463e2622f7c
| * [GPU Snapshot] GLES1 save vertex pointer data correctlyYahan Zhou2018-08-233-1/+8
| | | | | | | | | | | | | | We would need to pass buffer size when calling glVertexPointer with a client data buffer. Change-Id: I719521b8186fc33467cb55efae963ef686c4c24a
| * [core-profile] Consistent FBO api usageLingfeng Yang2018-08-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | bug: 68335353 Even if the underlying GPU supports core profile, the EXT function pointers for FBOs may be missing / incompatible, or the suffix-less ARB function pointers are missing. + Add a fallback to the ARB suffixed functions (for older GPUs), and log failures to find GL functions. Change-Id: Iba76262b7da14a84766ed89eb739a90e022f4a45
| * [VR] EGL_KHR_wait_syncLingfeng Yang2018-08-232-1/+2
| | | | | | | | Change-Id: I4125d83a2753d227ed71b3975202faff8185fff2
| * Move glRenderbufferStorageMultisample to gles_common.entriesYahan Zhou2018-08-231-1/+0
| | | | | | | | | | | | | | | | glRenderbufferStorageMultisample is used by both GLES1 and GLES2. Move it from gles3_only.entries to gles_common.entries. BUG: 64951203 Change-Id: Ifa422eb4336ba1733a697351710ac147e196d254