mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-08-10 23:30:15 -04:00
Cleanup
This commit is contained in:
parent
31444ad3c8
commit
33c6980b88
7 changed files with 1 additions and 44 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue