mirror of
https://github.com/godotengine/godot-angle-static.git
synced 2026-01-06 02:09:55 +03:00
Capture/Replay: Capture egl surface related calls
Creation from a pbuffer and generalized destruction are implemented, as well as binding and releasing a TexImage and making the context current with explicit draw and read surfaces given. Bug: angleproject:4964 Bug: angleproject:6180 Bug: angleproject:6512 Change-Id: Id8be6486125d45341905f3aabdbae4366cd568b7 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3711741 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Cody Northrop <cnorthrop@google.com>
This commit is contained in:
committed by
Angle LUCI CQ
parent
1fcfe3bbcc
commit
fd9301c1d8
@@ -380,6 +380,36 @@ EGLBoolean WGLWindow::destroyImageKHR(Image image)
|
||||
return EGL_FALSE;
|
||||
}
|
||||
|
||||
WGLWindow::Surface WGLWindow::createPbufferSurface(const EGLint *attrib_list)
|
||||
{
|
||||
std::cerr << "WGLWindow::createPbufferSurface not implemented.\n";
|
||||
return EGL_FALSE;
|
||||
}
|
||||
|
||||
EGLBoolean WGLWindow::destroySurface(Surface surface)
|
||||
{
|
||||
std::cerr << "WGLWindow::destroySurface not implemented.\n";
|
||||
return EGL_FALSE;
|
||||
}
|
||||
|
||||
EGLBoolean WGLWindow::bindTexImage(EGLSurface surface, EGLint buffer)
|
||||
{
|
||||
std::cerr << "WGLWindow::bindTexImage not implemented.\n";
|
||||
return EGL_FALSE;
|
||||
}
|
||||
|
||||
EGLBoolean WGLWindow::releaseTexImage(EGLSurface surface, EGLint buffer)
|
||||
{
|
||||
std::cerr << "WGLWindow::releaseTexImage not implemented.\n";
|
||||
return EGL_FALSE;
|
||||
}
|
||||
|
||||
bool WGLWindow::makeCurrent(EGLSurface draw, EGLSurface read, EGLContext context)
|
||||
{
|
||||
std::cerr << "WGLWindow::makeCurrent(draw, read, context) not implemented.\n";
|
||||
return EGL_FALSE;
|
||||
}
|
||||
|
||||
bool WGLWindow::setSwapInterval(EGLint swapInterval)
|
||||
{
|
||||
if (!_wglSwapIntervalEXT || _wglSwapIntervalEXT(swapInterval) == FALSE)
|
||||
|
||||
Reference in New Issue
Block a user