History log of /system/core/libpixelflinger/codeflinger/CodeCache.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
949aa238981e6cedfc6d3f12fc9001a71162c6f3 09-Sep-2014 Dan Albert <danalbert@google.com> Fix some clang compilation issues.

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
/system/core/libpixelflinger/codeflinger/CodeCache.cpp
410ae2fe8e5d78cbce7b20be87828c5595e76842 19-Jun-2014 Ashok Bhat <ashok.bhat@arm.com> pixelflinger: Use pointer arithmetic to determine cache flush parameters

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>
/system/core/libpixelflinger/codeflinger/CodeCache.cpp
473a729937476d5e18b5e10b7b2eff119202fd46 22-May-2014 Hurri Lu <jlu32@marvell.com> Judge mmap failed by MAP_FAILED instead of NULL

Change-Id: I74422cfdba341fcd1a6235044700cf3986e853d0
Signed-off-by: Hurri Lu <jlu32@marvell.com>
/system/core/libpixelflinger/codeflinger/CodeCache.cpp
32ea4a895c4c914f0347dd1e943bca0f474a9050 11-Feb-2014 Colin Cross <ccross@android.com> pixelflinger: use __builtin___clear_cache instead of cacheflush

cacheflush doesn't exist on LP64 any more, and gcc's
__builtin___clear_cache is better in every way. Use it instead.

Change-Id: Ibbf6facbdefc15b6dda51d014e1c44fb7aa2b17d
/system/core/libpixelflinger/codeflinger/CodeCache.cpp
658f89dc5c418dbbc0c5d78f5861855b90ca8c9f 28-Feb-2013 Ashok Bhat <ashok.bhat@arm.com> Pixelflinger: Add AArch64 support to pixelflinger JIT.

See the comment-block at the top of Aarch64Assembler.cpp
for overview on how AArch64 support has been implemented

In addition, this commit contains
[x] AArch64 inline asm versions of gglmul series of
functions and a new unit test bench to test the
functions

[x] Assembly implementations of scanline_col32cb16blend
and scanline_t32cb16blend for AArch64, with unit
test bench

Change-Id: I915cded9e1d39d9a2a70bf8a0394b8a0064d1eb4
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
/system/core/libpixelflinger/codeflinger/CodeCache.cpp
9857d99eecc389389da261a72461322d5cfb8eeb 02-Apr-2013 Mathias Agopian <mathias@google.com> move tinyutils into its own namespace

I was fed-up with the constant conflicts in Eclipse
with the "libutils" version.

Also fix a few copyright notices.

Change-Id: I8ffcb845af4b5d0d178f5565f64dfcfbfa27fcd6
/system/core/libpixelflinger/codeflinger/CodeCache.cpp
04b5ac36a50a5fdaf3510c3c4c4e89bc35cfe26e 29-Aug-2012 Ian Rogers <irogers@google.com> Remove unnecessary compiler pragma.

With dlmalloc 2.8.6 the compiler pragmas to suppress warnings are not
necessary.
Also fix compiler warning about redefinition of LOG_TAG.

Depends upon: https://android-review.googlesource.com/42351

Change-Id: I50f70be31f4bd994b09083e722759464476c70b3
/system/core/libpixelflinger/codeflinger/CodeCache.cpp
c3c5358b94f48799fd595c829ce223b43588bac1 27-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Add MIPS support to pixelflinger."
2d13791ce7ff61221ca047553891f31a23b2e943 18-Aug-2012 Ian Rogers <irogers@google.com> Upgrade to dlmalloc 2.8.5.

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
/system/core/libpixelflinger/codeflinger/CodeCache.cpp
2bc2b792782b304b15d8c48b54916a9b3fa3a7ac 01-Feb-2012 Paul Lind <plind@mips.com> Add MIPS support to pixelflinger.

See the comment-block at the top of MIPSAssembler.cpp for
implementation overview.

Change-Id: Id492c10610574af8c89c38d19e12fafc3652c28a
/system/core/libpixelflinger/codeflinger/CodeCache.cpp
01dda204cd28fe181691b4a44a51be7e5666d0c8 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

Bug: 5449033
Change-Id: Ibcffdcf620ebae1c389446ce8e9d908f11ac039c
/system/core/libpixelflinger/codeflinger/CodeCache.cpp
8e0e372a388434a0553810e2b958e59a26a6bd96 14-Oct-2010 Jean-Baptiste Queru <jbq@google.com> Set PROT_EXEC on the whole pixelflinger code cache.

The pointer difference between word pointers is a number
of words, and it needs to be multiplied by the size of a word
to get a proper byte size.

Without this, we tend to see crashes when the code crosses
a page boundary.

Bug: 3026204
Bug: 3097482
Change-Id: I37776d26d5afcdb1da71680de02fbb95e6548371
/system/core/libpixelflinger/codeflinger/CodeCache.cpp
beeeee705bcf16d705748713ea40dca3486cc7b7 07-May-2010 Nick Kralevich <nnk@google.com> Allow pixelflinger to work when NX (No Execute) is enabled.

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
/system/core/libpixelflinger/codeflinger/CodeCache.cpp
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/libpixelflinger/codeflinger/CodeCache.cpp
e54eebbf1a908d65ee8cf80bab62821c05666d70 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/libpixelflinger/codeflinger/CodeCache.cpp
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/core/libpixelflinger/codeflinger/CodeCache.cpp