Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
monado
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
Container registry
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
monado
Commits
1873d3a1
Commit
1873d3a1
authored
6 years ago
by
Jakob Bornecrantz
Browse files
Options
Downloads
Patches
Plain Diff
comp: Tidy code
parent
df2b6da0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/xrt/compositor/common/comp_vk_swapchain.c
+6
-0
6 additions, 0 deletions
src/xrt/compositor/common/comp_vk_swapchain.c
src/xrt/compositor/main/comp_settings.h
+9
-5
9 additions, 5 deletions
src/xrt/compositor/main/comp_settings.h
with
15 additions
and
5 deletions
src/xrt/compositor/common/comp_vk_swapchain.c
+
6
−
0
View file @
1873d3a1
...
@@ -19,6 +19,12 @@
...
@@ -19,6 +19,12 @@
#include
"comp_vk_swapchain.h"
#include
"comp_vk_swapchain.h"
/*
*
* Types, defines and data.
*
*/
/*!
/*!
* These formats will be 'preferred' - in future we may wish to give preference
* These formats will be 'preferred' - in future we may wish to give preference
* to higher bit depths if they are available, but most display devices we are
* to higher bit depths if they are available, but most display devices we are
...
...
This diff is collapsed.
Click to expand it.
src/xrt/compositor/main/comp_settings.h
+
9
−
5
View file @
1873d3a1
...
@@ -18,12 +18,16 @@
...
@@ -18,12 +18,16 @@
extern
"C"
{
extern
"C"
{
#endif
#endif
// since NVidia direct mode lets us 'acquire' any display, we need to
// be careful about which displays we attempt to acquire.
// We may wish to allow user configuration to extend this list.
XRT_MAYBE_UNUSED
static
const
char
*
NV_DIRECT_WHITELIST
[]
=
{
"Sony SIE HMD *08"
,
"HTC Corporation HTC-VIVE"
};
/*!
* Since NVidia direct mode lets us 'acquire' any display, we need to
* be careful about which displays we attempt to acquire.
* We may wish to allow user configuration to extend this list.
*/
XRT_MAYBE_UNUSED
static
const
char
*
NV_DIRECT_WHITELIST
[]
=
{
"Sony SIE HMD *08"
,
"HTC Corporation HTC-VIVE"
,
};
/*!
/*!
* Window type to use.
* Window type to use.
...
...
This diff is collapsed.
Click to expand it.
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