Changeset View
Changeset View
Standalone View
Standalone View
scene.h
Show First 20 Lines • Show All 139 Lines • ▼ Show 20 Line(s) | 123 | enum { | |||
---|---|---|---|---|---|
140 | // Window will be painted with a lanczos filter. | 140 | // Window will be painted with a lanczos filter. | ||
141 | PAINT_WINDOW_LANCZOS = 1 << 8 | 141 | PAINT_WINDOW_LANCZOS = 1 << 8 | ||
142 | // PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS_WITHOUT_FULL_REPAINTS = 1 << 9 has been removed | 142 | // PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS_WITHOUT_FULL_REPAINTS = 1 << 9 has been removed | ||
143 | }; | 143 | }; | ||
144 | // types of filtering available | 144 | // types of filtering available | ||
145 | enum ImageFilterType { ImageFilterFast, ImageFilterGood }; | 145 | enum ImageFilterType { ImageFilterFast, ImageFilterGood }; | ||
146 | // there's nothing to paint (adjust time_diff later) | 146 | // there's nothing to paint (adjust time_diff later) | ||
147 | virtual void idle(); | 147 | virtual void idle(); | ||
148 | virtual bool blocksForRetrace() const; | 148 | virtual bool hasSwapEvent() const; | ||
149 | virtual bool syncsToVBlank() const; | | |||
150 | virtual OverlayWindow* overlayWindow() const = 0; | 149 | virtual OverlayWindow* overlayWindow() const = 0; | ||
151 | 150 | | |||
152 | virtual bool makeOpenGLContextCurrent(); | 151 | virtual bool makeOpenGLContextCurrent(); | ||
153 | virtual void doneOpenGLContextCurrent(); | 152 | virtual void doneOpenGLContextCurrent(); | ||
154 | 153 | | |||
155 | virtual QMatrix4x4 screenProjectionMatrix() const; | 154 | virtual QMatrix4x4 screenProjectionMatrix() const; | ||
156 | 155 | | |||
157 | /** | 156 | /** | ||
▲ Show 20 Lines • Show All 532 Lines • Show Last 20 Lines |