Age | Commit message (Collapse) | Author |
|
This fixes a segfault when trying to use the OpenGL backend with 16bpp games,
however this does not make Last Express nor Loom PC-Engine Japanese work for
me. They now fail with a "Pixel format not supported" error.
|
|
When doing glTexSubImage2D we do not need to assure that the source data has
the same width as the texture when we want to update the data, we just need
to assure that the width * Bpp cound matches the pitch.
|
|
If we do not do this, we might end up with a default alignment of 4, which will
fail (as in the graphics will be messed up) in case the screen resolution is
not divisible by 4.
Thanks to digitall for noticing this problem and finding out about
GL_UNPACK_ALIGNMENT.
|
|
This fixes messed up graphics, when SDL decides to add padding bytes to the
lines of an SDL_Surface. Formerly the code always calculated the pitch via
w*bpp, which of course does not work in all cases.
|
|
master
Conflicts:
backends/platform/android/android.cpp
engines/sci/graphics/screen.cpp
engines/sci/graphics/transitions.cpp
|
|
change.
This fixes a slight move of the mouse cursor when the hardware mouse position
is at a subpixel from the logical coordinates.
|
|
Rather than that I introduced a function which converts hardware screen
coordinates to overlay / game screen coordinates.
The logic which converts mouse movement events with hardware screen
coordinates to overlay / game screen coordinates is now inside notifyEvent.
This is still broken design, since one should not abuse an observer for that.
|
|
|
|
change.
|
|
|
|
|
|
svn-id: r55807
|
|
svn-id: r55806
|
|
This fixes some hangs when calling the GMM while running Fascination.
svn-id: r55166
|
|
This actually still has the drawback that if one calls OSystem::updateScreen
from the sound thread that it might crash. Hopefully no code does this though...
svn-id: r54830
|
|
I added an comment explaining why OSD is broken currently. The basic problem is
that OpenGL is not thread safe, thus in case we try to display any message on
the OSD from the sound thread for example it will result in crashes.
svn-id: r54829
|
|
svn-id: r54756
|
|
svn-id: r54755
|
|
svn-id: r54754
|
|
svn-id: r54734
|
|
defined (a regression from r54704)
svn-id: r54732
|
|
us :)
svn-id: r54704
|
|
OpenGL 1.2 compatibility in Windows systems
svn-id: r54700
|
|
svn-id: r54696
|
|
svn-id: r54695
|
|
svn-id: r54587
|
|
svn-id: r54583
|
|
svn-id: r54579
|
|
svn-id: r54575
|
|
svn-id: r54573
|
|
svn-id: r54572
|
|
svn-id: r54569
|
|
svn-id: r54553
|
|
svn-id: r54545
|
|
svn-id: r54542
|
|
svn-id: r54541
|
|
svn-id: r54540
|
|
svn-id: r54533
|
|
svn-id: r54532
|
|
svn-id: r54531
|
|
It seems in the gsoc2010-opengl branch, the dingux port was not anymore
updated at some point, so some changes that were made in general did not
make it till here. This is my attempt to fix at least the most obvious
problems, but without being able to compile it, all these changes should
be very carefully reviewed.
svn-id: r54522
|
|
svn-id: r54520
|
|
svn-id: r54518
|
|
Moved events related code to backends/events/dinguxsdl/*
and move graphics related code to backends/graphics/dinguxsdl/*
Subclass OSystem_POSIX instead of OSystem_SDL
svn-id: r53730
|
|
svn-id: r53435
|
|
Formerly SdlEventManager was a subclass of DefaultEventManager but did not
really have anything in common with the idea of our EventManager interface.
Now I made a new object SdlEventSource which only subclasses EventSource
and which is responsible for obtaining events from SDL (and processing them).
svn-id: r53433
|
|
This includes an rather hacky attempt to merge all the recent gp2x backend
changes into the branch. I suppose the gp2x backend and probably all new
backends, i.e. gph, dingux etc., might not compile anymore.
Since I have no way of testing those it would be nice if porters could look
into getting those up to speed in this branch.
svn-id: r53399
|
|
svn-id: r52503
|
|
svn-id: r52502
|
|
Now the previous aspect ratio modes are handled as GFX modes. The previous
GFX modes were for scaling, but are removed now. A new 4/3 display mode
added. Added Ctrl-Shift-A for backward switching through display modes, and
Ctrl-Alt-<number key> for switching to a specific GFX mode.
Window resizing now is available for all display modes, and will
automatically change the scale factor as well as maintain the aspect ratio
when needed.
svn-id: r52501
|