summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorNaomi Musgrave <nmusgrave@google.com>2021-06-17 11:44:17 +0100
committerNaomi Musgrave <nmusgrave@google.com>2021-07-30 09:48:42 +0000
commit45dd2a320205a58a44cd636aaa4ec6bed175b27b (patch)
tree71831f70ffc9e830932d1f465777f75407fcaed0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9e0dd926999f085289f782c61f0469f9fffe944f (diff)
MediaProjection captures DisplayArea
MediaProjection is used by apps to capture the contents of a display. Apps consume the content from a surface passed in to MediaProjection#createVirtualDisplay. The images written out to the surface can be used for saving screenshots of the current display, screen recording, or casting to a different display. MediaProjection is currently tied to capturing a physical display. This change instead captures the DisplayArea the app is launched on. This is consistent with Display API sandboxing, which returns the DisplayArea bounds rather than the physical display bounds. Note that apps use the Display APIs to size the VirtualDisplay and output surface. Verified: screenshots, screen recording, and casting Bug: 180624777 Test: atest WmTests:DisplayContentTests Change-Id: I909e9d32f573aec33869d9f49d6caffc8d7420aa
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions