RebbleOS
RebbleOS copied to clipboard
graphics_capture_frame_buffer should use backing buffer living in app RAM
On PebbleOS, graphics_capture_frame_buffer allocates a backing buffer that lives in app RAM that only has a copy of the unobstructed portion of the framebuffer. This prevents apps from overwriting (or, indeed, stealing) notification / overlay data. This will also be necessary once we turn on the MPU.