summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2021-11-08 16:01:31 -0600
committerchaviw <chaviw@google.com>2021-11-08 16:30:05 -0600
commit5ed18499acb99b992c9bd5f4e0f937695c4b632d (patch)
treea017d1687f6eef58334cd80d99fd4fdbc8cbbeaf /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent336c20ea3590bc5ac588e129a0199cd3943e621f (diff)
Remove overlay when DC is mirroring
Layers can be added to the overlay when DisplayContent is mirroring which would add content that's not from the original display. This change puts the overlay layer offscreen so the root layer will only have the mirrored content below. This fixes an issue where screen recording with MediaProjection would show a black frame as the first frame. That frame was the RotationLayer getting put on top since the system thinks it needs to freeze the display. Test: No longer black frame as first frame in recording Test: SurfaceViewSyncTest Fixes: 205235272 Change-Id: I96323db05221d02db4d7762c7f36d3af904ef49e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions