Bug 218180 - Remove uses of "direct" functions from WebGL
Summary: Remove uses of "direct" functions from WebGL
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Local Build
Hardware: All Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-10-26 06:04 PDT by Kimmo Kinnunen
Modified: 2020-12-04 07:37 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Kinnunen 2020-10-26 06:04:43 PDT
Remove uses of "direct" functions from WebGL

WebGL implementation calls to GraphicsContextGLOpenGL functions that end with "Impl" or "Direct".
These are functions that are trying to jump around either:
a) ANGLE shader translator behavior when USE(OPENGL) / USE(OPENGL_ES)
b) WebGL validation / robust behavior when in ANGLE

Neither of these are valid use-cases for the actual WebGL implementation and as such shouldn't exist as part of WebGL implementation nor the GraphicsContextGL abstraction.

Remove or limit them to places where the concrete GraphicsContextGLOpenGL implementation is logically used.
Comment 1 Radar WebKit Bug Importer 2020-10-26 10:25:38 PDT
<rdar://problem/70684393>
Comment 2 Kimmo Kinnunen 2020-12-04 07:37:45 PST
Marking this as fixed, the direct function variants were gradually removed by other refactoring commits.