Commit Graph

92 Commits

Author SHA1 Message Date
Chris Young
7bc29f7782 Attempt to fix spurious plotter crashes 2015-04-27 18:32:49 +01:00
Chris Young
b879bed114 Remove bogus comment 2015-04-25 13:20:59 +01:00
Chris Young
c8caf08ef1 As the content interface is now doing the scaling, we render to a native BitMap and then copy that to the RGBA32 bitmap buffer without re-scaling.
The native BitMap is currently discarded and will be re-created when it is displayed.
2015-04-25 13:13:30 +01:00
Vincent Sanders
124de5775a Update amiga to use bitmap render API 2015-04-24 11:56:19 +01:00
Vincent Sanders
fb0bd79944 update amiga frontend to use bitmap operation table 2015-04-16 22:36:29 +01:00
Chris Young
db91442304 Remove branches that can't be taken under OS3
Micro-optimise these for OS4.1
Remove dummy compositing defines from os3support.h
2015-03-01 11:50:20 +00:00
Chris Young
86757143df Remove some unneeded ARGB<=>RGBA conversion 2015-02-02 18:54:08 +00:00
Chris Young
25a4cce542 Experimentally enable P96 on the OS3 build 2015-02-02 18:53:16 +00:00
Chris Young
21f142a7fa Friend the screen bitmap for <= 8-bit modes, but only on OS3 as this causes OS4 to freeze 2015-02-02 00:32:34 +00:00
Chris Young
73b74988dc Remove BMF_DISPLAYABLE from other non-displayed BitMaps 2015-01-31 22:19:12 +00:00
Chris Young
7370e83d60 Squash a minor warning from GCC 2015-01-31 21:45:23 +00:00
Chris Young
e68171a17c picture.datatype v45 does apparently support RGBA, so avoid extra conversion 2015-01-31 21:17:14 +00:00
Chris Young
b3f49f9364 Abstract p96WPA, although it still needs P96 currently 2015-01-20 20:46:36 +00:00
Chris Young
e3af7f3343 Abstract P96 functions away so we can decide what to use at run-time.
This allows us to avoid opening P96 on OS4.1FE in future, and not require it to be installed on OS3.
2015-01-20 20:36:14 +00:00
Chris Young
2b9df1b2cd Remove some p96 usage 2015-01-20 00:39:32 +00:00
Chris Young
80558b3116 Use a function to create ready-cleared memory 2015-01-10 23:10:05 +00:00
Vincent Sanders
9fde3502b6 doxygen cleanups in utils 2014-11-12 23:27:13 +00:00
Chris Young
4541d15437 Fix warnings 2014-10-25 16:22:28 +01:00
Vincent Sanders
0b64df140c Update amiga frontend for split operation table header changes 2014-10-16 22:33:44 +01:00
Chris Young
0c5bb37bea Implement a very basic favicon cache for the hotlist menu to use 2014-06-29 22:35:52 +01:00
Chris Young
870c709684 Get Composite() to befriend the screen's BitMap to ensure they are on the same graphics board. This should fix the slowness when multiple graphics cards are installed. 2014-01-06 18:29:05 +00:00
Chris Young
8b9963e7ef Use picture.datatype's PromoteMask function so we get an alpha channel for non-alpha bitmaps loaded through datatypes.library 2013-10-12 15:43:52 +01:00
Chris Young
9786cc2417 Fix scaled bitmaps 2013-10-12 14:14:59 +01:00
Chris Young
ade86e496e Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR where it is not necessary. 2013-10-12 13:11:13 +01:00
Chris Young
69e264e4ec more tidy-up 2013-10-05 11:28:33 +01:00
Chris Young
9ff65d7426 tidy up 2013-10-05 11:27:05 +01:00
Chris Young
a06cb9f05c If bitmap is opaque, ensure we override the alpha channel as it may contain nonsense. 2013-10-05 11:18:27 +01:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Chris Young
20e4bdadaf Support old picture.datatype 2013-03-09 15:29:30 +00:00
Chris Young
89856f5592 ifdef some code that will never work under AmigaOS <4.0 2013-01-30 18:23:48 +00:00
Michael Drake
d88a839937 Remove suspension of bmp/gif images. It's completely redundant with the convert on demand core image cache. 2012-10-14 20:03:18 +01:00
Chris Young
8b31fc0e78 Fix mask calculation (thanks to Fredrik Wikstrom) 2012-08-12 11:02:12 +01:00
Chris Young
59784ba852 fix mask 2012-08-11 17:19:54 +01:00
Chris Young
6aaf106575 remove AMI_CUSTOM_MASK define 2012-08-10 19:31:16 +01:00
Chris Young
bc4401414b remove attempt at mask alignment 2012-08-10 19:30:18 +01:00
Chris Young
ad1336ac45 alignment attempt 2. this seems right, but doesn't work even for previously-working images 2012-08-10 19:03:56 +01:00
Chris Young
3ed1339b3f try to align mask correctly 2012-08-10 18:54:00 +01:00
Chris Young
2364d68367 avoid scaled images getting incorrect mask 2012-08-10 18:30:01 +01:00
Chris Young
eaa6183567 allow tweaking threshold where alpha turns to mask 2012-08-10 18:21:57 +01:00
Chris Young
a0b344afe6 Fix mask 2012-08-10 18:11:42 +01:00
Chris Young
c456153e90 Correct byte order - is RGBA not ARGB
Fix mask offset calculation
2012-08-10 18:05:22 +01:00
Chris Young
bc5918ebbc allocate our bitmaps as BMF_DISPLAYABLE as this can improve performance when blitting to the screen 2012-08-09 22:31:10 +01:00
Chris Young
e4d2677c80 first attempt to create our own mask of only wholly transparent pixels. 2012-08-09 21:59:47 +01:00
Chris Young
8304a01b6f remove debug; it isn't helping determine the cause of the crash on exit 2012-08-08 19:02:46 +01:00
Chris Young
34c79b454a debug 2012-08-08 18:41:16 +01:00
Chris Young
b9446a3abb rename old truecolour function 2012-08-07 21:34:52 +01:00
Chris Young
3ba621759c hide internal palette-mapped and true-colour bitmap conversion functions 2012-08-07 21:28:55 +01:00
Chris Young
dd7935bb1f abstract the native bitmap fetcher functions, and make the favicon collection use the new one. 2012-08-07 21:09:49 +01:00
Chris Young
8c6dab520d misc 2012-08-05 23:51:59 +01:00
Chris Young
b2514d5270 Free source BitMap 2012-08-05 21:46:14 +01:00