• kylechar's avatar
    Add parameter to force |is_hwnd_composited_| false. · 6435a49c
    kylechar authored
    Add an parameter to SoftwareOutputDeviceWin to always set
    |is_hwnd_composited_| to false. This parameter is only set true when
    running OOP-D (eg. VizDisplayCompositor feature) so it should have no
    effect on normal canary users.
    
    The reason for this CL is that the calls to SetWindowLong() and
    UpdateLayeredWindow() don't work in the GPU process. The other drawing
    path works correctly. Certain top level windows, for example the omnibox
    popup or the URL tooltip, use this path and don't show up with OOP-D.
    
    Not using the layered window drawing path works properly on Windows 10.
    I'm not totally sure how it will effect Windows 7 and Vista, hence this
    patch to make it possible to test with canary. This should be reverted
    after testing.
    
    Bug: 826633
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel
    Change-Id: If632d25c7111161e2a84caae8dc7b13d65f9ff51
    Reviewed-on: https://chromium-review.googlesource.com/1022123Reviewed-by: default avatardanakj <danakj@chromium.org>
    Commit-Queue: kylechar <kylechar@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#552464}
    6435a49c
gpu_display_provider.cc 8.69 KB