namespace gl {

class GL_EXPORT GLImageGLXNativePixmap : public GLImageGLX {
 public:
  GLImageGLXNativePixmap(const gfx::Size& size, gfx::BufferFormat format);
  bool Initialize(scoped_refptr<gfx::NativePixmap> pixmap);

 protected:
  ~GLImageGLXNativePixmap() override;

 private:
  scoped_refptr<gfx::NativePixmap> native_pixmap_;

  DISALLOW_COPY_AND_ASSIGN(GLImageGLXNativePixmap);
};

}  // namespace gl

#endif  // UI_GL_GL_IMAGE_GLX_NATIVE_PIXMAP_H_
