summaryrefslogtreecommitdiffstats
path: root/libpixelflinger/codeflinger/blending.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2010-05-06 15:05:52 -0700
committerNick Kralevich <nnk@google.com>2010-05-07 16:35:52 -0700
commitbeeeee705bcf16d705748713ea40dca3486cc7b7 (patch)
tree028ac0bfc7ec987b2c2747cde9d02dc7f4b3b626 /libpixelflinger/codeflinger/blending.cpp
parent4e226a5006a5c64385b6c88a36c6a4044bd6ffdd (diff)
downloadsystem_core-beeeee705bcf16d705748713ea40dca3486cc7b7.zip
system_core-beeeee705bcf16d705748713ea40dca3486cc7b7.tar.gz
system_core-beeeee705bcf16d705748713ea40dca3486cc7b7.tar.bz2
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
Diffstat (limited to 'libpixelflinger/codeflinger/blending.cpp')
0 files changed, 0 insertions, 0 deletions