[Webkit-unassigned] [Bug 111012] New: Refactor validation checks for texture uploads
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 27 14:33:36 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=111012
Summary: Refactor validation checks for texture uploads
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebGL
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: kbr at google.com
CC: dino at apple.com, cmarrin at apple.com, zmo at google.com,
gman at chromium.org, bajones at chromium.org,
jun.a.jiang at intel.com
Depends on: 110931
Currently the validation checks performed during texture uploads in WebGL are scattered in many different places in the call stack. The majority of the checks occur in texImage2DBase and texSubImage2DBase, but some of the entry points which call these methods need to pack incoming data into a specified format. Therefore the format and type combination have to be verified as valid beforehand, leading to redundant checks in certain situations.
All of the necessary validation code should be refactored and called from the user-facing entry points before calling down further, and in particular, before calling any of the texture data conversion code. Then the checks performed in texImage2DBase and texSubImage2DBase will be unnecessary and can be turned into assertions.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list