package/{mesa3d, mesa3d-headers}: bump version to 22.1.3
upgrade the mesa3d and mesa3d-headers to v22.1.3 and copy patch from IMG DDK 1.19 keep the 0002-Force-Mesa-to-use-the-PVR-driver-for-platform-device.patch to force the pvr driver Note that the new version mesa3d support gallium driver and no longer support dri driver Signed-off-by: Andy Hu <andy.hu@starfivetech.com> Signed-off-by: Windsome Zeng <Windsome.Zeng@starfivetech.com>
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
From 3d1c30412a91c9d6f8b824a9850ae1ba3f67be44 Mon Sep 17 00:00:00 2001
|
||||
From: Rufus Hamade <rufus.hamade@imgtec.com>
|
||||
Date: Thu, 4 Feb 2016 14:09:26 +0000
|
||||
Subject: [PATCH 08/58] GL_IMG_framebuffer_downsample entry points
|
||||
|
||||
---
|
||||
.../glapi/gen/IMG_framebuffer_downsample.xml | 37 +++++++++++++++++++
|
||||
src/mapi/glapi/gen/es_EXT.xml | 3 ++
|
||||
src/mapi/glapi/gen/static_data.py | 2 +
|
||||
3 files changed, 42 insertions(+)
|
||||
create mode 100644 src/mapi/glapi/gen/IMG_framebuffer_downsample.xml
|
||||
|
||||
diff --git a/src/mapi/glapi/gen/IMG_framebuffer_downsample.xml b/src/mapi/glapi/gen/IMG_framebuffer_downsample.xml
|
||||
new file mode 100644
|
||||
index 00000000000..b5ce77dfb08
|
||||
--- /dev/null
|
||||
+++ b/src/mapi/glapi/gen/IMG_framebuffer_downsample.xml
|
||||
@@ -0,0 +1,37 @@
|
||||
+<?xml version="1.0"?>
|
||||
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
|
||||
+
|
||||
+<OpenGLAPI>
|
||||
+
|
||||
+<category name="GL_IMG_framebuffer_downsample" number="255">
|
||||
+
|
||||
+ <enum name="FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG" value="0x913C"/>
|
||||
+ <enum name="NUM_DOWNSAMPLE_SCALES_IMG" value="0x913D"/>
|
||||
+ <enum name="DOWNSAMPLE_SCALES_IMG" value="0x913E"/>
|
||||
+ <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG" value="0x913F"/>
|
||||
+
|
||||
+ <function name="FramebufferTexture2DDownsampleIMG" es1="1.0" es2="2.0"
|
||||
+ exec="dynamic">
|
||||
+ <param name="target" type="GLenum"/>
|
||||
+ <param name="attachment" type="GLenum"/>
|
||||
+ <param name="textarget" type="GLenum"/>
|
||||
+ <param name="texture" type="GLuint"/>
|
||||
+ <param name="level" type="GLint"/>
|
||||
+ <param name="xscale" type="GLint"/>
|
||||
+ <param name="yscale" type="GLint"/>
|
||||
+ </function>
|
||||
+
|
||||
+ <function name="FramebufferTextureLayerDownsampleIMG" es1="1.0" es2="2.0"
|
||||
+ exec="dynamic">
|
||||
+ <param name="target" type="GLenum"/>
|
||||
+ <param name="attachment" type="GLenum"/>
|
||||
+ <param name="texture" type="GLuint"/>
|
||||
+ <param name="level" type="GLint"/>
|
||||
+ <param name="layer" type="GLint"/>
|
||||
+ <param name="xscale" type="GLint"/>
|
||||
+ <param name="yscale" type="GLint"/>
|
||||
+ </function>
|
||||
+
|
||||
+</category>
|
||||
+
|
||||
+</OpenGLAPI>
|
||||
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
|
||||
index 0ed0e003bae..94696d535b9 100644
|
||||
--- a/src/mapi/glapi/gen/es_EXT.xml
|
||||
+++ b/src/mapi/glapi/gen/es_EXT.xml
|
||||
@@ -1488,6 +1488,9 @@
|
||||
<!-- 253. GL_EXT_shader_pixel_local_storage2 -->
|
||||
<xi:include href="EXT_shader_pixel_local_storage2.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||
|
||||
+<!-- 255. GL_IMG_framebuffer_downsample -->
|
||||
+<xi:include href="IMG_framebuffer_downsample.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||
+
|
||||
<category name="GL_OES_viewport_array" number="267">
|
||||
<function name="ViewportArrayvOES" es2="3.1" alias="ViewportArrayv">
|
||||
<param name="first" type="GLuint"/>
|
||||
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
|
||||
index f89dcf24e4e..e363994a298 100644
|
||||
--- a/src/mapi/glapi/gen/static_data.py
|
||||
+++ b/src/mapi/glapi/gen/static_data.py
|
||||
@@ -1701,6 +1701,8 @@ offsets = {
|
||||
"ClearPixelLocalStorageuiEXT" : 1665,
|
||||
"FramebufferPixelLocalStorageSizeEXT" : 1666,
|
||||
"GetFramebufferPixelLocalStorageSizeEXT" : 1667,
|
||||
+ "FramebufferTexture2DDownsampleIMG" : 1668,
|
||||
+ "FramebufferTextureLayerDownsampleIMG" : 1669,
|
||||
}
|
||||
|
||||
functions = [
|
||||
--
|
||||
2.25.1
|
||||
|
||||
Reference in New Issue
Block a user