Skip to content

Instantly share code, notes, and snippets.

@steven676
steven676 / 0005-SurfaceFlinger-allow-targets-to-disable-GLESv2-rende.patch
Created November 26, 2013 22:44
[PATCH 5/6] SurfaceFlinger: allow targets to disable GLESv2 rendering path (against android-4.4_r1.2 frameworks/native)
From 9906b04e5a3ecc8358ed250afe6cdc5106bbf609 Mon Sep 17 00:00:00 2001
From: Steven Luo <[email protected]>
Date: Sat, 2 Nov 2013 21:46:49 -0700
Subject: [PATCH 5/6] SurfaceFlinger: allow targets to disable GLESv2
rendering path
There are targets where a GLESv2 rendering path is available, but
undesirable to use (because of performance problems or bugs, for
example). Add a new BoardConfig flag to allow these targets to force
the use of GLESv1.
@steven676
steven676 / 0004-libEGL-restore-SYSTEMUI_PBSIZE_HACK.patch
Created November 3, 2013 06:45
[PATCH 4/6] libEGL: restore SYSTEMUI_PBSIZE_HACK (against android-4.4_r1.2 frameworks/native)
From 5287313505a027834a809228b23183b968562145 Mon Sep 17 00:00:00 2001
From: Steven Luo <[email protected]>
Date: Sat, 2 Nov 2013 23:06:18 -0700
Subject: [PATCH 4/4] libEGL: restore SYSTEMUI_PBSIZE_HACK
This was removed in the otherwise unrelated commit f4486c6... ("try to
keep omap4 alive").
Change-Id: I6b62a3a4332a0376eb6865c2674aaf3f8ef262bd
---
@steven676
steven676 / 0003-libEGL-also-work-around-Google-bug-10194508-on-S5PC1.patch
Created November 3, 2013 06:44
[PATCH 3/6] libEGL: also work around Google bug 10194508 on S5PC110 (against android-4.4_r1.2 frameworks/native)
From b1633e8641282bc3896d92596775b6cfa4066d7e Mon Sep 17 00:00:00 2001
From: Steven Luo <[email protected]>
Date: Sat, 2 Nov 2013 23:02:15 -0700
Subject: [PATCH 3/4] libEGL: also work around Google bug 10194508 on S5PC110
S5PC110, like OMAP4, has a PowerVR SGX540 GPU and suffers from this bug.
Change-Id: Ifc5d097c1a0b68275d23c2d191976ac96631b695
---
opengl/libs/Android.mk | 3 +++
@steven676
steven676 / 0001-Use-new-Launcher3-in-place-of-old-launcher-in-device.patch
Created November 2, 2013 09:30
[PATCH] Use new Launcher3 in place of old launcher in device builds (against android-4.4_r1 build/)
From 7b3cfce46e722082465a513dc54092f0bc08e408 Mon Sep 17 00:00:00 2001
From: Steven Luo <[email protected]>
Date: Sat, 2 Nov 2013 02:28:52 -0700
Subject: [PATCH] Use new Launcher3 in place of old launcher in device builds
Change-Id: Ic5406804e5f7db22a2e1d2c86dee1dd5dc5fc86c
---
target/product/generic_no_telephony.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@steven676
steven676 / 0002-Restore-support-for-glReadPixels-screenshot-path.patch
Created November 2, 2013 08:49
[PATCH 2/6] Restore support for glReadPixels screenshot path (against android-4.4_r1.2 frameworks/native)
From 1e81c876af6e11790632c9fdfd32768f970ccebe Mon Sep 17 00:00:00 2001
From: Steven Luo <[email protected]>
Date: Fri, 1 Nov 2013 23:26:39 -0700
Subject: [PATCH 2/2] Restore support for glReadPixels screenshot path
This is needed for SGX530/540 GPUs.
This reverts commit 3ca76f416bc8665a97636ca8a2d0128b9da9d92c.
Conflicts:
@steven676
steven676 / 0001-SurfaceFlinger-try-dropping-features-from-EGL-config.patch
Last active November 23, 2017 20:00
[PATCH 1/6] SurfaceFlinger: try dropping features from EGL config query before giving up (against android-4.4_r1.2 frameworks/native)
From 2b2472771c934b5f1e58e287335e2b15a5912ea9 Mon Sep 17 00:00:00 2001
From: Steven Luo <[email protected]>
Date: Fri, 1 Nov 2013 18:35:24 -0700
Subject: [PATCH 1/4] SurfaceFlinger: try dropping features from EGL config
query before giving up
Change-Id: I914aba2b0404646a29854e8e2ffa708958fb41f1
---
services/surfaceflinger/SurfaceFlinger.cpp | 45 ++++++++++++++++++++++++----
1 file changed, 40 insertions(+), 5 deletions(-)
@steven676
steven676 / gist:6091619
Created July 26, 2013 19:32
Update OTG storage support for Android 4.3's unified fstab
From ded95273eca0c13ba693b6b65b0fad34f1fd4350 Mon Sep 17 00:00:00 2001
From: Steven Luo <[email protected]>
Date: Wed, 24 Jul 2013 23:53:17 -0700
Subject: [PATCH] Update OTG storage support for Android 4.3's unified fstab
Change-Id: If99bbb7581cc20e53cecc626b6e2310d32a855ab
---
device.mk | 4 ----
fstab.tuna | 2 ++
vold.fstab | 16 ----------------
@steven676
steven676 / gist:6091559
Created July 26, 2013 19:25
system/ of an AOSP 4.3 JWR66V maguro user build
system:
total 56
drwxr-xr-x 2 steven steven 4096 Jul 26 12:23 app
drwxr-xr-x 2 steven steven 4096 Jul 26 12:23 bin
-rw-r--r-- 1 steven steven 2602 Feb 28 2008 build.prop
drwxr-xr-x 9 steven steven 4096 Jul 26 12:23 etc
drwxr-xr-x 2 steven steven 4096 Jul 26 12:23 fonts
drwxr-xr-x 2 steven steven 4096 Jul 26 12:23 framework
drwxr-xr-x 7 steven steven 12288 Jul 26 12:23 lib
drwxr-xr-x 3 steven steven 4096 Jul 26 12:23 media
@steven676
steven676 / store-mac-addr.sh
Created June 21, 2013 05:10
store-mac-addr script using only AOSP tools and shell features (license: Apache Public License v2.0)
#!/system/bin/sh
# store-mac-addr -- reads configured wifi MAC address and writes it into nvs
# file for use by the wl12xx driver
ROM_NVS=/system/etc/firmware/ti-connectivity/wl1271-nvs_127x.bin
ORIG_NVS=/data/misc/wifi/wl1271-nvs.bin.orig
NEW_NVS=/data/misc/wifi/wl1271-nvs.bin
# Echoes the substring of $1 starting at index $2 of length $3
From 90c62d9d668ab7af42762219127ce1ddb6f5bee1 Mon Sep 17 00:00:00 2001
From: Steven Luo <[email protected]>
Date: Sat, 30 Mar 2013 00:44:11 -0700
Subject: [PATCH 2/2] Forward-port surface dithering from CM10
This allows the use of 16-bit color displays without excessive color
banding; behavior can be controlled by the persist.sys.use_dithering
property.
Incorporates http://review.cyanogenmod.org/19532 from CM10 as well as