diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2012-07-09 18:17:43 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2012-07-09 18:17:43 +0200 |
commit | d5dd5665c6521adc333e8cace07b306186ed56ac (patch) | |
tree | bce07642201bfd64f6a13b4e158937387896d951 | |
parent | bfd9a6d28b9c42207f8d7319e2d63bd1f02a7fcb (diff) | |
download | vendor_replicant-d5dd5665c6521adc333e8cace07b306186ed56ac.tar.gz vendor_replicant-d5dd5665c6521adc333e8cace07b306186ed56ac.tar.bz2 vendor_replicant-d5dd5665c6521adc333e8cace07b306186ed56ac.zip |
Moved Software GL instructions to Replicant vendor files
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r-- | overlay/software_gl/frameworks/base/packages/SettingsProvider/res/values/defaults.xml | 22 | ||||
-rw-r--r-- | products/replicant_crespo.mk | 3 | ||||
-rw-r--r-- | products/replicant_galaxysmtd.mk | 3 | ||||
-rw-r--r-- | products/replicant_gta04.mk | 3 | ||||
-rw-r--r-- | products/replicant_passion.mk | 3 | ||||
-rw-r--r-- | products/software_gl.mk | 13 |
6 files changed, 47 insertions, 0 deletions
diff --git a/overlay/software_gl/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/overlay/software_gl/frameworks/base/packages/SettingsProvider/res/values/defaults.xml new file mode 100644 index 00000000..e8f24243 --- /dev/null +++ b/overlay/software_gl/frameworks/base/packages/SettingsProvider/res/values/defaults.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/** + * Copyright (c) 2009, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +--> +<resources> + <fraction name="def_window_animation_scale">0%</fraction> + <fraction name="def_window_transition_scale">0%</fraction> +</resources> diff --git a/products/replicant_crespo.mk b/products/replicant_crespo.mk index 87a87fc3..92099adb 100644 --- a/products/replicant_crespo.mk +++ b/products/replicant_crespo.mk @@ -7,6 +7,9 @@ $(call inherit-product, vendor/replicant/products/common_full.mk) # Include GSM stuff $(call inherit-product, vendor/replicant/products/gsm.mk) +# Inherit Software GL configuration. +$(call inherit-product, vendor/replicant/products/software_gl.mk) + # # Setup device specific product configuration. # diff --git a/products/replicant_galaxysmtd.mk b/products/replicant_galaxysmtd.mk index f04447b8..dcbc6e39 100644 --- a/products/replicant_galaxysmtd.mk +++ b/products/replicant_galaxysmtd.mk @@ -7,6 +7,9 @@ $(call inherit-product, vendor/replicant/products/common_full.mk) # Include GSM stuff $(call inherit-product, vendor/replicant/products/gsm.mk) +# Inherit Software GL configuration. +$(call inherit-product, vendor/replicant/products/software_gl.mk) + # # Setup device specific product configuration. # diff --git a/products/replicant_gta04.mk b/products/replicant_gta04.mk index d8650d7d..811d8d4c 100644 --- a/products/replicant_gta04.mk +++ b/products/replicant_gta04.mk @@ -7,6 +7,9 @@ $(call inherit-product, vendor/replicant/products/common_full.mk) # Include GSM stuff $(call inherit-product, vendor/replicant/products/gsm.mk) +# Inherit Software GL configuration. +$(call inherit-product, vendor/replicant/products/software_gl.mk) + # # Setup device specific product configuration. # diff --git a/products/replicant_passion.mk b/products/replicant_passion.mk index 4c7e9a29..4c413281 100644 --- a/products/replicant_passion.mk +++ b/products/replicant_passion.mk @@ -7,6 +7,9 @@ $(call inherit-product, vendor/replicant/products/common_full.mk) # Include GSM stuff $(call inherit-product, vendor/replicant/products/gsm.mk) +# Inherit Software GL configuration. +$(call inherit-product, vendor/replicant/products/software_gl.mk) + # # Setup device specific product configuration. # diff --git a/products/software_gl.mk b/products/software_gl.mk new file mode 100644 index 00000000..6126b06a --- /dev/null +++ b/products/software_gl.mk @@ -0,0 +1,13 @@ +# Software GL overlay +PRODUCT_PACKAGE_OVERLAYS += vendor/replicant/overlay/software_gl + +# Board doesn't feature Hardware GL +BOARD_USES_HGL := false + +# Use software rendering +PRODUCT_PROPERTY_OVERRIDES += \ + debug.sf.hw=0 + +# Disable fancy rotation animation +PRODUCT_PROPERTY_OVERRIDES += \ + persist.sys.rotationanimation=false |