haiku/src/servers/app
Axel Dörfler e5b4782b4e Made some necessary enhancements to class Screen; the app_server also
has to care about refresh rates. Also changed Screen::GetMode() (formerly
Resolution()) to return all interesting values, so that hopefully no one
will call it anymore like RootLayer::SetScreens() did.
Greatly improved the horrible RootLayer::SetScreens().
The app_server is now able to deal with failing HWInterface::SetMode() calls;
in this case, it will fall back to the hardware's current mode. This now
also works correctly in combination with the vesa driver, so that you don't
have to compile the app_server with the same resolution you boot in anymore.
SetMode() now always returns if it succeeded or not.
Renamed RootLayer::fScreenXYResolution to fScreenWidth/Height respectively.
Removed the useless DisplayDriver::DisplayMode() method.
Added B_GET_DISPLAY_MODE to the required accelerant hooks.
Some minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-26 09:21:51 +00:00
..
drawing Made some necessary enhancements to class Screen; the app_server also 2005-05-26 09:21:51 +00:00
fonts Forgot to update fonts Jamfiles - ideally, these should be moved somewhere else, 2005-03-24 14:51:25 +00:00
Angle.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
Angle.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
app_server.rdef app_server.rsrc is no longer used (we already have the .rdef file). 2005-03-29 16:38:17 +00:00
AppServer.cpp just a little cleanup, made PNG screenshots work 2005-05-15 00:22:55 +00:00
AppServer.h just a little cleanup, made PNG screenshots work 2005-05-15 00:22:55 +00:00
BGet++.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
BGet++.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
BitmapManager.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
ColorSet.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
CursorData.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
CursorData.h step 3, exracted code from DisplayDriver into DisplayDriverImpl, adjusted the existing implementations to derive from the new class, got rid of some "friend" stuff along the way, essentially I made room for the new Painter based DisplayDriver implementation. 2005-03-25 17:29:20 +00:00
CursorManager.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
CursorManager.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
DebugInfoManager.cpp added a little debugging facility for printing on-screen debugging info on Haiku. For those like me without serial debugging... also made RootLayer use the desktop background color. 2005-05-25 23:59:23 +00:00
DebugInfoManager.h added a little debugging facility for printing on-screen debugging info on Haiku. For those like me without serial debugging... also made RootLayer use the desktop background color. 2005-05-25 23:59:23 +00:00
Decorator.cpp refactoring and cleanup in LayerData and friends, it shows what I mean by "forced code paths" for example in coupled font size and view scale, added a couple TODOs, disabled decoupled frame buffer transfers, it is buggy and deadlocks for some reason... 2005-04-19 00:42:42 +00:00
DefaultDecorator.cpp refactoring and cleanup in LayerData and friends, it shows what I mean by "forced code paths" for example in coupled font size and view scale, added a couple TODOs, disabled decoupled frame buffer transfers, it is buggy and deadlocks for some reason... 2005-04-19 00:42:42 +00:00
DefaultDecorator.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
Desktop.cpp Made some necessary enhancements to class Screen; the app_server also 2005-05-26 09:21:51 +00:00
Desktop.h Implemented support for BWindow::SetFeel() 2005-04-21 18:57:34 +00:00
FMWList.cpp Big cleanup. 2005-04-16 13:30:49 +00:00
FMWList.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
FontFamily.cpp Added a TODO item 2005-05-08 06:24:35 +00:00
FontServer.cpp FT_New_Face is a quite heavy function and shouldn't be called for every StringWidth, StringHeight and DrawString call. We now keep it open in FontStyle and destroy it there too. 2005-03-25 21:02:40 +00:00
Globals.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
IPoint.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
Jamfile added a little debugging facility for printing on-screen debugging info on Haiku. For those like me without serial debugging... also made RootLayer use the desktop background color. 2005-05-25 23:59:23 +00:00
Layer.cpp added a little debugging facility for printing on-screen debugging info on Haiku. For those like me without serial debugging... also made RootLayer use the desktop background color. 2005-05-25 23:59:23 +00:00
Layer.h Work in Progress. The server keeps the client window up to date on layer movement/resizing. This fixes quite a few problems and brings support for FrameMoved and Resized hooks. But implementing it this way has its own set of problem, most importantly: When a BView calles Window()->CurrentMessage() in its FrameMoved/Resized hooks, it will see something very different from what it would see in R5. This needs to be fixed, but I have not had a good idea how to do this other than faking the current message in BWindow, which I didn't look into. 2005-05-16 15:39:58 +00:00
LayerData.cpp just a little cleanup, made PNG screenshots work 2005-05-15 00:22:55 +00:00
PicturePlayer.cpp DisplayDriver::DrawBitmap() takes no more region, the clipping is expected to be already set, as with all other drawing functions. Moved bitmap drawing message dispatching in the drawing messages area, where the correct clipping is set too. Moved cases for messages that don't need clipping applied, ie which don't draw anything, into the normal dispatch function. This means SetHighColor() and so on will no longer rebuild the clipping in Painter. Would be interesting to know how much performance this had cost... 2005-05-20 00:09:59 +00:00
PicturePlayer.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
PNGDump.cpp just a little cleanup, made PNG screenshots work 2005-05-15 00:22:55 +00:00
PNGDump.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
RAMLinkMsgReader.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
RAMLinkMsgReader.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
RGBColor.cpp Enabled HW acceleration for CopyRegion(). Tested on Haiku and it works. I also implemented FillRegion and InvertRegion. But using different acceleration hooks after one another freezes Haiku, app_server, the accelerant or whatever. I have no clue about accelerants, so if a knowledgable someone would have a look at AccelerantHWInterface.cpp, that'd be great. The software cursor stuff has a cosmetical bug with regards to CopyRegion() too, I don't understand it yet. I also tried to improve StringWidth() and DrawString() preformance. I confirmed that the glyph cache is actually used, but AGGTextRenderer::RenderString() is a dog. 2005-05-04 23:48:19 +00:00
RootLayer.cpp Made some necessary enhancements to class Screen; the app_server also 2005-05-26 09:21:51 +00:00
RootLayer.h Made some necessary enhancements to class Screen; the app_server also 2005-05-26 09:21:51 +00:00
ServerApp.cpp Made some necessary enhancements to class Screen; the app_server also 2005-05-26 09:21:51 +00:00
ServerApp.h ServerWindow is no more a ServerApp's friend. Some cleanups. 2005-05-14 13:22:26 +00:00
ServerBitmap.cpp really implement BitsLength() inline, I have no idea why it compiled for me... 2005-04-15 15:31:57 +00:00
ServerCursor.cpp cosmetical changes and some bug fixes along the way, added another constructor to take on bitmap data from somewhere else 2005-04-14 00:04:26 +00:00
ServerFont.cpp Forgot something 2005-05-20 23:54:28 +00:00
ServerPicture.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
ServerPicture.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
ServerScreen.cpp Made some necessary enhancements to class Screen; the app_server also 2005-05-26 09:21:51 +00:00
ServerScreen.h Made some necessary enhancements to class Screen; the app_server also 2005-05-26 09:21:51 +00:00
ServerWindow.cpp added a little debugging facility for printing on-screen debugging info on Haiku. For those like me without serial debugging... also made RootLayer use the desktop background color. 2005-05-25 23:59:23 +00:00
ServerWindow.h Work in Progress. The server keeps the client window up to date on layer movement/resizing. This fixes quite a few problems and brings support for FrameMoved and Resized hooks. But implementing it this way has its own set of problem, most importantly: When a BView calles Window()->CurrentMessage() in its FrameMoved/Resized hooks, it will see something very different from what it would see in R5. This needs to be fixed, but I have not had a good idea how to do this other than faking the current message in BWindow, which I didn't look into. 2005-05-16 15:39:58 +00:00
SysCursor.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
SystemPalette.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
TokenHandler.cpp Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
Utils.cpp Aren't these supposed to be chars? 2005-04-01 04:03:11 +00:00
Utils.h Moved app_server files to app/. 2005-03-24 14:45:52 +00:00
WinBorder.cpp work around for layers not being moved that have not yet been added to the tree. See WinBorder::MoveTo for the explaination. The same problem should be at other places and most likely for normal views as well. This fixes BWindow::MoveXX() when it is not yet Show()n 2005-04-28 23:56:40 +00:00
WinBorder.h Implemented support for BWindow::SetFeel() 2005-04-21 18:57:34 +00:00
Workspace.cpp Fixed a bug where a modal app window appeared in current workspace although its workspace mask did not include it 2005-04-23 10:05:33 +00:00
Workspace.h Fixed a bug where a modal app window appeared in current workspace although its workspace mask did not include it 2005-04-23 10:05:33 +00:00