mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-07 01:53:24 +09:00
[MG_Test] (Disaggregated): P5f fs - arm XFB support in the driver fixture
This commit is contained in:
@@ -27,6 +27,7 @@ namespace {
|
||||
void GL_APIENTRY BindXfb(GLenum, GLuint id) { boundXfb = id; }
|
||||
void GL_APIENTRY NoArgs() {}
|
||||
void GL_APIENTRY BeginXfb(GLenum) {}
|
||||
void GL_APIENTRY XfbVaryings(GLuint, GLsizei, const GLchar* const*, GLenum) {}
|
||||
struct DriverScope {
|
||||
MG_External::GLESFunctionsTable Functions = g_GLESFuncs;
|
||||
MG_Config::TransportMode Transport = MG_Config::Transport;
|
||||
@@ -44,6 +45,7 @@ namespace {
|
||||
g_GLESFuncs.glResumeTransformFeedback = &NoArgs;
|
||||
g_GLESFuncs.glBeginTransformFeedback = &BeginXfb;
|
||||
g_GLESFuncs.glEndTransformFeedback = &NoArgs;
|
||||
g_GLESFuncs.glTransformFeedbackVaryings = &XfbVaryings;
|
||||
}
|
||||
~DriverScope() {
|
||||
XfbImpl::OnBackendContextDestroyed();
|
||||
|
||||
Reference in New Issue
Block a user