-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better definition of what backends need to do (#15)
- Loading branch information
1 parent
917b983
commit 5fdb7d8
Showing
15 changed files
with
581 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,27 @@ | ||
Backend API | ||
=========== | ||
TODO | ||
Internal backend API | ||
==================== | ||
|
||
This page documents what's needed to implement a backend for ``rendercanvas``. The purpose of this documentation is | ||
to help maintain current and new backends. Making this internal API clear helps understanding how the backend-system works. | ||
Also see https://github.com/pygfx/rendercanvas/blob/main/rendercanvas/stub.py. | ||
|
||
It is possible to create a custom backend (outside of the ``rendercanvas`` package). However, we consider this API an internal detail that may change | ||
with each version without warning. | ||
|
||
.. autoclass:: rendercanvas.base.WrapperRenderCanvas | ||
|
||
.. autoclass:: rendercanvas.stub.StubRenderCanvas | ||
:members: | ||
:private-members: | ||
:member-order: bysource | ||
|
||
|
||
.. autoclass:: rendercanvas.stub.StubTimer | ||
:members: | ||
:private-members: | ||
:member-order: bysource | ||
|
||
.. autoclass:: rendercanvas.stub.StubLoop | ||
:members: | ||
:private-members: | ||
:member-order: bysource |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
""" | ||
The event system. | ||
""" | ||
|
||
import time | ||
from collections import defaultdict, deque | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.