Bug 101489

Summary: [BlackBerry] Improper initialization of ANGLEResources
Product: WebKit Reporter: akaushik
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: burg, commit-queue, dino, fspacek, jfeldstein, mifenton, rwlbuis, staikos, tonikitoo, webkit.review.bot, yong.li.webkit
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch
none
Patch
none
Patch
darin: review+, commit-queue: commit-queue-
Patch
none
Updated ChangeLog
webkit.review.bot: review-, webkit.review.bot: commit-queue-
Reformatted ChangeLog
webkit.review.bot: review-, webkit.review.bot: commit-queue-
Patch darin: review+, commit-queue: commit-queue-

akaushik
Reported 2012-11-07 10:49:25 PST
oes_standard_derivatives extension is being enabled by default, without getExtension having been called. This should not be allowed according to Khronos WebGL specs, section 5.14.14.
Attachments
proposed patch (1.10 KB, text/plain)
2012-11-07 10:49 PST, akaushik
no flags
Patch (1.19 KB, patch)
2012-11-12 07:40 PST, akaushik
no flags
Patch (2.29 KB, patch)
2012-11-12 08:29 PST, akaushik
darin: review+
commit-queue: commit-queue-
Patch (2.02 KB, patch)
2013-01-31 10:40 PST, Jonathan Feldstein
no flags
Updated ChangeLog (3.09 KB, patch)
2013-02-04 10:32 PST, Jonathan Feldstein
webkit.review.bot: review-
webkit.review.bot: commit-queue-
Reformatted ChangeLog (3.14 KB, patch)
2013-02-04 10:38 PST, Jonathan Feldstein
webkit.review.bot: review-
webkit.review.bot: commit-queue-
Patch (3.21 KB, patch)
2013-02-04 11:32 PST, Jonathan Feldstein
darin: review+
commit-queue: commit-queue-
akaushik
Comment 1 2012-11-07 10:49:57 PST
Created attachment 172838 [details] proposed patch
George Staikos
Comment 2 2012-11-11 10:20:40 PST
Is this patch inverted? Also you didn't set r?
Antonio Gomes
Comment 3 2012-11-12 05:51:37 PST
Please write proper titles to your filed bugs.
akaushik
Comment 4 2012-11-12 06:12:50 PST
Fixed title.
akaushik
Comment 5 2012-11-12 06:44:32 PST
MaxDrawBuffers, OES_standard_derivatives, OES_EGL_image_external and ARB_texture_rectangle have already been initialized through ShBuiltInResources function and these fields do not need to be set again in GraphicsContext3dBlackBerry.cpp. In addition, the extension flags cannot be set to true without getExtension having been called (Khronos WebGL specs, section 5.14.14.). Thus these lines need to be removed.
akaushik
Comment 6 2012-11-12 07:40:41 PST
Rob Buis
Comment 7 2012-11-12 07:47:52 PST
Comment on attachment 173645 [details] Patch Please provide a ChangeLog.
akaushik
Comment 8 2012-11-12 08:29:32 PST
Rob Buis
Comment 9 2012-11-15 12:41:50 PST
Comment on attachment 173652 [details] Patch Can you try to get this internally reviewed first? At least Yong and I do not know WebGL/ANGLE. Also any PR?
Yong Li
Comment 10 2012-11-15 13:01:50 PST
Comment on attachment 173652 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=173652&action=review > Source/WebCore/platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:-115 > - ANGLEResources.MaxDrawBuffers = 1; // Always set to 1 for OpenGL ES. > - ANGLEResources.OES_standard_derivatives = m_extensions->supports("GL_OES_standard_derivatives"); As Rob said. We need an internal reviewer with expertise of GL stuff. Also ANGLEResources doesn't look like a variable name in WebKit. Can you also rename it to angleResources?
Jonathan Feldstein
Comment 11 2013-01-31 10:40:02 PST
Antonio Gomes
Comment 12 2013-02-02 05:02:26 PST
Remove the review flag from akaushik's latest patch, if it is obsolete, please.
WebKit Review Bot
Comment 13 2013-02-02 05:06:45 PST
Comment on attachment 185811 [details] Patch Clearing flags on attachment: 185811 Committed r141691: <http://trac.webkit.org/changeset/141691>
Jonathan Feldstein
Comment 14 2013-02-04 10:32:18 PST
Created attachment 186416 [details] Updated ChangeLog
WebKit Review Bot
Comment 15 2013-02-04 10:33:48 PST
Comment on attachment 186416 [details] Updated ChangeLog Rejecting attachment 186416 [details] from review queue. jfeldstein@rim.com does not have reviewer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py. - If you do not have reviewer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have reviewer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your reviewer rights.
WebKit Review Bot
Comment 16 2013-02-04 10:34:30 PST
Comment on attachment 186416 [details] Updated ChangeLog Rejecting attachment 186416 [details] from commit-queue. jfeldstein@rim.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py. - If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
Jonathan Feldstein
Comment 17 2013-02-04 10:38:22 PST
Created attachment 186418 [details] Reformatted ChangeLog
WebKit Review Bot
Comment 18 2013-02-04 10:38:53 PST
Comment on attachment 186418 [details] Reformatted ChangeLog Rejecting attachment 186418 [details] from review queue. jfeldstein@rim.com does not have reviewer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py. - If you do not have reviewer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have reviewer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your reviewer rights.
WebKit Review Bot
Comment 19 2013-02-04 10:40:07 PST
Comment on attachment 186418 [details] Reformatted ChangeLog Rejecting attachment 186418 [details] from commit-queue. jfeldstein@rim.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py. - If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
Jonathan Feldstein
Comment 20 2013-02-04 11:32:17 PST
WebKit Commit Bot
Comment 21 2013-04-09 09:30:29 PDT
Comment on attachment 186423 [details] Patch Rejecting attachment 186423 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-commit-queue.appspot.com', '--bot-id=webkit-cq-02', 'apply-attachment', '--no-update', '--non-interactive', 186423, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: 2 diffs from patch file(s). patching file Source/WebCore/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebCore/platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp Hunk #1 FAILED at 118. 1 out of 1 hunk FAILED -- saving rejects to file Source/WebCore/platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp.rej Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', 'Darin Adler']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: http://webkit-commit-queue.appspot.com/results/17641034
Darin Adler
Comment 22 2013-09-13 07:54:52 PDT
Comment on attachment 173652 [details] Patch Oops, I just say Yong Li’s comment and realized that maybe I should not have reviewed this. Somebody from RIM can reverse me, but this has been in the review queue for a really long time.
WebKit Commit Bot
Comment 23 2013-09-13 07:55:25 PDT
Comment on attachment 173652 [details] Patch Rejecting attachment 173652 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-01', 'apply-attachment', '--no-update', '--non-interactive', 173652, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: 2 diffs from patch file(s). patching file Source/WebCore/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebCore/platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp Hunk #1 FAILED at 111. 1 out of 1 hunk FAILED -- saving rejects to file Source/WebCore/platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp.rej Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Darin Adler']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: http://webkit-queues.appspot.com/results/1907002
Note You need to log in before you can comment on or make changes to this bug.