|
| std::optional< std::string_view > | Start (const StringList ¶m) override |
| | Start this driver.
|
| |
| void | Stop () override |
| | Stop this driver.
|
| |
| std::string_view | GetName () const override |
| | Return driver name.
|
| |
| void | AllocateBackingStore (bool force=false) override |
| |
|
| VideoDriver_Cocoa (bool uses_hardware_acceleration=false) |
| |
| void | MainLoop () override |
| | Perform the actual drawing.
|
| |
| void | MakeDirty (int left, int top, int width, int height) override |
| | Mark a particular area dirty.
|
| |
| bool | AfterBlitterChange () override |
| | Callback invoked after the blitter was changed.
|
| |
| bool | ChangeResolution (int w, int h) override |
| | Change the resolution of the window.
|
| |
| bool | ToggleFullscreen (bool fullscreen) override |
| | Change the full screen setting.
|
| |
| void | ClearSystemSprites () override |
| | Clear all cached sprites.
|
| |
| void | PopulateSystemSprites () override |
| | Populate all sprites in cache.
|
| |
| void | EditBoxLostFocus () override |
| | An edit box lost the input focus.
|
| |
| std::vector< int > | GetListOfMonitorRefreshRates () override |
| | Get a list of refresh rates of each available monitor.
|
| |
|
void | MainLoopReal () |
| |
| | VideoDriver (bool uses_hardware_acceleration=false) |
| |
| virtual void | ToggleVsync (bool vsync) |
| | Change the vsync setting.
|
| |
| virtual bool | ClaimMousePointer () |
| |
| virtual bool | UseSystemCursor () |
| | Get whether the mouse cursor is drawn by the video driver.
|
| |
| virtual bool | HasGUI () const |
| | Whether the driver has a graphical user interface with the end user.
|
| |
| virtual bool | HasEfficient8Bpp () const |
| | Has this video driver an efficient code path for palette animated 8-bpp sprites?
|
| |
| virtual bool | HasAnimBuffer () |
| | Does this video driver support a separate animation buffer in addition to the colour buffer?
|
| |
| virtual uint8_t * | GetAnimBuffer () |
| | Get a pointer to the animation buffer of the video back-end.
|
| |
| virtual void | EditBoxGainedFocus () |
| | An edit box gained the input focus.
|
| |
| virtual std::string_view | GetInfoString () const |
| |
| void | QueueOnMainThread (std::function< void()> &&func) |
| | Queue a function to be called on the main thread with game state lock held and video buffer locked.
|
| |
| void | GameLoopPause () |
| | Pause the game-loop for a bit, releasing the game-state lock.
|
| |
|
| void | Paint () override |
| | Paint the window.
|
| |
| void | CheckPaletteAnim () override |
| | Process any pending palette animation.
|
| |
| NSView * | AllocateDrawView () override |
| |
| void * | GetVideoPointer () override |
| | Get a pointer to the video buffer.
|
| |
| Dimension | GetScreenSize () const override |
| | Get the resolution of the main screen.
|
| |
| void | InputLoop () override |
| | Handle input logic, is CTRL pressed, should we fast-forward, etc.
|
| |
| bool | LockVideoBuffer () override |
| | Make sure the video buffer is ready for drawing.
|
| |
| void | UnlockVideoBuffer () override |
| | Unlock a previously locked video buffer.
|
| |
| bool | PollEvent () override |
| | Process a single system event.
|
| |
|
void | GameSizeChanged () |
| |
|
std::optional< std::string_view > | Initialize () |
| |
|
void | UpdateVideoModes () |
| |
|
bool | MakeWindow (int width, int height) |
| |
| virtual void | ReleaseVideoPointer () |
| | Hand video buffer back to the drawing backend.
|
| |
| void | UpdateAutoResolution () |
| | Apply resolution auto-detection and clamp to sensible defaults.
|
| |
| void | StartGameThread () |
| | Start the loop for game-tick.
|
| |
| void | StopGameThread () |
| | Stop the loop for the game-tick.
|
| |
| void | Tick () |
| | Give the video-driver a tick.
|
| |
| void | SleepTillNextTick () |
| | Sleep till the next tick is about to happen.
|
| |
| std::chrono::steady_clock::duration | GetGameInterval () |
| |
| std::chrono::steady_clock::duration | GetDrawInterval () |
| |
| void | DrainCommandQueue () |
| | Execute all queued commands.
|
| |
Definition at line 91 of file cocoa_v.h.