DescriptionOffset scissor and viewport when using SetDrawRectangle on surface.
IDCompositionSurfaces get an update offset when SetDrawRectangle is
called on them. Whenever the context changes to make the default surface
current then the viewport and scissor must be offset by that amount for
drawing to behave correctly. When switching away from the default
framebuffer it needs to use the normal values again.
BUG=678800
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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
Review-Url: https://codereview.chromium.org/2735853002
Cr-Commit-Position: refs/heads/master@{#455610}
Committed: https://chromium.googlesource.com/chromium/src/+/974594311dcca2f77edf9d5b72d6cdbf58b1303e
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : remove flag #Dependent Patchsets: Messages
Total messages: 24 (18 generated)
|