summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Texture.java
diff options
context:
space:
mode:
authorRebecca Schultz Zavin <rebecca@android.com>2009-10-30 18:39:55 -0700
committerRebecca Schultz Zavin <rebecca@android.com>2009-11-12 16:31:12 -0800
commita0a40883d0f4bdc0694b236353ad66a4b4ca92fa (patch)
tree826c961cc86ada8cb745258031b137be2f871600 /opengl/java/android/opengl/Texture.java
parentb602c328c24f82d61038ac1222bd40a3cc7bc900 (diff)
Modify the binder to request 1M - 2 pages instead of 1M. The backing store
in the kernel requires a guard page, so 1M allocations fragment memory very badly. Subtracting a couple of pages so that they fit in a power of two allows the kernel to make more efficient use of its virtual address space. Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions