History log of /haiku/src/add-ons/screen_savers/glife/GLifeSaver.h
Revision Date Author Comments
# 1333f5f7 14-Aug-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Fix GL screensavers in non-direct mode.

DirectDraw is called only in direct drawing mode (BDirectWindow). Our GL
kit also works fine (but slower) in indirect mode (standard BWindow, GL
stuff rendered offscreen then blitted). However, for this to work we
need the screensavers to actually do something. Use the
BScreenSaver::Draw method, which is called in either case.

This makes it possible to use indirect mode for the preview of GL
screensavers. The performance isn't really a problem on the very small
preview (160x200 pixels).

Fixes GLife and Gravity. Flurry still crashes Mesa.


# 4b66f476 07-Apr-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

glife: Style cleanup. Spaces. No functional change.


# f6dff255 07-Apr-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

glife: Style cleanup. Class var names. No functional change.


# 3c94b5cb 06-Apr-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

glife: Rename *.hpp to *.h


# 1333f5f77b3556974cac8ef2906ee03c3caf2875 14-Aug-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Fix GL screensavers in non-direct mode.

DirectDraw is called only in direct drawing mode (BDirectWindow). Our GL
kit also works fine (but slower) in indirect mode (standard BWindow, GL
stuff rendered offscreen then blitted). However, for this to work we
need the screensavers to actually do something. Use the
BScreenSaver::Draw method, which is called in either case.

This makes it possible to use indirect mode for the preview of GL
screensavers. The performance isn't really a problem on the very small
preview (160x200 pixels).

Fixes GLife and Gravity. Flurry still crashes Mesa.


# 4b66f476de4dd838321f118fdc319ad93dc50d08 07-Apr-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

glife: Style cleanup. Spaces. No functional change.


# f6dff2557639555a70898624c937f319c6efcc9b 07-Apr-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

glife: Style cleanup. Class var names. No functional change.


# 3c94b5cb05058d92687da398daedfe91634e1b34 06-Apr-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

glife: Rename *.hpp to *.h