platform_system_core/libpixelflinger
Nick Kralevich beeeee705b 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
2010-05-07 16:35:52 -07:00
..
codeflinger Allow pixelflinger to work when NX (No Execute) is enabled. 2010-05-07 16:35:52 -07:00
tests auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
tinyutils fix 1650170 pixelflinger depends on KeyedVector.h, etc 2009-06-01 15:27:46 -07:00
Android.mk NEON shortcut for flat colour blending into 16-bit 2009-12-07 15:00:19 +00:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
buffer.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
buffer.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
clear.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
clear.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
col32cb16blend.S NEON shortcut for flat colour blending into 16-bit 2009-12-07 15:00:19 +00:00
col32cb16blend_neon.S NEON shortcut for flat colour blending into 16-bit 2009-12-07 15:00:19 +00:00
fixed.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
format.cpp remove unused YUV constants 2010-02-16 16:54:53 -08:00
picker.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
picker.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
pixelflinger.cpp fix [2448319] out of bounds array index in fog 2010-02-16 21:01:12 -08:00
raster.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
raster.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
rotate90CW_4x4_16v6.S auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
scanline.cpp NEON shortcut for flat colour blending into 16-bit 2009-12-07 15:00:19 +00:00
scanline.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
t32cb16blend.S eclair snapshot 2009-11-12 18:46:23 -08:00
trap.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
trap.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00