5#include "flutter/shell/platform/windows/egl/window_surface.h"
7#include "flutter/fml/logging.h"
8#include "flutter/shell/platform/windows/egl/egl.h"
23 if (::eglSwapInterval(
display_, enabled ? 1 : 0) != EGL_TRUE) {
28 vsync_enabled_ = enabled;
41 return vsync_enabled_;
virtual bool IsCurrent() const
virtual bool vsync_enabled() const
virtual size_t height() const
virtual size_t width() const
virtual bool SetVSyncEnabled(bool enabled)
WindowSurface(EGLDisplay display, EGLContext context, EGLSurface surface, size_t width, size_t height)
#define FML_DCHECK(condition)