• Eric Karl's avatar
    Logging to ensure that non-offscreen surfaces are destroyed as expected · a569f96f
    Eric Karl authored
    We're hitting scenarios where it appears that we may be creating an
    EGL window surface for a given window before destroying the previous.
    This leads to errors on Android, and shouldn't be possible. We're
    suspecting that someone may be taking a reference on the glSurface,
    extending the lifetime beyond the expected range. This CL adds logging
    to catch this scenario.
    
    Bug: 787086
    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
    Change-Id: I31bb0c55fb393a0719486f32f885273ee81ab9f8
    Reviewed-on: https://chromium-review.googlesource.com/802186
    Commit-Queue: Eric Karl <ericrk@chromium.org>
    Reviewed-by: default avatarBo <boliu@chromium.org>
    Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#522293}
    a569f96f
gles2_cmd_decoder.cc 744 KB