Thanks Justin, that's a great list.
I have already found out about graphics changes through anti-aliasing, subpixel hining and so forth. These features could be turned off.
You directed my attention to the whole number precision/formats topic, which sounds very influential for rendering output. Unfortunately not simply toggleable.
Reminds me of <
https://www.usenix.org/conference/usenixsecurity19/presentation/wu>. I will further look into this topic.
I still want to understand the source code used by the 2d rendering context to better understand the rendering process (the specific parts for this rendering context).
Does the 2d rendering context spit out OpenGL calls or how does it interface with the underlying rendering primitives?
I hope I can spot some differences between the different rendering backends.
What are these anyway? Are they both provided by Skia (software/cpu- and hardware/gpu-based)?
I think I have to sleep over it.
Thanks so far, I'll message you later on.
P.S.: If there is a better place to ask such questions just direct me there.
On 21/03/11 11:22, Justin Novosad wrote:
> There are many factors. Off the top of my head:
>
> - Browsers use GPU acceleration to render canvas content, so there can
> be subtle differences between machines that have different GPU models or
> different graphics driver versions. In particular anti-aliased edges, image
> filtering and blending are all subject to numerical precision, which may
> vary between machines.
> - There are differences in numerical precision between different models
> of CPU. Numerical precision for floating point arithmetic is only
> identical between machines when enabling a compiler option that enforces
> compliance with the IEEE-754 standard. Because that has an impact on
> performance, we do not enable that option everywhere in the code.
> - Depending on what fonts are installed on the user's computer, text can
> look slightly different from one system to another because there are
> different variants of the same font and also because of the fallback
> mechanisms in CSS font resolution, which applies to how the font attribute
> is interpreted in 2d rendering context.
> - Depending on the type of display device, sub pixel text anti-aliasing