32 bool makeCurrent()
override;
33 void doneCurrent()
override;
35 EGLSurface surface()
const;
36 EGLConfig config()
const;
41 QHash<uint32_t, QList<uint64_t>> supportedFormats()
const override;
43 QList<LinuxDmaBufV1Feedback::Tranche> tranches()
const;
44 dev_t deviceId()
const;
45 virtual bool prefer10bpc()
const;
47 std::shared_ptr<GLTexture> importDmaBufAsTexture(
const DmaBufAttributes &attributes)
const;
55 void setSurface(
const EGLSurface &surface);
57 virtual void cleanupSurfaces();
60 void initClientExtensions();
62 bool hasClientExtension(
const QByteArray &ext)
const;
63 bool isOpenGLES()
const;
64 bool createContext(EGLConfig config);
66 bool ensureGlobalShareContext(EGLConfig config);
67 void destroyGlobalShareContext();
72 EGLSurface m_surface = EGL_NO_SURFACE;