• Show log

    Commit

  • Hash : c0ee7b20
    Author : Yuxin Hu
    Date : 2024-12-12T16:49:40

    Swap getWidth() and getHeight() if the swapchain is 90 emulate rotated
    
    When checking if we need to recreate swapchain, we should swap
    the getWidth() and getHeight()
    if Is90DegreeRoration(mEmulatedPreTransform) is true. This is because:
    
    When creating swapchain, if Is90DegreeRoration(mEmulatedPreTransform) is
    true, we store swapped mSurfaceCaps.currentExtent.width and
    mSurfaceCaps.currentExtent.height in getWidth() and getHeight(),
    but we use the original mSurfaceCaps.currentExtent.width and
    mSurfaceCaps.currentExtent.height to create the swapchain.
    
    On next acquire, to check if the swapchain property changes,
    we should swap getWidth() and getHeight() if
    if Is90DegreeRoration(mEmulatedPreTransform) is true, otherwise we
    are recreating swapchains when width and height are unchanged.
    
    Bug: b/382006939
    Change-Id: I1cbe9da2ff5e76602a90963514d2d0d5fbf677e7
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6090199
    Commit-Queue: Yuxin Hu <yuxinhu@google.com>
    Reviewed-by: Amirali Abdolrashidi <abdolrashidi@google.com>
    Reviewed-by: Charlie Lao <cclao@google.com>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg_l thodg
    Tags