summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace/0005-scripts-Tie-a-few-more-Python-2-to-3-conversion-loos.patch
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>2020-08-31 21:56:42 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2020-09-23 23:42:37 -0300
commitaf181163fec5ca859c6a3989c9ea8cd1ceb27449 (patch)
tree8521059aa06509f27d125c678b0037bbfd25e596 /recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace/0005-scripts-Tie-a-few-more-Python-2-to-3-conversion-loos.patch
parent0661394cdfef69afd454ea515eb9a395afda44fb (diff)
downloadmeta-freescale-af181163fec5ca859c6a3989c9ea8cd1ceb27449.tar.gz
imx-gpu-apitrace: fix the upgrade after rebase to 9.0.0
Bump the repository version as it was updated upstream in NXP repository and drop unused patches from the layer, they should be present now in the updated version from upstream. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Diffstat (limited to 'recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace/0005-scripts-Tie-a-few-more-Python-2-to-3-conversion-loos.patch')
-rw-r--r--recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace/0005-scripts-Tie-a-few-more-Python-2-to-3-conversion-loos.patch60
1 files changed, 0 insertions, 60 deletions
diff --git a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace/0005-scripts-Tie-a-few-more-Python-2-to-3-conversion-loos.patch b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace/0005-scripts-Tie-a-few-more-Python-2-to-3-conversion-loos.patch
deleted file mode 100644
index 6bff7e92..00000000
--- a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace/0005-scripts-Tie-a-few-more-Python-2-to-3-conversion-loos.patch
+++ /dev/null
@@ -1,60 +0,0 @@
1From 8b3afcaeebdd87962f2f3fef36973090621d116b Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Sun, 29 Mar 2020 15:38:31 +0000
4Subject: [PATCH 5/5] scripts: Tie a few more Python 2 to 3 conversion loose
5 ends.
6
7Upstream-Status: pending
8Note: code exists in NXP's fork only.
9
10Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
11---
12 wrappers/glxtrace.py | 14 +++++++-------
13 1 file changed, 7 insertions(+), 7 deletions(-)
14
15diff --git a/wrappers/glxtrace.py b/wrappers/glxtrace.py
16index b05028e2..2472560d 100644
17--- a/wrappers/glxtrace.py
18+++ b/wrappers/glxtrace.py
19@@ -67,9 +67,9 @@ class GlxTracer(GlTracer):
20 print(' gltrace::releaseContext((uintptr_t)ctx);')
21
22 if function.name == 'glXGetCurrentDisplay':
23- print ' if(_glXGetCurrentDisplay == &glXGetCurrentDisplay ){'
24- print ' _glXGetCurrentDisplay = (PFN_GLXGETCURRENTDISPLAY)_getPublicProcAddress("glXGetCurrentDisplay");'
25- print ' }'
26+ print (' if(_glXGetCurrentDisplay == &glXGetCurrentDisplay ){')
27+ print (' _glXGetCurrentDisplay = (PFN_GLXGETCURRENTDISPLAY)_getPublicProcAddress("glXGetCurrentDisplay");')
28+ print (' }')
29
30 GlTracer.traceFunctionImplBody(self, function)
31
32@@ -184,7 +184,7 @@ if __name__ == '__main__':
33 tracer = GlxTracer()
34 tracer.traceApi(api)
35
36- print r'''
37+ print (r'''
38
39
40 /*
41@@ -247,8 +247,8 @@ void * dlopen(const char *filename, int flag)
42
43
44
45-'''
46- print r'''
47+''')
48+ print (r'''
49 /*
50 * let the GPU driver know that we are in apitrace
51 */
52@@ -257,4 +257,4 @@ int APIENTRY ApiTraceEnabled(void) {
53 return 1;
54 }
55
56-'''
57+''')
58--
592.20.1
60