diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2021-02-17 13:36:05 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2021-02-17 13:40:08 -0800 |
commit | e20ef8bc89925bac9499595169de5ef4ff805194 (patch) | |
tree | 554f345a65e5c514aefccb8378dc0d6c056c53c1 /src/main.c | |
parent | 68c56c156fcfe4909c65e2eea6ed5d8518c91792 (diff) |
gtk_fb: move window_{new,destroy} to fb_{init,shutdown}
Pages get allocated before fb_acquire, and when creating similar
pages to the underlying window it creates a depenency on the
window being available before acquire. So move the window
create/destroy to the fb init and shutdown, acquire/release now
operate on the image within.
This commit also switches to using:
gdk_window_create_similar_image_surface()
for allocating pages, which may be more performant on backends
like X through the use of shared memory.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions