OSDN Git Service

Add SwiftShader as an alternative OpenGL ES libraries
authorChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 9 Sep 2017 19:12:58 +0000 (03:12 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 14 Sep 2017 09:54:01 +0000 (17:54 +0800)
SwiftShader is a high-performance CPU-based implementation of
the OpenGL ES graphics APIs. Its goal is to provide hardware
independence for advanced 3D graphics.

gpu/gpu_mesa.mk

index ec2bdac..448d95d 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2011 The Android-x86 Open Source Project
+# Copyright (C) 2011-2017 The Android-x86 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.
@@ -15,5 +15,10 @@ PRODUCT_PACKAGES := \
     libGLES_mesa    \
     libtxc_dxtn     \
 
+PRODUCT_PACKAGES += \
+    libEGL_swiftshader \
+    libGLESv1_CM_swiftshader \
+    libGLESv2_swiftshader \
+
 PRODUCT_PROPERTY_OVERRIDES := \
     ro.opengles.version = 196608