|
| void | _compose_dirty_area_ (ChCanvas *canvas, Window *win, Window *focusedWin, WinSharedInfo *info) |
| | Check for small area updates !! not entire window.
|
| |
| void | _compose_entire_window (ChCanvas *canvas, Window *win, bool _window_update_all_, WinSharedInfo *info, Window *focusedWin, bool _window_moving_, bool _shadow_update) |
| | compose_entire_window – composes an entire window to canvas
|
| |
| void | compose_window_zoomed (ChCanvas *canvas, Window *win, WinSharedInfo *info) |
| | compose_window_zoomed – stretched-fill bilinear upscale of a window buffer to the full scanout (WinSharedInfo->zoomed)
|
| |
| void | compose_window_scaled_to (ChCanvas *canvas, Window *win, int src_w, int src_h, int dst_x, int dst_y, int dw, int dh) |
| | compose_window_scaled_to – scales the window's own buffer (src_w x src_h) to (dw x dh) and alpha-blends it onto the canvas at (dst_x, dst_y). Clipped to the canvas, NEON fast path kept.
|
| |
| void | compose_window_scaled_to_clip (ChCanvas *canvas, Window *win, int src_w, int src_h, int dst_x, int dst_y, int dw, int dh, int clip_x, int clip_y, int clip_w, int clip_h) |
| | compose_window_scaled_to_clip – scales the window's own buffer (src_w x src_h) to (dw x dh) and alpha-blends it onto the canvas at (dst_x, dst_y). Clipped to the canvas, NEON fast path kept.
|
| |
| void | _compose_always_on_top_dirty (ChCanvas *canvas, WinSharedInfo *info, bool _window_moving_, Window *focusedWin, Window *win) |
| | _compose_always_on_top_dirty – compose always on top window's dirty rectangles
|
| |
| void | _compose_always_on_top_entire (ChCanvas *canvas, Window *win, bool _always_on_top_update, bool _window_moving_, WinSharedInfo *info, Window *rootWin) |
| | _compose_always_on_top_entire – compose entire always on top window
|
| |
compose_entire_window – composes an entire window to canvas
- Parameters
-
| canvas | – Pointer to Deodhai canvas |
| win | – Pointer to main window to compose |
| _window_update_all_ | – update all bit |
| info | – Pointer to main window info struct |
| focusedWin | – focused window pointer |
| _window_moving_ | – window moving bit |
| _shadow_update | – shadow update bit which tells if we need to update shadows or not |
if ((info->x - SHADOW_SIZE) <= 0) { info->x = 5 + SHADOW_SIZE; winx = info->x; glass_invalidate(win); }
if ((info->y - SHADOW_SIZE) <= 0) { info->y = 5 + SHADOW_SIZE; winy = info->y; glass_invalidate(win); }
if ((info->x + 24) >= (int)canvas->screenWidth) info->x = canvas->screenWidth - 24;
if ((info->y + 24) >= (int)canvas->screenHeight) info->y = canvas->screenHeight - 24;