/external/skia/tools/gpu/gl/egl/ |
D | CreatePlatformGLTestContext_egl.cpp | 76 EGLConfig surfaceConfig, in create_gles_egl_context() argument 84 return eglCreateContext(display, surfaceConfig, eglShareContext, contextAttribsForOpenGLES); in create_gles_egl_context() 87 EGLConfig surfaceConfig, in create_gl_egl_context() argument 92 return eglCreateContext(display, surfaceConfig, eglShareContext, contextAttribsForOpenGL); in create_gl_egl_context() 148 EGLConfig surfaceConfig; in EGLGLTestContext() local 149 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in EGLGLTestContext() 163 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 3); in EGLGLTestContext() 165 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 2); in EGLGLTestContext() 168 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 2); in EGLGLTestContext() 171 fContext = create_gl_egl_context(fDisplay, surfaceConfig, eglShareContext); in EGLGLTestContext() [all …]
|
/external/skqp/tools/gpu/gl/egl/ |
D | CreatePlatformGLTestContext_egl.cpp | 76 EGLConfig surfaceConfig, in create_gles_egl_context() argument 84 return eglCreateContext(display, surfaceConfig, eglShareContext, contextAttribsForOpenGLES); in create_gles_egl_context() 87 EGLConfig surfaceConfig, in create_gl_egl_context() argument 92 return eglCreateContext(display, surfaceConfig, eglShareContext, contextAttribsForOpenGL); in create_gl_egl_context() 148 EGLConfig surfaceConfig; in EGLGLTestContext() local 149 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in EGLGLTestContext() 163 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 3); in EGLGLTestContext() 165 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 2); in EGLGLTestContext() 168 fContext = create_gles_egl_context(fDisplay, surfaceConfig, eglShareContext, 2); in EGLGLTestContext() 171 fContext = create_gl_egl_context(fDisplay, surfaceConfig, eglShareContext); in EGLGLTestContext() [all …]
|
/external/skqp/tools/sk_app/android/ |
D | GLWindowContext_android.cpp | 88 EGLConfig surfaceConfig; in onInitializeContext() local 89 SkAssertResult(eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)); in onInitializeContext() 97 fDisplay, surfaceConfig, nullptr, kEGLContextAttribsForOpenGLES); in onInitializeContext() 104 fSurfaceAndroid = eglCreateWindowSurface(fDisplay, surfaceConfig, fNativeWindow, nullptr); in onInitializeContext() 116 eglGetConfigAttrib(fDisplay, surfaceConfig, EGL_STENCIL_SIZE, &fStencilBits); in onInitializeContext() 117 eglGetConfigAttrib(fDisplay, surfaceConfig, EGL_SAMPLES, &fSampleCount); in onInitializeContext()
|
/external/skia/tools/sk_app/android/ |
D | GLWindowContext_android.cpp | 88 EGLConfig surfaceConfig; in onInitializeContext() local 89 SkAssertResult(eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)); in onInitializeContext() 97 fDisplay, surfaceConfig, nullptr, kEGLContextAttribsForOpenGLES); in onInitializeContext() 104 fSurfaceAndroid = eglCreateWindowSurface(fDisplay, surfaceConfig, fNativeWindow, nullptr); in onInitializeContext() 116 eglGetConfigAttrib(fDisplay, surfaceConfig, EGL_STENCIL_SIZE, &fStencilBits); in onInitializeContext() 117 eglGetConfigAttrib(fDisplay, surfaceConfig, EGL_SAMPLES, &fSampleCount); in onInitializeContext()
|
/external/skqp/tools/sk_app/win/ |
D | ANGLEWindowContext_win.cpp | 100 EGLConfig surfaceConfig; in onInitializeContext() local 101 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in onInitializeContext() 107 fEGLContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, contextAttribs); in onInitializeContext() 112 fEGLSurface = eglCreateWindowSurface(fDisplay, surfaceConfig, fHWND, nullptr); in onInitializeContext()
|
/external/skia/tools/sk_app/win/ |
D | ANGLEWindowContext_win.cpp | 100 EGLConfig surfaceConfig; in onInitializeContext() local 101 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in onInitializeContext() 107 fEGLContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, contextAttribs); in onInitializeContext() 112 fEGLSurface = eglCreateWindowSurface(fDisplay, surfaceConfig, fHWND, nullptr); in onInitializeContext()
|
/external/skqp/src/gpu/gl/ |
D | GrGLCaps.h | 145 bool getTexImageFormats(GrPixelConfig surfaceConfig, GrPixelConfig externalConfig, 149 bool getCompressedTexImageFormats(GrPixelConfig surfaceConfig, GrGLenum* internalFormat) const; 152 bool getReadPixelsFormat(GrPixelConfig surfaceConfig, GrPixelConfig externalConfig, 318 bool readPixelsSupported(GrPixelConfig surfaceConfig, 443 bool getExternalFormat(GrPixelConfig surfaceConfig, GrPixelConfig memoryConfig,
|
D | GrGLCaps.cpp | 851 bool GrGLCaps::readPixelsSupported(GrPixelConfig surfaceConfig, in readPixelsSupported() argument 858 if (!this->canConfigBeFBOColorAttachment(surfaceConfig)) { in readPixelsSupported() 864 if (!this->getReadPixelsFormat(surfaceConfig, readConfig, &readFormat, &readType)) { in readPixelsSupported() 893 switch (fConfigTable[surfaceConfig].fFormatType) { in readPixelsSupported() 906 if (0 == fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fFormat) { in readPixelsSupported() 908 const_cast<ReadPixelsFormat*>(&fConfigTable[surfaceConfig].fSecondReadPixelsFormat); in readPixelsSupported() 920 return fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fFormat == readFormat && in readPixelsSupported() 921 fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fType == readType; in readPixelsSupported() 1198 bool GrGLCaps::getTexImageFormats(GrPixelConfig surfaceConfig, GrPixelConfig externalConfig, in getTexImageFormats() argument 1201 if (!this->getExternalFormat(surfaceConfig, externalConfig, kTexImage_ExternalFormatUsage, in getTexImageFormats() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLCaps.h | 145 bool getTexImageFormats(GrPixelConfig surfaceConfig, GrPixelConfig externalConfig, 149 bool getCompressedTexImageFormats(GrPixelConfig surfaceConfig, GrGLenum* internalFormat) const; 152 bool getReadPixelsFormat(GrPixelConfig surfaceConfig, GrPixelConfig externalConfig, 318 bool readPixelsSupported(GrPixelConfig surfaceConfig, 443 bool getExternalFormat(GrPixelConfig surfaceConfig, GrPixelConfig memoryConfig,
|
D | GrGLCaps.cpp | 863 bool GrGLCaps::readPixelsSupported(GrPixelConfig surfaceConfig, in readPixelsSupported() argument 870 if (!this->canConfigBeFBOColorAttachment(surfaceConfig)) { in readPixelsSupported() 876 if (!this->getReadPixelsFormat(surfaceConfig, readConfig, &readFormat, &readType)) { in readPixelsSupported() 905 switch (fConfigTable[surfaceConfig].fFormatType) { in readPixelsSupported() 918 if (0 == fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fFormat) { in readPixelsSupported() 920 const_cast<ReadPixelsFormat*>(&fConfigTable[surfaceConfig].fSecondReadPixelsFormat); in readPixelsSupported() 932 return fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fFormat == readFormat && in readPixelsSupported() 933 fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fType == readType; in readPixelsSupported() 1205 bool GrGLCaps::getTexImageFormats(GrPixelConfig surfaceConfig, GrPixelConfig externalConfig, in getTexImageFormats() argument 1208 if (!this->getExternalFormat(surfaceConfig, externalConfig, kTexImage_ExternalFormatUsage, in getTexImageFormats() [all …]
|
/external/skqp/tools/gpu/gl/angle/ |
D | GLTestContext_angle.cpp | 202 EGLConfig surfaceConfig; in ANGLEGLContext() local 203 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in ANGLEGLContext() 215 fContext = eglCreateContext(fDisplay, surfaceConfig, eglShareContext, contextAttribs); in ANGLEGLContext() 228 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, surfaceAttribs); in ANGLEGLContext()
|
/external/skia/tools/gpu/gl/angle/ |
D | GLTestContext_angle.cpp | 202 EGLConfig surfaceConfig; in ANGLEGLContext() local 203 if (!eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)) { in ANGLEGLContext() 215 fContext = eglCreateContext(fDisplay, surfaceConfig, eglShareContext, contextAttribs); in ANGLEGLContext() 228 fSurface = eglCreatePbufferSurface(fDisplay, surfaceConfig, surfaceAttribs); in ANGLEGLContext()
|