RESOLVED FIXED 118550
ANGLE should be updated
https://bugs.webkit.org/show_bug.cgi?id=118550
Summary ANGLE should be updated
Alex Christensen
Reported 2013-07-10 23:44:24 PDT
I have a working build of WebGL on Windows that uses most of ANGLE, so we should included the additional parts of ANGLE. Before we do this, we may as well update to the latest revision. Blink is currently using r2184 of ANGLE. We're currently using r1987. I suggest we update to the latest revision of ANGLE, r2249. Our current differences from the ANGLE repository are that we used Bison 2.4.2 instead of Bison 2.3 to generate glslang_tab and ExpressionParser cpp and h files, we put #if defined(_MSC_VER) around #pragma warning(disable: 4718) in DependencyGraph.cpp, and we include khrplatform.h instead of KHR/khrplatform.h in ShaderLang.h. The current revision of ANGLE used Bison 2.4.2 to generate the files, so we won't need to rerun Bison. We may as well keep the other two changes for now. Updating to the latest revision moves DetectRecursion.cpp and DetectRecursion.h to DetectCallDepth.cpp and DetectCallDepth.h and adds builtin_symbol_table.cpp and builtin_symbol_table.h, so I've tried to do that by hand with all build systems. "DetectRecursion" was also in Source\WebCore\WebCore.order, and I'm not sure what that is, so I may have broken whatever that is (Stephanie - you added that). I would not be surprised if this first patch breaks build systems, but that's what the EWS system is for. I don't want to land a patch that breaks anything.
Attachments
Patch (737.00 KB, patch)
2013-07-11 00:16 PDT, Alex Christensen
no flags
Patch (1.81 MB, patch)
2013-07-12 12:38 PDT, Alex Christensen
no flags
Patch (737.08 KB, patch)
2013-07-12 16:30 PDT, Alex Christensen
no flags
Patch (733.69 KB, patch)
2013-07-13 15:28 PDT, Alex Christensen
no flags
Patch (736.89 KB, patch)
2013-07-13 15:44 PDT, Alex Christensen
no flags
changes I made to ANGLE before running bison (4.37 KB, application/octet-stream)
2013-07-15 13:40 PDT, Alex Christensen
no flags
Patch (692.05 KB, patch)
2013-07-15 16:31 PDT, Alex Christensen
no flags
Patch (691.47 KB, patch)
2013-07-15 17:07 PDT, Alex Christensen
no flags
Patch (672.69 KB, patch)
2013-07-15 18:19 PDT, Alex Christensen
no flags
Patch (739.37 KB, patch)
2013-07-22 16:36 PDT, Alex Christensen
no flags
Patch (2.45 MB, patch)
2013-07-22 17:19 PDT, Alex Christensen
no flags
Patch (2.45 MB, patch)
2013-07-22 17:45 PDT, Alex Christensen
no flags
Patch (2.45 MB, patch)
2013-07-23 11:05 PDT, Alex Christensen
no flags
Patch (2.45 MB, patch)
2013-07-23 13:14 PDT, Alex Christensen
dino: review+
commit-queue: commit-queue-
Alex Christensen
Comment 1 2013-07-11 00:16:29 PDT
kov's GTK+ EWS bot
Comment 2 2013-07-11 00:28:27 PDT
Build Bot
Comment 3 2013-07-11 00:39:58 PDT
Build Bot
Comment 4 2013-07-11 00:54:28 PDT
Alex Christensen
Comment 5 2013-07-12 12:38:11 PDT
Build Bot
Comment 6 2013-07-12 13:16:45 PDT
kov's GTK+ EWS bot
Comment 7 2013-07-12 13:23:19 PDT
Alex Christensen
Comment 8 2013-07-12 16:30:32 PDT
kov's GTK+ EWS bot
Comment 9 2013-07-12 16:35:56 PDT
Martin Robinson
Comment 10 2013-07-12 20:31:01 PDT
The build error on GTK+ is due to the combination of the bitfields with the enum. I haven't yet determined if this is a bug in gcc yet, but I did confirm that making the enums members sans bitfields fixed the issue.
Alex Christensen
Comment 11 2013-07-13 15:28:52 PDT
EFL EWS Bot
Comment 12 2013-07-13 15:32:02 PDT
EFL EWS Bot
Comment 13 2013-07-13 15:33:53 PDT
Early Warning System Bot
Comment 14 2013-07-13 15:35:15 PDT
Early Warning System Bot
Comment 15 2013-07-13 15:36:27 PDT
Alex Christensen
Comment 16 2013-07-13 15:44:08 PDT
Alex Christensen
Comment 17 2013-07-13 16:21:07 PDT
This is the workaround I did for getting Types.h to compile with GCC: +#ifdef __GNUC__ + TBasicType type; + TPrecision precision; + TQualifier qualifier; +#else TBasicType type : 6; TPrecision precision; TQualifier qualifier : 7; +#endif Running webgl tests on Mac doesn't add any failures with this patch, and running Safari with this patch seems to render webgl fine.
Dean Jackson
Comment 18 2013-07-15 13:25:27 PDT
Comment on attachment 206622 [details] Patch We explicitly use the older Bison so that we don't commit code with a license that is incompatible with WebKit's terms. You'll need to regenerate the files with the older Bison.
Dean Jackson
Comment 19 2013-07-15 13:31:26 PDT
i.e. use Bison 2.3, not 2.4x Otherwise it all looks good.
Alex Christensen
Comment 20 2013-07-15 13:40:28 PDT
Created attachment 206683 [details] changes I made to ANGLE before running bison
Alex Christensen
Comment 21 2013-07-15 16:31:03 PDT
Early Warning System Bot
Comment 22 2013-07-15 16:35:49 PDT
Early Warning System Bot
Comment 23 2013-07-15 16:36:54 PDT
kov's GTK+ EWS bot
Comment 24 2013-07-15 16:40:47 PDT
Build Bot
Comment 25 2013-07-15 16:54:34 PDT
Alex Christensen
Comment 26 2013-07-15 17:07:07 PDT
Alex Christensen
Comment 27 2013-07-15 18:19:13 PDT
Dean Jackson
Comment 28 2013-07-16 16:03:48 PDT
Comment on attachment 206713 [details] Patch rs=me
WebKit Commit Bot
Comment 29 2013-07-16 22:33:00 PDT
Comment on attachment 206713 [details] Patch Clearing flags on attachment: 206713 Committed r152755: <http://trac.webkit.org/changeset/152755>
WebKit Commit Bot
Comment 30 2013-07-16 22:33:05 PDT
All reviewed patches have been landed. Closing bug.
Dean Jackson
Comment 31 2013-07-20 15:25:36 PDT
Alex Christensen
Comment 32 2013-07-22 16:36:38 PDT
Alex Christensen
Comment 33 2013-07-22 16:41:11 PDT
This time I ran leaks tests and it doesn't add 4 million leaks
Build Bot
Comment 34 2013-07-22 16:41:26 PDT
EFL EWS Bot
Comment 35 2013-07-22 16:47:01 PDT
Early Warning System Bot
Comment 36 2013-07-22 16:47:07 PDT
Early Warning System Bot
Comment 37 2013-07-22 16:47:56 PDT
EFL EWS Bot
Comment 38 2013-07-22 16:53:09 PDT
Build Bot
Comment 39 2013-07-22 17:01:51 PDT
Alex Christensen
Comment 40 2013-07-22 17:19:49 PDT
Early Warning System Bot
Comment 41 2013-07-22 17:33:02 PDT
EFL EWS Bot
Comment 42 2013-07-22 17:37:17 PDT
kov's GTK+ EWS bot
Comment 43 2013-07-22 17:42:37 PDT
Alex Christensen
Comment 44 2013-07-22 17:45:42 PDT
kov's GTK+ EWS bot
Comment 45 2013-07-22 17:58:48 PDT
Alex Christensen
Comment 46 2013-07-23 10:45:59 PDT
I'm pretty sure my patch didn't break the GTK build because the error has nothing to do with ANGLE and GTK-WK2 built successfully. I also ran leak tests locally with this patch and it does not add 4 million leaks like the last one did.
Alex Christensen
Comment 47 2013-07-23 11:05:21 PDT
Early Warning System Bot
Comment 48 2013-07-23 11:20:08 PDT
kov's GTK+ EWS bot
Comment 49 2013-07-23 11:59:11 PDT
Alex Christensen
Comment 50 2013-07-23 13:14:21 PDT
Dean Jackson
Comment 51 2013-07-23 14:44:58 PDT
Comment on attachment 207343 [details] Patch rs=me
WebKit Commit Bot
Comment 52 2013-07-23 15:12:56 PDT
Comment on attachment 207343 [details] Patch Rejecting attachment 207343 [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-02', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 207343, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: /git.webkit.org/WebKit 576a5fb..9ce069c master -> origin/master Partial-rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc ... Currently at 153061 = 576a5fb847db0f1a9dd8fb3db2d257c8f2d817c5 r153062 = 9ce069c97e2f045384ba83f8d8c96113820779de Done rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc First, rewinding head to replay your work on top of it... Fast-forwarded master to refs/remotes/origin/master. Full output: http://webkit-queues.appspot.com/results/1158437
Alex Christensen
Comment 53 2013-07-23 15:34:27 PDT
Note You need to log in before you can comment on or make changes to this bug.