mesa: add glInternalBufferSubDataCopyMESA for glthread

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4314>
This commit is contained in:
Marek Olšák
2020-03-06 20:19:11 -05:00
committed by Marge Bot
parent 3707cef4fb
commit a82889e537
7 changed files with 66 additions and 1 deletions
+13
View File
@@ -13286,6 +13286,19 @@
</function>
</category>
<category name="GL_MESA_internal_functions">
<!-- Internal function for glthread to implement BufferSubData as a GPU copy. -->
<function name="InternalBufferSubDataCopyMESA" es2="2.0">
<param name="srcBuffer" type="GLintptr"/> <!-- "struct gl_buffer_object *" really -->
<param name="srcOffset" type="GLuint"/>
<param name="dstTargetOrName" type="GLuint"/>
<param name="dstOffset" type="GLintptr"/>
<param name="size" type="GLsizeiptr"/>
<param name="named" type="GLboolean"/>
<param name="ext_dsa" type="GLboolean"/>
</function>
</category>
<xi:include href="OES_EGL_image.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="EXT_EGL_image_storage.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+1
View File
@@ -32,6 +32,7 @@ import sys
header = """
#include "api_exec.h"
#include "glthread_marshal.h"
#include "bufferobj.h"
#include "dispatch.h"
#define COMPAT (ctx->API != API_OPENGL_CORE)
+1
View File
@@ -1643,6 +1643,7 @@ offsets = {
"CopyImageSubDataNV": 1607,
"ViewportSwizzleNV": 1608,
"AlphaToCoverageDitherControlNV": 1609,
"InternalBufferSubDataCopyMESA": 1610,
}
functions = [