summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMika Isojärvi <misojarvi@google.com>2016-02-19 11:45:41 -0800
committerMika Isojärvi <misojarvi@google.com>2016-02-19 11:45:41 -0800
commitc0bdf32d97f7cd0c1e2b773d975cb3d29f0b0883 (patch)
tree1ff4c75909170a2d7c32812c5781454d39eeeb69
parent54909d3e7c68ac173745cb060f60e223da671ba1 (diff)
downloadVK-GL-CTS-c0bdf32d97f7cd0c1e2b773d975cb3d29f0b0883.tar.gz
VK-GL-CTS-c0bdf32d97f7cd0c1e2b773d975cb3d29f0b0883.tar.bz2
VK-GL-CTS-c0bdf32d97f7cd0c1e2b773d975cb3d29f0b0883.zip
Add missing getPlatformAttributes() method to X11 EGL platform.
Bug: 27265778 Change-Id: I77d3fc1333826d269a4bea21cbf672d2b7ecb2e4
-rw-r--r--framework/platform/X11/tcuX11EglPlatform.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/framework/platform/X11/tcuX11EglPlatform.cpp b/framework/platform/X11/tcuX11EglPlatform.cpp
index b11665933..85e7ffced 100644
--- a/framework/platform/X11/tcuX11EglPlatform.cpp
+++ b/framework/platform/X11/tcuX11EglPlatform.cpp
@@ -108,11 +108,12 @@ public:
"EGL_EXT_platform_x11")
, m_display (x11Display) {}
- void* getPlatformNative (void) { return m_display->getXDisplay(); }
- eglw::EGLNativeDisplayType getLegacyNative (void) { return reinterpret_cast<eglw::EGLNativeDisplayType>(m_display->getXDisplay()); }
+ void* getPlatformNative (void) { return m_display->getXDisplay(); }
+ eglw::EGLNativeDisplayType getLegacyNative (void) { return reinterpret_cast<eglw::EGLNativeDisplayType>(m_display->getXDisplay()); }
- x11::Display& getX11Display (void) { return *m_display; }
- const eglw::Library& getLibrary (void) const { return m_library; }
+ x11::Display& getX11Display (void) { return *m_display; }
+ const eglw::Library& getLibrary (void) const { return m_library; }
+ const eglw::EGLAttrib* getPlatformAttributes (void) const { return DE_NULL; }
private:
UniquePtr<x11::Display> m_display;