summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2001-01-11 16:39:21 +0000
committerAlexander Larsson <alexl@src.gnome.org>2001-01-11 16:39:21 +0000
commitb29eece81f4b4457a15397b0476fec6e036f72e8 (patch)
tree685bd8045b3bed3605c64497a250376d049d95ad /acconfig.h
parentd2c345480b590bbd2f95e8e92687bce18fd4c289 (diff)
downloadgdk-pixbuf-b29eece81f4b4457a15397b0476fec6e036f72e8.tar.gz
Added ENABLE_SHADOW_FB
2001-01-11 Alexander Larsson <alexl@redhat.com> * acconfig.h: Added ENABLE_SHADOW_FB * configure.in: Added --disable-shadowfb * gdk/linux-fb/gdkcursor-fb.c: Update shadowfb when updating cursor * gdk/linux-fb/gdkdrawable-fb2.c: Added wrappers for shadowfb that calls the normal drawable methods, but calls gdk_shadow_fb_update(bounding box) when GdkWindows are drawed to. Moved gdk_draw_glyphs implementation to _gdk_draw_glyphs which also returns the bounding box. * gdk/linux-fb/gdkfb.h: Added GdkFBAngle type and gdk_fb_set_rotation declaration. * gdk/linux-fb/gdkgeometry-fb.c: Update shadowfb when scrolling window. * gdk/linux-fb/gdkglobals-fb.c: Add _gdk_fb_screen_angle. * gdk/linux-fb/gdkkeyboard-fb.c: Test code for screen rotation. Shift-F2 in the xlate driver rotates the screen. * gdk/linux-fb/gdkmain-fb.c: Handle shadowfb. Add gdk_fb_set_rotation(). Remove CM and RP. * gdk/linux-fb/gdkmouse-fb.c: Use fb_width/height instead of modeinfo.xres/yres. * gdk/linux-fb/gdkprivate-fb.h: Added fb_men, fb_width, fb_height & fb_stride. When using shadow fb these can differ from the framebuffer stuff. Declarations for gdk_shadow_fb_update, gdk_shadow_fb_init, gdk_shadow_fb_stop_updates, gdk_fb_recompute_all, _gdk_fb_screen_angle. Removed CM, RP. * gdk/linux-fb/gdkrender-fb.c: Added code for shadowfb handling and screen rotation using shadowfb. * gdk/linux-fb/gdkwindow-fb.c: Use fb_mem, fb_stride, fb_width, fb_height. Added recompute_rowstride to reset the rowstride of all windows. Added gdk_fb_recompute_all() which recomputes rootwindow size, window abs positions and window rowstrides. Usefull when the rotation has changed.
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index 32fc21dbf..f2f4b4a1e 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -47,6 +47,9 @@
/* Define to use XKB extension */
#undef HAVE_XKB
+/* Define to use shadowfb in the linux-fb port */
+#undef ENABLE_SHADOW_FB
+
#undef XINPUT_NONE
#undef XINPUT_GXI
#undef XINPUT_XFREE