/external/angle/util/ |
D | EGLWindow.cpp | 527 std::vector<EGLint> contextAttributes; in createContext() local 530 contextAttributes.push_back(EGL_CONTEXT_MAJOR_VERSION_KHR); in createContext() 531 contextAttributes.push_back(mClientMajorVersion); in createContext() 533 contextAttributes.push_back(EGL_CONTEXT_MINOR_VERSION_KHR); in createContext() 534 contextAttributes.push_back(mClientMinorVersion); in createContext() 540 contextAttributes.push_back(EGL_CONTEXT_OPENGL_DEBUG); in createContext() 541 contextAttributes.push_back(mConfigParams.debug ? EGL_TRUE : EGL_FALSE); in createContext() 548 contextAttributes.push_back(EGL_CONTEXT_OPENGL_NO_ERROR_KHR); in createContext() 549 contextAttributes.push_back(mConfigParams.noError ? EGL_TRUE : EGL_FALSE); in createContext() 554 contextAttributes.push_back(EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE); in createContext() [all …]
|
/external/skia/experimental/skottiekit/ |
D | gpu.js | 12 var contextAttributes = { variable 32 if (contextAttributes['explicitSwapControl']) { 38 var ctx = GL.createContext(canvas, contextAttributes); 40 if (!ctx && contextAttributes.majorVersion > 1) { 41 contextAttributes.majorVersion = 1; // fall back to WebGL 1.0 42 contextAttributes.minorVersion = 0; 43 ctx = GL.createContext(canvas, contextAttributes);
|
/external/skia/modules/canvaskit/ |
D | gpu.js | 18 var contextAttributes = { variable in CanvasKit.GetWebGLContext 33 contextAttributes['majorVersion'] = attrs['majorVersion'] 36 … contextAttributes['majorVersion'] = (typeof WebGL2RenderingContext !== 'undefined') ? 2 : 1; 40 if (contextAttributes['explicitSwapControl']) { 45 var handle = GL.createContext(canvas, contextAttributes);
|
D | gm.js | 12 var contextAttributes = { variable in WasmGMTests.GetWebGLContext 29 var handle = GL.createContext(canvas, contextAttributes);
|
D | externs.js | 1166 contextAttributes: { property
|
/external/skia/experimental/wasm-skp-debugger/ |
D | gpu.js | 7 var contextAttributes = { variable 28 if (contextAttributes['explicitSwapControl']) { 34 var context = GL.createContext(canvas, contextAttributes);
|
/external/skqp/experimental/canvaskit/ |
D | gpu.js | 15 var contextAttributes = { variable 35 if (contextAttributes['explicitSwapControl']) { 39 return GL.createContext(canvas, contextAttributes);
|
/external/angle/src/tests/egl_tests/ |
D | EGLContextSharingTest.cpp | 308 std::vector<EGLint> contextAttributes; in TEST_P() local 309 contextAttributes.push_back(EGL_CONTEXT_MAJOR_VERSION_KHR); in TEST_P() 310 contextAttributes.push_back(getClientMajorVersion()); in TEST_P() 311 contextAttributes.push_back(EGL_NONE); in TEST_P() 314 mContexts[0] = eglCreateContext(display, config, mainContext, contextAttributes.data()); in TEST_P()
|
D | EGLSurfaceTestMac.mm | 60 EGLint contextAttributes[] = { 68 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, contextAttributes);
|
D | EGLDirectCompositionTest.cpp | 183 const EGLint contextAttributes[] = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE}; in CreateSurface() local 191 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, contextAttributes); in CreateSurface()
|
/external/angle/src/tests/gl_tests/ |
D | TimerQueriesTest.cpp | 307 EGLint contextAttributes[] = { in TEST_P() local 359 contexts[0].context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P() 368 contexts[1].context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P()
|
D | MultisampleTest.cpp | 97 EGLint contextAttributes[] = { in testSetUp() local 106 eglCreateContext(mDisplay, multisampledConfig, EGL_NO_CONTEXT, contextAttributes); in testSetUp()
|
D | OcclusionQueriesTest.cpp | 637 EGLint contextAttributes[] = { in TEST_P() local 716 context.context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P()
|
D | TransformFeedbackTest.cpp | 1045 EGLint contextAttributes[] = { in TEST_P() local 1104 context.context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P() 2210 EGLint contextAttributes[] = { in TEST_P() local 2218 auto context2 = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P()
|
D | FramebufferTest.cpp | 3181 EGLint contextAttributes[] = { in TEST_P() local 3190 EGLContext context2 = eglCreateContext(display, config, context1, contextAttributes); in TEST_P()
|
D | WebGLCompatibilityTest.cpp | 2462 EGLint contextAttributes[] = { in TEST_P() local 2473 auto context2 = eglCreateContext(display, config, context1, contextAttributes); in TEST_P()
|
D | StateChangeTest.cpp | 472 EGLint contextAttributes[] = { in TEST_P() local 479 EGLContext context2 = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P()
|
/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | EglBase14Impl.java | 274 int[] contextAttributes = {EGL14.EGL_CONTEXT_CLIENT_VERSION, openGlesVersion, EGL14.EGL_NONE}; in createEglContext() local 278 eglContext = EGL14.eglCreateContext(eglDisplay, eglConfig, rootContext, contextAttributes, 0); in createEglContext()
|
D | EglBase10Impl.java | 320 int[] contextAttributes = {EGL_CONTEXT_CLIENT_VERSION, openGlesVersion, EGL10.EGL_NONE}; in createEglContext() local 324 eglContext = egl.eglCreateContext(eglDisplay, eglConfig, rootContext, contextAttributes); in createEglContext()
|
/external/swiftshader/tests/GLESUnitTests/ |
D | unittests.cpp | 157 EGLint contextAttributes[] = { in Initialize() local 162 context = eglCreateContext(display, config, NULL, contextAttributes); in Initialize()
|