[Webkit-unassigned] [Bug 98308] New: Optimize texture-complete checks
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 3 15:02:41 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=98308
Summary: Optimize texture-complete checks
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: gman at google.com
CC: kbr at google.com, zmo at google.com
Right now on every WebGL draw call, WebKit goes through a loop checking that all textures are renderable in WebGLRenderingContext::handleNPOTTextures
That's not a small or simple loop. For example on one of my machines, m_texureUnits is 160
The suggested optimization is to track the number of unrenderable textures. If that number is 0 the loop and be skipped.
Tracking requires updating the count anytime a texture is created, deleted, or it's state is modified.
--
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