Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Issue 111337 WebGL's getProgramInfoLog method returns null when it should return an empty string
Starred by 1 user Reported by ehsan.ak...@gmail.com, Jan 25 2012 Back to list
Status: WontFix
Owner: ----
Closed: Jan 2012
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Restricted
  • Only users with Commit permission may comment.



Sign in to add a comment
See http://www.khronos.org/bugzilla/show_bug.cgi?id=582.  I'm gonna try to write a patch for this!  :-)
 
Comment 2 by gman@chromium.org, Jan 30 2012
Cc: kbr@chromium.org zmo@chromium.org
Labels: Feature-GPU-WebGL
Status: Available
Thanks

I think this actually needs to be fixed in WebKit

1) this fix would only fix Chrome, not Safari
2) WebGraphicsContext3D is mostly trying to emluate OpenGL and it is valid for OpenGL to return nothing. Ie, not a null terminate string but actually nothing.

If you'd like to submit a patch for WebKit the file that I think would need fixing is here

http://trac.webkit.org/browser/trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp


Comment 3 by kbr@chromium.org, Jan 31 2012
Cc: gman@chromium.org
Status: WontFix
Thanks very much for the patch.

I agree with Gregg -- please fix https://bugs.webkit.org/show_bug.cgi?id=77149 instead of this. You should be able to write a little helper function which looks at the String returned from GraphicsContext3D and returns WTF::emptyString() if isNull().

I'm going to close this one as WontFix. We would definitely appreciate a patch on the other bug though.

Project Member Comment 4 by bugdroid1@chromium.org, Oct 13 2012
Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Project Member Comment 5 by bugdroid1@chromium.org, Mar 11 2013
Labels: -Area-Undefined -Feature-GPU-WebGL Cr-Internals-GPU-WebGL
Project Member Comment 6 by bugdroid1@chromium.org, Apr 10 2013
Labels: -Cr-Internals-GPU-WebGL Cr-Blink-WebGL
Sign in to add a comment