pseudo code

42 views
Skip to first unread message

Philippe Letocha-Torgue

unread,
Apr 2, 2023, 11:03:39 PM4/2/23
to angleproject
I am looking for the source code of Angle. My goal is to establish "pseudo code" to fully understand WebGL. I pose the question here, guided by an answer from the site: https://webglfundamentals.org/webgl/lessons/webgl-texture-units.html#comment-6119967467

Shahbaz Youssefi

unread,
Apr 3, 2023, 10:29:11 AM4/3/23
to angleproject
Hi,

This information should be reachable via angleproject.org

Not sure how that would help with your goal though. Perhaps what you are really looking for is the WebGL specification? That is https://registry.khronos.org/webgl/specs/latest/1.0/ for WebGL 1 and https://registry.khronos.org/webgl/specs/latest/2.0/ for WebGL 2.

Philippe Letocha-Torgue

unread,
Apr 7, 2023, 5:33:23 AM4/7/23
to angleproject
Hi,
I didn't ask my question very specifically.
In fact I am looking for which file can help me to understand the foundations of WebGL.
In particular to have an idea in the form of "pseudo code" as shown in this page: https://webglfundamentals.org/webgl/lessons/webgl-framebuffers.html

Shahbaz Youssefi

unread,
Apr 7, 2023, 10:01:55 PM4/7/23
to angleproject
Hi,

It's not _that_ straightforward, the pseudo code in that page is overly simplistic. That said, you may be interested in looking at the "front-end" of ANGLE; that's the part that implements OpenGL's (or WebGL's) logic agnostic to the back-end implementation. You can find the front-end files under src/libANGLE. FYI, files under src/libANGLE/renderer are the backends. In particular w.r.t framebuffers, you may want to look at Framebuffer.* and FramebufferAttachment.*

Reply all
Reply to author
Forward
0 new messages