Lines Matching defs:EglSurface
26 struct EglSurface { struct
27 static std::map<uint32_t, EglSurface*> map; argument
30 EglSurface(EGLConfig config_, uint32_t ctx_, uint32_t width_, uint32_t height_) in EglSurface() function
35 ~EglSurface() { in ~EglSurface() argument
39 EglSurface* bind(uint32_t ctx_, bool read_) { in bind() argument
60 void unbind(bool read_) { in unbind()
73 bool disposable() { in disposable()
77 EGLSurface surface = EGL_NO_SURFACE;
78 ANativeWindow* window = nullptr;
79 uint32_t create_ctx;
80 EGLConfig config;
81 uint32_t height;
82 uint32_t width;
83 uint32_t id;
87 bool draw = false;
88 bool read = false;