History log of /haiku/src/add-ons/screen_savers/glife/GLifeSaver.cpp
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.


# 82378142 23-Feb-2014 John Scipione <jscipione@gmail.com>

GLifeSaver: Show a preview

Also, we are safe to enable direct mode now.


# 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.


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

glife: Ensure viewport isn't null.

* Ensure we don't dereference a null pointer.
* Fixes GLife crash


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

glife: Initial style cleanup


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

glife: Rename *.hpp to *.h


# 0b4c5624 01-Apr-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

screen_savers: Initial import of GLife

* Donated to Haiku by author (Aaron Hill) under
the MIT license.
* Resources conveted to rdef
* Headers cleaned up
* Jamfile created


# 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.


# 823781426ff1e24083056d679211ee549a86e7af 23-Feb-2014 John Scipione <jscipione@gmail.com>

GLifeSaver: Show a preview

Also, we are safe to enable direct mode now.


# 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.


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

glife: Ensure viewport isn't null.

* Ensure we don't dereference a null pointer.
* Fixes GLife crash


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

glife: Initial style cleanup


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

glife: Rename *.hpp to *.h


# 0b4c5624c6489a344c23e8f203f2897f8639aa1d 01-Apr-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

screen_savers: Initial import of GLife

* Donated to Haiku by author (Aaron Hill) under
the MIT license.
* Resources conveted to rdef
* Headers cleaned up
* Jamfile created