Bug 44455

Summary: Remove references to ArrayBuffer and ArrayBufferView from GraphicsContext3D
Product: WebKit Reporter: Kenneth Russell <kbr>
Component: WebGLAssignee: Kenneth Russell <kbr>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarrin, dglazkov, jamesr, senorblanco, zmo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch dglazkov: review+, kbr: commit-queue-

Kenneth Russell
Reported 2010-08-23 14:01:47 PDT
The fact that GraphicsContext3D references the ArrayBuffer and ArrayBufferView types makes it difficult to reuse outside of WebGL, and is also a layering violation. GraphicsContext3D should refer only to void* (and a size argument) in these situations.
Attachments
Patch (19.58 KB, patch)
2010-08-23 15:52 PDT, Kenneth Russell
dglazkov: review+
kbr: commit-queue-
Kenneth Russell
Comment 1 2010-08-23 15:52:25 PDT
Created attachment 65168 [details] Patch From the ChangeLog: Updated Safari, Qt and Chromium WebGL ports to avoid referencing ArrayBuffer and ArrayBufferView types from GraphicsContext3D. Ran all WebGL layout tests; no new regressions. Built and tested WebKit on Mac OS X; built Chromium on Mac OS X and Linux.
Dimitri Glazkov (Google)
Comment 2 2010-08-23 15:59:37 PDT
Comment on attachment 65168 [details] Patch ok.
Kenneth Russell
Comment 3 2010-08-23 16:07:37 PDT
Note You need to log in before you can comment on or make changes to this bug.