Searched refs:kAPIs (Results 1 – 2 of 2) sorted by relevance
/external/skia/platform_tools/android/apps/visualbench/src/main/jni/ |
D | SkOSWindow_AndroidNative.cpp | 40 } kAPIs[] = { in attach() local 64 for (size_t api = 0; api < SK_ARRAY_COUNT(kAPIs); ++api) { in attach() 65 if (!eglBindAPI(kAPIs[api].fAPI)) { in attach() 77 EGL_RENDERABLE_TYPE, kAPIs[api].fRenderableTypeBit, in attach() 114 context = eglCreateContext(display, config, nullptr, kAPIs[api].fContextAttribs); in attach()
|
/external/skia/src/gpu/gl/egl/ |
D | SkCreatePlatformGLContext_egl.cpp | 78 } kAPIs[] = { in EGLGLContext() local 93 size_t apiLimit = SK_ARRAY_COUNT(kAPIs); in EGLGLContext() 100 SkASSERT(forcedGpuAPI == kNone_GrGLStandard || kAPIs[api].fStandard == forcedGpuAPI); in EGLGLContext() 118 if (!eglBindAPI(kAPIs[api].fAPI)) { in EGLGLContext() 125 EGL_RENDERABLE_TYPE, kAPIs[api].fRenderableTypeBit, in EGLGLContext() 144 fContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, kAPIs[api].fContextAttribs); in EGLGLContext()
|