This commit is contained in:
Tad 2018-07-03 03:29:08 -04:00
parent 31444ad3c8
commit 33c6980b88
7 changed files with 1 additions and 44 deletions

View file

@ -1,3 +0,0 @@
install-recovery.sh
service flash_recovery /system/bin/install-recovery.sh

View file

@ -14,28 +14,6 @@
https://groups.google.com/forum/#!topic/swiftshader/ROLHwRei7T8
https://android.googlesource.com/platform/frameworks/native/+/e7f39727a484107b2d2a78eaaaacad3d7f44c24d%5E%21/#F0
https://github.com/android-rpi/device_brcm_rpi3/wiki/Oreo-:-patch-framework-source
https://github.com/android-rpi/device_brcm_rpi3/wiki
frameworks/base/opengl/java/android/opengl/GLSurfaceView.java
@@ line 976 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback
public SimpleEGLConfigChooser(boolean withDepthBuffer) {
- super(8, 8, 8, 0, withDepthBuffer ? 16 : 0, 0);
+ super(8, 8, 8, 8, withDepthBuffer ? 24 : 0, 0);
}
frameworks/native/opengl/libs/EGL/eglApi.cpp
@@ line 478 @@ EGLSurface eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config,
// alpha-channel requested, there's really only one suitable format
- format = HAL_PIXEL_FORMAT_RGBA_8888;
+ format = HAL_PIXEL_FORMAT_BGRA_8888;
} else {
@@ line 1843 @@ EGLClientBuffer eglCreateNativeClientBufferANDROID(const EGLint *attrib_list)
if (alpha_size == 8) {
- format = HAL_PIXEL_FORMAT_RGBA_8888;
+ format = HAL_PIXEL_FORMAT_BGRA_8888;
} else {

View file

@ -1 +0,0 @@
TARGET_BOOTIMG_SIGNED

View file

@ -1,16 +0,0 @@
#============= install_recovery ==============
allow install_recovery unlabeled:dir search;
#============= priv_app ==============
allow priv_app unlabeled:dir search;
#============= storaged ==============
allow storaged debugfs_mmc:dir search;
allow storaged debugfs_mmc:file read;
OLD
#============= install_recovery ==============
allow install_recovery unlabeled:dir { add_name remove_name write };
allow install_recovery unlabeled:file { create open setattr unlink write };