Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/running_android.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ avoid the interactive prompt by manually specifying the device
Once you have selected a device and package, wait for the layer to be installed
and configured. The script will notify you when this has been done.

You can now perform you work by running the target application. The layer
You can now perform your work by running the target application. The layer
will be loaded automatically.

After you are finished, return to the script and press a key to notify it that
Expand Down Expand Up @@ -143,6 +143,6 @@ adb shell settings delete global gpu_debug_layer_app

- - -

_Copyright © 2024-2025, Arm Limited and contributors._
_Copyright © 2024-2026, Arm Limited and contributors._

[1]: https://github.com/KhronosGroup/Vulkan-ValidationLayers/releases/
4 changes: 2 additions & 2 deletions generator/vk_layer/source/instance.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* SPDX-License-Identifier: MIT
* ----------------------------------------------------------------------------
* Copyright (c) 2024-2025 Arm Limited
* Copyright (c) 2024-2026 Arm Limited
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
Expand Down Expand Up @@ -36,7 +36,7 @@
* instance commands all take some form of dispatchable handle that can be
* resolved into a unique per-instance key. For the driver this key would
* simply be a pointer directly to the driver-internal instance object, but for
* our layer we use a instance dispatch key as an index in to the map to find
* our layer we use an instance dispatch key as an index in to the map to find
* the layer's instance object.
*
* Key properties
Expand Down
4 changes: 2 additions & 2 deletions layer_example/source/instance.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* SPDX-License-Identifier: MIT
* ----------------------------------------------------------------------------
* Copyright (c) 2024-2025 Arm Limited
* Copyright (c) 2024-2026 Arm Limited
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
Expand Down Expand Up @@ -36,7 +36,7 @@
* instance commands all take some form of dispatchable handle that can be
* resolved into a unique per-instance key. For the driver this key would
* simply be a pointer directly to the driver-internal instance object, but for
* our layer we use a instance dispatch key as an index in to the map to find
* our layer we use an instance dispatch key as an index in to the map to find
* the layer's instance object.
*
* Key properties
Expand Down
4 changes: 2 additions & 2 deletions layer_gpu_profile/source/instance.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* SPDX-License-Identifier: MIT
* ----------------------------------------------------------------------------
* Copyright (c) 2024-2025 Arm Limited
* Copyright (c) 2024-2026 Arm Limited
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
Expand Down Expand Up @@ -36,7 +36,7 @@
* instance commands all take some form of dispatchable handle that can be
* resolved into a unique per-instance key. For the driver this key would
* simply be a pointer directly to the driver-internal instance object, but for
* our layer we use a instance dispatch key as an index in to the map to find
* our layer we use an instance dispatch key as an index in to the map to find
* the layer's instance object.
*
* Key properties
Expand Down
4 changes: 2 additions & 2 deletions layer_gpu_support/source/instance.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* SPDX-License-Identifier: MIT
* ----------------------------------------------------------------------------
* Copyright (c) 2024-2025 Arm Limited
* Copyright (c) 2024-2026 Arm Limited
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
Expand Down Expand Up @@ -36,7 +36,7 @@
* instance commands all take some form of dispatchable handle that can be
* resolved into a unique per-instance key. For the driver this key would
* simply be a pointer directly to the driver-internal instance object, but for
* our layer we use a instance dispatch key as an index in to the map to find
* our layer we use an instance dispatch key as an index in to the map to find
* the layer's instance object.
*
* Key properties
Expand Down
4 changes: 2 additions & 2 deletions layer_gpu_timeline/source/instance.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* SPDX-License-Identifier: MIT
* ----------------------------------------------------------------------------
* Copyright (c) 2024-2025 Arm Limited
* Copyright (c) 2024-2026 Arm Limited
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
Expand Down Expand Up @@ -36,7 +36,7 @@
* instance commands all take some form of dispatchable handle that can be
* resolved into a unique per-instance key. For the driver this key would
* simply be a pointer directly to the driver-internal instance object, but for
* our layer we use a instance dispatch key as an index in to the map to find
* our layer we use an instance dispatch key as an index in to the map to find
* the layer's instance object.
*
* Key properties
Expand Down
4 changes: 2 additions & 2 deletions layer_gpu_timeline/source/timeline_protobuf_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ enum class HeaderVersionNo
/* The connection header message sent to identify the version of the timeline protocol used. This should be sent exactly
* once per connection */
using Header = pp::message<
/* The only mandatory field of this message. This identifys the version. Any subsequent fields are
/* The only mandatory field of this message. This identifies the version. Any subsequent fields are
* versioned based on this. All additional fields must be optional and additive (no removals) */
pp::enum_field<"version_no", 1, HeaderVersionNo>>;

