Which graphics library uses chrome

I know about the openGL/directX graphics library, which can be used to render graphics. Hardware Provider The GPU supports these libraries.
I wanted to know what chrome use for rendering.

so I started googling , and it turned out that:

chrome use webKit to render an html page.

and googling for webKit shows that β†’ webKit is just an interface.

webKit is just an interface. It depends on internal and hardware support. Google Chrome uses skia as source code and can use software or hardware. Thus, the answer depends on the implantation of the background and hardware on which it works. as indicated in Does WebKit use OpenGL to render CSS transitions?

googling for skia shows skia screen shot

Device backends for Skia currently include: what does this mean?
This skia is also an interface / interface, and does someone else implement it using probably openGL? or
is skia also a library equivalent to openGL and directX?


Or the direct question will be Which library (which is comparable to openGL / directX) uses chrome to render material on my computer?

I use window 7 on a Dell laptop without a dedicated GPU.

+6
source share
3 answers

Chrome and Firefox use ANGLE (almost its own graphics layer engine), which creates OpenGL ES 2 on top of Direct3D 9 to implement WebGL.

According to the ANGLE website, "Chrome uses ANGLE for all Windows graphics, including the accelerated implementation of Canvas2D and Sandbox for its own client."

So when you ask if Chrome uses DirectX or OpenGL ... the only real way to answer this is with Frankenstein's monster. This is a bit and , and ultimately they want OpenGL ES to be the basic graphics subsystem, but since it is not available on Windows, they decided to launch a project in which ES layers are on top of D3D9.

This seems like a silly approach to me, since OpenGL would be even easier to stack on top of it. Unsurprisingly, many people reported that they received significantly better WebGL performance by disabling ANGLE and switching using their own OpenGL to Win32.

+1
source

such a thing as a browser contains many software layers that allow you to work on different hardware and os. One such layer may be Graphics.

I don’t know Skia ... but I think this is a layer on top of DirectX / OpenGL / GDI that is used to render.

I think that most of the rendering is done using software renderings, only part of the hardware acceleration. Thus, it will work on almost all devices.

As found here - https://code.google.com/p/skia/ - the library is designed for 2D rendering and can support various basic Apis: GL, DX ... or even PDF rendering. So it is built on top of another Gfx apis. Sky is not equal to GL.

0
source

The main graphics library for WebKit is called Cairo. Cairo is basically a software rendering library, but can use OpenGL or OpenVG for some features on some platforms. Skia was the main graphics library for early versions of Android, but was replaced by OpenGL ES. Chrome is a monster with many layers.

-4
source

Source: https://habr.com/ru/post/953616/


All Articles