* Introduced new BBitmap flag B_BITMAP_SCALE_BILINEAR.
* When drawing BBitmaps with scaling in the app_server, use a bilinear filter when a bitmap has this flag set. (Hope nobody objects, otherwise I can revert or improve this. Performance can certainly be improved, since the AGG implementation is too generic. But that goes for the nearest neighbor implementation as well.) * Flags are uint32, fix app_server side code to declare them correctly. Use appropriate link methods in BBitmap and ServerApp. * Enable the BeOS compatibility mode for B_RGB32 (works just like B_RGBA32 in B_OP_ALPHA mode). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26649 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -135,6 +135,7 @@ extern float roundf(float value);
|
||||
# define B_MINI_ICON_TYPE 'MICN'
|
||||
# define B_VECTOR_ICON_TYPE 'VICN'
|
||||
# define B_BITMAP_NO_SERVER_LINK 0
|
||||
# define B_BITMAP_SCALE_BILINEAR 0
|
||||
# endif
|
||||
#endif // HAIKU_TARGET_PLATFORM_LIBBE_TEST
|
||||
|
||||
|
||||
Reference in New Issue
Block a user