• Show log

    Commit

  • Hash : 20ddb802
    Author : Gregg Tavares
    Date : 2021-10-28T11:01:12

    Fix Blitting in Metal backend.
    
    The Metal backend was clipping in integer space.
    If the src and dst are not the same size,
    say src is 3 wide and dst is 4 wide, and src
    starts at -1, then src will be clipped by one
    making the src 2 wide. It got 1/3 smaller so the
    dst get 1/3 smaller making it 2.666 pixels wide.
    The dst then needs to be expanded to pixels so 3 wide.
    But, that means the src also needs to be expanded
    0.3333 * 3(originalSrcWidth) / 4(originalDstWidth)
    so its new left edge is -0.245 which is not an integer.
    
    Bug: angleproject:6598
    Change-Id: I2faa966b18b457f474a3e7f6844ef64bfa66dbe8
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3251683
    Reviewed-by: Kenneth Russell <kbr@chromium.org>
    Reviewed-by: Geoff Lang <geofflang@chromium.org>
    Reviewed-by: Kyle Piddington <kpiddington@apple.com>
    Commit-Queue: Gregg Tavares <gman@chromium.org>
    

  • 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
    kc3_lang_org thodg_w www_kmx_io thodg_l thodg thodg_m
    Tags