• jbauman's avatar
    Allow putting NV12 software GMBs into overlays on windows · 60b4d8b2
    jbauman authored
    Copy the shared-memory NV12 GpuMemoryBuffer into an NV12 D3D11 dynamic
    texture, which can be used as the source for the video processing that
    goes to the backbuffer.
    
    This still needs --enable-gpu-memory-buffer-video-frames to be enabled.
    In my testing it reduces power on a 1080p60 VP9 video from 4W to 3.1W.
    
    BUG=716286
    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/2849963003
    Cr-Commit-Position: refs/heads/master@{#469558}
    60b4d8b2
gl_image_memory.cc 16.3 KB