mirror of
https://github.com/godotengine/godot-angle-static.git
synced 2026-01-03 14:09:33 +03:00
dEQP: Enable CreateSurfacePlatformEXT tests
Add the corresponding capability to NativeWindow and implement getPlatformExtension virtual method to return a native pointer that can be used with eglCreatePlatformWindowSurfaceEXT(). Bug: angleproject:6961 Change-Id: Ieb1a1fd8b3cae4e6f199c269f3922cbd0307aa35 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3452102 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Auto-Submit: Antonio Caggiano <antonio.caggiano@collabora.com> Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
committed by
Angle LUCI CQ
parent
b92ebdb73a
commit
2a9c4b01bf
@@ -389,6 +389,11 @@ bool OSWindow::takeScreenshot(uint8_t *pixelData)
|
||||
return false;
|
||||
}
|
||||
|
||||
void *OSWindow::getPlatformExtension()
|
||||
{
|
||||
return reinterpret_cast<void *>(getNativeWindow());
|
||||
}
|
||||
|
||||
bool OSWindow::popEvent(Event *event)
|
||||
{
|
||||
if (mEvents.size() > 0 && event)
|
||||
|
||||
Reference in New Issue
Block a user