/third_party/flutter/glfw/src/ |
D | egl_context.c | 82 eglGetConfigAttrib(_glfw.egl.display, config, attrib, &value); in getEGLConfigAttrib() 97 eglGetConfigs(_glfw.egl.display, NULL, 0, &nativeCount); in chooseEGLConfig() 105 eglGetConfigs(_glfw.egl.display, nativeConfigs, nativeCount, &nativeCount); in chooseEGLConfig() 177 if (!eglMakeCurrent(_glfw.egl.display, in makeContextCurrentEGL() 178 window->context.egl.surface, in makeContextCurrentEGL() 179 window->context.egl.surface, in makeContextCurrentEGL() 180 window->context.egl.handle)) in makeContextCurrentEGL() 190 if (!eglMakeCurrent(_glfw.egl.display, in makeContextCurrentEGL() 214 eglSwapBuffers(_glfw.egl.display, window->context.egl.surface); in swapBuffersEGL() 219 eglSwapInterval(_glfw.egl.display, interval); in swapIntervalEGL() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | SurfaceImpl.cpp | 14 SurfaceImpl::SurfaceImpl(const egl::SurfaceState &state) : mState(state) {} in SurfaceImpl() 18 egl::Error SurfaceImpl::makeCurrent(const gl::Context *context) in makeCurrent() 20 return egl::NoError(); in makeCurrent() 23 egl::Error SurfaceImpl::unMakeCurrent(const gl::Context *context) in unMakeCurrent() 25 return egl::NoError(); in unMakeCurrent() 28 egl::Error SurfaceImpl::swapWithDamage(const gl::Context *context, in swapWithDamage() 33 return egl::EglBadSurface() << "swapWithDamage implementation missing."; in swapWithDamage() 36 egl::Error SurfaceImpl::setPresentationTime(EGLnsecsANDROID time) in setPresentationTime() 39 return egl::EglBadSurface() << "setPresentationTime implementation missing."; in setPresentationTime() 63 egl::SupportedCompositorTimings SurfaceImpl::getSupportedCompositorTimings() const in getSupportedCompositorTimings() [all …]
|
D | DisplayImpl.h | 30 namespace egl 60 virtual void onDestroy(const egl::Display *display) {} in onDestroy() 66 DisplayImpl(const egl::DisplayState &state); 69 virtual egl::Error initialize(egl::Display *display) = 0; 71 virtual egl::Error prepareForCall(); 72 virtual egl::Error releaseThread(); 74 virtual egl::Error makeCurrent(egl::Display *display, 75 egl::Surface *drawSurface, 76 egl::Surface *readSurface, 79 virtual egl::ConfigSet generateConfigs() = 0; [all …]
|
D | DisplayImpl.cpp | 24 egl::Error initialize() override { return egl::NoError(); } in initialize() 25 egl::Error getAttribute(const egl::Display *display, EGLint attribute, void **outValue) override in getAttribute() 28 return egl::EglBadAttribute(); in getAttribute() 35 void generateExtensions(egl::DeviceExtensions *outExtensions) const override in generateExtensions() 37 *outExtensions = egl::DeviceExtensions(); in generateExtensions() 42 DisplayImpl::DisplayImpl(const egl::DisplayState &state) in DisplayImpl() 51 egl::Error DisplayImpl::prepareForCall() in prepareForCall() 53 return egl::NoError(); in prepareForCall() 56 egl::Error DisplayImpl::releaseThread() in releaseThread() 58 return egl::NoError(); in releaseThread() [all …]
|
D | SurfaceImpl.h | 31 namespace egl 49 SurfaceImpl(const egl::SurfaceState &surfaceState); 51 virtual void destroy(const egl::Display *display) {} in destroy() 53 virtual egl::Error initialize(const egl::Display *display) = 0; 56 virtual egl::Error makeCurrent(const gl::Context *context); 57 virtual egl::Error unMakeCurrent(const gl::Context *context); 58 virtual egl::Error swap(const gl::Context *context) = 0; 59 virtual egl::Error swapWithDamage(const gl::Context *context, 62 virtual egl::Error swapWithFrameToken(const gl::Context *context, 64 virtual egl::Error postSubBuffer(const gl::Context *context, [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/ |
D | gstglcontext_egl.c | 156 gst_gl_context_egl_dump_config (GstGLContextEGL * egl, EGLConfig config) in gst_gl_context_egl_dump_config() argument 161 if (!egl->egl_display) in gst_gl_context_egl_dump_config() 166 if (!eglGetConfigAttrib (egl->egl_display, config, EGL_CONFIG_ID, &id)) in gst_gl_context_egl_dump_config() 168 if (!eglGetConfigAttrib (egl->egl_display, config, EGL_NATIVE_VISUAL_ID, in gst_gl_context_egl_dump_config() 171 if (!eglGetConfigAttrib (egl->egl_display, config, EGL_NATIVE_VISUAL_TYPE, in gst_gl_context_egl_dump_config() 174 GST_DEBUG_OBJECT (egl, "dumping EGLConfig %p with id 0x%x and " in gst_gl_context_egl_dump_config() 185 if (!eglGetConfigAttrib (egl->egl_display, config, EGL_CONFORMANT, in gst_gl_context_egl_dump_config() 207 GST_DEBUG_OBJECT (egl, "Conformant for %s", conformant_str); in gst_gl_context_egl_dump_config() 218 if (!eglGetConfigAttrib (egl->egl_display, config, EGL_RENDERABLE_TYPE, in gst_gl_context_egl_dump_config() 240 GST_DEBUG_OBJECT (egl, "Renderable for %s", renderable_str); in gst_gl_context_egl_dump_config() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | DisplayD3D.h | 22 DisplayD3D(const egl::DisplayState &state); 24 egl::Error initialize(egl::Display *display) override; 28 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state, 30 const egl::AttributeMap &attribs) override; 31 SurfaceImpl *createPbufferSurface(const egl::SurfaceState &state, 32 const egl::AttributeMap &attribs) override; 33 SurfaceImpl *createPbufferFromClientBuffer(const egl::SurfaceState &state, 36 const egl::AttributeMap &attribs) override; 37 SurfaceImpl *createPixmapSurface(const egl::SurfaceState &state, 39 const egl::AttributeMap &attribs) override; [all …]
|
D | DisplayD3D.cpp | 41 typedef RendererD3D *(*CreateRendererD3DFunction)(egl::Display *); 44 static RendererD3D *CreateTypedRendererD3D(egl::Display *display) in CreateTypedRendererD3D() 49 egl::Error CreateRendererD3D(egl::Display *display, RendererD3D **outRenderer) in CreateRendererD3D() 120 egl::Error result = renderer->initialize(); in CreateRendererD3D() 150 return egl::EglNotInitialized() << "No available renderers."; in CreateRendererD3D() 153 DisplayD3D::DisplayD3D(const egl::DisplayState &state) : DisplayImpl(state), mRenderer(nullptr) {} in DisplayD3D() 155 SurfaceImpl *DisplayD3D::createWindowSurface(const egl::SurfaceState &state, in createWindowSurface() 157 const egl::AttributeMap &attribs) in createWindowSurface() 163 SurfaceImpl *DisplayD3D::createPbufferSurface(const egl::SurfaceState &state, in createPbufferSurface() 164 const egl::AttributeMap &attribs) in createPbufferSurface() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/ |
D | DisplayCGL.h | 42 DisplayCGL(const egl::DisplayState &state); 45 egl::Error initialize(egl::Display *display) override; 47 egl::Error prepareForCall() override; 48 egl::Error releaseThread() override; 50 egl::Error makeCurrent(egl::Display *display, 51 egl::Surface *drawSurface, 52 egl::Surface *readSurface, 55 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state, 57 const egl::AttributeMap &attribs) override; 58 SurfaceImpl *createPbufferSurface(const egl::SurfaceState &state, [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/ |
D | SurfaceEGL.cpp | 16 SurfaceEGL::SurfaceEGL(const egl::SurfaceState &state, const FunctionsEGL *egl, EGLConfig config) in SurfaceEGL() argument 18 mEGL(egl), in SurfaceEGL() 33 egl::Error SurfaceEGL::makeCurrent(const gl::Context *context) in makeCurrent() 36 return egl::NoError(); in makeCurrent() 39 egl::Error SurfaceEGL::swap(const gl::Context *context) in swap() 44 return egl::Error(mEGL->getError(), "eglSwapBuffers failed"); in swap() 46 return egl::NoError(); in swap() 49 egl::Error SurfaceEGL::swapWithDamage(const gl::Context *context, in swapWithDamage() 64 return egl::Error(mEGL->getError(), "eglSwapBuffersWithDamageKHR failed"); in swapWithDamage() 66 return egl::NoError(); in swapWithDamage() [all …]
|
D | DisplayEGL.h | 31 DisplayEGL(const egl::DisplayState &state); 34 ImageImpl *createImage(const egl::ImageState &state, 37 const egl::AttributeMap &attribs) override; 39 EGLSyncImpl *createSync(const egl::AttributeMap &attribs) override; 49 egl::Error initialize(egl::Display *display) override; 52 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state, 54 const egl::AttributeMap &attribs) override; 55 SurfaceImpl *createPbufferSurface(const egl::SurfaceState &state, 56 const egl::AttributeMap &attribs) override; 57 SurfaceImpl *createPbufferFromClientBuffer(const egl::SurfaceState &state, [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/ |
D | SurfaceEGL.cpp | 16 SurfaceEGL::SurfaceEGL(const egl::SurfaceState &state, const FunctionsEGL *egl, EGLConfig config) in SurfaceEGL() argument 18 mEGL(egl), in SurfaceEGL() 33 egl::Error SurfaceEGL::makeCurrent(const gl::Context *context) in makeCurrent() 36 return egl::NoError(); in makeCurrent() 39 egl::Error SurfaceEGL::swap(const gl::Context *context) in swap() 44 return egl::Error(mEGL->getError(), "eglSwapBuffers failed"); in swap() 46 return egl::NoError(); in swap() 49 egl::Error SurfaceEGL::swapWithDamage(const gl::Context *context, EGLint *rects, EGLint n_rects) in swapWithDamage() 62 return egl::Error(mEGL->getError(), "eglSwapBuffersWithDamageKHR failed"); in swapWithDamage() 64 return egl::NoError(); in swapWithDamage() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | validationEGL_autogen.h | 16 namespace egl 21 const egl::Display *dpyPacked, 27 const egl::Display *dpyPacked, 31 const egl::Display *dpyPacked, 36 const egl::Display *dpyPacked, 40 const egl::Display *dpyPacked, 45 const egl::Display *dpyPacked, 50 const egl::Display *dpyPacked, 53 const egl::Display *dpyPacked, 56 const egl::Display *dpyPacked, [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | DisplayD3D.h | 25 DisplayD3D(const egl::DisplayState &state); 27 egl::Error initialize(egl::Display *display) override; 31 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state, 33 const egl::AttributeMap &attribs) override; 34 SurfaceImpl *createPbufferSurface(const egl::SurfaceState &state, 35 const egl::AttributeMap &attribs) override; 36 SurfaceImpl *createPbufferFromClientBuffer(const egl::SurfaceState &state, 39 const egl::AttributeMap &attribs) override; 40 SurfaceImpl *createPixmapSurface(const egl::SurfaceState &state, 42 const egl::AttributeMap &attribs) override; [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/ |
D | DisplayWGL.h | 29 DisplayWGL(const egl::DisplayState &state); 32 egl::Error initialize(egl::Display *display) override; 36 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state, 38 const egl::AttributeMap &attribs) override; 39 SurfaceImpl *createPbufferSurface(const egl::SurfaceState &state, 40 const egl::AttributeMap &attribs) override; 41 SurfaceImpl *createPbufferFromClientBuffer(const egl::SurfaceState &state, 44 const egl::AttributeMap &attribs) override; 45 SurfaceImpl *createPixmapSurface(const egl::SurfaceState &state, 47 const egl::AttributeMap &attribs) override; [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/ |
D | DisplayWGL.h | 29 DisplayWGL(const egl::DisplayState &state); 32 egl::Error initialize(egl::Display *display) override; 36 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state, 38 const egl::AttributeMap &attribs) override; 39 SurfaceImpl *createPbufferSurface(const egl::SurfaceState &state, 40 const egl::AttributeMap &attribs) override; 41 SurfaceImpl *createPbufferFromClientBuffer(const egl::SurfaceState &state, 44 const egl::AttributeMap &attribs) override; 45 SurfaceImpl *createPixmapSurface(const egl::SurfaceState &state, 47 const egl::AttributeMap &attribs) override; [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | DisplayNULL.h | 23 DisplayNULL(const egl::DisplayState &state); 26 egl::Error initialize(egl::Display *display) override; 29 egl::Error makeCurrent(egl::Surface *drawSurface, 30 egl::Surface *readSurface, 33 egl::ConfigSet generateConfigs() override; 36 egl::Error restoreLostDevice(const egl::Display *display) override; 44 egl::Error waitClient(const gl::Context *context) override; 45 egl::Error waitNative(const gl::Context *context, EGLint engine) override; 49 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state, 51 const egl::AttributeMap &attribs) override; [all …]
|
D | DisplayNULL.cpp | 22 DisplayNULL::DisplayNULL(const egl::DisplayState &state) : DisplayImpl(state) {} in DisplayNULL() 26 egl::Error DisplayNULL::initialize(egl::Display *display) in initialize() 31 return egl::NoError(); in initialize() 39 egl::Error DisplayNULL::makeCurrent(egl::Surface *drawSurface, in makeCurrent() 40 egl::Surface *readSurface, in makeCurrent() 43 return egl::NoError(); in makeCurrent() 46 egl::ConfigSet DisplayNULL::generateConfigs() in generateConfigs() 48 egl::Config config; in generateConfigs() 84 egl::ConfigSet configSet; in generateConfigs() 94 egl::Error DisplayNULL::restoreLostDevice(const egl::Display *display) in restoreLostDevice() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | DisplayImpl.h | 29 namespace egl 57 DisplayImpl(const egl::DisplayState &state); 60 virtual egl::Error initialize(egl::Display *display) = 0; 63 virtual egl::Error makeCurrent(egl::Surface *drawSurface, 64 egl::Surface *readSurface, 67 virtual egl::ConfigSet generateConfigs() = 0; 70 virtual egl::Error restoreLostDevice(const egl::Display *display) = 0; 73 virtual egl::Error validateClientBuffer(const egl::Config *configuration, 76 const egl::AttributeMap &attribs) const; 77 virtual egl::Error validateImageClientBuffer(const gl::Context *context, [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | DisplayNULL.h | 25 DisplayNULL(const egl::DisplayState &state); 28 egl::Error initialize(egl::Display *display) override; 31 egl::Error makeCurrent(egl::Display *display, 32 egl::Surface *drawSurface, 33 egl::Surface *readSurface, 36 egl::ConfigSet generateConfigs() override; 39 egl::Error restoreLostDevice(const egl::Display *display) override; 49 egl::Error waitClient(const gl::Context *context) override; 50 egl::Error waitNative(const gl::Context *context, EGLint engine) override; 54 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state, [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | DisplayVk.h | 24 DisplayVk(const egl::DisplayState &state); 27 egl::Error initialize(egl::Display *display) override; 30 egl::Error makeCurrent(egl::Surface *drawSurface, 31 egl::Surface *readSurface, 35 egl::Error restoreLostDevice(const egl::Display *display) override; 41 egl::Error waitClient(const gl::Context *context) override; 42 egl::Error waitNative(const gl::Context *context, EGLint engine) override; 44 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state, 46 const egl::AttributeMap &attribs) override; 47 SurfaceImpl *createPbufferSurface(const egl::SurfaceState &state, [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/eagl/ |
D | DisplayEAGL.h | 36 DisplayEAGL(const egl::DisplayState &state); 39 egl::Error initialize(egl::Display *display) override; 41 egl::Error prepareForCall() override; 42 egl::Error releaseThread() override; 44 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state, 46 const egl::AttributeMap &attribs) override; 47 SurfaceImpl *createPbufferSurface(const egl::SurfaceState &state, 48 const egl::AttributeMap &attribs) override; 49 SurfaceImpl *createPbufferFromClientBuffer(const egl::SurfaceState &state, 52 const egl::AttributeMap &attribs) override; [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/ |
D | DisplayGLX.h | 32 DisplayGLX(const egl::DisplayState &state); 35 egl::Error initialize(egl::Display *display) override; 38 egl::Error makeCurrent(egl::Display *display, 39 egl::Surface *drawSurface, 40 egl::Surface *readSurface, 43 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state, 45 const egl::AttributeMap &attribs) override; 46 SurfaceImpl *createPbufferSurface(const egl::SurfaceState &state, 47 const egl::AttributeMap &attribs) override; 48 SurfaceImpl *createPbufferFromClientBuffer(const egl::SurfaceState &state, [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | DisplayVk.h | 29 void onDestroy(const egl::Display *display) override; 65 DisplayVk(const egl::DisplayState &state); 68 egl::Error initialize(egl::Display *display) override; 71 egl::Error makeCurrent(egl::Display *display, 72 egl::Surface *drawSurface, 73 egl::Surface *readSurface, 77 egl::Error restoreLostDevice(const egl::Display *display) override; 85 egl::Error waitClient(const gl::Context *context) override; 86 egl::Error waitNative(const gl::Context *context, EGLint engine) override; 88 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state, [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/ |
D | DisplayCGL.h | 28 DisplayCGL(const egl::DisplayState &state); 31 egl::Error initialize(egl::Display *display) override; 34 SurfaceImpl *createWindowSurface(const egl::SurfaceState &state, 36 const egl::AttributeMap &attribs) override; 37 SurfaceImpl *createPbufferSurface(const egl::SurfaceState &state, 38 const egl::AttributeMap &attribs) override; 39 SurfaceImpl *createPbufferFromClientBuffer(const egl::SurfaceState &state, 42 const egl::AttributeMap &attribs) override; 43 SurfaceImpl *createPixmapSurface(const egl::SurfaceState &state, 45 const egl::AttributeMap &attribs) override; [all …]
|