/third_party/skia/third_party/externals/angle2/util/ |
D | EGLWindow.cpp | 605 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/ |
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);
|
/third_party/skia/experimental/wasm-skp-debugger/ |
D | gpu.js | 7 var contextAttributes = { variable 28 if (contextAttributes['explicitSwapControl']) { 34 var context = GL.createContext(canvas, contextAttributes);
|
/third_party/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 | 1170 contextAttributes: { property
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLSurfaceTestMac.mm | 60 EGLint contextAttributes[] = { 68 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, contextAttributes);
|
D | EGLDisplayPowerPreferenceTest.cpp | 147 EGLint contextAttributes[] = { in initializeContextForDisplay() local 155 *context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in initializeContextForDisplay()
|
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()
|
D | EGLContextSharingTest.cpp | 410 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/ |
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 | 614 EGLint contextAttributes[] = { in TEST_P() local 693 context.context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P()
|
D | TransformFeedbackTest.cpp | 1149 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()
|
D | WebGLCompatibilityTest.cpp | 2498 EGLint contextAttributes[] = { in TEST_P() local 2509 auto context2 = eglCreateContext(display, config, context1, contextAttributes); in TEST_P()
|
D | FramebufferTest.cpp | 3750 EGLint contextAttributes[] = { in TEST_P() local 3759 EGLContext 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()
|
/third_party/skia/third_party/externals/swiftshader/tests/GLESUnitTests/ |
D | unittests.cpp | 157 EGLint contextAttributes[] = { in Initialize() local 162 context = eglCreateContext(display, config, NULL, contextAttributes); in Initialize()
|