summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2019-07-22 12:52:19 -0700
committerVishnu Nair <vishnun@google.com>2019-07-22 12:56:54 -0700
commit49230c4277af5f900186ef1ac3b6df7889dfc97f (patch)
tree98409bc7268291b8fb9ade0140d16e465cb82f24 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd387b1b2b9bb9fb7fa847e9f9b7b49c002854beb (diff)
Add surface changed callbacks to ViewRootImpl
Allow SurfaceView to be notified when the ViewRootImpl surface changes, is created or destroyed. The callbacks include a SurfaceControl Transaction object which can be used to synchronize SurfaceControl changes by the system. In particular, the transaction will be used to update the relative z order of the SurfaceView surface when the ViewRootImpl surface changes. WMS is responsible for providing ViewRootImpl a new surface as well as reparenting its children (SurfaceViews). The transaction will be applied by the service when it is ready to show the new surface, synchronizing the reparenting with the relative z update. Bug: 132205507 Test: go/wm-smoke Change-Id: Ie5aed430d09cc6d3a0a99f618094b3a50dbaa5cc
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions