summaryrefslogtreecommitdiffstats
path: root/libpixelflinger/codeflinger/CodeCache.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix reference counting for AssemblyHans Boehm2016-08-161-1/+2
| | | | | | | | | | | | | | 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-261-9/+9
| | | | | | | | | | * 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
* libutils: Fix integer overflows in VectorImpl.Narayan Kamath2015-09-021-1/+1
| | | | | | | | | | | | | | | | | 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
* move tinyutils into its own namespaceMathias Agopian2013-04-011-0/+2
| | | | | | | | | I was fed-up with the constant conflicts in Eclipse with the "libutils" version. Also fix a few copyright notices. Change-Id: I8ffcb845af4b5d0d178f5565f64dfcfbfa27fcd6
* Revert "Revert "Upgrade to dlmalloc 2.8.5.""Ian Rogers2012-08-281-4/+0
| | | | This reverts commit 42b83c6df7e4f65461a32a711d5dd4f46b9b85e0.
* Revert "Upgrade to dlmalloc 2.8.5."Brian Carlstrom2012-08-221-0/+4
| | | | This reverts commit 2d13791ce7ff61221ca047553891f31a23b2e943.
* Upgrade to dlmalloc 2.8.5.Ian Rogers2012-08-201-4/+0
| | | | | | | | | | Remove mspace functionality from cutils. Directly declare mspace from dlmalloc in code flinger's code cache, and manage without using morecore. Depends upon: https://android-review.googlesource.com/41717 Change-Id: If927254febd4414212c690f16509ef2ee1b44b44
* Allow pixelflinger to work when NX (No Execute) is enabled.Nick Kralevich2010-05-071-1/+5
| | | | | | | | | | | | | Instead of allocating memory from the (non executable) heap, allocate memory using mspace and ensure that we use mprotect to mark it as PROT_EXEC. This allows pixelflinger to continue to work even when NX protections are enabled. Testing: Using the ApiDemos market app, verify that Apidemos -> Graphics -> OpenGL ES -> GLSurfaceView works when "adb shell setprop debug.egl.hw 0" is set. Change-Id: Ib569cd2543c6fa25688ee76325a712bc2347450b
* fix 1650170 pixelflinger depends on KeyedVector.h, etcMathias Agopian2009-06-011-2/+1
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+134
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-134/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+134