Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/util/
DEGLWindow.cpp605 std::vector<EGLint> contextAttributes; in createContext() local
609 contextAttributes.push_back(extraAttrib[0]); in createContext()
610 contextAttributes.push_back(extraAttrib[1]); in createContext()
615 contextAttributes.push_back(EGL_CONTEXT_MAJOR_VERSION_KHR); in createContext()
616 contextAttributes.push_back(mClientMajorVersion); in createContext()
618 contextAttributes.push_back(EGL_CONTEXT_MINOR_VERSION_KHR); in createContext()
619 contextAttributes.push_back(mClientMinorVersion); in createContext()
625 contextAttributes.push_back(EGL_CONTEXT_OPENGL_DEBUG); in createContext()
626 contextAttributes.push_back(mConfigParams.debug ? EGL_TRUE : EGL_FALSE); in createContext()
633 contextAttributes.push_back(EGL_CONTEXT_OPENGL_NO_ERROR_KHR); in createContext()
[all …]
/third_party/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);
/third_party/skia/experimental/wasm-skp-debugger/
Dgpu.js7 var contextAttributes = { variable
28 if (contextAttributes['explicitSwapControl']) {
34 var context = GL.createContext(canvas, contextAttributes);
/third_party/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.js1170 contextAttributes: { property
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLSurfaceTestMac.mm60 EGLint contextAttributes[] = {
68 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, contextAttributes);
DEGLDisplayPowerPreferenceTest.cpp147 EGLint contextAttributes[] = { in initializeContextForDisplay() local
155 *context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in initializeContextForDisplay()
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()
DEGLContextSharingTest.cpp410 std::vector<EGLint> contextAttributes; in TEST_P() local
411 contextAttributes.push_back(EGL_CONTEXT_MAJOR_VERSION_KHR); in TEST_P()
412 contextAttributes.push_back(getClientMajorVersion()); in TEST_P()
413 contextAttributes.push_back(EGL_NONE); in TEST_P()
416 mContexts[0] = eglCreateContext(display, config, mainContext, contextAttributes.data()); in TEST_P()
/third_party/skia/third_party/externals/angle2/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.cpp614 EGLint contextAttributes[] = { in TEST_P() local
693 context.context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P()
DTransformFeedbackTest.cpp1149 EGLint contextAttributes[] = { in TEST_P() local
1208 context.context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P()
2312 EGLint contextAttributes[] = { in TEST_P() local
2320 auto context2 = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P()
DWebGLCompatibilityTest.cpp2498 EGLint contextAttributes[] = { in TEST_P() local
2509 auto context2 = eglCreateContext(display, config, context1, contextAttributes); in TEST_P()
DFramebufferTest.cpp3750 EGLint contextAttributes[] = { in TEST_P() local
3759 EGLContext 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()
/third_party/skia/third_party/externals/swiftshader/tests/GLESUnitTests/
Dunittests.cpp157 EGLint contextAttributes[] = { in Initialize() local
162 context = eglCreateContext(display, config, NULL, contextAttributes); in Initialize()