summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk2
-rw-r--r--omap4/License_for_IMG_SGX_Binary_Image.txt125
-rw-r--r--omap4/sgx.tgzbin0 -> 1538611 bytes
-rw-r--r--omap4/sgx/Android.mk69
-rwxr-xr-xomap4/sgx/bin/framebuffer_testbin5396 -> 0 bytes
-rwxr-xr-xomap4/sgx/bin/hal_client_testbin5456 -> 0 bytes
-rwxr-xr-xomap4/sgx/bin/hal_server_testbin9556 -> 0 bytes
-rwxr-xr-xomap4/sgx/bin/pvr2d_testbin56477 -> 0 bytes
-rwxr-xr-xomap4/sgx/bin/pvrsrvctlbin5416 -> 0 bytes
-rwxr-xr-xomap4/sgx/bin/pvrsrvinitbin5308 -> 0 bytes
-rwxr-xr-xomap4/sgx/bin/services_testbin9560 -> 0 bytes
-rwxr-xr-xomap4/sgx/bin/sgx_blit_testbin63556 -> 0 bytes
-rwxr-xr-xomap4/sgx/bin/sgx_clipblit_testbin687623 -> 0 bytes
-rwxr-xr-xomap4/sgx/bin/sgx_flip_testbin9564 -> 0 bytes
-rwxr-xr-xomap4/sgx/bin/sgx_init_testbin9536 -> 0 bytes
-rwxr-xr-xomap4/sgx/bin/sgx_render_flip_testbin79604 -> 0 bytes
-rwxr-xr-xomap4/sgx/bin/testwrapbin5372 -> 0 bytes
-rwxr-xr-xomap4/sgx/bin/texture_benchmarkbin13812 -> 0 bytes
-rw-r--r--omap4/sgx/lib/egl/libEGL_POWERVR_SGX540_120.sobin5140 -> 0 bytes
-rw-r--r--omap4/sgx/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.sobin421540 -> 0 bytes
-rw-r--r--omap4/sgx/lib/egl/libGLESv2_POWERVR_SGX540_120.sobin347636 -> 0 bytes
-rw-r--r--omap4/sgx/lib/hw/gralloc.omap4.sobin22996 -> 0 bytes
-rw-r--r--omap4/sgx/lib/libIMGegl.sobin63316 -> 0 bytes
-rw-r--r--omap4/sgx/lib/libPVRScopeServices.sobin9192 -> 0 bytes
-rw-r--r--omap4/sgx/lib/libglslcompiler.sobin253264 -> 0 bytes
-rw-r--r--omap4/sgx/lib/libpvr2d.sobin21712 -> 0 bytes
-rw-r--r--omap4/sgx/lib/libpvrANDROID_WSEGL.sobin9500 -> 0 bytes
-rw-r--r--omap4/sgx/lib/libsrv_init.sobin111608 -> 0 bytes
-rw-r--r--omap4/sgx/lib/libsrv_um.sobin153264 -> 0 bytes
-rw-r--r--omap4/sgx/lib/libusc.sobin898564 -> 0 bytes
-rwxr-xr-xomap4/sgx/updatelibs.sh5
-rwxr-xr-xuntar.sh14
32 files changed, 141 insertions, 74 deletions
diff --git a/Android.mk b/Android.mk
index 5053e7d..11233d4 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1 +1,3 @@
1LOCAL_PATH := $(my-dir)
2$(hide $(shell $(LOCAL_PATH)/untar.sh $(LOCAL_PATH)/omap4 sgx $(LOCAL_PATH)/omap4/sgx.tgz))
1include $(call all-subdir-makefiles) 3include $(call all-subdir-makefiles)
diff --git a/omap4/License_for_IMG_SGX_Binary_Image.txt b/omap4/License_for_IMG_SGX_Binary_Image.txt
new file mode 100644
index 0000000..dad4513
--- /dev/null
+++ b/omap4/License_for_IMG_SGX_Binary_Image.txt
@@ -0,0 +1,125 @@
1/*
2 * TECHNOLOGY AND SOFTWARE PUBLICLY AVAILABLE
3 * SOFTWARE LICENSE FOR OMAP(TM) 4 USER SPACE GRAPHICS DRIVER BINARY
4 *
5 * Copyright (c) 2011, Texas Instruments Incorporated.
6 * Portions (c), Imagination Technologies Limited.
7 *
8 * All rights reserved.
9 *
10 * Redistribution:  
11 *
12 * Redistribution and use in binary form, without modification, are
13 * permitted provided that the following conditions are met:
14 *
15 * * Redistributions must preserve existing copyright notices and reproduce
16 * this license (including the above copyright notice and the disclaimer
17 * below) in the documentation and/or other materials provided with the
18 * distribution.
19 *
20 * * Neither the name of Texas Instruments Incorporated nor the names of its
21 *   suppliers may be used to endorse or promote products derived from this 
22 *   software without specific prior written permission.
23 *
24 * * No reverse engineering, decompilation, or disassembly of this software
25 *   is permitted.
26 *
27 * Limited patent license:
28 *
29 * Texas Instruments Incorporated (“TI”) grants a world-wide, royalty-free, 
30 * non-exclusive license under patents it now or hereafter owns or controls 
31 * to make, have made, use, import, offer to sell and sell ("Utilize") this
32 * software in its current form, but solely to the extent that any such 
33 * patent is necessary to  Utilize the software alone.  The patent license 
34 * shall not apply to any combinations which include this software. No 
35 * hardware per se is licensed hereunder.
36 *
37 * DISCLAIMER:
38 *
39 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 
40 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
41 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
42 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
43 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
44 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
45 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
46 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
47 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
48 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
49 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
50 *
51 * Certain third party licenses not included:
52 *
53 * Certain software may (a) require patent licenses from third parties
54 * claiming patent rights covering implementation of the software or (b) be
55 * based on industry recognized standards or software programs published by
56 * industry recognized standards bodies and certain third parties may claim
57 * to own patents or copyrights that cover implementation of those standards.
58 * You acknowledge and agree that (i) this License does not convey a license
59 * to any such third party patents and copyrights, (ii) you are responsible
60 * for any fees or royalties that may be payable to any third party based on
61 * such third party's interests in such software and (iii) you will indemnify
62 * TI against your failure to make any such payments and will defend any
63 * claim, suit or proceeding brought against TI insofar as such claim, suit
64 * or proceeding is based on or arises from such failure.
65 *
66 */
67
68-----------------------------------------------------------------------------
69
70Additional legal notices pertaining to portions of included software:
71
72
73Copyright (c) 2007-2009 The Khronos Group Inc.
74
75Permission is hereby granted, free of charge, to any person obtaining a
76copy of this software and/or associated documentation files (the
77"Materials"), to deal in the Materials without restriction, including
78without limitation the rights to use, copy, modify, merge, publish,
79distribute, sublicense, and/or sell copies of the Materials, and to
80permit persons to whom the Materials are furnished to do so, subject to
81the following conditions:
82
83The above copyright notice and this permission notice shall be included
84in all copies or substantial portions of the Materials.
85
86THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
87EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
88MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
89IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
90CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
91TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
92MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
93
94
95--------
96
97SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
98
99Copyright (C) 2006 Silicon Graphics, Inc. All Rights Reserved.
100
101Permission is hereby granted, free of charge, to any person obtaining a
102copy of this software and associated documentation files (the "Software"),
103to deal in the Software without restriction, including without limitation
104the rights to use, copy, modify, merge, publish, distribute, sublicense,
105and/or sell copies of the Software, and to permit persons to whom the
106Software is furnished to do so, subject to the following conditions:
107
108The above copyright notice including the dates of first publication and
109either this permission notice or a reference to
110http://oss.sgi.com/projects/FreeB/ shall be included in all copies or
111substantial portions of the Software.
112
113THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
114OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
115FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
116SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
117WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
118OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
119SOFTWARE.
120
121Except as contained in this notice, the name of Silicon Graphics, Inc.
122shall not be used in advertising or otherwise to promote the sale, use
123or other dealings in this Software without prior written authorization
124from Silicon Graphics, Inc.
125#257696v2
diff --git a/omap4/sgx.tgz b/omap4/sgx.tgz
new file mode 100644
index 0000000..a1ae567
--- /dev/null
+++ b/omap4/sgx.tgz
Binary files differ
diff --git a/omap4/sgx/Android.mk b/omap4/sgx/Android.mk
deleted file mode 100644
index 7cd8d18..0000000
--- a/omap4/sgx/Android.mk
+++ /dev/null
@@ -1,69 +0,0 @@
1LOCAL_PATH := $(call my-dir)
2
3define _add-sgx-vendor-lib
4include $$(CLEAR_VARS)
5$(if $(word 2,$1),$(error Invalid SGX module name $1))
6LOCAL_MODULE := $(basename $(notdir $1))
7LOCAL_SRC_FILES := $1
8LOCAL_MODULE_TAGS := optional
9LOCAL_MODULE_SUFFIX := $(suffix $1)
10LOCAL_MODULE_CLASS := SHARED_LIBRARIES
11LOCAL_MODULE_PATH := $$(TARGET_OUT)$(abspath /vendor/$(dir $1))
12LOCAL_STRIP_MODULE := false
13OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_LIBRARIES)
14include $$(BUILD_PREBUILT)
15endef
16
17define _add-sgx-vendor-bin
18include $$(CLEAR_VARS)
19$(if $(word 2,$1),$(error Invalid SGX module name $1))
20LOCAL_MODULE := $(basename $(notdir $1))
21LOCAL_SRC_FILES := $1
22LOCAL_MODULE_TAGS := optional
23LOCAL_MODULE_SUFFIX := $(suffix $1)
24LOCAL_MODULE_CLASS := EXECUTABLES
25LOCAL_MODULE_PATH := $$(TARGET_OUT)$(abspath /vendor/$(dir $1))
26LOCAL_STRIP_MODULE := false
27OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_EXECUTABLES)
28include $$(BUILD_PREBUILT)
29endef
30
31
32prebuilt_sgx_vendor_libs := \
33 lib/libIMGegl.so \
34 lib/libglslcompiler.so \
35 lib/libusc.so \
36 lib/libPVRScopeServices.so \
37 lib/libsrv_um.so \
38 lib/hw/gralloc.omap4.so \
39 lib/libpvrANDROID_WSEGL.so \
40 lib/libpvr2d.so \
41 lib/libsrv_init.so \
42 lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so \
43 lib/egl/libGLESv2_POWERVR_SGX540_120.so \
44 lib/egl/libEGL_POWERVR_SGX540_120.so
45
46prebuilt_sgx_vendor_bins := \
47 bin/pvrsrvinit
48
49prebuilt_sgx_modules := \
50 $(foreach _file,$(prebuilt_sgx_vendor_libs) $(prebuilt_sgx_vendor_bins),\
51 $(notdir $(basename $(_file))))
52
53include $(CLEAR_VARS)
54LOCAL_MODULE := ti_omap4_sgx_libs
55LOCAL_MODULE_TAGS := optional
56LOCAL_REQUIRED_MODULES := $(prebuilt_sgx_modules)
57include $(BUILD_PHONY_PACKAGE)
58
59$(foreach _file,$(prebuilt_sgx_vendor_libs),\
60 $(eval $(call _add-sgx-vendor-lib,$(_file))))
61
62$(foreach _file,$(prebuilt_sgx_vendor_bins),\
63 $(eval $(call _add-sgx-vendor-bin,$(_file))))
64
65prebuilt_sgx_modules :=
66prebuilt_sgx_vendor_libs :=
67prebuilt_sgx_vendor_bins :=
68_add-sgx-vendor-lib :=
69_add-sgx-vendor-bin :=
diff --git a/omap4/sgx/bin/framebuffer_test b/omap4/sgx/bin/framebuffer_test
deleted file mode 100755
index 9167fd0..0000000
--- a/omap4/sgx/bin/framebuffer_test
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/bin/hal_client_test b/omap4/sgx/bin/hal_client_test
deleted file mode 100755
index 1708226..0000000
--- a/omap4/sgx/bin/hal_client_test
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/bin/hal_server_test b/omap4/sgx/bin/hal_server_test
deleted file mode 100755
index 7ff6b2b..0000000
--- a/omap4/sgx/bin/hal_server_test
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/bin/pvr2d_test b/omap4/sgx/bin/pvr2d_test
deleted file mode 100755
index a638be4..0000000
--- a/omap4/sgx/bin/pvr2d_test
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/bin/pvrsrvctl b/omap4/sgx/bin/pvrsrvctl
deleted file mode 100755
index b119119..0000000
--- a/omap4/sgx/bin/pvrsrvctl
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/bin/pvrsrvinit b/omap4/sgx/bin/pvrsrvinit
deleted file mode 100755
index c6cf3cb..0000000
--- a/omap4/sgx/bin/pvrsrvinit
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/bin/services_test b/omap4/sgx/bin/services_test
deleted file mode 100755
index 4f04adb..0000000
--- a/omap4/sgx/bin/services_test
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/bin/sgx_blit_test b/omap4/sgx/bin/sgx_blit_test
deleted file mode 100755
index 8b9a9f2..0000000
--- a/omap4/sgx/bin/sgx_blit_test
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/bin/sgx_clipblit_test b/omap4/sgx/bin/sgx_clipblit_test
deleted file mode 100755
index 886f183..0000000
--- a/omap4/sgx/bin/sgx_clipblit_test
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/bin/sgx_flip_test b/omap4/sgx/bin/sgx_flip_test
deleted file mode 100755
index 68cdfeb..0000000
--- a/omap4/sgx/bin/sgx_flip_test
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/bin/sgx_init_test b/omap4/sgx/bin/sgx_init_test
deleted file mode 100755
index 1968798..0000000
--- a/omap4/sgx/bin/sgx_init_test
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/bin/sgx_render_flip_test b/omap4/sgx/bin/sgx_render_flip_test
deleted file mode 100755
index 56fffc0..0000000
--- a/omap4/sgx/bin/sgx_render_flip_test
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/bin/testwrap b/omap4/sgx/bin/testwrap
deleted file mode 100755
index 08acd03..0000000
--- a/omap4/sgx/bin/testwrap
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/bin/texture_benchmark b/omap4/sgx/bin/texture_benchmark
deleted file mode 100755
index ea6615b..0000000
--- a/omap4/sgx/bin/texture_benchmark
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/lib/egl/libEGL_POWERVR_SGX540_120.so b/omap4/sgx/lib/egl/libEGL_POWERVR_SGX540_120.so
deleted file mode 100644
index 53c25d8..0000000
--- a/omap4/sgx/lib/egl/libEGL_POWERVR_SGX540_120.so
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so b/omap4/sgx/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
deleted file mode 100644
index 23f25de..0000000
--- a/omap4/sgx/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/lib/egl/libGLESv2_POWERVR_SGX540_120.so b/omap4/sgx/lib/egl/libGLESv2_POWERVR_SGX540_120.so
deleted file mode 100644
index 3873717..0000000
--- a/omap4/sgx/lib/egl/libGLESv2_POWERVR_SGX540_120.so
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/lib/hw/gralloc.omap4.so b/omap4/sgx/lib/hw/gralloc.omap4.so
deleted file mode 100644
index 69646ab..0000000
--- a/omap4/sgx/lib/hw/gralloc.omap4.so
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/lib/libIMGegl.so b/omap4/sgx/lib/libIMGegl.so
deleted file mode 100644
index f15c576..0000000
--- a/omap4/sgx/lib/libIMGegl.so
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/lib/libPVRScopeServices.so b/omap4/sgx/lib/libPVRScopeServices.so
deleted file mode 100644
index 9af53b7..0000000
--- a/omap4/sgx/lib/libPVRScopeServices.so
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/lib/libglslcompiler.so b/omap4/sgx/lib/libglslcompiler.so
deleted file mode 100644
index 73753c4..0000000
--- a/omap4/sgx/lib/libglslcompiler.so
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/lib/libpvr2d.so b/omap4/sgx/lib/libpvr2d.so
deleted file mode 100644
index 2012c5e..0000000
--- a/omap4/sgx/lib/libpvr2d.so
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/lib/libpvrANDROID_WSEGL.so b/omap4/sgx/lib/libpvrANDROID_WSEGL.so
deleted file mode 100644
index 42f8577..0000000
--- a/omap4/sgx/lib/libpvrANDROID_WSEGL.so
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/lib/libsrv_init.so b/omap4/sgx/lib/libsrv_init.so
deleted file mode 100644
index 2cf6e5e..0000000
--- a/omap4/sgx/lib/libsrv_init.so
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/lib/libsrv_um.so b/omap4/sgx/lib/libsrv_um.so
deleted file mode 100644
index 61fcd0e..0000000
--- a/omap4/sgx/lib/libsrv_um.so
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/lib/libusc.so b/omap4/sgx/lib/libusc.so
deleted file mode 100644
index cc42111..0000000
--- a/omap4/sgx/lib/libusc.so
+++ /dev/null
Binary files differ
diff --git a/omap4/sgx/updatelibs.sh b/omap4/sgx/updatelibs.sh
deleted file mode 100755
index 7a4b927..0000000
--- a/omap4/sgx/updatelibs.sh
+++ /dev/null
@@ -1,5 +0,0 @@
1#!/bin/sh
2
3for a in `find bin lib -type f`; do
4cp ${ANDROID_PRODUCT_OUT}/target/`basename $a` $a
5done
diff --git a/untar.sh b/untar.sh
new file mode 100755
index 0000000..2e5b77f
--- /dev/null
+++ b/untar.sh
@@ -0,0 +1,14 @@
1#!/bin/bash
2
3# Args
4# $1 - Base path
5# $2 - base directory of the untarred component
6# $3 - name of the component archive
7
8
9if [ -d $1/$2 ]; then
10 echo "Removing $1/$2"
11 rm -rf $1/$2
12fi
13
14tar -C $1 -zxf $3