diff options
author | Romain Guy <romainguy@google.com> | 2010-07-27 17:39:27 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2010-07-27 19:52:29 -0700 |
commit | ac670c0433d19397d4e36ced2110475b6f54fe26 (patch) | |
tree | 10722cd4e465fc053f9536cc312c1125a694108a /policy | |
parent | bb2b2a996b2c0bea7e434136e20340f4f1b398ab (diff) | |
download | frameworks_base-ac670c0433d19397d4e36ced2110475b6f54fe26.zip frameworks_base-ac670c0433d19397d4e36ced2110475b6f54fe26.tar.gz frameworks_base-ac670c0433d19397d4e36ced2110475b6f54fe26.tar.bz2 |
Generate shaders to cover all possible cases.
With this change, all the vertex and fragment shaders used by the GL
renderer are now generated based on a program description supplied
by the caller. This allows the renderer to generate a large number
of shaders without having to write all the possible combinations by
hand. The generated shaders are stored in a program cache.
Change-Id: If54d286e77ae021c724d42090da476df12a18ebb
Diffstat (limited to 'policy')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/PhoneWindow.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindow.java b/policy/src/com/android/internal/policy/impl/PhoneWindow.java index 5771e85..2976e3e 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindow.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindow.java @@ -196,9 +196,6 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { /* Custom title feature is enabled and the user is trying to enable another feature */ throw new AndroidRuntimeException("You cannot combine custom titles with other title features"); } - if (featureId == FEATURE_OPENGL) { - getAttributes().memoryType = WindowManager.LayoutParams.MEMORY_TYPE_GPU; - } return super.requestFeature(featureId); } |