History log of /haiku-fatelf/src/add-ons/accelerants/via/engine/bes.c
Revision Date Author Comments
# 86ca91ab 10-Jan-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

overlay code now respects the B_OVERLAY_COLOR_KEY cmd flag.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15897 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 217024e9 29-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added virtualscreen support: overlay output window gets corrected when viewport in virtualscreen is moved.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14276 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c21b10bf 29-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

quickly tried chromakeying as alternative to colorkeying, but that doesn't seem a solution. So, overlay tweak alert for CMAP8 still stands. Looks like 'BeOS' needs to send a colorpalette index to the driver for colorkeying alongside the currently used way (sending literal color).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14274 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b96e7791 22-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added overlay colorkeying. Working OK in 15,16 and 32bit spaces. Works (with a tweak) in 8 bit space. The VIA hardware wants the colorpalette INDEX as key instead of the displayed color(cd obos_svn/trunk/src/add-ons/accelerants/via/). Unfortunately a reverse lookup isn't conclusive, as BeOS and Zeta use two palette entries for white. I'll try to find a hardware setup so that it wants a displayed color in 8-bit mode, but no guarantees yet. If this turns out to not be possible, I suggest adding the color-index of the current displayed mode (valid only in indexed mode, so CMAP8) to the system's overlay_window information struct, alongside the displayed color. Somehow (would break compatibility with other BeOS versions?). Anyway, I'll search for a different hardware setup for this. Keep your fingers crossed :)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14224 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8fa1f9b4 20-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added vertical downscaling for overlay. This completes scaling. Quality wise this engine is like the Neomagic engine, and TNT engine with the added prescaling downscaling feature added. This is the 'video 1' engine. There is also a video 3 engine (which should be the same quality, but lacks YUV12 support in hardware). And (newer?) VIA unichrome chipsets have a 'HQV: high quality video' engine as well: which supports setting specific filters (with taps). this latter engine would be nice to use instead, maybe in the future. For now we use the video 1 engine. Note: lacking are virtualscreen support and colorkeying in the driver. Next up. Apart from that overlay is now complete (yuy2 only supported at this time, as 'always' with my drivers :)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14213 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 975cd0c0 20-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added horizontal overlay pre-downscaling so output can now scale downto 1/16th. Y-downscaling yet todo..

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14211 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 19c9c0bb 20-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added HW retrace sync (preventing overlay update glitches during resizing/moving windows etc)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14210 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5cb7cd04 19-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added 'horizontal source last position' overlay register programming. high-res video (DVD) now shows correctly.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14205 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f583f15c 17-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added chip_rev dependant overlay programming, added hor. and vert. filtering. Bumped version to 0.12.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14194 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 83cb01f0 15-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added overlay upscaling. Downscaling not yet supported. Set the temporary max width to 384 so PAL MPEG1 should display OK (will be a calculated setting later). Enabled overlay support now, although it might not work on all cards. If you test it, please let me know what happens. Bumped version to 0.11.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14189 a95241bf-73f2-0310-859d-f6bbb57e9c96


# acf4ab37 15-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated VIA overlay code so it actually works. Still no scaling and colorkeying, still disabled. video witdh temporarily fixed to 'max' 320 pixels, pending extra calc code. Also a chiprev. check needs to be added to choose settings depending on that.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14187 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cb79d95c 13-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

some sloppy and preliminary overlay engine programming is in place for learning purposes. Engine engages, shows distorting overlay at the correct window position. Colorkeying disabled, scaling fixed 1x. Whole code is disabled by default at this time, until code neat and fully OK :)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14182 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c75aba1b 12-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added memory bandwidth check for overlay support decisions

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14177 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5de64e32 11-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

setup hardware cursor. bitmap not yet correct, colors neither.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13633 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 552dba5d 10-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added via accelerant, a copy of skeleton driver yet.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13596 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 86ca91abfbe300ec31c100c1737116f66765d1d1 10-Jan-2006 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

overlay code now respects the B_OVERLAY_COLOR_KEY cmd flag.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15897 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 217024e94c42a980c42954155e892f4506d3ba9f 29-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added virtualscreen support: overlay output window gets corrected when viewport in virtualscreen is moved.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14276 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c21b10bf4cd180dbebd621074c46fac6d7f09a46 29-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

quickly tried chromakeying as alternative to colorkeying, but that doesn't seem a solution. So, overlay tweak alert for CMAP8 still stands. Looks like 'BeOS' needs to send a colorpalette index to the driver for colorkeying alongside the currently used way (sending literal color).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14274 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b96e7791c1341beb1981151370ff7b03fa8ad32b 22-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added overlay colorkeying. Working OK in 15,16 and 32bit spaces. Works (with a tweak) in 8 bit space. The VIA hardware wants the colorpalette INDEX as key instead of the displayed color(cd obos_svn/trunk/src/add-ons/accelerants/via/). Unfortunately a reverse lookup isn't conclusive, as BeOS and Zeta use two palette entries for white. I'll try to find a hardware setup so that it wants a displayed color in 8-bit mode, but no guarantees yet. If this turns out to not be possible, I suggest adding the color-index of the current displayed mode (valid only in indexed mode, so CMAP8) to the system's overlay_window information struct, alongside the displayed color. Somehow (would break compatibility with other BeOS versions?). Anyway, I'll search for a different hardware setup for this. Keep your fingers crossed :)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14224 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8fa1f9b48d856cb962c8cdb3c0aec70927781e1f 20-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added vertical downscaling for overlay. This completes scaling. Quality wise this engine is like the Neomagic engine, and TNT engine with the added prescaling downscaling feature added. This is the 'video 1' engine. There is also a video 3 engine (which should be the same quality, but lacks YUV12 support in hardware). And (newer?) VIA unichrome chipsets have a 'HQV: high quality video' engine as well: which supports setting specific filters (with taps). this latter engine would be nice to use instead, maybe in the future. For now we use the video 1 engine. Note: lacking are virtualscreen support and colorkeying in the driver. Next up. Apart from that overlay is now complete (yuy2 only supported at this time, as 'always' with my drivers :)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14213 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 975cd0c019efedf67a87bbad6ac244761265fea2 20-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added horizontal overlay pre-downscaling so output can now scale downto 1/16th. Y-downscaling yet todo..

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14211 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 19c9c0bb0e4982dfabe7ed2b46785decd3004915 20-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added HW retrace sync (preventing overlay update glitches during resizing/moving windows etc)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14210 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5cb7cd0464cb5b9d072ff38c40262bd535d5d541 19-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added 'horizontal source last position' overlay register programming. high-res video (DVD) now shows correctly.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14205 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f583f15cbc55c7780b1eb06326a5d358c349c6fd 17-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added chip_rev dependant overlay programming, added hor. and vert. filtering. Bumped version to 0.12.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14194 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 83cb01f0cddda5448e2f71d150aa6c04c856a456 15-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added overlay upscaling. Downscaling not yet supported. Set the temporary max width to 384 so PAL MPEG1 should display OK (will be a calculated setting later). Enabled overlay support now, although it might not work on all cards. If you test it, please let me know what happens. Bumped version to 0.11.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14189 a95241bf-73f2-0310-859d-f6bbb57e9c96


# acf4ab3767eb08e9b36d2794b3b48c7d3759cb33 15-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

updated VIA overlay code so it actually works. Still no scaling and colorkeying, still disabled. video witdh temporarily fixed to 'max' 320 pixels, pending extra calc code. Also a chiprev. check needs to be added to choose settings depending on that.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14187 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cb79d95c1bd0ad6497f9845afe30841559f34a62 13-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

some sloppy and preliminary overlay engine programming is in place for learning purposes. Engine engages, shows distorting overlay at the correct window position. Colorkeying disabled, scaling fixed 1x. Whole code is disabled by default at this time, until code neat and fully OK :)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14182 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c75aba1bee0c971eefeedf31ba077c822772ce99 12-Sep-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added memory bandwidth check for overlay support decisions

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14177 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5de64e32fdbf2ec19e9fdd91499d0220748eb2f3 11-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

setup hardware cursor. bitmap not yet correct, colors neither.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13633 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 552dba5d17149f9f242ad5b942773bd9c47ecbc3 10-Jul-2005 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added via accelerant, a copy of skeleton driver yet.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13596 a95241bf-73f2-0310-859d-f6bbb57e9c96