Expand Down Expand Up @@ -198,7 +198,7 @@ enum class BufferTransferType
copy_tensor = 4,
};

/* An buffer transfer submission */
/* A buffer transfer submission */
using BufferTransfer = pp::message<
/* The unique identifier for this operation */
pp::uint64_field<"tag_id", 1>,
Expand Down
4 changes: 2 additions & 2 deletions lgl_host_server.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/env python3
# SPDX-License-Identifier: MIT
# -----------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arm Limited
# Copyright (c) 2024-2026 Arm Limited
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to
Expand Down Expand Up @@ -63,7 +63,7 @@ def parse_cli() -> argparse.Namespace:

parser.add_argument(
'--timeline', '-T', type=str, default=None,
help='file path to save timeline metadata to to after a run')
help='file path to save timeline metadata to after a run')

return parser.parse_args()

Expand Down
4 changes: 2 additions & 2 deletions lglpy/timeline/drawable/css.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: MIT
# -----------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arm Limited
# Copyright (c) 2024-2026 Arm Limited
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to
Expand Down Expand Up @@ -400,7 +400,7 @@ def __new__(cls, face: str):

class CSSDash(list):
'''
An Cairo dash definition, stored as a list of mark-space values or `none`
A Cairo dash definition, stored as a list of mark-space values or None
if a solid line is desired.

TODO: Do these have to be lists, or can we use tuples?
Expand Down
6 changes: 3 additions & 3 deletions lglpy/timeline/drawable/filechooser_dialog.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: MIT
# -----------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arm Limited
# Copyright (c) 2024-2026 Arm Limited
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to
Expand All @@ -21,8 +21,8 @@
# SOFTWARE.
# -----------------------------------------------------------------------------
'''
This module contains a utility to popup a synchronous dialog with basic a
text entry prompt.
This module contains a utility to popup a synchronous dialog with a basic text
entry prompt.
'''

import gi
Expand Down
4 changes: 2 additions & 2 deletions lglpy/timeline/drawable/timeline_base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: MIT
# -----------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arm Limited
# Copyright (c) 2024-2026 Arm Limited
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to
Expand Down Expand Up @@ -280,7 +280,7 @@ def remove_from_active_objects(self, old_object):

def remove_multiple_from_active_objects(self, old_objects):
'''
Remove an sequence of objects from the set of active objects.
Remove a sequence of objects from the set of active objects.

Args:
old_objects: the sequence of objects to remove.
Expand Down
8 changes: 4 additions & 4 deletions lglpy/timeline/gui/view.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: MIT
# -----------------------------------------------------------------------------
# Copyright (c) 2024-2025 Arm Limited
# Copyright (c) 2024-2026 Arm Limited
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to
Expand Down Expand Up @@ -67,7 +67,7 @@ class View:
automatically updated on window resize.
menu_item: The GTK menu related to this view.
css: The CSS-ish stylesheet instance for styling the GUI.
background_color:q The view background color.
background_color: The view background color.
'''

MENU_NAME = "<<SubclassMe>>"
Expand Down Expand Up @@ -119,12 +119,12 @@ def activate(self) -> None:

This function does nothing in the base class, but subclasses can use it
to implement deferred behavior which is only triggered when the view is
activated, rather than when it is initialized or data or loaded.
activated, rather than when it is initialized or data is loaded.
'''

