Skip to content
  • John Koleszar's avatar
    Avoid allocating memory when resizing frames · c03d45de
    John Koleszar authored
    As long as the new frame is smaller than the size that was originally
    allocated, we don't need to free and reallocate the memory allocated.
    Instead, do the allocation on the size of the first frame. We could
    make this passed in from the application instead, if we wanted to
    support external upscaling.
    Change-Id: I204d17a130728bbd91155bb4bd863a99bb99b038