Skip to content

Commit

Permalink
add note pointing to Apple Q&A
Browse files Browse the repository at this point in the history
  • Loading branch information
filleduchaos committed Mar 24, 2024
1 parent c37dba7 commit c03f365
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/desktop/src-tauri/src/capture/src/common/quartz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ impl Frame <'_> {
// aligned to squeeze the best performance out of the underlying hardware; in other words,
// each row/scanline has to be cleanly divisible by a hardware-specific byte length so that
// the buffer can be read in chunks without running into overlapping rows in a single chunk.
// This behaviour is only referred to fairly obliquely in documentation - for instance on
// [this page](https://developer.apple.com/library/archive/qa/qa1829/_index.html).
//
// This means that certain Mac configurations can end up with pixel buffers that contain
// more bytes per row than would be expected from just the row width and the image format.
Expand Down

0 comments on commit c03f365

Please sign in to comment.