[Webkit-unassigned] [Bug 137793] Calling glReadPixels with BGRA format on an NVIDIA machine with an opaque context returns the wrong alpha values.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 17 17:13:42 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=137793

--- Comment #13 from Roger Fong <roger_fong at apple.com> ---
(In reply to comment #11)
> a) No reason to run this test really...all
> readPixelsAndConvertToBGRAIfNecessary does on mac is call glReadPixels, so
> the times are the same.
> 
> b)
> Running Time	Self		Symbol Name
> 5012.0ms    3.8%	445.0	 readPixelsAndConvertToBGRAIfNecessary	              
> 
> 4562.0ms    3.5%	1.0	 glReadPixels
> 
> c)
> Running Time	Self	Symbol Name
> 5006.0ms    4.8%	1.0	readPixelsAndConvertToBGRAIfNecessary                  
> 
> 4833.0ms    4.7%	0.0	glReadPixels
> 
> So it looks like the vaccelerator stuff is definitely faster, though I guess
> we already knew that to be the case.

What we're comparing is the differences between the two function calls (which is the time it takes to swap the 1st and 3rd channels). 
Using accelerator stuff is about 30% better.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141018/5d900cbb/attachment-0002.html>


More information about the webkit-unassigned mailing list