Skip to content
Draft
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
28 changes: 28 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Checked by .github/workflows/lint-cpp.yml; run `bun lint-cpp` to apply.
# Written for the clang-format version pinned in scripts/clang-format.sh.
#
# Tuned to the code as it was written rather than a stock style, so adopting it
# moved few lines. ColumnLimit 0 keeps the author's line breaks: wrapping is a
# review call here, not a formatter's.
BasedOnStyle: Google
Standard: c++20
ColumnLimit: 0

# Pointer and reference alignment
DerivePointerAlignment: false
PointerAlignment: Left

# Short blocks
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortEnumsOnASingleLine: true

# Includes and comments are ordered and worded by hand
IncludeBlocks: Preserve
SortIncludes: Never
ReflowComments: false
SpacesBeforeTrailingComments: 2

AccessModifierOffset: -1
4 changes: 2 additions & 2 deletions .claude/skills/rn-tgfx/references/vision-camera.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ behind it.
and a `try`/`finally` releases the buffer and disposes the frame on every path
including a throw. Your callback runs inside that same `try`.

## Face blur — the reference app
## Face blur

`apps/example/src/TgfxFaceBlur.tsx`. The scene compiles once, so allocate a
The scene compiles once, so allocate a
**fixed** number of slots; an unused slot has zero size and draws nothing.

```tsx
Expand Down
255 changes: 0 additions & 255 deletions .github/workflows/ci.yml

This file was deleted.

Loading
Loading