Skip to content

Surface input#259

Merged
JohanBlome merged 4 commits intomasterfrom
surface_input
Dec 13, 2025
Merged

Surface input#259
JohanBlome merged 4 commits intomasterfrom
surface_input

Conversation

@JohanBlome
Copy link
Copy Markdown
Owner

No description provided.

Signed-off-by: Johan Blome <johan@gunhildcarling.net>
Added optional tracing controlled by enable_tracing CLI flag.

Usage:
  adb shell am start -n com.facebook.encapp/.MainActivity \
    --es test "/sdcard/test.pbtxt" \
    --ez enable_tracing true

Signed-off-by: Johan Blome <johan@gunhildcarling.net>
Added high-performance GL-based fake input using FakeGLRenderer for
SurfaceEncoder. This provides zero-CPU-overhead synthetic video generation
by rendering animated patterns directly on the GPU.

Fixed encoding time measurement to accurately measure only encoder processing
time, not preparation overhead. Measurement now starts after swapBuffers()
when the frame is submitted to the encoder, matching YUV measurement timing.

Signed-off-by: Johan Blome <johan@gunhildcarling.net>
Signed-off-by: Johan Blome <johan@gunhildcarling.net>
@JohanBlome JohanBlome merged commit 0f815d3 into master Dec 13, 2025
4 checks passed
@JohanBlome JohanBlome deleted the surface_input branch December 13, 2025 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant