Searched refs:gl_versions (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/glx/tests/ |
D | clientinfo_unittest.cpp | 114 static uint32_t *gl_versions; variable 171 gl_versions = new uint32_t[num_versions * 2]; in xcb_glx_set_client_info_arb() 172 memcpy(gl_versions, versions, sizeof(uint32_t) * num_versions * 2); in xcb_glx_set_client_info_arb() 206 gl_versions = new uint32_t[num_versions * 3]; in xcb_glx_set_client_info_2arb() 207 memcpy(gl_versions, versions, sizeof(uint32_t) * num_versions * 3); in xcb_glx_set_client_info_2arb() 271 gl_versions = (uint32_t *) 0; in SetUp() 540 EXPECT_LT(0u, gl_versions[i * 2]); in TEST_F() 541 EXPECT_GE(4u, gl_versions[i * 2]); in TEST_F() 546 switch (gl_versions[i * 2]) { in TEST_F() 548 EXPECT_GE(5u, gl_versions[i * 2 + 1]); in TEST_F() [all …]
|
/external/mesa3d/src/glx/ |
D | clientinfo.c | 42 static const uint32_t gl_versions[] = { in __glX_send_client_info() local 141 sizeof(gl_versions) in __glX_send_client_info() 142 / (2 * sizeof(gl_versions[0])), in __glX_send_client_info() 145 gl_versions, in __glX_send_client_info()
|
/external/skia/src/gpu/gl/glx/ |
D | SkCreatePlatformGLContext_glx.cpp | 19 static const struct { int major, minor; } gl_versions[] = { variable 39 #define NUM_GL_VERSIONS SK_ARRAY_COUNT(gl_versions) 201 if (gl_versions[i].major == 3 && gl_versions[i].minor == 0) { in GLXGLContext() 209 GLX_CONTEXT_MAJOR_VERSION_ARB, gl_versions[i].major, in GLXGLContext() 210 GLX_CONTEXT_MINOR_VERSION_ARB, gl_versions[i].minor, in GLXGLContext()
|