- More documentation

This commit is contained in:
2025-12-18 16:18:07 -05:00
parent 9e6f00eb60
commit 88e33bdcc8
50 changed files with 987 additions and 264 deletions

View File

@@ -41,11 +41,17 @@
namespace fennec
{
/// \brief base egl context with platform-independent behaviour
class eglcontext : public glcontext {
public:
/// \brief constructor
/// \param display the corresponding display server
eglcontext(display_server* display);
/// \brief destructor
~eglcontext();
/// \returns \f$true\f$ if the context is valid, \f$false\f$ otherwise
bool is_valid() override;
private:
@@ -55,8 +61,10 @@ private:
EGLint _eglvmajor, _eglvminor, _eglctype;
cstring _extensions;
#ifndef FENNEC_DOXYGEN
FENNEC_RTTI_CLASS_ENABLE(glcontext) {
}
#endif
friend class eglsurface;
};