Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
steam-runtime-tools
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
steamrt
steam-runtime-tools
Commits
2875cf08
Commit
2875cf08
authored
5 years ago
by
Jeremy Whiting
Browse files
Options
Downloads
Patches
Plain Diff
Add missing string for cannot draw and timeout graphics issues.
parent
a32d9290
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!86
Add missing string for cannot draw graphics issue.
Pipeline
#1994
passed
5 years ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/system-info.c
+6
-0
6 additions, 0 deletions
bin/system-info.c
bin/system-info.md
+8
-0
8 additions, 0 deletions
bin/system-info.md
with
14 additions
and
0 deletions
bin/system-info.c
+
6
−
0
View file @
2875cf08
...
@@ -242,6 +242,12 @@ jsonify_graphics_issues (JsonBuilder *builder,
...
@@ -242,6 +242,12 @@ jsonify_graphics_issues (JsonBuilder *builder,
if
((
issues
&
SRT_GRAPHICS_ISSUES_SOFTWARE_RENDERING
)
!=
0
)
if
((
issues
&
SRT_GRAPHICS_ISSUES_SOFTWARE_RENDERING
)
!=
0
)
json_builder_add_string_value
(
builder
,
"software-rendering"
);
json_builder_add_string_value
(
builder
,
"software-rendering"
);
if
((
issues
&
SRT_GRAPHICS_ISSUES_TIMEOUT
)
!=
0
)
json_builder_add_string_value
(
builder
,
"timeout"
);
if
((
issues
&
SRT_GRAPHICS_ISSUES_CANNOT_DRAW
)
!=
0
)
json_builder_add_string_value
(
builder
,
"cannot-draw"
);
}
}
static
void
static
void
...
...
This diff is collapsed.
Click to expand it.
bin/system-info.md
+
8
−
0
View file @
2875cf08
...
@@ -406,6 +406,14 @@ keys:
...
@@ -406,6 +406,14 @@ keys:
: This graphics stack appears to be using unaccelerated
: This graphics stack appears to be using unaccelerated
software rendering.
software rendering.
**timeout**
: The test to check the given graphics mode timed out.
**cannot-draw**
: The test to see if drawing works for the given graphics mode
had an error and was unable to draw.
**locale-issues**
**locale-issues**
: An array of strings indicating locale-related issues.
: An array of strings indicating locale-related issues.
The array is empty if no problems were detected.
The array is empty if no problems were detected.
...
...
This diff is collapsed.
Click to expand it.
Simon McVittie
@smcv
mentioned in merge request
!84 (merged)
·
5 years ago
mentioned in merge request
!84 (merged)
mentioned in merge request !84
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment