<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 02.01.2014, at 15:14, Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014/1/1 Tobias Pape <span dir="ltr">&lt;<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto;">


<div><br>
On 01.01.2014, at 19:55, <a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a> wrote:<br>
<br>
&gt; Nicolas Cellier uploaded a new version of Graphics to project The Inbox:<br>
&gt; <a href="http://source.squeak.org/inbox/Graphics-nice.285.mcz" target="_blank">http://source.squeak.org/inbox/Graphics-nice.285.mcz</a><br>
&gt;<br>
&gt; ==================== Summary ====================<br>
&gt;<br>
&gt; Name: Graphics-nice.285<br>
&gt; Author: nice<br>
&gt; Time: 1 January 2014, 8:53:32.416 pm<br>
&gt; UUID: 04aee02d-83ae-4b4d-aed9-968a6a7487db<br>
&gt; Ancestors: Graphics-nice.284<br>
&gt;<br>
&gt; Change Color implementation from 10 bits per (rgb) component to 8 bits per component.<br>
&gt; Several considerations motivate this change:<br>
&gt; - no Graphic output is using 10 bits;<br>
<br>
</div>Au contraire!<br>
<a href="http://lmgtfy.com/?q=10+bit+graphics" target="_blank">http://lmgtfy.com/?q=10+bit+graphics</a><br>
<a href="https://nvidia.custhelp.com/app/answers/detail/a_id/3011/~/10-bit-per-color-support-on-nvidia-geforce-gpus" target="_blank">https://nvidia.custhelp.com/app/answers/detail/a_id/3011/~/10-bit-per-color-support-on-nvidia-geforce-gpus</a><br>



<a href="http://www.luminous-landscape.com/reviews/accessories/10bit.shtml" target="_blank">http://www.luminous-landscape.com/reviews/accessories/10bit.shtml</a><br>
<a href="http://www.amd.com/us/Documents/10-Bit.pdf" target="_blank">http://www.amd.com/us/Documents/10-Bit.pdf</a><br>
<br>
Best<br>
<span><font color="#888888">&nbsp; &nbsp; &nbsp; &nbsp; -Tobias<br></font></span></blockquote><div><br></div><div>Thanks for the links Tobias, that's interesting.<br></div><div>Well, no graphics output in Squeak was what I meaned.<br></div>
<div>Squeak is far from being able to exploit those 10 bits, because it would require<br></div><div>- BitBlt support with a new format (30 bits depth)<br></div><div>- per device gamma correction<br></div><div>It's also unclear for me how the alpha channel is represented/processed (pre-processed?)<br></div></div></div></div></blockquote><div><br></div><div>You need to use OpenGL anyway to create a 10 bit display surface. I think you will still get an 8 bit alpha channel if you request 10 bits each for r, g, and b. But a typical texture format would be&nbsp;RGB10_A2 (with just 2 bits of alpha). Refer for example to the AMD document Tobias googled.</div></div><div><br></div><div>It makes little sense to use 10 bit color for a regular bitblt-based UI, so that is no reason to object.</div><div><br></div><div>However, looking at Graphics-nice.285, the only method that gets simpler is&nbsp;<span style="font-family: Monaco; font-size: 13px;">asHTMLColor.</span>&nbsp;So except for reducing the resolution by 8 bits, what benefit do we have? I thought the original reason was to get rid of TranslucentColor, but since that would result in more LargeInts you didn't do it, right?&nbsp;</div><div><br></div><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; font-family: 'Lucida Grande'; font-size: 12px;"><div style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; ">- Bert -</span></div></span></div><br></body></html>