#include "ui/ozone/platform/x11/gl_surface_egl_readback_x11.h"
#include "base/logging.h"
#include "third_party/skia/include/core/SkImageInfo.h"
#include "third_party/skia/include/core/SkPixmap.h"
#include "ui/base/x/x11_util.h"
#include "ui/gfx/x/xproto.h"
namespace ui {
namespace {
constexpr x11::GraphicsContext kNoGC = …;
}
GLSurfaceEglReadbackX11::GLSurfaceEglReadbackX11(gl::GLDisplayEGL* display,
gfx::AcceleratedWidget window)
: … { … }
bool GLSurfaceEglReadbackX11::Initialize(gl::GLSurfaceFormat format) { … }
void GLSurfaceEglReadbackX11::Destroy() { … }
GLSurfaceEglReadbackX11::~GLSurfaceEglReadbackX11() { … }
bool GLSurfaceEglReadbackX11::HandlePixels(uint8_t* pixels) { … }
}