summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove dead gglFastDivx.Elliott Hughes2018-08-022-12/+0
| | | | | | | Bug: http://b/112155920 Bug: https://www.viva64.com/en/b/0579/ Test: builds Change-Id: Ia55245ce4484d5376abef16c9863015b0a0ca2b1
* MIPS[64]: codeflinger: Fix build due to unused variable warningsMiodrag Dinic2017-11-064-136/+148
| | | | | Change-Id: Ie31d44ee74a218c83774df855be496ca862af8c5 Signed-off-by: Miodrag Dinic <miodrag.dinic@mips.com>
* Use -Werror in system/core/libpixelflingerChih-Hung Hsieh2017-11-0216-24/+22
| | | | | | | | | * Remove unused local variables. * Suppress/fix warning of unused functions, conditionally used variables. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: If92bc79f15a0486364da0389defbb2d43b3bd6ea
* Va_end should be used with va_startMikhail Lappo2017-03-232-0/+2
| | | | | | | va_start is used and va_end should be invoked accordingly Change-Id: Id7037aa8092438b27e445e5147972836602bfd55
* liblog: use log/log.h when utilizing ALOG macrosMark Salyzyn2017-01-1112-13/+12
| | | | | | Test: compile Bug: 30465923 Change-Id: Id6d76510819ebd88c3f5003d00d73a0dbe85e943
* system/core: preparation to pull back interfaces from android/log.hMark Salyzyn2016-10-205-0/+9
| | | | | | | | | | | | | | | | Point to log/log.h where necessary, define LOG_TAG where necessary. Accept that private/android_logger.h is suitable replacement for log/logger.h and android/log.h. Correct liblog/README Effectively a cleanup and controlled select revert of 'system/core: drop or replace log/logger.h' and 'system/core: Replace log/log.h with android/log.h'. Test: compile Bug: 30465923 Change-Id: Ic2ad157bad6f5efe2c6af293a73bb753300b17a2
* system/core Replace cutils/log.h with android/log.hMark Salyzyn2016-09-3014-126/+121
| | | | | | | | | | | Should use android/log.h instead of cutils/log.h as a good example to all others. Adjust header order to comply with Android Coding standards. Test: Compile Bug: 26552300 Bug: 31289077 Change-Id: I2c9cbbbd64d8dccf2d44356361d9742e4a9b9031
* Fix reference counting for AssemblyHans Boehm2016-08-164-7/+5
| | | | | | | | | | | | | | Use correct memory ordering. Start the reference count at zero instead of one, thus giving us a chance to actually deallocate something. Remove remaining (unused) inclusions of cutils/atomic.h from libpixelflinger. Bug: 30838047 Change-Id: I3c6fd4a4861b3635cf398ca2aa3e915118100b10
* Fix google-explicit-constructor warnings in system/core.Chih-Hung Hsieh2016-07-266-24/+24
| | | | | | | | | | * Declare explicit conversion constructors. * Add NOLINT for implicit conversion constructors. * Fix also some misaligned indendations. Bug: 28341362 Change-Id: Idf911f35923b408d92285cc1a053f382ba08c63e Test: build with clang-tidy
* Remove dead rotate90CW_4x4_16v6.S.Elliott Hughes2016-07-131-62/+0
| | | | Change-Id: I3b7ee192cdbe193878fe9b4d97be972780283ef1
* Replace .align with .balign to avoid ambiguityNikola Veljkovic2016-07-1312-12/+12
| | | | | | Directive .align is arch-dependent, .balign is not. Change-Id: Ibf2097da29f743f2c87c79d2a88ce1abd0aa6227
* [mips] Resolve issue with .align directive, when using clang IASLazar Trsic2016-07-136-6/+6
| | | | | | Clang IAS does not support .align without args, concrete value is needed. Change-Id: I50e20c374b8e88966310c0c9e6cc41eea054eb32
* Remove qemu_tracing dependency.David 'Digit' Turner2016-06-216-39/+0
| | | | | | | | | | The feature is not implemented anymore (and has been for a very long time). Moreover, this will allow us to cleanup hardware/ from any QEMU-specific items. BUG=25875346 Change-Id: I71488f4128c737dedf2b28433499fa6ffd29dcb5
* Fix misc-macro-parentheses warnings in init and other core modules.Chih-Hung Hsieh2016-05-182-11/+11
| | | | | Bug: 28705665 Change-Id: Ice67cebb8c42538f8fb9cf1756678f41a9d68a31
* Don't include <machine/cpu-features.h>.Elliott Hughes2016-05-161-4/+0
| | | | | | We're not using it. Change-Id: Ic128cf9297e1627c839c48f1954c19d7070654d7
* Fix google-explicit-constructor warnings.Chih-Hung Hsieh2016-04-251-12/+12
| | | | | Bug: 28341362 Change-Id: I0ce541f79feef5c08eac64edc686be3edf9c2aa4
* libpixelflinger: Fix -Woverloaded-virtual warnings.James Hawkins2016-02-251-0/+8
| | | | | | | | | | | GGLAssembler inherits a reset method from two parent classes, but it provides a separate reset method with a different signature, thus hiding the inherited reset methods. The fix is to explicitly hide the inherited reset methods as private. Bug: 27346663 Change-Id: Ic64b00acb6d77fb791cfdeade9ef7e20148817c1
* Use dlmalloc from external/dlmalloc instead of bionic/.Josh Gao2016-01-221-1/+1
| | | | | Bug: http://b/17207577 Change-Id: Ib9b4cd417091b765402ad217ae0b5a10e3ffbc23
* libpixelflinger: MIPS64 assembler test bug fixLjubomir Papuga2015-12-153-2/+8
| | | | Change-Id: I47f77790baabea85ee318976a2c44ab1c0c0b9cb
* Add explicit cast to shut off clang warnings.Chih-Hung Hsieh2015-11-231-23/+23
| | | | | | | * The literals are signed negative int and got warnings about .... cannot be narrowed to type uint64_t [-Wc++11-narrowing] Change-Id: I88c2fc328dfe5c7e2f9ade32bcba273e4a74a84c
* Add explicit cast to shut off clang warnings.Chih-Hung Hsieh2015-11-201-7/+7
| | | | | | | * The literals are signed int type and got warnings about .... cannot be narrowed to type int16_t [-Wc++11-narrowing] Change-Id: I156d8e456c70840953aebb24739f94256248b810
* libpixelflinger: MIPS64r6 bug fixLjubomir Papuga2015-11-101-25/+0
| | | | | | This commit fixes MIPS64r6 bootanimation crash. Change-Id: If7ca817ee2beaf92bb8052602cc759bb4a609419
* Revert "Revert "Add MIPS64r6 support for libpixelflinger""Elliott Hughes2015-11-0632-279/+5035
| | | | | | This reverts commit 7fd121788a892a0dfd4a9594304cad85fe366349. Change-Id: Ic1204a8407c235b07c643764d5f2800631fecd72
* Merge "Revert "Add MIPS64r6 support for libpixelflinger""Elliott Hughes2015-11-0532-5035/+279
|\
| * Revert "Add MIPS64r6 support for libpixelflinger"Elliott Hughes2015-11-0532-5035/+279
| | | | | | | | | | | | | | | | | | | | | | This reverts commit ab5265ebe65eac3b9555eaa3f425cf8e2759d3b3. This broke the mips64 build (which, stupidly, I hadn't tested): system/core/libpixelflinger/codeflinger/MIPS64Assembler.h:24:35: fatal error: tinyutils/KeyedVector.h: No such file or directory #include "tinyutils/KeyedVector.h" Change-Id: I4fa1c04e196592fd1ef893a83c75261a55d32290
* | Merge "Add MIPS64r6 support for libpixelflinger"Elliott Hughes2015-11-0532-279/+5035
|\|
| * Add MIPS64r6 support for libpixelflingerLjubomir Papuga2015-10-2932-279/+5035
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added ARMtoMips64Assembler class that translates ARM instructions to MIPS64r6 instructions. Added MIPS64r6 assembly implementations for col32cb16_blend and t32cb16_blend functions. Added MIPS32r2 assembly implementation for col32cb16_blend function. Added tests for MIPS64r6 (assembler, disassembler and assembly implementation functions). Added MIPS32 tests for assembly implementation functions. Minor bug fixes for MIPS32r2 branch. Change-Id: I69e49622117be5b8167628e9702db6aafb1849d7
* | Merge "Fix some compiler warnings in libpixelflinger."Elliott Hughes2015-10-222-5/+5
|\ \ | | | | | | | | | | | | | | | | | | am: 5643f80947 * commit '5643f8094753e4672cb64ff9b4a7b307d43a80ac': Fix some compiler warnings in libpixelflinger.
| * | Fix some compiler warnings in libpixelflinger.Elliott Hughes2015-10-212-5/+5
| |/ | | | | | | | | | | class/struct mismatch and use of 'register'. Change-Id: I6cfe0f7fdc214c3a009eb01251f5ea9a8fdb895d
* | resolved conflicts for 32d86587 to mnc-dr-dev-plus-aospNarayan Kamath2015-09-0814-2168/+10
|\ \ | |/ |/| | | Change-Id: I381133e7dd93f908bd3d2b42e8af83d954e428af
| * libutils: Fix integer overflows in VectorImpl.Narayan Kamath2015-09-0214-2168/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use external/safe-iop to check for overflows on arithmetic operations. Also remove an unnecessary copy of Vector/SharedBuffer from codeflinger and use the copy from libutils instead. Note that some of the unit tests are somewhat useless due to test-runner limitations : gtest's ability to filter on abort message doesn't work when combined with messages formatted by android's logging system. bug: 22953624 Change-Id: I46b1ae8ca1f3a010be13aca36a091e76a97a7b70
* | To compile with llvm integrated assembler.Chih-Hung Hsieh2015-08-218-16/+6
|/ | | | | | | | | | | | | | * Explicitly specify default .align 0. * Use standard ldmfdlo instruction. * Before and after gas outputs are identical, with align 0 sections. * Objdump showed .text/.data/.bss section alignment attributes are 2^0 from gas and 2^2 from llvm assembler. These .S files might be working when compiled by gas, but llvm assembler's output should be more correct or conservative. Change-Id: I4e578dbc8155c0d06d1bbc1c33ec4cc851a18479
* pixelflinger: make self-containedGreg Hackmann2015-03-199-6/+1669
| | | | | | | | | | pixelflinger should not be used for new projects and should be moved out of system/core at some point. As the first step, move all its headers under system/core/libpixelflinger/include and update its Android.mk files so they're not referring to the absolute system/core path anymore. Change-Id: Idead273ab2c0450409d770f5402c4dba916192a9 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* Merge "pixelflinger: don't build static library"Greg Hackmann2015-03-171-18/+0
|\
| * pixelflinger: don't build static libraryGreg Hackmann2015-03-121-18/+0
| | | | | | | | | | | | | | | | libagl is now the only remaining pixelflinger client in the Android tree, and it links with pixelflinger dynamically. Change-Id: Ic5f8af57a88ceaeb25bf890cd6be8bc5a893fc10 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* | Revert "pixelflinger: make self-contained"Paul Eastham2015-03-169-1669/+6
|/ | | | | | This reverts commit 56350fe387e77824a1e360d39a22f983b0a8ab20. Change-Id: I4cda5773f39abd3b24df65d7bd9daaef92314b52
* pixelflinger: make self-containedGreg Hackmann2015-03-129-6/+1669
| | | | | | | | | | pixelflinger should not be used for new projects and should be moved out of system/core at some point. As the first step, move all its headers under system/core/libpixelflinger/include and update its Android.mk files so they're not referring to the absolute system/core path anymore. Change-Id: I7acc3ef5b2e21d8ba6fe939ea8d3ec4c41959591 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* Remove obsolete BUILD_TINY_ANDROID.Elliott Hughes2015-01-251-2/+0
| | | | Change-Id: I876bce99efb40cd791256535d8d6c0d046b7aeae
* Linux always has POSIX clocks available.Elliott Hughes2015-01-091-8/+0
| | | | | | | pixelflinger doesn't have to run on the Mac, but the Condition code might. Change-Id: Ib4e9b4daa6e848ffd5742959427b172d45f08e3c
* Remove dead code.Elliott Hughes2014-12-032-124/+0
| | | | | | | | | | Intel accidentally made this dead code in 2010 with commit 2bef93cc20155c3a59cdbb22c564c4b385b2c160, and no one's ever noticed. Since no one noticing for so long implies that it doesn't matter, let's just kill the supposedly optimized code. Change-Id: Id5b37056cb8884c20bfe2db362e19b46f02e337d
* libpixelflinger should #define __ARM_HAVE_NEON.Elliott Hughes2014-12-031-0/+1
| | | | | Bug: 18556103 Change-Id: Ife07cf63948f1c248bcde5685cdb6d89c373d988
* Fix build.Dan Albert2014-11-281-10/+11
| | | | | | More UD literals that weren't caught by hammerhead... Change-Id: I6b0abdeef41d1f40c2fe86843b5149925ff6356e
* Fix type cast error, should be char* not void*.Chih-Hung Hsieh2014-10-231-1/+1
| | | | | BUG: 18106835 Change-Id: Ic0051d5035e5684de0091cd3528d65e1b1e57161
* Add -no-integrated-as at local level.Chih-Hung Hsieh2014-10-064-0/+15
| | | | | | | Later we will enable integrated-as as default at the global level. BUG: 17820427 Change-Id: I1beed3e75d074d970fa9112ec1c0f0df3d43947a
* Fix some clang compilation issues.Dan Albert2014-09-111-2/+2
| | | | | | | | | | | | Use expected inline behavior with clang. GCC defaults to -std=gnu90, giving C89 inline semantics with GNU extensions. Clang defaults to C99. Explicitly use gnu90. Mark an unused parameter as __unused. Fix some incorrect casts. Change-Id: I05b95585d5e3688eda71769b63b6b8a9237bcaf4
* [MIPSR6] Skip pixelflinger, memset assembler code on mips32r6Duane Sand2014-07-313-9/+13
| | | | | | Temporarily use generic C-coded libpixelflinger & memset on mips32r6. Change-Id: I629b11ba955eaba323cba1df96c39f75f4d24d62
* Build pixelflinger tests as native tests, not executables.Narayan Kamath2014-06-266-6/+14
| | | | | | | This has the side effect of building tests for both 32 and 64 bit, where required. Change-Id: I674800d34b4fa7cc5d34573c96b754ac85777970
* pixelflinger: Use pointer arithmetic to determine cache flush parametersAshok Bhat2014-06-191-3/+3
| | | | | | | | | CodeCache casts base address to long and then adds size (of type ssize_t) to get end address. This can cause sign-extension problems. This patch instead uses simple pointer arithmetic. Change-Id: Ib71d515a6fd6a7f4762cf974d6cf4eba9a601fa8 Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
* [MIPS64] Use generic cpu-independent libpixelflinger for mips64Duane Sand2014-06-032-6/+6
| | | | | | | For now, use generic C code instead of generated mips instructions, in the same manner as used on x86 and x86_64 targets. Change-Id: If3607484e0a446a755c62c030b3069d46ab5beb2
* Judge mmap failed by MAP_FAILED instead of NULLHurri Lu2014-05-211-1/+1
| | | | | Change-Id: I74422cfdba341fcd1a6235044700cf3986e853d0 Signed-off-by: Hurri Lu <jlu32@marvell.com>