def deactivate(self) -> None:
'''
Turn this view into an deactivated view.
Turn this view into a deactivated view.

This function does nothing in the base class, but subclasses can use it
to implement behavior which is triggered when the user switches away
Expand Down
4 changes: 2 additions & 2 deletions source_common/comms/comms_interface.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* SPDX-License-Identifier: MIT
* ----------------------------------------------------------------------------
* Copyright (c) 2024-2025 Arm Limited
* Copyright (c) 2024-2026 Arm Limited
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
Expand Down Expand Up @@ -53,7 +53,7 @@ using MessageData = std::vector<uint8_t>;
* @brief A type used for service endpoint addresses in the host.
*
* Note that this hides the built-in registry service, which uses endpoint
* zero, because a normaluser should not be calling it.
* zero, because a normal user should not be calling it.
*/
static const EndpointID NO_ENDPOINT {0};

Expand Down
4 changes: 2 additions & 2 deletions source_common/comms/comms_module.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* SPDX-License-Identifier: MIT
* ----------------------------------------------------------------------------
* Copyright (c) 2024 Arm Limited
* Copyright (c) 2024-2026 Arm Limited
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
Expand Down Expand Up @@ -116,7 +116,7 @@ class CommsModule : public CommsInterface
*
* Any pending transmit messages will be sent before the socket is closed,
* but it is not guaranteed that any responses to tx_rx messages will be
* preceived or processed.
* received or processed.
*/
virtual ~CommsModule();

Expand Down
4 changes: 2 additions & 2 deletions source_common/comms/test/comms_test_server.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* SPDX-License-Identifier: MIT
* ----------------------------------------------------------------------------
* Copyright (c) 2024 Arm Limited
* Copyright (c) 2024-2026 Arm Limited
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
Expand Down Expand Up @@ -100,7 +100,7 @@ class CommsTestServer
*
* Any pending transmit messages will be sent before the socket is closed,
* but it is not guaranteed that any responses to tx_rx messages will be
* preceived or processed.
* received or processed.
*/
~CommsTestServer();

Expand Down
4 changes: 2 additions & 2 deletions source_common/framework/manual_functions.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* SPDX-License-Identifier: MIT
* ----------------------------------------------------------------------------
* Copyright (c) 2024-2025 Arm Limited
* Copyright (c) 2024-2026 Arm Limited
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
Expand Down Expand Up @@ -161,7 +161,7 @@ APIVersion increaseAPIVersion(const APIVersion& userVersion,
*
* WARNING: This function only works on Android and only works for the bottom
* layer in a stack. Layers higher up the stack are likely to crash, and there
* is no workaround because the the Android loader doesn't implement chainable
* is no workaround because the Android loader doesn't implement chainable
* queries for pre-instance functions.
*
* @param pCreateInfo The instance creation data from the loader.
Expand Down
6 changes: 3 additions & 3 deletions source_common/trackers/layer_command_stream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ class LCSRenderPassBase : public LCSWorkload
/**
* @brief The number of draw calls in the render pass.
*
* Note: This is updated by ther command buffer tracker when the render
* pass is suspended or ended.
* Note: This is updated by the command buffer tracker when the render pass
* is suspended or ended.
*/
uint64_t drawCallCount {0};

Expand Down Expand Up @@ -616,7 +616,7 @@ using LCSInstruction = std::variant<
LCSInstructionWorkload<LCSImageTransfer>,
// The instruction represents a buffer transfer workload operation
LCSInstructionWorkload<LCSBufferTransfer>,
// The instruction represents an acceleration structure buildworkload operation
// The instruction represents an acceleration structure build workload operation
LCSInstructionWorkload<LCSAccelerationStructureBuild>,
// The instruction represents an acceleration structure transfer workload operation
LCSInstructionWorkload<LCSAccelerationStructureTransfer>>;
Expand Down
4 changes: 2 additions & 2 deletions source_common/utils/misc.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* SPDX-License-Identifier: MIT
* ----------------------------------------------------------------------------
* Copyright (c) 2022-2025 Arm Limited
* Copyright (c) 2022-2026 Arm Limited
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
Expand Down Expand Up @@ -179,7 +179,7 @@ static inline bool isInExtensionList(
*
* On 64-bit Arm systems this strips the MTE tag in the top byte, which means
* that the pointer cannot be converted back into a usable pointer without
* triggering an MTE tag violation, so the returns value is for cosmetic use
* triggering an MTE tag violation, so the returned value is for cosmetic use
* only.
*
* @param pointer The pointer to display.
Expand Down