5#include "flutter/shell/platform/windows/egl/surface.h"
7#include "flutter/shell/platform/windows/egl/egl.h"
26 if (::eglMakeCurrent(
display_, EGL_NO_SURFACE, EGL_NO_SURFACE,
27 EGL_NO_CONTEXT) != EGL_TRUE) {
44 return display_ == ::eglGetCurrentDisplay() &&
45 surface_ == ::eglGetCurrentSurface(EGL_DRAW) &&
46 surface_ == ::eglGetCurrentSurface(EGL_READ) &&
47 context_ == ::eglGetCurrentContext();
virtual bool IsValid() const
Surface(EGLDisplay display, EGLContext context, EGLSurface surface)
virtual const EGLSurface & GetHandle() const
virtual bool SwapBuffers() const
virtual bool IsCurrent() const
virtual bool MakeCurrent() const