#include "ui/gl/gl_surface_egl_x11_gles2.h"
#include "ui/base/x/x11_util.h"
#include "ui/gfx/x/connection.h"
#include "ui/gfx/x/visual_manager.h"
#include "ui/gfx/x/xproto.h"
#include "ui/gl/egl_util.h"
#include "ui/gl/gl_bindings.h"
GetLastEGLErrorString;
namespace gl {
NativeViewGLSurfaceEGLX11GLES2::NativeViewGLSurfaceEGLX11GLES2(
gl::GLDisplayEGL* display,
x11::Window window)
: … { … }
bool NativeViewGLSurfaceEGLX11GLES2::InitializeNativeWindow() { … }
void NativeViewGLSurfaceEGLX11GLES2::Destroy() { … }
EGLConfig NativeViewGLSurfaceEGLX11GLES2::GetConfig() { … }
bool NativeViewGLSurfaceEGLX11GLES2::Resize(const gfx::Size& size,
float scale_factor,
const gfx::ColorSpace& color_space,
bool has_alpha) { … }
void NativeViewGLSurfaceEGLX11GLES2::OnEvent(const x11::Event& x11_event) { … }
NativeViewGLSurfaceEGLX11GLES2::~NativeViewGLSurfaceEGLX11GLES2() { … }
}