5#ifndef FLUTTER_TESTING_TEST_GL_SURFACE_H_
6#define FLUTTER_TESTING_TEST_GL_SURFACE_H_
10#include "flutter/fml/macros.h"
53 using EGLDisplay =
void*;
54 using EGLContext =
void*;
55 using EGLSurface =
void*;
59 EGLContext onscreen_context_;
60 EGLContext offscreen_context_;
61 EGLSurface onscreen_surface_;
62 EGLSurface offscreen_surface_;
uint32_t GetFramebuffer(uint32_t width, uint32_t height) const
sk_sp< GrDirectContext > GetGrContext()
void * GetProcAddress(const char *name) const
sk_sp< GrDirectContext > CreateGrContext()
uint32_t GetWindowFBOId() const
sk_sp< SkImage > GetRasterSurfaceSnapshot()
const SkISize & GetSurfaceSize() const
sk_sp< SkSurface > GetOnscreenSurface()
TestGLSurface(SkISize surface_size)
bool MakeResourceCurrent()
DEF_SWITCHES_START aot vmservice shared library name