aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/display_manager.cpp
AgeCommit message (Collapse)Author
2012-06-20PSP: Replace OverlayColor with uint16.Johannes Schickel
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-06-30ALL: Require DECLARE_SINGLETON to be used in the Common namepsaceOri Avtalion
Silences the clang warning: static data member specialization of '_singleton' must originally be declared in namespace 'Common'; accepted as a C++0x extension [-Wc++0x-extensions] Wrapping "namespace Common {}" around the macro assignment causes clang to complain about a spurious semicolon, and removing the semicolon at the end of the macro causes some editors to misbehave. Changing the requirement of using the macro in one namespace (the global) to another (Common) seems a small price to pay to silence a warning.
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-24PSP: Fix compilationMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-12-17PSP: fixed bug exhibited in Gob engine with blacked out video framesYotam Barnoy
The problem was that I was allowing changes to the palette (in this case) even before the separate display thread, which is synchronized to vsync, was done drawing. This caused the palette to change mid-render. The fix is a semaphore synchronizing the threads. svn-id: r54942
2010-11-29BACKENDS: Fix SVN keyword usage.Johannes Schickel
svn-id: r54584
2010-11-18PSP: reduced fragmentation by allocating overlay just onceYotam Barnoy
svn-id: r54316
2010-11-16COMMON: Simplify DECLARE_SINGLETON macroMax Horn
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258
2010-10-14PSP: added image viewer for viewing images during gamesYotam Barnoy
svn-id: r53455
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-09-20PSP: moved VramAllocator to display_manager.cpp.Yotam Barnoy
It didn't really belong in memory.cpp and we're going to want to include memory.h everywhere. * * * PSP: more Vram Allocator cleanup svn-id: r52815
2010-08-17PSP: changed display options to Full Screen, Keep Aspect Ratio and Original ↵Yotam Barnoy
Resolution This greatly simplifies the display options and makes them more practical. Original resolution will try to fit the game to the screen pixel-to-pixel, and will revert to full screen if it fails. Keep AR maximizes height and adjusts the width accordingly. This works very well with 320x200 games (AR of 1.6) which is close to the PSP's 1.7, but not so well with 320x240/640x480 (AR of 1.3). Full Screen is still default. svn-id: r52138
2010-08-03PSP: Factored out thread creation routines into PspThreadable class.Yotam Barnoy
This should aid in further optimizations. svn-id: r51685
2010-06-15SYSTEM: Unify OSystem::getSupportedFormats() signatureMax Horn
svn-id: r49838
2010-06-10PSP: swapped order of checks in renderAll. It's a little cheaper this way.Yotam Barnoy
svn-id: r49574
2010-06-09PSP: fixed missing frame issue with kyrandia and possibly other games by ↵Yotam Barnoy
calling updateScreen() from pollEvent() once in a while svn-id: r49541
2010-05-23PSP: replaced SDL's timer with much simpler and more efficient PspTimer classYotam Barnoy
svn-id: r49155
2010-05-20PSP: Had to switch to different way of using callbacks as last one wasn't ↵Yotam Barnoy
working well. Seems to be working well this way, so I activated it. If need be, deactivate it by commenting out USE_DISPLAY_CALLBACK svn-id: r49115
2010-05-17PSP: added option for render by callback and fixed up and cleaned up debug ↵Yotam Barnoy
mechanism. This allows for about 4% speedup since we no longer need to wait for VSYNC in our main thread. I'll activate it as soon as I've tested it out properly. svn-id: r49055
2010-04-25PSP: A couple of small fixes to the debugging supportYotam Barnoy
svn-id: r48793
2010-04-25PSP:Implemented fingolfin's suggestion for cleaning up debugging codeYotam Barnoy
svn-id: r48792
2010-04-12PSP: Fix code formatting using astyleMax Horn
svn-id: r48634
2010-04-12PSP: refactoring/redesign of the backendYotam Barnoy
svn-id: r48632