X-Git-Url: https://eleni.mutantstargoat.com/git/?p=webkit_codecamp;a=blobdiff_plain;f=codecamp.tex;h=2e0a7d93b09b1e44d53e73099e35df47a62f14b7;hp=24cfebb7a98599cca33b43a9ecdb5b55441c50d5;hb=62f46a80a2cfc65c5e2d631820e08310b2910454;hpb=70b34c2424b01ce1fb33f8eed9acf1f09bd1be9e diff --git a/codecamp.tex b/codecamp.tex index 24cfebb..2e0a7d9 100644 --- a/codecamp.tex +++ b/codecamp.tex @@ -783,14 +783,16 @@ program} \item We can export the file descriptor of one buffer from one driver and use it to access the buffer from the other driver. - \item So we can export the FD that corresponds to the compositor + \item So we can export the fd that corresponds to the compositor texture, import it in WebGL when we create the render target and when the WebGL texture is filled, the compositor texture will be also filled, as they share the backing storage! \end{itemize} \end{center} \end{block} - \begin{block}{\scriptsize{EGL and GL extensions that can be used:}} + + \begin{block}{\scriptsize{EGL and GL extensions that can be used for that + purpose:}} \begin{center} \begin{itemize} \item @@ -824,10 +826,11 @@ program} \begin{block}{\scriptsize{I've written an example:}} \begin{center} \begin{itemize} - \item First using EGL!\\ + \item First using two native EGL contexts\\ Blog post: \url{https://eleni.mutantstargoat.com/hikiko/egl-dma-1/} \\ Code: \url{https://gistof.com/dma-egl-version} - \item Then using a native EGL context and a context from ANGLE!\\ + \item Then using a native EGL context and a context created from + ANGLE\\ Blog post: \url{https://eleni.mutantstargoat.com/hikiko/angle-dma/}\\ Code: \url{https://gistof.com/dmaangleeglversion} \end{itemize}