#
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 rendere
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.
show more ...
|
#
8e727810 |
| 23-Feb-2014 |
John Scipione <jscipione@gmail.com> |
Gravity: Live update settings and cleanup
Now that this screensaver shows a preview, update the settings live so that the display updates immediately.
Since this didn't work before this screensaver
Gravity: Live update settings and cleanup
Now that this screensaver shows a preview, update the settings live so that the display updates immediately.
Since this didn't work before this screensaver took a shortcut and only updated the settings when the saver started.
Some other changes include: * Update copyright header, add myself to the authors list. * Convert Particle from using a BList to a BObjectList and remove casts. * Use switch statement to set particle color that has a default case for blue. * Initialize member variables to a default value in the constructor. * Remove Constants.h, the remaining constants are in ConfigView.cpp * Convert deprecated GroupLayoutBuilder to a LayoutBuilder template instance * Convert GravitySource from a class to a struct since all members are public. * Simplify realCount calculation to just a single left shift. * A bunch of style fixes - lots of whitespace fixes - rename rect to frame in GravityView and ConfigView - reorder the frame parameter first in GravityView and ConfigView - curly brace goes on same line as class or struct declaration
This turned out to be a bigger change than I originally intended to make.
show more ...
|
#
ed18c894 |
| 23-Feb-2014 |
John Scipione <jscipione@gmail.com> |
Gravity: Show a preview
Also, we are safe to enable direct mode now.
|
#
25a7b01d |
| 05-May-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge branch 'master' into package-management
Additional changes: * Add src/system/kernel/lib/zlib, which builds a kernel version of zlib, needed by packagefs. * BuildFeatures: Add a build feature
Merge branch 'master' into package-management
Additional changes: * Add src/system/kernel/lib/zlib, which builds a kernel version of zlib, needed by packagefs. * BuildFeatures: Add a build feature "gcc2" to allow for easier checks. * Referenceable.cpp: Include <OS.h> instead of <debugger.h>. The latter is not needed and prevents building for the build platform. * zlib/zutil.h: Fix gcc 2 build. We really should use the external package instead.
Conflicts: .gitignore build/jam/BuildSetup build/jam/FileRules build/jam/FloppyBootImage build/jam/HaikuImage build/jam/ImageRules build/jam/KernelRules build/jam/NetBootArchive build/jam/OptionalBuildFeatures build/jam/OptionalLibPackages build/jam/OptionalPackageDependencies build/jam/OptionalPackages build/scripts/build_haiku_image configure data/bin/installoptionalpackage data/system/boot/Bootscript headers/os/app/Message.h headers/os/package/PackageInfo.h headers/os/package/PackageInfoAttributes.h headers/os/package/PackageInfoSet.h headers/os/package/PackageRoster.h headers/os/package/PackageVersion.h headers/os/package/hpkg/PackageInfoAttributeValue.h headers/os/storage/FindDirectory.h headers/os/storage/Node.h headers/os/support/StringList.h headers/private/system/directories.h src/add-ons/kernel/drivers/audio/ac97/es1370/Jamfile src/add-ons/kernel/file_systems/packagefs/AttributeIndex.cpp src/add-ons/kernel/file_systems/packagefs/Jamfile src/add-ons/kernel/file_systems/packagefs/Package.cpp src/add-ons/kernel/file_systems/packagefs/Package.h src/add-ons/kernel/file_systems/packagefs/PackageDomain.cpp src/add-ons/kernel/file_systems/packagefs/PackageDomain.h src/add-ons/kernel/file_systems/packagefs/PackageFSRoot.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.h src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.h src/add-ons/kernel/file_systems/packagefs/PackageLinksDirectory.cpp src/add-ons/kernel/file_systems/packagefs/PackageNode.h src/add-ons/kernel/file_systems/packagefs/ResolvableFamily.cpp src/add-ons/kernel/file_systems/packagefs/Version.cpp src/add-ons/kernel/file_systems/packagefs/Version.h src/add-ons/kernel/file_systems/packagefs/Volume.cpp src/add-ons/kernel/file_systems/packagefs/Volume.h src/add-ons/kernel/file_systems/packagefs/kernel_interface.cpp src/add-ons/kernel/file_systems/userlandfs/shared/driver_settings.c src/apps/deskbar/BarApp.cpp src/apps/deskbar/BarMenuBar.cpp src/apps/deskbar/BarMenuBar.h src/apps/deskbar/BarView.cpp src/apps/deskbar/BarView.h src/apps/deskbar/BarWindow.cpp src/apps/deskbar/BarWindow.h src/apps/deskbar/DeskbarMenu.cpp src/apps/deskbar/DeskbarMenu.h src/apps/deskbar/DeskbarUtils.cpp src/apps/deskbar/DeskbarUtils.h src/apps/deskbar/ExpandoMenuBar.cpp src/apps/deskbar/ExpandoMenuBar.h src/apps/deskbar/TeamMenu.cpp src/apps/processcontroller/ProcessController.cpp src/apps/remotedesktop/RemoteDesktop.cpp src/bin/bash/config-top.h src/bin/finddir.c src/bin/package/Jamfile src/bin/package/command_add.cpp src/bin/package/command_create.cpp src/bin/package/command_list.cpp src/bin/package_repo/command_list.cpp src/bin/pkgman/command_refresh.cpp src/build/libbe/support/Jamfile src/build/libpackage/Jamfile src/build/libroot/Jamfile src/build/libroot/fs.cpp src/build/libroot/remapped_functions.h src/kits/locale/MutableLocaleRoster.cpp src/kits/opengl/GLRendererRoster.cpp src/kits/package/PackageInfo.cpp src/kits/package/PackageInfoSet.cpp src/kits/package/PackageRoster.cpp src/kits/package/PackageVersion.cpp src/kits/package/RepositoryCache.cpp src/kits/package/hpkg/PackageWriterImpl.cpp src/kits/package/hpkg/ReaderImplBase.cpp src/kits/package/hpkg/WriterImplBase.cpp src/kits/print/PrintTransport.cpp src/kits/print/Printer.cpp src/kits/screensaver/ScreenSaverRunner.cpp src/kits/support/StringList.cpp src/kits/tracker/ContainerWindow.cpp src/kits/tracker/DeskWindow.cpp src/kits/tracker/PoseView.cpp src/libs/print/libprint/Transport.cpp src/preferences/printers/AddPrinterDialog.cpp src/preferences/screensaver/ScreenSaverWindow.cpp src/servers/debug/DebugServer.cpp src/servers/input/AddOnManager.cpp src/servers/media_addon/MediaAddonServer.cpp src/system/boot/Jamfile src/system/boot/loader/Jamfile src/system/boot/loader/loader.cpp src/system/boot/loader/vfs.cpp src/system/kernel/fs/vfs.cpp src/system/kernel/fs/vfs_boot.cpp src/system/libroot/os/find_directory.cpp src/system/runtime_loader/runtime_loader.cpp src/tools/package/Jamfile
show more ...
|
#
dcd112f7 |
| 31-Dec-2012 |
François Revol <revol@free.fr> |
Merge branch 'master' into sam460ex
|
#
8cd10c71 |
| 31-Dec-2012 |
Tri-Edge AI <triedgeai@gmail.com> |
Gravity: Big code changes
* Reworked code style completely. * Improved the behaviour of the particles. * Made particles smaller (2,5x performance gain). * Cleaned unnecessary includes. * Tried impro
Gravity: Big code changes
* Reworked code style completely. * Improved the behaviour of the particles. * Made particles smaller (2,5x performance gain). * Cleaned unnecessary includes. * Tried improving performance with glCallList - performance dropped even more. * Tried improving performance with glDrawArrays - no noticeable performance changes.
show more ...
|
#
28d17018 |
| 29-Dec-2012 |
François Revol <revol@free.fr> |
Merge branch 'master' into sam460ex
|
#
93f12425 |
| 27-Dec-2012 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
screensaver: Add gravity based on GCI 2012 work
* A modified version of TriEdgeAI's original work. * Cleaned up style problems * Some virtual functions didn't mesh properly with ones defined in th
screensaver: Add gravity based on GCI 2012 work
* A modified version of TriEdgeAI's original work. * Cleaned up style problems * Some virtual functions didn't mesh properly with ones defined in the OpenGL kit (Draw for example) * Wrote Jamfile * Add missing include cstdlib for rand * Not in image yet as it still needs gcc2 testing
show more ...
|