Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flow3r
flow3r firmware
Merge requests
!153
Pippin/media framework
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Pippin/media framework
pippin/media_framework
into
main
Overview
13
Commits
4
Pipelines
39
Changes
1
2 unresolved threads
Hide all comments
Merged
pippin
requested to merge
pippin/media_framework
into
main
1 year ago
Overview
13
Commits
4
Pipelines
39
Changes
1
2 unresolved threads
Hide all comments
Expand
0
0
Merge request reports
Viewing commit
7f10a22a
Show latest version
1 file
+
14
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
7f10a22a
mypy: add gstate_protect/unprotect
· 7f10a22a
pippin
authored
1 year ago
python_payload/mypystubs/ctx.pyi
+
14
−
0
Options
@@ -75,6 +75,20 @@ class Context(Protocol):
should be balanced.
"""
pass
def
gstate_protect
(
self
)
->
"
Context
"
:
"""
Marks the current depth of the graphics state as a floor, after this
call it is not possible to restore() beyond this level. The protection
is lifted with gstate_unprotect.
"""
pass
def
gstate_unprotect
(
self
)
->
"
Context
"
:
"""
Removes gstate_unprotect, if insufficient restore() calls have been made
since gstate_protect, a warning is printed and implicit restore calls
made.
"""
pass
def
start_group
(
self
)
->
"
Context
"
:
"""
Start a compositing group.
Loading