mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Related-To: NEO-3599 Change-Id: Ibb5be80ae0e1096e21de2e08d900e0e7f15666bc Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
29 lines
651 B
C++
29 lines
651 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "unit_tests/context/gl/context_gl_tests.h"
|
|
|
|
namespace NEO {
|
|
|
|
TEST_F(GlContextTest, GivenClGlContextWhenContextIsCreatedThenSuccess) {
|
|
testContextCreation(CL_GL_CONTEXT_KHR);
|
|
}
|
|
|
|
TEST_F(GlContextTest, GivenEglContextWhenContextIsCreatedThenSuccess) {
|
|
testContextCreation(CL_EGL_DISPLAY_KHR);
|
|
}
|
|
|
|
TEST_F(GlContextTest, GivenGlxContextWhenContextIsCreatedThenSuccess) {
|
|
testContextCreation(CL_GLX_DISPLAY_KHR);
|
|
}
|
|
|
|
TEST_F(GlContextTest, GivenWglContextWhenContextIsCreatedThenSuccess) {
|
|
testContextCreation(CL_WGL_HDC_KHR);
|
|
}
|
|
|
|
} // namespace NEO
|