From 658c9925315033d8666e77b5507239f7026ee5e5 Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Sun, 10 Sep 2017 03:12:58 +0800 Subject: [PATCH] Add SwiftShader as an alternative OpenGL ES libraries 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 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gpu/gpu_mesa.mk b/gpu/gpu_mesa.mk index ec2bdac..448d95d 100644 --- a/gpu/gpu_mesa.mk +++ b/gpu/gpu_mesa.mk @@ -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 -- 2.11.0