Debian Codegraph @

opencl/test/unit_test/context/gl/windows/context_gl_tests_windows.cpp

raw
1 /*
2 * Copyright (C) 2020 Intel Corporation
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
8 #include "opencl/test/unit_test/context/gl/context_gl_tests.h"
9
10 namespace NEO {
11
12 TEST_F(GlContextTest, GivenClGlContextWhenContextIsCreatedThenSuccess) {
13 testContextCreation(CL_GL_CONTEXT_KHR);
14 }
15
16 TEST_F(GlContextTest, GivenEglContextWhenContextIsCreatedThenSuccess) {
17 testContextCreation(CL_EGL_DISPLAY_KHR);
18 }
19
20 TEST_F(GlContextTest, GivenGlxContextWhenContextIsCreatedThenSuccess) {
21 testContextCreation(CL_GLX_DISPLAY_KHR);
22 }
23
24 TEST_F(GlContextTest, GivenWglContextWhenContextIsCreatedThenSuccess) {
25 testContextCreation(CL_WGL_HDC_KHR);
26 }
27
28 } // namespace NEO