Skip to content

Commit afab2cc

Browse files
committed
Remove trailing space characters (unsure)
1 parent 8e84434 commit afab2cc

File tree

9 files changed

+35
-35
lines changed

9 files changed

+35
-35
lines changed

specification/loader/api_layer.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ only requirement is that the filename extension is ".json".
498498
with each "version" of the API layer) must be set in the environment or else
499499
the implicit API layer is not loaded. This is for application environments
500500
(e.g. Steam) which want to enable an API layer(s) only for applications that
501-
they launch, and allows for applications run outside of that
501+
they launch, and allows for applications run outside of that
502502
environment to not get that implicit API layer(s).
503503
| N/A
504504
| "disable_environment"
@@ -623,7 +623,7 @@ struct XrNegotiateLoaderInfo {
623623

624624
You'll notice the structures are similar to other OpenXR structures.
625625
The "structType" field, in this case takes a new enum defined just for internal
626-
loader interfacing use.
626+
loader interfacing use.
627627

628628
The ename:XrLoaderInterfaceStructs enumeration is also defined in the
629629
`src/common/loader_interfaces.h` header and currently looks like:
@@ -699,7 +699,7 @@ variable of type slink:XrNegotiateLoaderInfo and initialize it in the following
699699
`XR_LOADER_INFO_STRUCT_VERSION`
700700
3. Set the structure "structSize" to the current size of the
701701
`XrNegotiateLoaderInfo` structure
702-
4. Set "minInterfaceVersion" to the minimum
702+
4. Set "minInterfaceVersion" to the minimum
703703
<<api-layer-interface-versions,loader/API layer interface version>> that the
704704
loader supports
705705
5. Set "maxInterfaceVersion" to the current version of the

specification/loader/application.adoc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
[[application-interaction]]
66
== Application Interaction ==
77

8-
An application requests a specific version of the OpenXR API when creating an
9-
instance by writing to the "apiVersion" member of the `XrApplicationInfo`
8+
An application requests a specific version of the OpenXR API when creating an
9+
instance by writing to the "apiVersion" member of the `XrApplicationInfo`
1010
structure which, in turn, is passed into the `XrInstanceCreateInfo` structure.
1111
If either the loader or the active runtime do not support the requested version,
1212
they may return an error and fail instance creation. Refer to the
@@ -20,8 +20,8 @@ through the loader:
2020

2121
1. Directly linking to the core OpenXR commands exposed and exported by the loader.
2222
2. Creating an application-managed dispatch table of OpenXR commands by querying
23-
the loader for function pointers via `xrGetInstanceProcAddr`. This method
24-
supports core OpenXR commands, commands of (enabled) OpenXR extensions supported by the runtime,
23+
the loader for function pointers via `xrGetInstanceProcAddr`. This method
24+
supports core OpenXR commands, commands of (enabled) OpenXR extensions supported by the runtime,
2525
and any commands exposed by enabled API layers.
2626

2727
[[openxr-direct-exports]]
@@ -110,7 +110,7 @@ second call chain.
110110
[[openxr-indirect-linking]]
111111
==== OpenXR Indirect Linking ====
112112

113-
With loader indirect linking an application dynamically generates its own
113+
With loader indirect linking an application dynamically generates its own
114114
dispatch table of OpenXR commands. This method allows an application to
115115
fail gracefully if the loader cannot be found, or supports an older version
116116
of the API than the application. To do this, the application uses the
@@ -154,13 +154,13 @@ versions of OpenXR.
154154
=== Application API Layer Usage ===
155155

156156
Applications desiring OpenXR functionality beyond what the core API offers may
157-
use various API layers or extensions. An API layer cannot introduce new OpenXR
157+
use various API layers or extensions. An API layer cannot introduce new OpenXR
158158
_core_ API commands, but may introduce new extension-specific OpenXR commands
159159
that can be queried through the extension interface.
160160

161161
A common use of API layers is for validation which can be enabled by loading the
162162
API layer during application development, but not loading the API layer for
163-
application release. The overhead cost of validation is completely eliminated
163+
application release. The overhead cost of validation is completely eliminated
164164
when the layer is not loaded.
165165

166166
An application can discover which API layers are available to it with
@@ -169,7 +169,7 @@ that have been discovered by the loader. The loader looks in various locations
169169
to find API layers on the system. For more information see the
170170
<<api-layer-discovery,API Layer discovery>> section below.
171171

172-
An API layer or layers may be enabled by an application by passing a list of
172+
An API layer or layers may be enabled by an application by passing a list of
173173
names in the `enabledApiLayerNames` field of the `XrInstanceCreateInfo`
174174
at `xrCreateInstance` time. During the `xrCreateInstance`, the loader
175175
constructs a <<openxr-call-chains, call chain>> that includes the application
@@ -193,12 +193,12 @@ ensure that you are using it properly.
193193
[[implicit-vs-explicit-api-layers]]
194194
==== Implicit vs Explicit API Layers ====
195195

196-
Explicit API layers are API layers which are enabled by an application (e.g.
196+
Explicit API layers are API layers which are enabled by an application (e.g.
197197
with the `xrCreateInstance` function) or by setting a
198-
<<forced-loading-of-api-layers, loader environment variable>>.
198+
<<forced-loading-of-api-layers, loader environment variable>>.
199199

200-
Implicit API layers are API layers which are enabled simply because they exist.
201-
An implicit layer found by the loader will be loaded by default, unless
200+
Implicit API layers are API layers which are enabled simply because they exist.
201+
An implicit layer found by the loader will be loaded by default, unless
202202
specifically disabled.
203203

204204
Some implicit API layer examples include:
@@ -209,7 +209,7 @@ Some implicit API layer examples include:
209209
* A tracing API layer designed to record API commands for future playback.
210210

211211
Because implicit API layers are enabled automatically, they have an additional
212-
requirement over explicit API layers in that they must specify a
212+
requirement over explicit API layers in that they must specify a
213213
"disable environment variable" in the API layer's
214214
<<api-layer-manifest-file-format, JSON manifest file>>, with key name `disable_environment`.
215215
This environment variable when present will disable the implicit API layer. Implicit
@@ -337,7 +337,7 @@ additional loader functionality. Information about various extensions can be
337337
found in the <<openxr-spec,OpenXR API Specification>>, and `openxr.h` header
338338
file.
339339

340-
To use extension functionality, the application should: call
340+
To use extension functionality, the application should: call
341341
`xrEnumerateInstanceExtensionProperties` to determine if the extension is available.
342342
Then it must: enable the extension in `xrCreateInstance`.
343343

specification/loader/design.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ The OpenXR loader is responsible with interfacing with other libraries to
128128
complete its tasks. Typically, there will be some interface negotiation
129129
between these other libraries and the loader (see
130130
<<loader-api-layer-interface-negotiation, Loader/Layer Interface Negotiation>>
131-
or
131+
or
132132
<<loader-runtime-interface-negotiation, Loader/Runtime Interface Negotiation>>
133133
for more information). The Interface classes are responsible with using
134134
the contents of a ManifestFile to setup the interface. Each Interface
@@ -677,7 +677,7 @@ const char *LoaderPlatformLibraryOpenError(
677677
flink:LoaderPlatformLibraryOpen.
678678

679679
The returned C-style character string contains any available platform-specific
680-
error code that may have occurred.
680+
error code that may have occurred.
681681

682682

683683
.Closing A Platform-Specific Library File
@@ -719,7 +719,7 @@ If the function succeeds, the returned value will be a valid function
719719
pointer address. If the function fails, it will return NULL. A NULL return
720720
value could imply that the function simply isn't exported by the library,
721721
or that an error occurred during the platform call. To determine what
722-
might have happened, the loader will call the
722+
might have happened, the loader will call the
723723
fname:LoaderPlatformLibraryGetProcAddrError function:
724724

725725
[[LoaderPlatformLibraryGetProcAddrError]]
@@ -733,7 +733,7 @@ const char *LoaderPlatformLibraryGetProcAddrError(
733733
flink:LoaderPlatformLibraryGetProcAddr call.
734734

735735
The returned C-style character string contains any available platform-specific
736-
error code that may have occurred.
736+
error code that may have occurred.
737737

738738

739739
[[environment-variable-usage]]

specification/loader/loader.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ toc::[]
2424

2525
This document contains the necessary information for understanding how
2626
to develop for, and interact with, the OpenXR loader. Intended use of
27-
this document is as a detailed design document and a tool for learning
27+
this document is as a detailed design document and a tool for learning
2828
general OpenXR loader behavior.
2929

3030
In the event of any discrepancies between this document and
31-
the (https://www.khronos.org/registry/OpenXR[OpenXR specification]), that document is authoritative.
31+
the (https://www.khronos.org/registry/OpenXR[OpenXR specification]), that document is authoritative.
3232

3333

3434
[[introduction-terminology]]

specification/loader/overview.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ the <<api-layer-interaction, "API Layer Interaction">> section of this document.
103103
[[openxr-runtimes]]
104104
=== OpenXR Runtimes ===
105105

106-
OpenXR works with multiple runtimes each supporting one or more devices. Each
107-
OpenXR runtime controls a complete VR/AR/MR system. Multiple runtimes may be
108-
installed on a system, with one being _active_ at any given time. The loader
106+
OpenXR works with multiple runtimes each supporting one or more devices. Each
107+
OpenXR runtime controls a complete VR/AR/MR system. Multiple runtimes may be
108+
installed on a system, with one being _active_ at any given time. The loader
109109
discovers the active runtime on the system and loads it.
110110
When an `XrInstance` is created during `xrCreateInstance`, the active runtime
111111
is associated with the instance.
@@ -119,7 +119,7 @@ the <<runtime-interaction, "Runtime Interaction">> section of this document.
119119
OpenXR uses an object model to control the scope of a particular action or
120120
operation. The object to be acted on is usually the first parameter of an
121121
OpenXR call. Under the covers, this object is a unique handle to either a
122-
class or structure. The contents of each class/structure vary, but each
122+
class or structure. The contents of each class/structure vary, but each
123123
has a means of looking up a dispatch table which is
124124
used to direct the functional flow through any enabled API layers and into the
125125
appropriate runtime.
@@ -138,10 +138,10 @@ take an object.
138138
=== OpenXR Call Chains ===
139139

140140
When an (optional) API layer is loaded, the loader links together a _call chain_
141-
that includes each function selected by the layer. At `xrCreateInstance` time the
141+
that includes each function selected by the layer. At `xrCreateInstance` time the
142142
loader initializes all enabled API layers and creates call
143-
chains for each OpenXR command, with each entry of the resulting dispatch table
144-
pointing to the first element of that chain. The loader builds an individual
143+
chains for each OpenXR command, with each entry of the resulting dispatch table
144+
pointing to the first element of that chain. The loader builds an individual
145145
dispatch table for the `XrInstance` that is created.
146146

147147
When an application calls an OpenXR command, this typically will first hit a

specification/loader/runtime.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ detail below.
282282
The sname:XrNegotiateLoaderInfo struct is defined in the
283283
`src/common/loader_interfaces.h` header. It is used to pass information
284284
about the loader to a runtime during the negotiation process. See the
285-
definition of slink:XrNegotiateLoaderInfo under the
285+
definition of slink:XrNegotiateLoaderInfo under the
286286
<<loader-api-layer-interface-negotiation,layer negotiation>> section for
287287
more information.
288288

specification/loader/source.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ generate the header yourself (preferred), or supply equivalent definitions:
7878
=== Contributing to the Loader ===
7979

8080
Khronos would be pleased if you decided to contribute to the loader
81-
source code.
81+
source code.
8282

8383
[[coding-standard]]
8484
=== Coding Standard ===

src/tests/hello_xr/hello_xr.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
.Op Fl v | Fl -verbose
2020
.Sh DESCRIPTION \" Section Header - required - don't modify
2121
.Nm
22-
is a sample application written using the
22+
is a sample application written using the
2323
.Tn OpenXR
2424
API.
2525
.Pp
26-
The arguments are as follows:
26+
The arguments are as follows:
2727
.Bl -tag -width -indent
2828
.It Fl h | Fl -help
2929
Show brief usage instructions.

src/tests/list/openxr_runtime_list.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
.Nm
1212
.Sh DESCRIPTION \" Section Header - required - don't modify
1313
.Nm
14-
is a minimal, command-line application written using the
14+
is a minimal, command-line application written using the
1515
.Tn OpenXR
1616
API.
1717
.Pp

0 commit comments

Comments
 (0)