Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Updating the display

In Brew MP, a display update is the process of copying all or part of a device bitmap buffer to the corresponding display, displaying the content of the device bitmap buffer on the screen. This process is illustrated in the following figure:

When Brew MP or an application calls IDisplay_Update(), an asynchronous update is initiated by IBitmapDev_Update(). The device bitmap's IBitmapDev2_Update() calls IDisplayDev_Update(), where the remote service IDisplayDev1_UpdateAsync() is called. IDisplayDev1_UpdateAsync() calls the Mobile Display Processor (MDP) driver, passing it the device bitmap buffer to be copied to the frame buffer for the LCD.