AppServer: Organize "HWInterface" classes

* Organize interface classes into directories
* Long term this will assist in the multi-head
  interface / accelerant changes.
* local draws to the local hw accelerant
* remote draws to a remote connection (???)
* html5 draws to... an html5 canvas?
This commit is contained in:
Alexander von Gluck IV 2013-02-08 17:45:50 -06:00
parent 322c4e6cb8
commit dcaec19c9a
49 changed files with 33 additions and 10 deletions

View File

@ -5,6 +5,9 @@ UsePrivateHeaders app graphics input interface kernel shared storage support ;
UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing ] ;
UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing Painter ] ;
UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing interface local ] ;
UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing interface remote ] ;
UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing interface html5 ] ;
UseHeaders [ FDirName $(HAIKU_TOP) src servers app stackandtile ] ;
UseHeaders [ FDirName $(HAIKU_TOP) src servers app decorator ] ;
@ -92,8 +95,8 @@ Server app_server :
# libraries
:
libtranslation.so libbe.so libbnetapi.so
libasdrawing.a $(BROKEN_64)libasremote.a $(BROKEN_64)libashtml5.a
libpainter.a libagg.a $(HAIKU_FREETYPE_LIB)
libaslocal.a $(BROKEN_64)libasremote.a $(BROKEN_64)libashtml5.a
libasdrawing.a libpainter.a libagg.a $(HAIKU_FREETYPE_LIB)
libstackandtile.a liblinprog.a libtextencoding.so libshared.a
$(TARGET_LIBSTDC++)

View File

@ -14,8 +14,8 @@
#include "Screen.h"
#include "ServerConfig.h"
#include "remote/RemoteHWInterface.h"
#include "html5/HTML5HWInterface.h"
#include "RemoteHWInterface.h"
#include "HTML5HWInterface.h"
#include <Autolock.h>
#include <Entry.h>

View File

@ -16,8 +16,6 @@ Includes [ FGristFiles DrawingEngine.cpp ]
: $(HAIKU_FREETYPE_HEADERS_DEPENDENCY) ;
StaticLibrary libasdrawing.a :
AccelerantBuffer.cpp
AccelerantHWInterface.cpp
BitmapBuffer.cpp
drawing_support.cpp
DrawingEngine.cpp
@ -32,5 +30,4 @@ StaticLibrary libasdrawing.a :
;
SubInclude HAIKU_TOP src servers app drawing Painter ;
SubInclude HAIKU_TOP src servers app drawing remote ;
SubInclude HAIKU_TOP src servers app drawing html5 ;
SubInclude HAIKU_TOP src servers app drawing interface ;

View File

@ -0,0 +1,5 @@
SubDir HAIKU_TOP src servers app drawing interface ;
SubInclude HAIKU_TOP src servers app drawing interface html5 ;
SubInclude HAIKU_TOP src servers app drawing interface local ;
SubInclude HAIKU_TOP src servers app drawing interface remote ;

View File

@ -1,4 +1,4 @@
SubDir HAIKU_TOP src servers app drawing html5 ;
SubDir HAIKU_TOP src servers app drawing interface html5 ;
UseLibraryHeaders agg ;
UsePrivateHeaders app graphics interface kernel shared ;

View File

@ -0,0 +1,18 @@
SubDir HAIKU_TOP src servers app drawing interface local ;
UseLibraryHeaders agg ;
UsePrivateHeaders app graphics interface kernel shared ;
UsePrivateHeaders [ FDirName graphics common ] ;
UsePrivateSystemHeaders ;
UseHeaders [ FDirName $(HAIKU_TOP) src servers app ] ;
UseHeaders [ FDirName $(HAIKU_TOP) src servers app font ] ;
UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing ] ;
UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing Painter ] ;
UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing Painter drawing_modes ] ;
UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing Painter font_support ] ;
StaticLibrary libaslocal.a :
AccelerantBuffer.cpp
AccelerantHWInterface.cpp
;

View File

@ -1,4 +1,4 @@
SubDir HAIKU_TOP src servers app drawing remote ;
SubDir HAIKU_TOP src servers app drawing interface remote ;
UseLibraryHeaders agg ;
UsePrivateHeaders app graphics interface kernel shared ;