Re: [webkit-dev] Mac CMake

2015-11-02 Thread Gyuyoung Kim
I succeed to build the Mac port with --cmake option locally. Great ! Gyuyoung. On Sun, Nov 1, 2015 at 1:58 AM, Yusuke SUZUKI wrote: > Awesome! > > --- > Regards, > Yusuke Suzuki > > On Sat, Oct 31, 2015 at 6:32 AM, Geoffrey Garen wrote: > >>  >> >> On

Re: [webkit-dev] Proposal for serializing alpha channel values; request for algorithm help

2015-11-02 Thread Darin Adler
> On Nov 2, 2015, at 8:37 AM, Simon Fraser wrote: > >> On Nov 1, 2015, at 7:40 PM, Darin Adler wrote: >> >> 1) Does the CSS specification allow or encourage this? > > As long as the values round-trip, I think it’s OK. They absolutely will round-trip.

Re: [webkit-dev] Proposal for serializing alpha channel values; request for algorithm help

2015-11-02 Thread Darin Adler
> On Nov 2, 2015, at 8:37 AM, Simon Fraser wrote: > > I would like to know what other browsers do. Someone should check Firefox and IE, I guess. I think it’s likely that Chrome still has the behavior that Blink inherited from WebKit when Google forked it, and someone

Re: [webkit-dev] Proposal for serializing alpha channel values; request for algorithm help

2015-11-02 Thread Darin Adler
> On Nov 2, 2015, at 2:34 AM, Gavin Barraclough wrote: > > I guess if you just store the fractions as BCD & unpack you can get the table > size down to 512 bytes. I like that approach. (I’d probably leave leave off the first F from each one and then use 3 instead of 4

Re: [webkit-dev] Proposal for serializing alpha channel values; request for algorithm help

2015-11-02 Thread Gavin Barraclough
> On Nov 1, 2015, at 7:40 PM, Darin Adler wrote: > > 3) Can you help me come up with a super-efficient algorithm to do this > serialization? Table lookup? FP conversion code is hard, and this is a relatively small number of strings. You could also flatten all the strings

Re: [webkit-dev] Proposal for serializing alpha channel values; request for algorithm help

2015-11-02 Thread Simon Fraser
> On Nov 1, 2015, at 7:40 PM, Darin Adler wrote: > > Hi folks. > > Our engine supports alpha values from 0-255. But when we serialize them, we > turn them into floating point values. When we do that, we include way too > many digits of precision. For example, the alpha value

Re: [webkit-dev] Mac CMake

2015-11-02 Thread Alex Christensen
Just to clarify, the CMake build on Mac is experimental and incomplete right now. MiniBrowser and most of TestWebKitAPI are not built, and the frameworks probably can’t run any applications. > On Nov 2, 2015, at 6:30 AM, Gyuyoung Kim wrote: > > I succeed to build the

Re: [webkit-dev] Proposal for serializing alpha channel values; request for algorithm help

2015-11-02 Thread Gavin Barraclough
> On Nov 1, 2015, at 7:40 PM, Darin Adler wrote: > > 3) Can you help me come up with a super-efficient algorithm to do this > serialization? Oh – I guess if you just store the fractions as BCD & unpack you can get the table size down to 512 bytes. If you decide against