Home
last modified time | relevance | path

Searched refs:contextAttributes (Results 1 – 20 of 20) sorted by relevance

/external/angle/util/
DEGLWindow.cpp527 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/
Dgpu.js12 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/
Dgpu.js18 var contextAttributes = { variable in CanvasKit.GetWebGLContext
33 contextAttributes['majorVersion'] = attrs['majorVersion']
36contextAttributes['majorVersion'] = (typeof WebGL2RenderingContext !== 'undefined') ? 2 : 1;
40 if (contextAttributes['explicitSwapControl']) {
45 var handle = GL.createContext(canvas, contextAttributes);
Dgm.js12 var contextAttributes = { variable in WasmGMTests.GetWebGLContext
29 var handle = GL.createContext(canvas, contextAttributes);
Dexterns.js1166 contextAttributes: { property
/external/skia/experimental/wasm-skp-debugger/
Dgpu.js7 var contextAttributes = { variable
28 if (contextAttributes['explicitSwapControl']) {
34 var context = GL.createContext(canvas, contextAttributes);
/external/skqp/experimental/canvaskit/
Dgpu.js15 var contextAttributes = { variable
35 if (contextAttributes['explicitSwapControl']) {
39 return GL.createContext(canvas, contextAttributes);
/external/angle/src/tests/egl_tests/
DEGLContextSharingTest.cpp308 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()
DEGLSurfaceTestMac.mm60 EGLint contextAttributes[] = {
68 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, contextAttributes);
DEGLDirectCompositionTest.cpp183 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/
DTimerQueriesTest.cpp307 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()
DMultisampleTest.cpp97 EGLint contextAttributes[] = { in testSetUp() local
106 eglCreateContext(mDisplay, multisampledConfig, EGL_NO_CONTEXT, contextAttributes); in testSetUp()
DOcclusionQueriesTest.cpp637 EGLint contextAttributes[] = { in TEST_P() local
716 context.context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P()
DTransformFeedbackTest.cpp1045 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()
DFramebufferTest.cpp3181 EGLint contextAttributes[] = { in TEST_P() local
3190 EGLContext context2 = eglCreateContext(display, config, context1, contextAttributes); in TEST_P()
DWebGLCompatibilityTest.cpp2462 EGLint contextAttributes[] = { in TEST_P() local
2473 auto context2 = eglCreateContext(display, config, context1, contextAttributes); in TEST_P()
DStateChangeTest.cpp472 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/
DEglBase14Impl.java274 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()
DEglBase10Impl.java320 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/
Dunittests.cpp157 EGLint contextAttributes[] = { in Initialize() local
162 context = eglCreateContext(display, config, NULL, contextAttributes); in Initialize()