Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/standalone/glxbackend.h
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | 63 | public: | |||
---|---|---|---|---|---|
73 | virtual bool usesOverlayWindow() const override; | 73 | virtual bool usesOverlayWindow() const override; | ||
74 | void init() override; | 74 | void init() override; | ||
75 | 75 | | |||
76 | protected: | 76 | protected: | ||
77 | virtual void present(); | 77 | virtual void present(); | ||
78 | 78 | | |||
79 | private: | 79 | private: | ||
80 | bool initBuffer(); | 80 | bool initBuffer(); | ||
81 | bool checkVersion(); | ||||
81 | void waitSync(); | 82 | void waitSync(); | ||
82 | bool initRenderingContext(); | 83 | bool initRenderingContext(); | ||
83 | bool initFbConfig(); | 84 | bool initFbConfig(); | ||
84 | void initVisualDepthHashTable(); | 85 | void initVisualDepthHashTable(); | ||
85 | void setSwapInterval(int interval); | 86 | void setSwapInterval(int interval); | ||
86 | 87 | | |||
87 | int visualDepth(xcb_visualid_t visual) const; | 88 | int visualDepth(xcb_visualid_t visual) const; | ||
88 | FBConfigInfo *infoForVisual(xcb_visualid_t visual); | 89 | FBConfigInfo *infoForVisual(xcb_visualid_t visual); | ||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |