Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d7b583d0 authored by vijay gupta's avatar vijay gupta Committed by Steve Kondik
Browse files

EGL: do not use sparse files for shader

- Process is killed by system with SIGBUS signal if it writes
  data to mapped sparse file on full filesystem.
- Allocate space using write() function instead of ftruncate()
  to avoid creation of sparse files on full filesystem.
  Catch write() errors to handle out-of-space case during allocation.

Bug: http://code.google.com/p/android/issues/detail?id=35376


Change-Id: Ifc366454f34e71a43a0973eda4f591a920ea3a14
Signed-off-by: default avatarKirill Artamonov <kartamonov@nvidia.com>
parent 8337af1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment