DescriptionCompositing Layer update for OffscreenCanvas resize
After OffscreenCanvas resizes, OffscreenCanvasFrameDispatcher will pick up
the new size in the next commit() and prepares a compositor frame that is of
the new size. OffscreeCanvasCompositorFrameSink, the browser service-end of
FrameDispatcher, will re-create a new Surface upon detection of a different
size. Then it propagates the resizing information to OffscreenCanvasSurfaceImpl,
which then sends an IPC back to CanvasSurfaceLayerBridge to re-create a new
SurfaceLayer for HTMLCanvasElement on renderer/main.
This CL just creates the most basic functioning of OffscreenCanvas resize. It
does not consider the case when resizing happens after the last commit(). More
refactoring on OffscreenCanvasSurfaceImpl will be done to remove the sync IPC
in the future.
BUG=662498
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
Patch Set 1 #Patch Set 2 : test #
Total comments: 1
Messages
Total messages: 4 (2 generated)
|