cb0e3b863b0e34293328269e56d3e7e6ef4a5c9c
[WebKit-https.git] / Source / ThirdParty / ANGLE / ChangeLog
1 2018-04-18  Jer Noble  <jer.noble@apple.com>
2
3         Don't put build products into WK_ALTERNATE_WEBKIT_SDK_PATH for engineering builds
4         https://bugs.webkit.org/show_bug.cgi?id=184762
5
6         Reviewed by Dan Bernstein.
7
8         * Configurations/Base.xcconfig:
9
10 2018-04-19  David Kilzer  <ddkilzer@apple.com>
11
12         Enable Objective-C weak references
13         <https://webkit.org/b/184789>
14         <rdar://problem/39571716>
15
16         Reviewed by Dan Bernstein.
17
18         * Configurations/Base.xcconfig:
19         (CLANG_ENABLE_OBJC_WEAK): Enable.
20
21 2018-03-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
22
23         REGRESSION(r225340): WPE port should not be getting EGL X11 types on ANGLE
24         https://bugs.webkit.org/show_bug.cgi?id=183749
25
26         Reviewed by Alex Christensen.
27
28         Add back the USE_WPE ifdef.
29
30         * changes.diff:
31         * include/EGL/eglplatform.h:
32
33 2018-03-15  Tim Horton  <timothy_horton@apple.com>
34
35         Add and adopt WK_ALTERNATE_FRAMEWORKS_DIR in ANGLE
36         https://bugs.webkit.org/show_bug.cgi?id=183675
37         <rdar://problem/38515281>
38
39         Reviewed by Dan Bernstein.
40
41         * ANGLE.xcodeproj/project.pbxproj:
42         * Configurations/ANGLE.xcconfig:
43         * Configurations/Base.xcconfig:
44
45 2018-01-27  Dan Bernstein  <mitz@apple.com>
46
47         HaveInternalSDK includes should be "#include?"
48         https://bugs.webkit.org/show_bug.cgi?id=179670
49
50         * Configurations/Base.xcconfig:
51
52 2018-01-18  Dan Bernstein  <mitz@apple.com>
53
54         [Xcode] Streamline and future-proof target-macOS-version-dependent build setting definitions
55         https://bugs.webkit.org/show_bug.cgi?id=181803
56
57         Reviewed by Tim Horton.
58
59         * Configurations/Base.xcconfig: Updated.
60         * Configurations/DebugRelease.xcconfig: Ditto.
61
62 2018-01-09  Dan Bernstein  <mitz@apple.com>
63
64         Removed some empty directories that were left behind
65
66         * src/third_party/murmurhash: Removed.
67         * third_party: Removed.
68         * third_party/deqp: Removed.
69
70 2017-12-14  David Kilzer  <ddkilzer@apple.com>
71
72         Enable -Wstrict-prototypes for WebKit
73         <https://webkit.org/b/180757>
74         <rdar://problem/36024132>
75
76         Rubber-stamped by Joseph Pecoraro.
77
78         * Configurations/Base.xcconfig:
79         (CLANG_WARN_STRICT_PROTOTYPES): Add. Set to YES.
80
81 2017-12-06  Dean Jackson  <dino@apple.com>
82
83         Update ANGLE's changes.diff
84         https://bugs.webkit.org/show_bug.cgi?id=180491
85
86         Reviewed by Antoine Quint.
87
88         Here is the list of things we've changed from the
89         ANGLE commit that we merged in.
90
91         * changes.diff:
92
93 2017-12-06  Dean Jackson  <dino@apple.com>
94
95         Some iOS tests failing after ANGLE update
96         https://bugs.webkit.org/show_bug.cgi?id=180487
97         <rdar://problem/35885969>
98
99         Reviewed by Antoine Quint.
100
101         The iOS OpenGL compiler doesn't like function declarations with
102         nameless array parameters. See:
103         <rdar://problem/35885989> Nameless array parameters in function declaration cause compiler error
104
105         While that is being fixed, tell ANGLE's translator to not cull
106         the names from parameters. This is not a bug in ANGLE, so we won't
107         fix it upstream at the moment.
108
109         * src/compiler/translator/ParseContext.cpp:
110         (sh::TParseContext::addFunctionPrototypeDeclaration):
111
112 2017-12-01  Michael Catanzaro  <mcatanzaro@igalia.com>
113
114         Unreviewed, fix byte order macros and address new -Wunknown-pragmas warnings
115         https://bugs.webkit.org/show_bug.cgi?id=180177
116         <rdar://problem/35774734>
117
118         I'm not sure how this code was developed, as it seems to have been designed for GCC, but it
119         does not use any of GCC's documented byte order macros, and accordingly does not work. Let's
120         fix it to guarantee there are no problems when building with GCC. I presume it should help
121         Clang as well.
122
123         This time, hopefully without breaking 32-bit macOS, where __BYTE_ORDER actually is defined.
124
125         * src/common/third_party/smhasher/src/PMurHash.cpp:
126         (angle::PMurHash32_Process):
127
128 2017-12-01  Ryan Haddad  <ryanhaddad@apple.com>
129
130         Unreviewed, rolling out r225412.
131
132         Breaks 32-bit macOS builds.
133
134         Reverted changeset:
135
136         "Unreviewed, fix byte order macros and address new -Wunknown-
137         pragmas warnings"
138         https://bugs.webkit.org/show_bug.cgi?id=180177
139         https://trac.webkit.org/changeset/225412
140
141 2017-12-01  Michael Catanzaro  <mcatanzaro@igalia.com>
142
143         Unreviewed, fix byte order macros and address new -Wunknown-pragmas warnings
144         https://bugs.webkit.org/show_bug.cgi?id=180177
145         <rdar://problem/35774734>
146
147         I'm not sure how this code was developed, as it seems to have been designed for GCC, but it
148         does not use any of GCC's documented byte order macros, and accordingly does not work. Let's
149         fix it to guarantee there are no problems when building with GCC. I presume it should help
150         Clang as well.
151
152         * src/common/third_party/smhasher/src/PMurHash.cpp:
153         (angle::PMurHash32_Process):
154
155 2017-12-01  Tomoki Imai  <Tomoki.Imai@sony.com>
156
157         Fix WinCairo build break after r225340
158         https://bugs.webkit.org/show_bug.cgi?id=180230
159
160         Unreviewed build fix.
161
162         * CMakeLists.txt: Add missing sources.
163         * PlatformWin.cmake: Add missing sources.
164
165 2017-12-01  Michael Catanzaro  <mcatanzaro@igalia.com>
166
167         Unreviewed, fix -Wunknown-pragmas warnings.
168         https://bugs.webkit.org/show_bug.cgi?id=180177
169
170         It seems GCC has started to warn about unrecognized Clang pragmas. Oh well.
171
172         This is not sent upstream, because the Clang pragmas appear to be downstream WebKit
173         additions. changes.diff is not updated, because it was not updated in yesterday's ANGLE
174         update.
175
176         * include/GLSLANG/ShaderVars.h:
177         * src/libANGLE/Platform.cpp:
178
179 2017-11-30  Alex Christensen  <achristensen@webkit.org>
180
181         Speculative WinCairo fix.
182         https://bugs.webkit.org/show_bug.cgi?id=180177
183
184         * CMakeLists.txt:
185         * PlatformWin.cmake:
186
187 2017-11-30  Ryan Haddad  <ryanhaddad@apple.com>
188
189         Unreviewed build fix, remove executable property from a header file.
190
191         * include/KHR/khrplatform.h: Removed property svn:executable.
192
193 2017-11-30  Dean Jackson  <dino@apple.com>
194
195         Update ANGLE
196         https://bugs.webkit.org/show_bug.cgi?id=180177
197         <rdar://problem/35774734>
198
199         Reviewed by Alex Christensen.
200
201         Huge list of changed files omitted.
202
203 2017-07-18  Andy Estes  <aestes@apple.com>
204
205         [Xcode] Enable CLANG_WARN_RANGE_LOOP_ANALYSIS
206         https://bugs.webkit.org/show_bug.cgi?id=174631
207
208         Reviewed by Tim Horton.
209
210         * Configurations/Base.xcconfig:
211
212 2017-07-18  Andy Estes  <aestes@apple.com>
213
214         [Xcode] Enable CLANG_WARN_OBJC_LITERAL_CONVERSION
215         https://bugs.webkit.org/show_bug.cgi?id=174631
216
217         Reviewed by Sam Weinig.
218
219         * Configurations/Base.xcconfig:
220
221 2017-07-18  Andy Estes  <aestes@apple.com>
222
223         [Xcode] Enable CLANG_WARN_NON_LITERAL_NULL_CONVERSION
224         https://bugs.webkit.org/show_bug.cgi?id=174631
225
226         Reviewed by Dan Bernstein.
227
228         * Configurations/Base.xcconfig:
229
230 2017-07-18  Andy Estes  <aestes@apple.com>
231
232         [Xcode] Enable CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING
233         https://bugs.webkit.org/show_bug.cgi?id=174631
234
235         Reviewed by Darin Adler.
236
237         * Configurations/Base.xcconfig:
238
239 2017-07-13  Adrian Perez de Castro  <aperez@igalia.com>
240
241         eglplatform.h does not support Wayland
242         https://bugs.webkit.org/show_bug.cgi?id=163482
243
244         This makes it possible to build WebKitGTK+ when the target system has only Wayland support,
245         but no X11 (and therefore the X11 headers are not present).
246
247         Reviewed by Alex Christensen.
248
249         * include/EGL/eglplatform.h: Add Wayland typedefs when WL_EGL_PLATFORM is defined (for example
250         by including wayland-egl.h before including EGL/egl.h). Also, include the X11 headers only
251         when ANGLE_USE_X11 is defined and, for consistency with Mesa's version of the header, when
252         MESA_EGL_NO_X11_HEADERS is not defined.
253
254 2017-07-03  Andy Estes  <aestes@apple.com>
255
256         [Xcode] Add an experimental setting to build with ccache
257         https://bugs.webkit.org/show_bug.cgi?id=173875
258
259         Reviewed by Tim Horton.
260
261         * Configurations/DebugRelease.xcconfig: Included ccache.xcconfig.
262
263 2017-07-01  Dan Bernstein  <mitz@apple.com>
264
265         [macOS] Remove code only needed when building for OS X Yosemite
266         https://bugs.webkit.org/show_bug.cgi?id=174067
267
268         Reviewed by Tim Horton.
269
270         * Configurations/Base.xcconfig:
271         * Configurations/DebugRelease.xcconfig:
272
273 2017-06-10  Dan Bernstein  <mitz@apple.com>
274
275         Reverted r218056 because it made the IDE reindex constantly.
276
277         * Configurations/DebugRelease.xcconfig:
278
279 2017-06-10  Dan Bernstein  <mitz@apple.com>
280
281         [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
282         https://bugs.webkit.org/show_bug.cgi?id=173223
283
284         Reviewed by Sam Weinig.
285
286         The rebuilds were happening due to a difference in the compiler options that the IDE and
287         xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
288         xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
289         specify an appropriate path in CLANG_INDEX_STORE_PATH.
290
291         * Configurations/DebugRelease.xcconfig:
292
293 2017-05-28  Dan Bernstein  <mitz@apple.com>
294
295         [Xcode] ALWAYS_SEARCH_USER_PATHS is set to YES
296         https://bugs.webkit.org/show_bug.cgi?id=172691
297
298         Reviewed by Tim Horton.
299
300         * Configurations/Base.xcconfig: Set ALWAYS_SEARCH_USER_PATHS to NO.
301
302 2017-05-09  Zan Dobersek  <zdobersek@igalia.com>
303
304         Upstream the WPE port
305         https://bugs.webkit.org/show_bug.cgi?id=171110
306
307         Reviewed by Alex Christensen.
308
309         * include/EGL/eglplatform.h:
310         Allow building WPE on platforms that don't provide X11 libraries.
311
312 2017-05-04  Don Olmstead  <don.olmstead@am.sony.com>
313
314         [Win] Remove redundant macros that are set in the CMake config
315         https://bugs.webkit.org/show_bug.cgi?id=171571
316
317         Reviewed by Brent Fulgham.
318
319         * CMakeLists.txt:
320
321 2017-04-20  Konstantin Tokarev  <annulen@yandex.ru>
322
323         [cmake] Define FORWARDING_HEADERS_DIR in WebKitFS and use it everywhere
324         https://bugs.webkit.org/show_bug.cgi?id=171071
325
326         Reviewed by Michael Catanzaro.
327
328         "${DERIVED_SOURCES_DIR}/ForwardingHeaders" path occurs very often in the
329         build system files. GTK-specifc FORWARDING_HEADERS_DIR variable should
330         be available for all ports.
331
332         * CMakeLists.txt:
333
334 2017-04-20  Fujii Hironori  <Hironori.Fujii@sony.com>
335
336         [WinCairo] Fix build break after updating ANGLE
337         https://bugs.webkit.org/show_bug.cgi?id=170980
338
339         Reviewed by Brent Fulgham.
340
341         * CMakeLists.txt: Added some new source files.
342         * PlatformMac.cmake: Ditto.
343         * PlatformWin.cmake: Ditto. Remove a macro 'ANGLE_WEBKIT_WIN'
344         because SoftLinking is not used anymore.
345         * src/third_party/systeminfo/: Restored.
346
347 2017-04-19  Ryan Haddad  <ryanhaddad@apple.com>
348
349         Remove executable property from a header file.
350
351         * include/KHR/khrplatform.h: Removed property svn:executable.
352
353 2017-04-18  Dean Jackson  <dino@apple.com>
354
355         Add the actual content to the files, now that
356         SVN knows they can have tabs.
357
358         * src/third_party/murmurhash/MurmurHash3.cpp:
359         * src/third_party/murmurhash/MurmurHash3.h:
360
361 2017-04-18  Dean Jackson  <dino@apple.com>
362
363         WinCairo needs these files I recently removed
364         from our copy of ANGLE.
365
366         * src/third_party/murmurhash/LICENSE: Added.
367         * src/third_party/murmurhash/MurmurHash3.cpp: Added.
368         * src/third_party/murmurhash/MurmurHash3.h: Added.
369
370 2017-04-18  Dean Jackson  <dino@apple.com>
371
372         Still trying to fix Windows.
373
374         * PlatformWin.cmake:
375
376 2017-04-18  Dean Jackson  <dino@apple.com>
377
378         Attempt to fix the Windows build.
379
380         * PlatformWin.cmake:
381
382 2017-04-18  Dean Jackson  <dino@apple.com>
383
384         Update ANGLE
385         https://bugs.webkit.org/show_bug.cgi?id=170941
386         <rdar://problem/31633999>
387
388         Reviewed by Alex Christensen.
389
390         Huge list of changed files omitted.
391
392 2017-04-12  Dan Bernstein  <mitz@apple.com>
393
394         [Mac] Future-proof .xcconfig files
395         https://bugs.webkit.org/show_bug.cgi?id=170802
396
397         Reviewed by Tim Horton.
398
399         * Configurations/Base.xcconfig:
400         * Configurations/DebugRelease.xcconfig:
401
402 2016-12-20  Tim Horton  <timothy_horton@apple.com>
403
404         Remove an ANGLE Markdown file from the ANGLE target
405         https://bugs.webkit.org/show_bug.cgi?id=166279
406
407         Reviewed by Alex Christensen.
408
409         * ANGLE.xcodeproj/project.pbxproj:
410         We don't need to build this, it's not source code.
411
412 2016-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
413
414         Sort Xcode project files
415         https://bugs.webkit.org/show_bug.cgi?id=165937
416
417         Reviewed by Simon Fraser.
418
419         * ANGLE.xcodeproj/project.pbxproj:
420
421 2016-12-15  Alex Christensen  <achristensen@webkit.org>
422
423         Fix Windows WebGL build after r209832
424
425         * CMakeLists.txt:
426         * include/EGL/egl.h:
427         * include/GLES2/gl2.h:
428
429 2016-12-14  Alex Christensen  <achristensen@webkit.org>
430
431         Progress towards using ANGLE to do WebGL rendering
432         https://bugs.webkit.org/show_bug.cgi?id=165864
433
434         Reviewed by Dean Jackson.
435
436         * ANGLE.xcodeproj/project.pbxproj:
437         Compile more files, and add some more "public" headers.
438         ANGLE is not a public framework, so these headers just go in 
439         WebKitBuild/Release/usr/local/include/ANGLE to be included when compiling WebCore.
440         * ANGLE/egl.h: Added.
441         * ANGLE/eglext.h: Added.
442         * ANGLE/eglplatform.h: Added.
443         * ANGLE/entry_points_gles_2_0.h: Added.
444         * ANGLE/entry_points_gles_2_0_ext.h: Added.
445         * ANGLE/entry_points_gles_3_0.h: Added.
446         * ANGLE/export.h: Added.
447         * ANGLE/gl2.h: Added.
448         * ANGLE/gl2ext.h: Added.
449         * ANGLE/gl2platform.h: Added.
450         * ANGLE/gl3.h: Added.
451         * ANGLE/gl31.h: Added.
452         * ANGLE/gl3platform.h: Added.
453         * ANGLE/khrplatform.h: Added.
454         Add more forwarding headers.  There are already a few, but we need more.
455         * CMakeLists.txt:
456         * PlatformMac.cmake:
457         Make the frameworks linked to by ANGLE be private so frameworks that link with 
458         ANGLE don't automatically link with them. This allows me to switch ANGLE from a 
459         static library to a dynamic library to make sure WebCore isn't directly using OpenGL.
460         * PlatformWin.cmake:
461         Move HLSL-specific files to only be built on Windows.
462         * include/EGL/egl.h:
463         * include/EGL/eglplatform.h:
464         * include/GLES2/gl2.h:
465         * include/GLES2/gl2platform.h:
466         * include/GLES3/gl3.h:
467         * include/GLES3/gl31.h:
468         * include/GLES3/gl32.h:
469         * include/GLES3/gl3platform.h:
470         * src/libGLESv2/entry_points_egl.h:
471         * src/libGLESv2/entry_points_egl_ext.h:
472         * src/libGLESv2/entry_points_gles_2_0.h:
473         * src/libGLESv2/entry_points_gles_2_0_ext.h:
474         * src/libGLESv2/entry_points_gles_3_0.h:
475         * src/libGLESv2/entry_points_gles_3_1.h:
476         Include ANGLE headers as #include <ANGLE/*> instead of #include <KHR/*> or #include <GLES/*>
477         This is needed to distinguish the ANGLE headers from any system OpenGL/OpenGLES headers.
478         We will eventually only include ANGLE's entry_points_*.h directly from WebCore.
479
480 2016-12-07  Alex Christensen  <achristensen@webkit.org>
481
482         Build more of ANGLE on Mac and Windows
483         https://bugs.webkit.org/show_bug.cgi?id=165543
484
485         Reviewed by Dean Jackson.
486
487         We will need to compile these files to use ANGLE's GLESv2 implementation instead of 
488         using OpenGL directly. No functional change.
489
490         * ANGLE.xcodeproj/project.pbxproj:
491         * CMakeLists.txt:
492         Move platform-specific files to Platform*.cmake.
493         * PlatformMac.cmake: Added.
494         * PlatformWin.cmake: Added.
495         * src/libANGLE/renderer/Format.cpp:
496         * src/libANGLE/renderer/Format_autogen.cpp:
497         (angle::Format::Get):
498         * src/libANGLE/renderer/gl/PathGL.cpp:
499         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.h:
500         * src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.mm:
501         Rename SwapLayer to WebSwapLayer.  Otherwise, WebCore complains about improperly named ObjC classes.
502         Since this is the only one, let's just rename it instead of adding an exception.
503         (rx::WindowSurfaceCGL::initialize):
504         (-[SwapLayer initWithSharedState:withContext:withFunctions:]): Deleted.
505         * src/libANGLE/renderer/gl/formatutilsgl.cpp:
506         (rx::nativegl::GetInternalFormatMap):
507         (rx::nativegl::GetInternalFormatInfo):
508         * src/libANGLE/renderer/renderer_utils.cpp:
509         (rx::GetColorWriteFunction):
510         * src/libGLESv2/entry_points_egl.cpp:
511         (egl::GetProcAddress):
512
513 2016-12-06  Alexey Proskuryakov  <ap@apple.com>
514
515         Correct SDKROOT values in xcconfig files
516         https://bugs.webkit.org/show_bug.cgi?id=165487
517         rdar://problem/29539209
518
519         Reviewed by Dan Bernstein.
520
521         Fix suggested by Dan Bernstein.
522
523         * Configurations/DebugRelease.xcconfig:
524
525 2016-10-30  Michael Catanzaro  <mcatanzaro@igalia.com>
526
527         -Wpragmas warning spam from angleutils.h
528         https://bugs.webkit.org/show_bug.cgi?id=164207
529
530         Reviewed by Darin Adler.
531
532         Use #pragma clang instead of #pragma GCC since all of the warnings we need to suppress are
533         Clang-specific warnings. GCC ignores unknown pragmas and does not warn, but it does warn if
534         any GCC pragma is invalid.
535
536         Note that this might still be broken for MSVCC, as MSVCC warns when it sees unknown pragmas.
537
538         * changes.diff:
539         * src/common/angleutils.cpp:
540         (FormatString):
541         * src/common/angleutils.h:
542         (MakeStaticString):
543         * src/common/debug.cpp:
544         * src/common/mathutil.cpp:
545         * src/libANGLE/Caps.cpp:
546         (gl::TextureCapsMap::get):
547         (gl::GetExtensionInfoMap):
548         * src/libANGLE/Device.cpp:
549         (egl::GetDeviceSet):
550         * src/libANGLE/Display.cpp:
551         (egl::Display::getClientExtensionString):
552         * src/libANGLE/formatutils.cpp:
553         (gl::GetInternalFormatMap):
554         (gl::GetAllSizedInternalFormats):
555         * src/libANGLE/validationES3.cpp:
556         (gl::IsValidES3CopyTexImageCombination):
557
558 2016-10-28  Alex Christensen  <achristensen@webkit.org>
559
560         Another build fix.
561
562         * CMakeLists.txt:
563
564 2016-10-28  Alex Christensen  <achristensen@webkit.org>
565
566         Fix Windows WebGL build after r208036
567         https://bugs.webkit.org/show_bug.cgi?id=164101
568
569         * CMakeLists.txt:
570
571 2016-10-27  Alex Christensen  <achristensen@webkit.org>
572
573         Fix Windows WebGL build after r208036
574         https://bugs.webkit.org/show_bug.cgi?id=164101
575
576         * CMakeLists.txt:
577         Add new files, remove deleted files.
578
579 2016-10-27  Alex Christensen  <achristensen@webkit.org>
580
581         Update ANGLE
582         https://bugs.webkit.org/show_bug.cgi?id=164101
583
584         Reviewed by Darin Adler.
585
586         Updated to f01731530e7f754e5ebaf32d00f3e23b62376424
587         Differences between upstream ANGLE and WebKit's copy of ANGLE are in changes.diff
588
589 2016-10-24  Alex Christensen  <achristensen@webkit.org>
590
591         Remove unused ANGLE.vcxproj after switching to CMake on Windows
592
593         * ANGLE.vcxproj: Removed.
594         * ANGLE.vcxproj/ANGLERelease.props: Removed.
595         * ANGLE.vcxproj/DirectX32.props: Removed.
596         * ANGLE.vcxproj/DirectX64.props: Removed.
597         * ANGLE.vcxproj/libEGL.vcxproj: Removed.
598         * ANGLE.vcxproj/libEGL.vcxproj.filters: Removed.
599         * ANGLE.vcxproj/libEGLCommon.props: Removed.
600         * ANGLE.vcxproj/libGLESv2.vcxproj: Removed.
601         * ANGLE.vcxproj/libGLESv2.vcxproj.filters: Removed.
602         * ANGLE.vcxproj/libGLESv2Common.props: Removed.
603         * ANGLE.vcxproj/preprocessor.vcxproj: Removed.
604         * ANGLE.vcxproj/preprocessor.vcxproj.filters: Removed.
605         * ANGLE.vcxproj/translatorCommon.props: Removed.
606         * ANGLE.vcxproj/translator_common.vcxproj: Removed.
607         * ANGLE.vcxproj/translator_common.vcxproj.filters: Removed.
608         * ANGLE.vcxproj/translator_glsl.vcxproj: Removed.
609         * ANGLE.vcxproj/translator_glsl.vcxproj.filters: Removed.
610         * ANGLE.vcxproj/translator_hlsl.vcxproj: Removed.
611         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters: Removed.
612
613 2016-09-09  Dean Jackson  <dino@apple.com>
614
615         [ANGLE] instantiation of variable 'gl::GLTypeToGLenum<float>::value' required here, but no definition is available
616         https://bugs.webkit.org/show_bug.cgi?id=161829
617         <rdar://problem/28051244>
618
619         Reviewed by Alex Christensen.
620
621         Newer versions of clang require explicit definition of some template types
622         if they are in another translation unit.
623
624         * src/libANGLE/Program.cpp: Add definitions for GLTypeToGLenum.
625
626 2016-07-29  David Kilzer  <ddkilzer@apple.com>
627
628         ANGLE: Fix global constructors and exit-time destructors
629         <https://webkit.org/b/160332>
630
631         Reviewed by Darin Adler.
632
633         * Configurations/Base.xcconfig:
634         - Add warning flags.
635
636         * src/common/angleutils.cpp:
637         (FormatString):
638         * src/common/angleutils.h:
639         (MakeStaticString):
640         * src/common/debug.cpp:
641         * src/common/mathutil.cpp:
642         (gl::g_sharedexp_max):
643         (gl::convertRGBFloatsTo999E5):
644         * src/compiler/translator/ShaderLang.cpp:
645         (ShGetUniformRegisterMap):
646         * src/libANGLE/Caps.cpp:
647         (gl::TextureCapsMap::get):
648         * src/libANGLE/Device.cpp:
649         (egl::GetDeviceSet):
650         * src/libANGLE/Display.cpp:
651         (egl::Display::getClientExtensionString):
652         * src/libANGLE/formatutils.cpp:
653         (gl::BuildFormatMap):
654         (gl::BuildInternalFormatInfoMap):
655         (gl::GetInternalFormatMap):
656         (gl::BuildAllSizedInternalFormatSet):
657         (gl::GetSizedInternalFormat):
658         (gl::GetAllSizedInternalFormats):
659         * src/libANGLE/validationES3.cpp:
660         (gl::BuildES3FormatSet):
661         (gl::ValidateTexImageFormatCombination):
662         (gl::BuildSizedEffectiveInternalFormatList):
663         (gl::BuildUnsizedEffectiveInternalFormatList):
664         (gl::GetEffectiveInternalFormat):
665         (gl::BuildValidES3CopyTexImageCombinations):
666         (gl::IsValidES3CopyTexImageCombination):
667         - Fix global constructors and exit-time destructors.
668
669 2016-07-13  Enrica Casucci  <enrica@apple.com>
670
671         Update supported platforms in xcconfig files to match the sdk names.
672         https://bugs.webkit.org/show_bug.cgi?id=159728
673
674         Reviewed by Tim Horton.
675
676         * Configurations/Base.xcconfig:
677
678 2016-05-24  Alex Christensen  <achristensen@webkit.org>
679
680         Fix iOS WebGL after r199738
681         https://bugs.webkit.org/show_bug.cgi?id=158024
682         rdar://problem/26446679
683
684         Reviewed by Myles Maxfield.
685
686         * ANGLE.xcodeproj/project.pbxproj:
687         iOS needs the ESSL translator.
688
689 2016-05-22  Brady Eidson  <beidson@apple.com>
690
691         Move to C++14.
692         https://bugs.webkit.org/show_bug.cgi?id=157948
693
694         Reviewed by Michael Catanzaro.
695
696         * Configurations/Base.xcconfig:
697
698 2016-04-26  Per Arne Vollan  <peavo@outlook.com>
699
700         [WinCairo][ANGLE] Display object is not created.
701         https://bugs.webkit.org/show_bug.cgi?id=157042
702
703         Reviewed by Alex Christensen.
704
705         The CreateDisplayFromAttribs function will not create a DisplayD3D object when the requested
706         type is EGL_PLATFORM_ANGLE_TYPE_DEFAULT_ANGLE, because ANGLE_ENABLE_OPENGL is not defined.
707         We should be able to create a DisplayD3D object without defining ANGLE_ENABLE_OPENGL.
708
709         * src/libANGLE/Display.cpp:
710
711 2016-04-26  Per Arne Vollan  <peavo@outlook.com>
712
713         [WinCairo][WebGL] Enable ESSL and GLSL translators.
714         https://bugs.webkit.org/show_bug.cgi?id=157002
715
716         Reviewed by Darin Adler.
717
718         Enable support for ESSL and GLSL translators, and add missing files.
719
720         * CMakeLists.txt:
721
722 2016-04-22  Joonghun Park  <jh718.park@samsung.com>
723
724         [ANGLE] Remove deprecated auto_ptr warning. Unreviewed.
725         https://bugs.webkit.org/show_bug.cgi?id=156894
726
727         * src/compiler/preprocessor/MacroExpander.h: Use std::unique_ptr instead of std::auto_ptr.
728
729 2016-04-19  Alex Christensen  <achristensen@webkit.org>
730
731         Build fix after r199738
732
733         * CMakeLists.txt:
734
735 2016-04-19  Alex Christensen  <achristensen@webkit.org>
736
737         Build fix after r199738
738
739         * CMakeLists.txt:
740
741 2016-04-19  Alex Christensen  <achristensen@webkit.org>
742
743         Build fix.
744
745         * src/compiler/translator/Intermediate.h: Added.
746         (TIntermediate::TIntermediate):
747         * src/compiler/translator/intermediate.h: Removed.
748         Changed case of Intermediate.h file name for case sensitive file systems.
749
750 2016-04-19  Alex Christensen  <achristensen@webkit.org>
751
752         Update ANGLE
753         https://bugs.webkit.org/show_bug.cgi?id=156755
754
755         Reviewed by Dean Jackson.
756
757         Huge list of changed files omitted.
758
759 2016-04-12  Alex Christensen  <achristensen@webkit.org>
760
761         Remove failing assertion in ANGLE
762         https://bugs.webkit.org/show_bug.cgi?id=156485
763
764         Reviewed by Dean Jackson.
765
766         * src/compiler/translator/glslang.l:
767         * src/compiler/translator/glslang_lex.cpp:
768
769 2016-04-11  Fujii Hironori  <Hironori.Fujii@jp.sony.com>
770
771         [CMake] Make FOLDER property INHERITED
772         https://bugs.webkit.org/show_bug.cgi?id=156460
773
774         Reviewed by Brent Fulgham.
775
776         * CMakeLists.txt:
777         Set FOLDER property as a directory property not a target property
778
779 2016-03-22  Alberto Garcia  <berto@igalia.com>
780
781         Unreviewed typo fix.
782
783         * src/compiler/translator/InfoSink.cpp:
784         (TInfoSinkBase::prefix): "UNKOWN" => "UNKOWN".
785
786 2016-03-20  Dan Bernstein  <mitz@apple.com>
787
788         [Mac] Determine TARGET_MAC_OS_X_VERSION_MAJOR from MACOSX_DEPLOYMENT_TARGET rather than from MAC_OS_X_VERSION_MAJOR
789         https://bugs.webkit.org/show_bug.cgi?id=155707
790         <rdar://problem/24980691>
791
792         Reviewed by Darin Adler.
793
794         * Configurations/Base.xcconfig: Set TARGET_MAC_OS_X_VERSION_MAJOR based on the last
795           component of MACOSX_DEPLOYMENT_TARGET.
796         * Configurations/DebugRelease.xcconfig: For engineering builds, preserve the behavior of
797           TARGET_MAC_OS_X_VERSION_MAJOR being the host’s OS version.
798
799 2016-03-20  Dan Bernstein  <mitz@apple.com>
800
801         Update build settings
802
803         Rubber-stamped by Andy Estes.
804
805         * Configurations/DebugRelease.xcconfig:
806
807 2016-02-23  Dan Bernstein  <mitz@apple.com>
808
809         [Xcode] Linker errors display mangled names, but no longer should
810         https://bugs.webkit.org/show_bug.cgi?id=154632
811
812         Reviewed by Sam Weinig.
813
814         * Configurations/Base.xcconfig: Stop setting LINKER_DISPLAYS_MANGLED_NAMES to YES.
815
816 2016-01-08  Brent Fulgham  <bfulgham@apple.com>
817
818         [ANGLE] Correct UNREACHABLE runtime assertion for void constructors
819         https://bugs.webkit.org/show_bug.cgi?id=152900
820         <rdar://problem/24107501>
821
822         Reviewed by Alex Christensen.
823
824         Tested by Khronos WebGL 1.0.4 suite.
825
826         Merge a small part of ANGLE upstream commit r284735:
827         
828             commit    01971113492d9aca386f2bca021b1f4b134fc277
829             author    Dmitry Skiba <dskiba@google.com>  Fri Jul 10 18:54:00 2015
830             committer Jamie Madill <jmadill@chromium.org>  Fri Jul 10 19:03:34 2015
831             tree      47e42eac00f7d64cddb14b3cc21a4e605c189d20
832
833         This issue was found by <https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/bugs/angle-constructor-invalid-parameters.html?webglVersion=1&quiet=0>
834
835         * src/compiler/translator/Types.cpp:
836         (TType::buildMangledName): Don't assert with UNREACHABLE here.
837
838 2015-12-28  Joonghun Park  <jh718.park@samsung.com>
839
840         [ANGLE][EFL][GTK] Remove 'template<class> class std::auto_ptr is deprecated' compile warning
841         https://bugs.webkit.org/show_bug.cgi?id=152567
842
843         Reviewed by Alex Christensen.
844
845         Because auto_ptr is deprecated as of C++11, we should use unique_ptr instead.
846
847         * src/compiler/preprocessor/MacroExpander.h:
848
849 2015-12-19  Dan Bernstein  <mitz@apple.com>
850
851         [Mac] WebKit contains dead source code for OS X Mavericks and earlier
852         https://bugs.webkit.org/show_bug.cgi?id=152462
853
854         Reviewed by Alexey Proskuryakov.
855
856         * Configurations/DebugRelease.xcconfig: Removed definitions of MACOSX_DEPLOYMENT_TARGET for
857           OS X 10.8 and 10.9.
858
859 2015-12-03  Anders Carlsson  <andersca@apple.com>
860
861         Remove Objective-C GC support
862         https://bugs.webkit.org/show_bug.cgi?id=151819
863         rdar://problem/23746991
864
865         Reviewed by Dan Bernstein.
866
867         * Configurations/Base.xcconfig:
868
869 2015-11-30  Dana Burkart  <dburkart@apple.com>
870
871         Remove Mountain Lion support from ANGLE
872         https://bugs.webkit.org/show_bug.cgi?id=151679
873
874         Reviewed by Darin Adler.
875
876         * Configurations/Base.xcconfig:
877
878 2015-11-02  Andy Estes  <aestes@apple.com>
879
880         [Cocoa] Add tvOS and watchOS to SUPPORTED_PLATFORMS
881         https://bugs.webkit.org/show_bug.cgi?id=150819
882
883         Reviewed by Dan Bernstein.
884
885         This tells Xcode to include these platforms in its Devices dropdown, making it possible to build in the IDE.
886
887         * Configurations/Base.xcconfig:
888
889 2015-10-10  Dan Bernstein  <mitz@apple.com>
890
891         [iOS] Remove project support for iOS 8
892         https://bugs.webkit.org/show_bug.cgi?id=149993
893
894         Reviewed by Alexey Proskuryakov.
895
896         * Configurations/ANGLE.xcconfig:
897         * Configurations/Base.xcconfig:
898
899 2015-08-20  Alex Christensen  <achristensen@webkit.org>
900
901         Clean up CMake build after r188673
902         https://bugs.webkit.org/show_bug.cgi?id=148234
903
904         Reviewed by Tim Horton.
905
906         * CMakeLists.txt:
907         Copy headers to forwarding headers.
908
909 2015-08-11  Brent Fulgham  <bfulgham@apple.com>
910
911         [Win] Switch Windows build to Visual Studio 2015
912         https://bugs.webkit.org/show_bug.cgi?id=147887
913         <rdar://problem/22235098>
914
915         Reviewed by Alex Christensen.
916
917         Update Visual Studio project file settings to use the current Visual
918         Studio and compiler. Continue targeting binaries to run on our minimum
919         supported configuration of Windows 7.
920
921         * ANGLE.vcxproj/libEGL.vcxproj:
922         * ANGLE.vcxproj/libGLESv2.vcxproj:
923         * ANGLE.vcxproj/preprocessor.vcxproj:
924         * ANGLE.vcxproj/translator_common.vcxproj:
925         * ANGLE.vcxproj/translator_glsl.vcxproj:
926         * ANGLE.vcxproj/translator_hlsl.vcxproj:
927
928 2015-08-04  Alex Christensen  <achristensen@webkit.org>
929
930         Build fix after r187928.
931
932         * CMakeLists.txt:
933         Typo. Set libGLESv2 compile definitions instead of libEGL, which are set separately.
934
935 2015-08-04  Alex Christensen  <achristensen@webkit.org>
936
937         Soft link libGLESv2 and libEGL on Windows again
938         https://bugs.webkit.org/show_bug.cgi?id=147671
939
940         Reviewed by Dean Jackson.
941
942         * CMakeLists.txt:
943         Clean up some warnings when compiling with CMake.
944         * include/EGL/egl.h:
945         * include/EGL/eglsoftlinking.h:
946         * include/GLES2/gl2.h:
947         Soft link egl optionally.
948
949 2015-08-04  Alex Christensen  <achristensen@webkit.org>
950
951         Enable WebGL on Windows CMake build.
952         https://bugs.webkit.org/show_bug.cgi?id=143311
953
954         Reviewed by Csaba Osztrogonác.
955
956         * CMakeLists.txt: Added.
957
958 2015-07-03  Dan Bernstein  <mitz@apple.com>
959
960         [Xcode] Update some build settings as recommended by Xcode 7
961         https://bugs.webkit.org/show_bug.cgi?id=146597
962
963         Reviewed by Sam Weinig.
964
965         * ANGLE.xcodeproj/project.pbxproj: Enabled CLANG_WARN_BOOL_CONVERSION,
966         CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION, ENABLE_STRICT_OBJC_MSGSEND and
967         GCC_NO_COMMON_BLOCKS.
968
969         * Configurations/Base.xcconfig: Updated LastUpgradeCheck.
970
971 2015-07-03  Per Arne Vollan  <peavo@outlook.com>
972
973         [WinCairo][WebGL] Enable HLSL.
974         https://bugs.webkit.org/show_bug.cgi?id=146559
975
976         Reviewed by Alex Christensen.
977
978         High Level Shader Language needs to be enabled for WebGL to work on Windows.
979
980         * ANGLE.vcxproj/translatorCommon.props:
981         * ANGLE.vcxproj/translator_hlsl.vcxproj:
982         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters:
983
984 2015-07-01  Alex Christensen  <achristensen@webkit.org>
985
986         Re-enable WebGL on WinCairo
987         https://bugs.webkit.org/show_bug.cgi?id=146537
988
989         Reviewed by Csaba Osztrogonác.
990
991         * ANGLE.vcxproj/DirectX32.props:
992         * ANGLE.vcxproj/DirectX64.props:
993         * ANGLE.vcxproj/libGLESv2Common.props:
994         Update DirectX directories to use the Windows SDK instead of the June 2010 DirectX SDK.
995
996 2015-07-01  Alex Christensen  <achristensen@webkit.org>
997
998         Fix ANGLE Windows build after r186169.
999         https://bugs.webkit.org/show_bug.cgi?id=146532
1000
1001         Reviewed by Brent Fulgham.
1002
1003         * ANGLE.vcxproj/libEGL.vcxproj:
1004         * ANGLE.vcxproj/libEGL.vcxproj.filters:
1005         * ANGLE.vcxproj/libGLESv2.vcxproj:
1006         * ANGLE.vcxproj/libGLESv2.vcxproj.filters:
1007         * ANGLE.vcxproj/libGLESv2Common.props:
1008         * ANGLE.vcxproj/translator_common.vcxproj:
1009         * ANGLE.vcxproj/translator_common.vcxproj.filters:
1010         * ANGLE.vcxproj/translator_glsl.vcxproj:
1011         * ANGLE.vcxproj/translator_glsl.vcxproj.filters:
1012         * ANGLE.vcxproj/translator_hlsl.vcxproj:
1013         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters:
1014         Update Windows build to build new files.
1015
1016 2015-06-30  Alex Christensen  <achristensen@webkit.org>
1017
1018         Update ANGLE to b11e2483742db884bd0af41f78f528240577356b.
1019         https://bugs.webkit.org/show_bug.cgi?id=145010
1020
1021         Reviewed by Dean Jackson.
1022
1023         Huge list of source changes omitted.
1024         ROLL DEPS!
1025
1026 2015-05-26  Dan Bernstein  <mitz@apple.com>
1027
1028         <rdar://problem/21104551> Update build settings
1029
1030         Reviewed by Anders Carlsson.
1031
1032         * Configurations/Base.xcconfig:
1033         * Configurations/DebugRelease.xcconfig:
1034
1035 2015-05-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1036
1037         REGRESSION(r181571): Build broken when USE(OPENGL_ES_2) is defined.
1038         https://bugs.webkit.org/show_bug.cgi?id=145156
1039
1040         Reviewed by Alex Christensen.
1041
1042         * include/GLES2/gl2softlinking.h: Revert r181589. Vertex Array Objects are not in GLESv2.
1043
1044 2015-05-11  Brent Fulgham  <bfulgham@apple.com>
1045
1046         [Win] Move Windows build target to Windows 7 (or newer)
1047         https://bugs.webkit.org/show_bug.cgi?id=144890
1048         <rdar://problem/20707307>
1049
1050         Reviewed by Anders Carlsson.
1051
1052         Update linked SDK and minimal Windows level to be compatible with
1053         Windows 7 or newer.
1054
1055         * ANGLE.vcxproj/libEGL.vcxproj:
1056         * ANGLE.vcxproj/libGLESv2.vcxproj:
1057         * ANGLE.vcxproj/preprocessor.vcxproj:
1058         * ANGLE.vcxproj/translator_common.vcxproj:
1059         * ANGLE.vcxproj/translator_glsl.vcxproj:
1060         * ANGLE.vcxproj/translator_hlsl.vcxproj:
1061
1062 2015-05-07  Dan Bernstein  <mitz@apple.com>
1063
1064         <rdar://problem/19317140> [Xcode] Remove usage of AspenFamily.xcconfig in Source/
1065         https://bugs.webkit.org/show_bug.cgi?id=144727
1066
1067         Reviewed by Darin Adler.
1068
1069         * Configurations/Base.xcconfig: Don’t include AspenFamily.xcconfig, and define
1070         INSTALL_PATH_PREFIX and LD_DYLIB_INSTALL_NAME for the iOS 8.x Simulator.
1071
1072 2015-04-01  Alex Christensen  <achristensen@webkit.org>
1073
1074         Progress towards CMake on Windows and Mac.
1075         https://bugs.webkit.org/show_bug.cgi?id=143293
1076
1077         Reviewed by Filip Pizlo.
1078
1079         * include/GLES2/gl2.h:
1080         Temporarily disabled WebGL on Windows CMake builds.
1081
1082 2015-03-17  Zan Dobersek  <zdobersek@igalia.com>
1083
1084         [CMake] Use a forwarding header for ANGLE's ShaderLang.h to avoid picking up ANGLE's EGL headers
1085         https://bugs.webkit.org/show_bug.cgi?id=142530
1086
1087         Reviewed by Darin Adler.
1088
1089         * ANGLE/ShaderLang.h: Added. Includes include/GLSLANG/ShaderLang.h. Used in WebCore
1090         so we can avoid using ANGLE's EGL headers and use the system-default headers instead.
1091
1092 2015-03-16  Roger Fong  <roger_fong@apple.com>
1093
1094         [Win] Unreviewed build fix after r181571.
1095
1096         * include/GLES2/gl2softlinking.h:
1097
1098 2015-03-12  Brent Fulgham  <bfulgham@apple.com>
1099
1100         [Win] Unreviewed build fix (part 2).
1101
1102         * ANGLE.vcxproj/libGLESv2Common.props: Missed a directory separator.
1103
1104 2015-03-12  Brent Fulgham  <bfulgham@apple.com>
1105
1106         [Win] Unreviewed build fix for some DirectX SDK Installs
1107
1108         * ANGLE.vcxproj/libGLESv2Common.props: Correct path for Lib and
1109         Include paths based on problems others have had building WebKit
1110         under different Windows and DirectX revisions.
1111
1112 2015-02-20  Alexey Proskuryakov  <ap@apple.com>
1113
1114         Remove svn:keywords property.
1115
1116         As far as I can tell, the property had no effect on any of these files, but also,
1117         when it has effect it's likely harmful.
1118
1119         * ANGLE.txt: Removed property svn:keywords.
1120         * src/common/RefCountObject.cpp: Removed property svn:keywords.
1121         * src/common/RefCountObject.h: Removed property svn:keywords.
1122         * src/compiler/translator/BaseTypes.h: Removed property svn:keywords.
1123         * src/compiler/translator/BuiltInFunctionEmulator.cpp: Removed property svn:keywords.
1124         * src/compiler/translator/BuiltInFunctionEmulator.h: Removed property svn:keywords.
1125         * src/compiler/translator/CodeGen.cpp: Removed property svn:keywords.
1126         * src/compiler/translator/Common.h: Removed property svn:keywords.
1127         * src/compiler/translator/Compiler.cpp: Removed property svn:keywords.
1128         * src/compiler/translator/ConstantUnion.h: Removed property svn:keywords.
1129         * src/compiler/translator/DetectCallDepth.cpp: Removed property svn:keywords.
1130         * src/compiler/translator/DetectCallDepth.h: Removed property svn:keywords.
1131         * src/compiler/translator/DetectDiscontinuity.cpp: Removed property svn:keywords.
1132         * src/compiler/translator/DetectDiscontinuity.h: Removed property svn:keywords.
1133         * src/compiler/translator/Diagnostics.cpp: Removed property svn:keywords.
1134         * src/compiler/translator/Diagnostics.h: Removed property svn:keywords.
1135         * src/compiler/translator/DirectiveHandler.cpp: Removed property svn:keywords.
1136         * src/compiler/translator/DirectiveHandler.h: Removed property svn:keywords.
1137         * src/compiler/translator/ExtensionBehavior.h: Removed property svn:keywords.
1138         * src/compiler/translator/ForLoopUnroll.cpp: Removed property svn:keywords.
1139         * src/compiler/translator/ForLoopUnroll.h: Removed property svn:keywords.
1140         * src/compiler/translator/HashNames.h: Removed property svn:keywords.
1141         * src/compiler/translator/InfoSink.cpp: Removed property svn:keywords.
1142         * src/compiler/translator/InfoSink.h: Removed property svn:keywords.
1143         * src/compiler/translator/Initialize.cpp: Removed property svn:keywords.
1144         * src/compiler/translator/Initialize.h: Removed property svn:keywords.
1145         * src/compiler/translator/InitializeDll.cpp: Removed property svn:keywords.
1146         * src/compiler/translator/InitializeDll.h: Removed property svn:keywords.
1147         * src/compiler/translator/InitializeGlobals.h: Removed property svn:keywords.
1148         * src/compiler/translator/InitializeParseContext.cpp: Removed property svn:keywords.
1149         * src/compiler/translator/InitializeParseContext.h: Removed property svn:keywords.
1150         * src/compiler/translator/InitializeVariables.cpp: Removed property svn:keywords.
1151         * src/compiler/translator/InitializeVariables.h: Removed property svn:keywords.
1152         * src/compiler/translator/IntermTraverse.cpp: Removed property svn:keywords.
1153         * src/compiler/translator/Intermediate.cpp: Removed property svn:keywords.
1154         * src/compiler/translator/MMap.h: Removed property svn:keywords.
1155         * src/compiler/translator/NodeSearch.h: Removed property svn:keywords.
1156         * src/compiler/translator/OutputESSL.cpp: Removed property svn:keywords.
1157         * src/compiler/translator/OutputESSL.h: Removed property svn:keywords.
1158         * src/compiler/translator/OutputGLSL.cpp: Removed property svn:keywords.
1159         * src/compiler/translator/OutputGLSL.h: Removed property svn:keywords.
1160         * src/compiler/translator/OutputGLSLBase.cpp: Removed property svn:keywords.
1161         * src/compiler/translator/OutputGLSLBase.h: Removed property svn:keywords.
1162         * src/compiler/translator/OutputHLSL.cpp: Removed property svn:keywords.
1163         * src/compiler/translator/OutputHLSL.h: Removed property svn:keywords.
1164         * src/compiler/translator/ParseContext.cpp: Removed property svn:keywords.
1165         * src/compiler/translator/ParseContext.h: Removed property svn:keywords.
1166         * src/compiler/translator/PoolAlloc.cpp: Removed property svn:keywords.
1167         * src/compiler/translator/PoolAlloc.h: Removed property svn:keywords.
1168         * src/compiler/translator/Pragma.h: Removed property svn:keywords.
1169         * src/compiler/translator/QualifierAlive.cpp: Removed property svn:keywords.
1170         * src/compiler/translator/QualifierAlive.h: Removed property svn:keywords.
1171         * src/compiler/translator/RemoveTree.cpp: Removed property svn:keywords.
1172         * src/compiler/translator/RemoveTree.h: Removed property svn:keywords.
1173         * src/compiler/translator/RenameFunction.h: Removed property svn:keywords.
1174         * src/compiler/translator/RewriteElseBlocks.cpp: Removed property svn:keywords.
1175         * src/compiler/translator/RewriteElseBlocks.h: Removed property svn:keywords.
1176         * src/compiler/translator/SearchSymbol.cpp: Removed property svn:keywords.
1177         * src/compiler/translator/SearchSymbol.h: Removed property svn:keywords.
1178         * src/compiler/translator/ShHandle.h: Removed property svn:keywords.
1179         * src/compiler/translator/ShaderLang.cpp: Removed property svn:keywords.
1180         * src/compiler/translator/SymbolTable.cpp: Removed property svn:keywords.
1181         * src/compiler/translator/SymbolTable.h: Removed property svn:keywords.
1182         * src/compiler/translator/TranslatorESSL.cpp: Removed property svn:keywords.
1183         * src/compiler/translator/TranslatorESSL.h: Removed property svn:keywords.
1184         * src/compiler/translator/TranslatorGLSL.cpp: Removed property svn:keywords.
1185         * src/compiler/translator/TranslatorGLSL.h: Removed property svn:keywords.
1186         * src/compiler/translator/TranslatorHLSL.cpp: Removed property svn:keywords.
1187         * src/compiler/translator/TranslatorHLSL.h: Removed property svn:keywords.
1188         * src/compiler/translator/Types.h: Removed property svn:keywords.
1189         * src/compiler/translator/UnfoldShortCircuit.cpp: Removed property svn:keywords.
1190         * src/compiler/translator/UnfoldShortCircuit.h: Removed property svn:keywords.
1191         * src/compiler/translator/UnfoldShortCircuitAST.cpp: Removed property svn:keywords.
1192         * src/compiler/translator/UnfoldShortCircuitAST.h: Removed property svn:keywords.
1193         * src/compiler/translator/ValidateLimitations.cpp: Removed property svn:keywords.
1194         * src/compiler/translator/ValidateLimitations.h: Removed property svn:keywords.
1195         * src/compiler/translator/VariableInfo.cpp: Removed property svn:keywords.
1196         * src/compiler/translator/VariableInfo.h: Removed property svn:keywords.
1197         * src/compiler/translator/VariablePacker.cpp: Removed property svn:keywords.
1198         * src/compiler/translator/VariablePacker.h: Removed property svn:keywords.
1199         * src/compiler/translator/VersionGLSL.cpp: Removed property svn:keywords.
1200         * src/compiler/translator/VersionGLSL.h: Removed property svn:keywords.
1201         * src/compiler/translator/compilerdebug.cpp: Removed property svn:keywords.
1202         * src/compiler/translator/compilerdebug.h: Removed property svn:keywords.
1203         * src/compiler/translator/depgraph/DependencyGraph.cpp: Removed property svn:keywords.
1204         * src/compiler/translator/depgraph/DependencyGraph.h: Removed property svn:keywords.
1205         * src/compiler/translator/depgraph/DependencyGraphBuilder.cpp: Removed property svn:keywords.
1206         * src/compiler/translator/depgraph/DependencyGraphBuilder.h: Removed property svn:keywords.
1207         * src/compiler/translator/depgraph/DependencyGraphOutput.cpp: Removed property svn:keywords.
1208         * src/compiler/translator/depgraph/DependencyGraphOutput.h: Removed property svn:keywords.
1209         * src/compiler/translator/depgraph/DependencyGraphTraverse.cpp: Removed property svn:keywords.
1210         * src/compiler/translator/generate_parser.sh: Removed property svn:keywords.
1211         * src/compiler/translator/glslang.h: Removed property svn:keywords.
1212         * src/compiler/translator/glslang_lex.cpp: Removed property svn:keywords.
1213         * src/compiler/translator/glslang_tab.cpp: Removed property svn:keywords.
1214         * src/compiler/translator/glslang_tab.h: Removed property svn:keywords.
1215         * src/compiler/translator/intermOut.cpp: Removed property svn:keywords.
1216         * src/compiler/translator/intermediate.h: Removed property svn:keywords.
1217         * src/compiler/translator/localintermediate.h: Removed property svn:keywords.
1218         * src/compiler/translator/osinclude.h: Removed property svn:keywords.
1219         * src/compiler/translator/ossource_posix.cpp: Removed property svn:keywords.
1220         * src/compiler/translator/ossource_win.cpp: Removed property svn:keywords.
1221         * src/compiler/translator/parseConst.cpp: Removed property svn:keywords.
1222         * src/compiler/translator/timing/RestrictFragmentShaderTiming.cpp: Removed property svn:keywords.
1223         * src/compiler/translator/timing/RestrictFragmentShaderTiming.h: Removed property svn:keywords.
1224         * src/compiler/translator/timing/RestrictVertexShaderTiming.cpp: Removed property svn:keywords.
1225         * src/compiler/translator/timing/RestrictVertexShaderTiming.h: Removed property svn:keywords.
1226         * src/compiler/translator/util.cpp: Removed property svn:keywords.
1227         * src/compiler/translator/util.h: Removed property svn:keywords.
1228         * src/libGLESv2/renderer/d3d11/BufferStorage11.cpp: Removed property svn:keywords.
1229         * src/libGLESv2/renderer/d3d11/BufferStorage11.h: Removed property svn:keywords.
1230         * src/libGLESv2/renderer/d3d11/Fence11.cpp: Removed property svn:keywords.
1231         * src/libGLESv2/renderer/d3d11/Fence11.h: Removed property svn:keywords.
1232         * src/libGLESv2/renderer/d3d11/Image11.cpp: Removed property svn:keywords.
1233         * src/libGLESv2/renderer/d3d11/Image11.h: Removed property svn:keywords.
1234         * src/libGLESv2/renderer/d3d11/IndexBuffer11.cpp: Removed property svn:keywords.
1235         * src/libGLESv2/renderer/d3d11/IndexBuffer11.h: Removed property svn:keywords.
1236         * src/libGLESv2/renderer/d3d11/InputLayoutCache.cpp: Removed property svn:keywords.
1237         * src/libGLESv2/renderer/d3d11/InputLayoutCache.h: Removed property svn:keywords.
1238         * src/libGLESv2/renderer/d3d11/Query11.cpp: Removed property svn:keywords.
1239         * src/libGLESv2/renderer/d3d11/Query11.h: Removed property svn:keywords.
1240         * src/libGLESv2/renderer/d3d11/RenderStateCache.cpp: Removed property svn:keywords.
1241         * src/libGLESv2/renderer/d3d11/RenderStateCache.h: Removed property svn:keywords.
1242         * src/libGLESv2/renderer/d3d11/RenderTarget11.cpp: Removed property svn:keywords.
1243         * src/libGLESv2/renderer/d3d11/RenderTarget11.h: Removed property svn:keywords.
1244         * src/libGLESv2/renderer/d3d11/Renderer11.cpp: Removed property svn:keywords.
1245         * src/libGLESv2/renderer/d3d11/Renderer11.h: Removed property svn:keywords.
1246         * src/libGLESv2/renderer/d3d11/ShaderExecutable11.cpp: Removed property svn:keywords.
1247         * src/libGLESv2/renderer/d3d11/ShaderExecutable11.h: Removed property svn:keywords.
1248         * src/libGLESv2/renderer/d3d11/SwapChain11.cpp: Removed property svn:keywords.
1249         * src/libGLESv2/renderer/d3d11/SwapChain11.h: Removed property svn:keywords.
1250         * src/libGLESv2/renderer/d3d11/TextureStorage11.cpp: Removed property svn:keywords.
1251         * src/libGLESv2/renderer/d3d11/TextureStorage11.h: Removed property svn:keywords.
1252         * src/libGLESv2/renderer/d3d11/VertexBuffer11.cpp: Removed property svn:keywords.
1253         * src/libGLESv2/renderer/d3d11/VertexBuffer11.h: Removed property svn:keywords.
1254         * src/libGLESv2/renderer/d3d11/renderer11_utils.cpp: Removed property svn:keywords.
1255         * src/libGLESv2/renderer/d3d11/renderer11_utils.h: Removed property svn:keywords.
1256         * src/libGLESv2/renderer/d3d9/BufferStorage9.cpp: Removed property svn:keywords.
1257         * src/libGLESv2/renderer/d3d9/BufferStorage9.h: Removed property svn:keywords.
1258         * src/libGLESv2/renderer/d3d9/Fence9.cpp: Removed property svn:keywords.
1259         * src/libGLESv2/renderer/d3d9/Fence9.h: Removed property svn:keywords.
1260         * src/libGLESv2/renderer/d3d9/Image9.cpp: Removed property svn:keywords.
1261         * src/libGLESv2/renderer/d3d9/Image9.h: Removed property svn:keywords.
1262         * src/libGLESv2/renderer/d3d9/IndexBuffer9.cpp: Removed property svn:keywords.
1263         * src/libGLESv2/renderer/d3d9/IndexBuffer9.h: Removed property svn:keywords.
1264         * src/libGLESv2/renderer/d3d9/Query9.cpp: Removed property svn:keywords.
1265         * src/libGLESv2/renderer/d3d9/Query9.h: Removed property svn:keywords.
1266         * src/libGLESv2/renderer/d3d9/RenderTarget9.cpp: Removed property svn:keywords.
1267         * src/libGLESv2/renderer/d3d9/RenderTarget9.h: Removed property svn:keywords.
1268         * src/libGLESv2/renderer/d3d9/Renderer9.cpp: Removed property svn:keywords.
1269         * src/libGLESv2/renderer/d3d9/Renderer9.h: Removed property svn:keywords.
1270         * src/libGLESv2/renderer/d3d9/ShaderExecutable9.cpp: Removed property svn:keywords.
1271         * src/libGLESv2/renderer/d3d9/ShaderExecutable9.h: Removed property svn:keywords.
1272         * src/libGLESv2/renderer/d3d9/SwapChain9.cpp: Removed property svn:keywords.
1273         * src/libGLESv2/renderer/d3d9/SwapChain9.h: Removed property svn:keywords.
1274         * src/libGLESv2/renderer/d3d9/TextureStorage9.cpp: Removed property svn:keywords.
1275         * src/libGLESv2/renderer/d3d9/TextureStorage9.h: Removed property svn:keywords.
1276         * src/libGLESv2/renderer/d3d9/VertexBuffer9.cpp: Removed property svn:keywords.
1277         * src/libGLESv2/renderer/d3d9/VertexBuffer9.h: Removed property svn:keywords.
1278         * src/libGLESv2/renderer/d3d9/VertexDeclarationCache.cpp: Removed property svn:keywords.
1279         * src/libGLESv2/renderer/d3d9/VertexDeclarationCache.h: Removed property svn:keywords.
1280         * src/libGLESv2/renderer/d3d9/renderer9_utils.cpp: Removed property svn:keywords.
1281         * src/libGLESv2/renderer/d3d9/renderer9_utils.h: Removed property svn:keywords.
1282         * src/libGLESv2/renderer/d3d9/shaders/compiled/componentmaskps.h: Removed property svn:keywords.
1283         * src/libGLESv2/renderer/d3d9/shaders/compiled/flipyvs.h: Removed property svn:keywords.
1284         * src/libGLESv2/renderer/d3d9/shaders/compiled/luminanceps.h: Removed property svn:keywords.
1285         * src/libGLESv2/renderer/d3d9/shaders/compiled/passthroughps.h: Removed property svn:keywords.
1286         * src/libGLESv2/renderer/d3d9/shaders/compiled/standardvs.h: Removed property svn:keywords.
1287
1288 2015-01-28  Dana Burkart  <dburkart@apple.com>
1289
1290         Move ASan flag settings from DebugRelease.xcconfig to Base.xcconfig
1291         https://bugs.webkit.org/show_bug.cgi?id=136765
1292
1293         Reviewed by Alexey Proskuryakov.
1294
1295         * Configurations/Base.xcconfig:
1296         * Configurations/DebugRelease.xcconfig:
1297
1298 2014-12-26  Dan Bernstein  <mitz@apple.com>
1299
1300         <rdar://problem/19348208> REGRESSION (r177027): iOS builds use the wrong toolchain
1301         https://bugs.webkit.org/show_bug.cgi?id=139950
1302
1303         Reviewed by David Kilzer.
1304
1305         * Configurations/Base.xcconfig: Only define TOOLCHAINS when building for OS X, doing so
1306         in a manner that works with Xcode 5.1.1.
1307
1308 2014-12-24  Dan Bernstein  <mitz@apple.com>
1309
1310         ANGLE extern symbols are not hidden by default, but should be
1311         https://bugs.webkit.org/show_bug.cgi?id=139936
1312
1313         Reviewed by Mark Rowe.
1314
1315         * Configurations/Base.xcconfig: Changed GCC_SYMBOLS_PRIVATE_EXTERN to YES.
1316
1317 2014-12-24  Dan Bernstein  <mitz@apple.com>
1318
1319         Removed the Derived Sources target.
1320
1321         It has been empty since r159533.
1322
1323         * ANGLE.xcodeproj/project.pbxproj:
1324
1325 2014-12-09  David Kilzer  <ddkilzer@apple.com>
1326
1327         Switch from using PLATFORM_NAME to SDK selectors in ANGLE, bmalloc, gtest, JavaScriptCore, WTF
1328         <http://webkit.org/b/139212>
1329
1330         Reviewed by Joseph Pecoraro.
1331
1332         * Configurations/Base.xcconfig:
1333         - Only set GCC_ENABLE_OBJC_GC, GCC_MODEL_TUNING and TOOLCHAINS
1334           on OS X.
1335         * Configurations/DebugRelease.xcconfig:
1336         - Only set MACOSX_DEPLOYMENT_TARGET and SDKROOT on OS X.
1337
1338 2014-10-30  Dana Burkart  <dburkart@apple.com>
1339
1340         <rdar://problem/18821260> Prepare for the mysterious future
1341
1342         Reviewed by Lucas Forschler.
1343
1344         * Configurations/Base.xcconfig:
1345         * Configurations/DebugRelease.xcconfig:
1346
1347 2014-10-08  Brent Fulgham  <bfulgham@apple.com>
1348
1349         [Win] Use proper v120 target for 64-bit builds.
1350
1351         * ANGLE.vcxproj/libEGL.vcxproj:
1352
1353 2014-09-29  peavo@outlook.com  <peavo@outlook.com>
1354
1355         [WinCairo] D3D11 is not used by default.
1356         https://bugs.webkit.org/show_bug.cgi?id=137215
1357
1358         Reviewed by Alex Christensen.
1359
1360         ANGLE_DEFAULT_D3D11 needs to be defined for D3D11 to be used as default.
1361
1362         * ANGLE.vcxproj/libGLESv2Common.props:
1363
1364 2014-09-19  Daniel Bates  <dabates@apple.com>
1365
1366         Always assume internal SDK when building configuration Production
1367         https://bugs.webkit.org/show_bug.cgi?id=136925
1368         <rdar://problem/18362399>
1369
1370         Reviewed by Dan Bernstein.
1371
1372         * Configurations/Base.xcconfig:
1373
1374 2014-09-10  Roger Fong  <roger_fong@apple.com>
1375
1376         Check for varying packing restrictions per program instead of per shader.
1377         https://bugs.webkit.org/show_bug.cgi?id=136585.
1378         <rdar://problem/16308409>.
1379
1380         Reviewed by Dean Jackson.
1381
1382         Remove varying packing restrictions checks from ANGLE.
1383         * src/compiler/translator/Compiler.cpp:
1384         (TCompiler::compile):
1385         (TCompiler::enforcePackingRestrictions):
1386         * src/compiler/translator/ShHandle.h:
1387
1388 2014-09-06  Darin Adler  <darin@apple.com>
1389
1390         Make updates suggested by new version of Xcode
1391         https://bugs.webkit.org/show_bug.cgi?id=136603
1392
1393         Reviewed by Mark Rowe.
1394
1395         * ANGLE.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
1396
1397         * Configurations/ANGLE.xcconfig: Added CLANG_WARN_BOOL_CONVERSION,
1398         CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION, COMBINE_HIDPI_IMAGES,
1399         and ENABLE_STRICT_OBJC_MSGSEND as suggested by Xcode upgrade check.
1400
1401 2014-09-06  Commit Queue  <commit-queue@webkit.org>
1402
1403         Unreviewed, rolling out r173335.
1404         https://bugs.webkit.org/show_bug.cgi?id=136597
1405
1406         Broke webgl/1.0.2/conformance/glsl/misc/shader-varying-
1407         packing-restrictions.html (Requested by ap on #webkit).
1408
1409         Reverted changeset:
1410
1411         "Remove statically used varyings from packing restrictions
1412         check."
1413         https://bugs.webkit.org/show_bug.cgi?id=136585
1414         http://trac.webkit.org/changeset/173335
1415
1416 2014-09-05  Roger Fong  <roger_fong@apple.com>
1417
1418         Remove statically used varyings from packing restrictions check.
1419         https://bugs.webkit.org/show_bug.cgi?id=136585.
1420         <rdar://problem/16308409>
1421
1422         Reviewed by Dean Jackson.
1423
1424         * src/compiler/translator/Compiler.cpp:
1425         (TCompiler::enforcePackingRestrictions):
1426
1427 2014-08-29  Csaba Osztrogonác  <ossy@webkit.org>
1428
1429         Unreviwed, remove empty directories.
1430
1431         * src/compiler/depgraph: Removed.
1432         * src/compiler/timing: Removed.
1433         * src/libGLESv2/renderer/shaders: Removed.
1434         * src/libGLESv2/renderer/shaders/compiled: Removed.
1435
1436 2014-08-11  Andy Estes  <aestes@apple.com>
1437
1438         [iOS] Get rid of iOS.xcconfig
1439         https://bugs.webkit.org/show_bug.cgi?id=135809
1440
1441         Reviewed by Joseph Pecoraro.
1442
1443         All iOS.xcconfig did was include AspenFamily.xcconfig, so there's no need for the indirection.
1444
1445         * ANGLE.xcodeproj/project.pbxproj:
1446         * Configurations/Base.xcconfig:
1447         * Configurations/iOS.xcconfig: Removed.
1448
1449 2014-08-07  Brent Fulgham  <bfulgham@apple.com>
1450
1451         [Win] Unreviewed gardening.
1452
1453         DebugSuffix targets should use our debugsuffix property sheet, and
1454         will therefore build to the proper output location with the proper
1455         suffix tags.
1456
1457         Also, we must use the WebKit_Libraries environment variable, not a set
1458         of relative paths to the property sheets.
1459
1460         * ANGLE.vcxproj/libEGL.vcxproj: Use 'debugsuffix.props' sheet.
1461         * ANGLE.vcxproj/libGLESv2.vcxproj: Ditto.
1462         * ANGLE.vcxproj/preprocessor.vcxproj: Ditto.
1463         * ANGLE.vcxproj/translator_common.vcxproj: Ditto.
1464         * ANGLE.vcxproj/translator_glsl.vcxproj: Ditto.
1465         * ANGLE.vcxproj/translator_hlsl.vcxproj: Ditto.
1466         * ANGLE.vcxproj/libEGLCommon.props: Use $(DebugSuffix) endings.
1467         * ANGLE.vcxproj/libGLESv2Common.props: Ditto.
1468         * ANGLE.vcxproj/translatorCommon.props: Output to 'lib' folder,
1469         not 'bin' folder. These are libraries!
1470
1471 2014-08-02  Brent Fulgham  <bfulgham@apple.com>
1472
1473         [Win] Unreviewed build fix.
1474
1475         * src/libGLESv2/renderer/d3d11/BufferStorage11.cpp:
1476         (rx::BufferStorage11::copyData): Help compiler make
1477         decision about types.
1478
1479 2014-07-25  peavo@outlook.com  <peavo@outlook.com>
1480
1481         [Win][ANGLE] Enable D3D11.
1482         https://bugs.webkit.org/show_bug.cgi?id=135296
1483
1484         Reviewed by Alex Christensen.
1485
1486         Direct3D 11 is not enabled on Windows.
1487
1488         * ANGLE.vcxproj/libGLESv2.vcxproj: Added files.
1489         * ANGLE.vcxproj/libGLESv2.vcxproj.filters: Ditto.
1490         * ANGLE.vcxproj/libGLESv2Common.props: Enable D3D11.
1491         * src/libGLESv2/precompiled.h: Header file does not exist, avoid include.
1492         * changes.diff: Updated diff.
1493
1494 2014-06-04  Alex Christensen  <achristensen@webkit.org>
1495
1496         Enable WebGL on Windows.
1497         https://bugs.webkit.org/show_bug.cgi?id=133503
1498
1499         Reviewed by Brent Fulgham.
1500
1501         * changes.diff
1502         Recorded additional changes from ANGLE.
1503         * ANGLE.vcxproj/libEGL.vcxproj:
1504         * ANGLE.vcxproj/libEGL.vcxproj.filters:
1505         * ANGLE.vcxproj/libGLESv2.vcxproj:
1506         * ANGLE.vcxproj/libGLESv2.vcxproj.filters:
1507         * include/EGL/egl.h:
1508         * include/EGL/eglsoftlinking.h: Added.
1509         * include/GLES2/gl2.h:
1510         * include/GLES2/gl2softlinking.h: Added.
1511         Resurrected soft linking headers from r153664.
1512         * src/libGLESv2/renderer/VertexBuffer.cpp:
1513         (rx::VertexBufferInterface::directStoragePossible):
1514         Compile fix for Win64.
1515
1516 2014-05-02  Alex Christensen  <achristensen@webkit.org>
1517
1518         Update ANGLE Windows build.
1519         https://bugs.webkit.org/show_bug.cgi?id=132456
1520
1521         Reviewed by Brent Fulgham.
1522
1523         * ANGLE.vcxproj/libEGLCommon.props:
1524         * ANGLE.vcxproj/libGLESv2.vcxproj:
1525         * ANGLE.vcxproj/libGLESv2.vcxproj.filters:
1526         * ANGLE.vcxproj/libGLESv2Common.props:
1527         * ANGLE.vcxproj/translator_common.vcxproj:
1528         * ANGLE.vcxproj/translator_common.vcxproj.filters:
1529         * ANGLE.vcxproj/translator_glsl.vcxproj:
1530         * ANGLE.vcxproj/translator_glsl.vcxproj.filters:
1531         * ANGLE.vcxproj/translator_hlsl.vcxproj:
1532         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters:
1533         Updated ANGLE build.
1534         * src/ANGLE.sln: Removed.
1535         * src/build_angle.gyp: Removed.
1536         * src/commit.h: Added.
1537         * changes.diff:
1538         * src/libGLESv2/Program.cpp:
1539         (gl::InfoLog::append):
1540         Fixed typo.
1541
1542 2014-05-01  Alex Christensen  <achristensen@webkit.org>
1543
1544         Finish updating ANGLE.
1545         https://bugs.webkit.org/show_bug.cgi?id=132434
1546
1547         Reviewed by Dean Jackson.
1548
1549         * ANGLE.xcodeproj/project.pbxproj:
1550         Removed Uniform.cpp which is no longer in ANGLE.
1551         * changes.diff:
1552         Added more changes from ANGLE which are already included in WebKit.
1553
1554         Updated ANGLE source files to e7a453a5bd76705ccb151117fa844846d4aa90af.  Long list of changes omitted.
1555
1556 2014-04-30  Alex Christensen  <achristensen@webkit.org>
1557
1558         Updated ANGLE.
1559         https://bugs.webkit.org/show_bug.cgi?id=132367
1560         <rdar://problem/16211451>
1561
1562         Reviewed by Dean Jackson.
1563
1564         * ANGLE.plist:
1565         Updated and xml encoded.
1566         * ANGLE.xcodeproj/project.pbxproj:
1567         Added needed new source files.
1568         * changes.diff: 
1569         Added to keep track of differences between WebKit's copy of ANGLE and the master repository.
1570         
1571         Updated ANGLE source files to e7a453a5bd76705ccb151117fa844846d4aa90af.  Long list of changes omitted.
1572
1573 2014-03-25  Martin Robinson  <mrobinson@igalia.com>
1574
1575         [GTK] Remove the autotools build
1576         https://bugs.webkit.org/show_bug.cgi?id=130717
1577
1578         Reviewed by Anders Carlsson.
1579
1580         * GNUmakefile.am: Removed.
1581
1582 2014-03-14  Mark Rowe  <mrowe@apple.com>
1583
1584         Fix the production build.
1585
1586         Don't rely on USE_INTERNAL_SDK being set for the Production configuration since UseInternalSDK.xcconfig won't
1587         be at the expected relative path when working from installed source.
1588
1589         * Configurations/Base.xcconfig:
1590
1591 2014-03-13  Tim Horton  <timothy_horton@apple.com>
1592
1593         Fix relative paths to UseInternalSDK.xcconfig for ANGLE and WebKit/mac
1594
1595         Rubber-stamped by Mark Rowe.
1596
1597         One-too-few "..".
1598
1599         * Configurations/Base.xcconfig:
1600
1601 2014-03-13  Radu Stavila  <stavila@adobe.com>
1602
1603         Webkit not building on XCode 5.1 due to garbage collection no longer being supported
1604         https://bugs.webkit.org/show_bug.cgi?id=130087
1605
1606         Reviewed by Mark Rowe.
1607
1608         Disable garbage collection on macosx when not using internal SDK.
1609
1610         * Configurations/Base.xcconfig:
1611
1612 2014-02-24  Dean Jackson  <dino@apple.com>
1613
1614         Unreviewed. This file should not be marked as executable (copied in from ANGLE).
1615
1616         * include/KHR/khrplatform.h:
1617
1618 2014-02-23  David Kilzer  <ddkilzer@apple.com>
1619
1620         ANGLE: Stop using unsafe strcpy method
1621         <http://webkit.org/b/129237>
1622         <rdar://problem/11077580>
1623
1624         Reviewed by Dean Jackson.
1625
1626         * include/GLSLANG/ShaderLang.h:
1627         - Drive-by fix for header documentation.
1628
1629         * src/compiler/translator/ShaderLang.cpp:
1630         (ShGetInfoLog):
1631         (ShGetObjectCode):
1632         * src/libGLESv2/Program.cpp:
1633         (gl::InfoLog::append):
1634         - Switch to use strncpy(), and explicitly set NULL terminator at
1635           the end of the buffer.
1636
1637 2014-02-23  Brent Fulgham  <bfulgham@apple.com>
1638
1639         [WinCairo] Unreviewed build fix after r164565.
1640
1641         * ANGLE.vcxproj/libEGL.vcxproj: Use correct path to files.
1642         * ANGLE.vcxproj/libGLESv2.vcxproj: Ditto.
1643         * ANGLE.vcxproj/libGLESv2.vcxproj.filters: Ditto.
1644         * ANGLE.vcxproj/preprocessor.vcxproj: Ditto.
1645         * ANGLE.vcxproj/translator_common.vcxproj: Ditto.
1646         * ANGLE.vcxproj/translator_common.vcxproj.filters: Ditto.
1647         * ANGLE.vcxproj/translator_glsl.vcxproj: Ditto.
1648         * ANGLE.vcxproj/translator_glsl.vcxproj.filters: Ditto.
1649         * ANGLE.vcxproj/translator_hlsl.vcxproj: Ditto.
1650         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters: Ditto.
1651
1652 2014-02-23  Dean Jackson  <dino@apple.com>
1653
1654         Missing files from previous commit.
1655
1656 2014-02-23  Dean Jackson  <dino@apple.com>
1657
1658         Update ANGLE to 836bd2176e5607b14846cf1fbc5932dbc91318f4
1659         https://bugs.webkit.org/show_bug.cgi?id=129232
1660
1661         Reviewed by Brent Fulgham.
1662
1663         I also reapplied some of our changes from previous updates, including disabling the clang deprecation
1664         warnings in some files, adding the Apple note about license and defining YY_NO_INPUT.
1665
1666         Huge list of source changes omitted.
1667
1668 2013-12-18  Carlos Garcia Campos  <cgarcia@igalia.com>
1669
1670         Unreviewed. Fix make distcheck.
1671
1672         * GNUmakefile.am:
1673
1674 2013-12-17  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
1675
1676         [GTK] Some ANGLE headers missing from dist
1677         https://bugs.webkit.org/show_bug.cgi?id=125782
1678
1679         Reviewed by Carlos Garcia Campos.
1680
1681         * GNUmakefile.am: add a few headers that were missing from the build,
1682         causing build failures when the system headers were incompatible.
1683
1684 2013-12-16  Alex Christensen  <achristensen@webkit.org>
1685
1686         Fixed Win64 build on VS2013.
1687         https://bugs.webkit.org/show_bug.cgi?id=125753
1688
1689         Reviewed by Brent Fulgham.
1690
1691         * ANGLE.vcxproj/libGLESv2.vcxproj:
1692         * ANGLE.vcxproj/preprocessor.vcxproj:
1693         * ANGLE.vcxproj/translator_common.vcxproj:
1694         * ANGLE.vcxproj/translator_glsl.vcxproj:
1695         * ANGLE.vcxproj/translator_hlsl.vcxproj:
1696         Added correct PlatformToolset for 64-bit builds.
1697
1698 2013-12-13  Brent Fulgham  <bfulgham@apple.com>
1699
1700         [Win] Unreviewed build fix after r160548
1701
1702         I missed the ANGLE files, since we aren't building these
1703         on the Apple Windows port at the moment.
1704
1705         * ANGLE.vcxproj/libEGL.vcxproj: Update to VS2013
1706         * ANGLE.vcxproj/libGLESv2.vcxproj: Ditto
1707         * ANGLE.vcxproj/preprocessor.vcxproj: Ditto
1708         * ANGLE.vcxproj/translator_common.vcxproj: Ditto
1709         * ANGLE.vcxproj/translator_glsl.vcxproj: Ditto
1710         * ANGLE.vcxproj/translator_hlsl.vcxproj: Ditto
1711
1712 2013-12-06  Commit Queue  <commit-queue@webkit.org>
1713
1714         Unreviewed, rolling out r159543.
1715         http://trac.webkit.org/changeset/159543
1716         https://bugs.webkit.org/show_bug.cgi?id=125371
1717
1718         Build fix for mac no longer needed (Requested by rfong on
1719         #webkit).
1720
1721         * ANGLE.xcodeproj/project.pbxproj:
1722         * src/compiler/glslang_tab.cpp:
1723         (yysyntax_error):
1724         (glslang_parse):
1725         * src/compiler/glslang_tab.h:
1726         * src/compiler/preprocessor/ExpressionParser.cpp:
1727         (yy_symbol_print):
1728         (yy_stack_print):
1729         (yy_reduce_print):
1730         (yytnamerr):
1731         (yysyntax_error):
1732         (yydestruct):
1733         (yyparse):
1734
1735 2013-12-05  Roger Fong  <roger_fong@apple.com>
1736
1737         [WebGL] Make sure we satisfy uniform and varying packing restrictions.
1738         https://bugs.webkit.org/show_bug.cgi?id=125124.
1739         <rdar://problem/15203291>
1740
1741         Reviewed by Brent Fulgham.
1742
1743         * src/compiler/Compiler.cpp: 
1744         Add a check to enforcePackingRestrictions to ensure we make sure packing restrictions for varyings are satisfied as well.
1745         (TCompiler::TCompiler):
1746         (TCompiler::Init):
1747         (TCompiler::compile):
1748         (TCompiler::enforcePackingRestrictions):
1749         * src/compiler/ShHandle.h: Keep track of maximum varying vectors.
1750
1751 2013-12-05  Matthew Hanson  <matthew_hanson@apple.com>
1752
1753         Fix ANGLE build failures by re-comitting the changes in http://trac.webkit.org/changeset/154223
1754         on top of the library updates introduced by http://trac.webkit.org/changeset/159533.
1755
1756         Rubber-stamped by Babak Shafiei.
1757
1758         * src/compiler/glslang.l:
1759         * src/compiler/glslang_lex.cpp:
1760         * src/compiler/preprocessor/Tokenizer.cpp:
1761         * src/compiler/preprocessor/Tokenizer.l:
1762
1763 2013-12-03  Daniel Bates  <dabates@apple.com>
1764
1765         ANGLE fails to build with trunk clang: unused constant kTraceBufferLen
1766         https://bugs.webkit.org/show_bug.cgi?id=125164
1767         https://code.google.com/p/angleproject/issues/detail?id=534
1768
1769         Reviewed by Darin Adler.
1770
1771         Move the definition of the constant kTraceBufferLen under the macro
1772         guard TRACE_ENABLED since it's only referenced in code guarded by
1773         TRACE_ENABLED.
1774
1775         * src/compiler/debug.cpp:
1776
1777 2013-11-21  Alex Christensen  <achristensen@webkit.org>
1778
1779         Remove ANGLEGenerated from Windows build.
1780         https://bugs.webkit.org/show_bug.cgi?id=124759
1781
1782         Reviewed by Darin Adler.
1783
1784         * ANGLE.vcxproj/ANGLEGenerated.vcxproj: Removed.
1785         * ANGLE.vcxproj/ANGLEGenerated.vcxproj.filters: Removed.
1786
1787 2013-11-21  Alex Christensen  <achristensen@webkit.org>
1788
1789         Unreviewed build fix.
1790
1791         * src/libGLESv2/Constants.h: Added from checkout a60e0805721f62c28a55faf2df74472cc5fc91fc.
1792
1793 2013-11-21  Mark Rowe  <mrowe@apple.com>
1794
1795         <https://webkit.org/b/124701> Fix an error in a few Xcode configuration setting files.
1796
1797         Reviewed by Alexey Proskuryakov.
1798
1799         * Configurations/Base.xcconfig:
1800
1801 2013-11-21  Brent Fulgham  <bfulgham@apple.com>
1802
1803         Unreviewed gardening to hide annoying *.user files when.
1804
1805         * ANGLE.vcxproj: Added property svn:ignore.
1806
1807 2013-11-21  peavo@outlook.com  <peavo@outlook.com>
1808
1809         [WinCairo] Building ANGLE libraries fails.
1810         https://bugs.webkit.org/show_bug.cgi?id=124679
1811
1812         Reviewed by Brent Fulgham.
1813
1814         Added/removed files to/from project, and re-added constants.h file.
1815
1816         * ANGLE.vcxproj/libEGL.vcxproj:
1817         * ANGLE.vcxproj/libEGL.vcxproj.filters:
1818         * ANGLE.vcxproj/libGLESv2.vcxproj:
1819         * ANGLE.vcxproj/libGLESv2.vcxproj.filters:
1820         * ANGLE.vcxproj/libGLESv2Common.props:
1821         * ANGLE.vcxproj/translator_common.vcxproj:
1822         * ANGLE.vcxproj/translator_common.vcxproj.filters:
1823         * ANGLE.vcxproj/translator_glsl.vcxproj:
1824         * ANGLE.vcxproj/translator_glsl.vcxproj.filters:
1825         * ANGLE.vcxproj/translator_hlsl.vcxproj:
1826         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters:
1827         * src/libGLESv2/libGLESv2.def:
1828
1829 2013-11-20  Sergio Correia  <sergio.correia@openbossa.org>
1830
1831         ANGLE doesn't build with bison 3.0
1832         https://bugs.webkit.org/show_bug.cgi?id=124642
1833
1834         Reviewed by Gyuyoung Kim.
1835
1836         This is a reedition of r154109, now that ANGLE source has been updated
1837         in r159533.
1838
1839         * src/compiler/glslang.y: Use %lex-param to set YYLEX_PARAM and stop
1840         using the deprecated YYID macro.
1841
1842 2013-11-20  Carlos Garcia Campos  <cgarcia@igalia.com>
1843
1844         Unreviewed. Fix GTK build.
1845
1846         * GNUmakefile.am: Remove duplicated entries.
1847
1848 2013-11-19  Martin Robinson  <mrobinson@igalia.com>
1849
1850         Fix the GTK+ build after the ANGLE update in r159533
1851
1852         * GNUmakefile.am: Update the source list.
1853
1854 2013-11-19  Roger Fong  <roger_fong@apple.com>
1855
1856         Unreviewed. Build fix for Mac.
1857
1858         * src/compiler/glslang_tab.cpp:
1859         (yysyntax_error):
1860         (yyerror):
1861         * src/compiler/glslang_tab.h:
1862         * src/compiler/preprocessor/ExpressionParser.cpp:
1863         (yysyntax_error):
1864
1865 2013-11-19  Roger Fong  <roger_fong@apple.com>
1866
1867         Unreviewed. Prospective build fix for GTK port following r159533.
1868
1869         * GNUmakefile.am:
1870
1871 2013-11-19  Roger Fong  <roger_fong@apple.com>
1872
1873         Update ANGLE sources.
1874         https://bugs.webkit.org/show_bug.cgi?id=124615.
1875
1876         Reviewed by Dean Jackson.
1877
1878         Update ANGLE to checkout a60e0805721f62c28a55faf2df74472cc5fc91fc.
1879         Modify xcodeproj files as necessary, update plist.
1880         Stop using DerivedSources.make and just use the generated sources that are checked into ANGLE.
1881         Add a note to bison generated files indicating that Apple elects to distribute said files under the BSD license: 
1882         ExpressionParser.cpp, glslang_tab.cpp, glslang_tab.h.
1883
1884         * ANGLE.plist:
1885         * ANGLE.xcodeproj/project.pbxproj:
1886         * DerivedSources.make: Removed.
1887         * include/EGL/egl.h:
1888         * include/EGL/eglsoftlinking.h: Removed.
1889         * include/GLES2/gl2.h:
1890         * include/GLES2/gl2softlinking.h: Removed.
1891         * include/GLSLANG/ShaderLang.h:
1892         * include/KHR/khrplatform.h:
1893         * src/ANGLE.sln: Added.
1894         * src/build_angle.gypi:
1895         * src/common/debug.h:
1896         * src/common/event_tracer.cpp: Added.
1897         (gl::TraceGetTraceCategoryEnabledFlag):
1898         (gl::TraceAddTraceEvent):
1899         * src/common/event_tracer.h: Added.
1900         * src/common/version.h:
1901         * src/compiler/CodeGen.cpp: Added.
1902         (ConstructCompiler):
1903         (DeleteCompiler):
1904         * src/compiler/CodeGenGLSL.cpp: Removed.
1905         * src/compiler/CodeGenHLSL.cpp: Removed.
1906         * src/compiler/Common.h:
1907         (NewPoolTString):
1908         * src/compiler/Compiler.cpp:
1909         (TCompiler::Init):
1910         (TCompiler::compile):
1911         (TCompiler::InitBuiltInSymbolTable):
1912         (TCompiler::clearResults):
1913         (TCompiler::collectVariables):
1914         * src/compiler/ConstantUnion.h:
1915         * src/compiler/DetectDiscontinuity.cpp:
1916         * src/compiler/InfoSink.h:
1917         * src/compiler/InitializeDll.cpp:
1918         (InitProcess):
1919         (DetachProcess):
1920         * src/compiler/InitializeDll.h:
1921         * src/compiler/InitializeGLPosition.cpp: Added.
1922         (InitializeGLPosition::visitAggregate):
1923         (InitializeGLPosition::insertCode):
1924         * src/compiler/InitializeGLPosition.h: Added.
1925         (InitializeGLPosition::InitializeGLPosition):
1926         (InitializeGLPosition::visitBinary):
1927         (InitializeGLPosition::visitUnary):
1928         (InitializeGLPosition::visitSelection):
1929         (InitializeGLPosition::visitLoop):
1930         (InitializeGLPosition::visitBranch):
1931         * src/compiler/InitializeGlobals.h:
1932         * src/compiler/InitializeParseContext.cpp:
1933         (InitializeParseContextIndex):
1934         (FreeParseContextIndex):
1935         (SetGlobalParseContext):
1936         (GetGlobalParseContext):
1937         * src/compiler/InitializeParseContext.h:
1938         * src/compiler/IntermTraverse.cpp:
1939         (TIntermSymbol::traverse):
1940         (TIntermConstantUnion::traverse):
1941         (TIntermBinary::traverse):
1942         (TIntermUnary::traverse):
1943         (TIntermAggregate::traverse):
1944         (TIntermSelection::traverse):
1945         (TIntermLoop::traverse):
1946         (TIntermBranch::traverse):
1947         * src/compiler/Intermediate.cpp:
1948         (GetHigherPrecision):
1949         (getOperatorString):
1950         (TIntermLoop::replaceChildNode):
1951         (TIntermBranch::replaceChildNode):
1952         (TIntermBinary::replaceChildNode):
1953         (TIntermUnary::replaceChildNode):
1954         (TIntermAggregate::replaceChildNode):
1955         (TIntermSelection::replaceChildNode):
1956         (TIntermOperator::isAssignment):
1957         (TIntermediate::promoteConstantUnion):
1958         * src/compiler/MapLongVariableNames.cpp:
1959         * src/compiler/MapLongVariableNames.h:
1960         * src/compiler/NodeSearch.h: Added.
1961         (sh::NodeSearchTraverser::NodeSearchTraverser):
1962         (sh::NodeSearchTraverser::found):
1963         (sh::NodeSearchTraverser::search):
1964         (sh::FindDiscard::visitBranch):
1965         (sh::FindSideEffectRewriting::visitBinary):
1966         * src/compiler/OutputGLSLBase.cpp:
1967         (TOutputGLSLBase::visitSelection):
1968         (TOutputGLSLBase::visitAggregate):
1969         (TOutputGLSLBase::visitLoop):
1970         * src/compiler/OutputGLSLBase.h:
1971         * src/compiler/OutputHLSL.cpp:
1972         (sh::OutputHLSL::OutputHLSL):
1973         (sh::OutputHLSL::header):
1974         (sh::OutputHLSL::visitBinary):
1975         (sh::OutputHLSL::visitSelection):
1976         (sh::OutputHLSL::visitBranch):
1977         (sh::OutputHLSL::handleExcessiveLoop):
1978         (sh::OutputHLSL::addConstructor):
1979         * src/compiler/OutputHLSL.h:
1980         * src/compiler/ParseContext.cpp: Added.
1981         (TParseContext::parseVectorFields):
1982         (TParseContext::parseMatrixFields):
1983         (TParseContext::recover):
1984         (TParseContext::error):
1985         (TParseContext::warning):
1986         (TParseContext::trace):
1987         (TParseContext::assignError):
1988         (TParseContext::unaryOpError):
1989         (TParseContext::binaryOpError):
1990         (TParseContext::precisionErrorCheck):
1991         (TParseContext::lValueErrorCheck):
1992         (TParseContext::constErrorCheck):
1993         (TParseContext::integerErrorCheck):
1994         (TParseContext::globalErrorCheck):
1995         (TParseContext::reservedErrorCheck):
1996         (TParseContext::constructorErrorCheck):
1997         (TParseContext::voidErrorCheck):
1998         (TParseContext::boolErrorCheck):
1999         (TParseContext::samplerErrorCheck):
2000         (TParseContext::structQualifierErrorCheck):
2001         (TParseContext::parameterSamplerErrorCheck):
2002         (TParseContext::containsSampler):
2003         (TParseContext::arraySizeErrorCheck):
2004         (TParseContext::arrayQualifierErrorCheck):
2005         (TParseContext::arrayTypeErrorCheck):
2006         (TParseContext::arrayErrorCheck):
2007         (TParseContext::nonInitConstErrorCheck):
2008         (TParseContext::nonInitErrorCheck):
2009         (TParseContext::paramErrorCheck):
2010         (TParseContext::extensionErrorCheck):
2011         (TParseContext::supportsExtension):
2012         (TParseContext::isExtensionEnabled):
2013         (TParseContext::findFunction):
2014         (TParseContext::executeInitializer):
2015         (TParseContext::areAllChildConst):
2016         (TParseContext::addConstructor):
2017         (TParseContext::foldConstConstructor):
2018         (TParseContext::constructBuiltIn):
2019         (TParseContext::constructStruct):
2020         (TParseContext::addConstVectorNode):
2021         (TParseContext::addConstMatrixNode):
2022         (TParseContext::addConstArrayNode):
2023         (TParseContext::addConstStruct):
2024         (TParseContext::enterStructDeclaration):
2025         (TParseContext::exitStructDeclaration):
2026         (TParseContext::structNestingErrorCheck):
2027         (TParseContext::addIndexExpression):
2028         (PaParseStrings):
2029         * src/compiler/ParseContext.h: Added.
2030         (TParseContext::TParseContext):
2031         (TParseContext::numErrors):
2032         (TParseContext::infoSink):
2033         (TParseContext::pragma):
2034         (TParseContext::extensionBehavior):
2035         * src/compiler/ParseHelper.cpp: Removed.
2036         * src/compiler/ParseHelper.h: Removed.
2037         * src/compiler/PoolAlloc.cpp:
2038         (InitializePoolIndex):
2039         (FreePoolIndex):
2040         (GetGlobalPoolAllocator):
2041         (SetGlobalPoolAllocator):
2042         * src/compiler/PoolAlloc.h:
2043         (pool_allocator::pool_allocator):
2044         * src/compiler/SearchSymbol.h:
2045         * src/compiler/ShHandle.h:
2046         (TCompiler::getVaryings):
2047         * src/compiler/ShaderLang.cpp:
2048         (checkVariableMaxLengths):
2049         (ShInitialize):
2050         (ShFinalize):
2051         (ShConstructCompiler):
2052         (ShCompile):
2053         (ShGetInfo):
2054         (ShGetVariableInfo):
2055         (ShCheckVariablesWithinPackingLimits):
2056         * src/compiler/SymbolTable.cpp:
2057         (TSymbolTable::~TSymbolTable):
2058         * src/compiler/SymbolTable.h:
2059         (TSymbol::TSymbol):
2060         (TSymbolTableLevel::insert):
2061         (TSymbolTable::push):
2062         (TSymbolTable::pop):
2063         (TSymbolTable::findBuiltIn):
2064         (TSymbolTable::relateToExtension):
2065         (TSymbolTable::setDefaultPrecision):
2066         (TSymbolTable::getDefaultPrecision):
2067         (TSymbolTable::supportsPrecision):
2068         * src/compiler/Types.h:
2069         (NewPoolTFieldList):
2070         (TType::TType):
2071         (TType::setNominalSize):
2072         (TPublicType::setAggregate):
2073         * src/compiler/UnfoldShortCircuit.cpp:
2074         (sh::UnfoldShortCircuit::visitBinary):
2075         (sh::UnfoldShortCircuit::visitSelection):
2076         * src/compiler/UnfoldShortCircuit.h:
2077         * src/compiler/UnfoldShortCircuitAST.cpp: Added.
2078         (UnfoldShortCircuitAST::visitBinary):
2079         (UnfoldShortCircuitAST::updateTree):
2080         * src/compiler/UnfoldShortCircuitAST.h: Added.
2081         (UnfoldShortCircuitAST::UnfoldShortCircuitAST):
2082         (UnfoldShortCircuitAST::NodeUpdateEntry::NodeUpdateEntry):
2083         * src/compiler/Uniform.cpp:
2084         (sh::Uniform::Uniform):
2085         * src/compiler/Uniform.h:
2086         * src/compiler/ValidateLimitations.cpp:
2087         (ValidateLimitations::validateFunctionCall):
2088         (ValidateLimitations::validateOperation):
2089         * src/compiler/VariableInfo.cpp:
2090         (TVariableInfo::TVariableInfo):
2091         (CollectVariables::CollectVariables):
2092         (CollectVariables::visitSymbol):
2093         (CollectVariables::visitAggregate):
2094         * src/compiler/VariableInfo.h:
2095         * src/compiler/debug.cpp:
2096         * src/compiler/depgraph/DependencyGraph.cpp:
2097         * src/compiler/depgraph/DependencyGraphBuilder.cpp:
2098         (TDependencyGraphBuilder::visitBinary):
2099         * src/compiler/generate_parser.sh:
2100         * src/compiler/glslang.l:
2101         * src/compiler/glslang.y:
2102         * src/compiler/glslang_lex.cpp:
2103         (input):
2104         (yyerror):
2105         (int_constant):
2106         (float_constant):
2107         (glslang_scan):
2108         * src/compiler/glslang_tab.cpp:
2109         (yysyntax_error):
2110         (glslang_parse):
2111         * src/compiler/glslang_tab.h:
2112         * src/compiler/intermediate.h:
2113         (TIntermSymbol::hasSideEffects):
2114         (TIntermSymbol::replaceChildNode):
2115         (TIntermConstantUnion::hasSideEffects):
2116         (TIntermConstantUnion::getIConst):
2117         (TIntermConstantUnion::getFConst):
2118         (TIntermConstantUnion::getBConst):
2119         (TIntermConstantUnion::replaceChildNode):
2120         (TIntermOperator::hasSideEffects):
2121         (TIntermBinary::hasSideEffects):
2122         (TIntermUnary::hasSideEffects):
2123         (TIntermAggregate::hasSideEffects):
2124         (TIntermSelection::hasSideEffects):
2125         (TIntermTraverser::~TIntermTraverser):
2126         (TIntermTraverser::incrementDepth):
2127         (TIntermTraverser::decrementDepth):
2128         (TIntermTraverser::getParentNode):
2129         * src/compiler/localintermediate.h:
2130         * src/compiler/parseConst.cpp:
2131         * src/compiler/preprocessor/ExpressionParser.cpp:
2132         (yy_symbol_print):
2133         (yy_stack_print):
2134         (yy_reduce_print):
2135         (yystrlen):
2136         (yystpcpy):
2137         (yytnamerr):
2138         (yysyntax_error):
2139         (yydestruct):
2140         (yyparse):
2141         * src/compiler/preprocessor/ExpressionParser.y:
2142         * src/compiler/preprocessor/Preprocessor.cpp:
2143         (pp::Preprocessor::setMaxTokenLength):
2144         (pp::Preprocessor::lex):
2145         * src/compiler/preprocessor/Preprocessor.h:
2146         * src/compiler/preprocessor/Tokenizer.cpp:
2147         (pp::Tokenizer::Tokenizer):
2148         (pp::Tokenizer::lex):
2149         * src/compiler/preprocessor/Tokenizer.h:
2150         (pp::Tokenizer::setMaxTokenLength):
2151         * src/compiler/preprocessor/Tokenizer.l:
2152         * src/compiler/preprocessor/generate_parser.sh:
2153         * src/compiler/preprocessor/preprocessor.vcxproj: Added.
2154         * src/compiler/preprocessor/preprocessor.vcxproj.filters: Added.
2155         * src/compiler/timing/RestrictFragmentShaderTiming.cpp:
2156         * src/compiler/translator.vcxproj: Added.
2157         * src/compiler/translator.vcxproj.filters: Added.
2158         * src/compiler/util.cpp:
2159         (atof_clamp):
2160         (atoi_clamp):
2161         * src/compiler/util.h:
2162         * src/libEGL/Surface.cpp:
2163         (egl::Surface::checkForOutOfDateSwapChain):
2164         * src/libEGL/libEGL.cpp:
2165         * src/libEGL/libEGL.rc:
2166         * src/libEGL/libEGL.vcxproj: Added.
2167         * src/libEGL/libEGL.vcxproj.filters: Added.
2168         * src/libGLESv2/Buffer.cpp:
2169         (gl::Buffer::bufferData):
2170         (gl::Buffer::bufferSubData):
2171         (gl::Buffer::size):
2172         (gl::Buffer::getIndexRangeCache):
2173         * src/libGLESv2/Buffer.h:
2174         * src/libGLESv2/Context.cpp:
2175         (gl::Context::applyTextures):
2176         (gl::Context::getBoundFramebufferTextureSerials):
2177         * src/libGLESv2/Context.h:
2178         (gl::Context::getRenderer):
2179         * src/libGLESv2/Framebuffer.h:
2180         * src/libGLESv2/ProgramBinary.cpp:
2181         (gl::DiscardWorkaround):
2182         (gl::ProgramBinary::load):
2183         (gl::ProgramBinary::link):
2184         (gl::ProgramBinary::linkAttributes):
2185         (gl::AttributeSorter::AttributeSorter):
2186         (gl::ProgramBinary::initAttributesByLayout):
2187         (gl::ProgramBinary::sortAttributesByLayout):
2188         * src/libGLESv2/ProgramBinary.h:
2189         * src/libGLESv2/Renderbuffer.cpp:
2190         (gl::RenderbufferTexture2D::getTextureSerial):
2191         (gl::RenderbufferTextureCubeMap::getTextureSerial):
2192         (gl::Renderbuffer::getTextureSerial):
2193         * src/libGLESv2/Renderbuffer.h:
2194         (gl::RenderbufferStorage::getTextureSerial):
2195         * src/libGLESv2/Shader.cpp:
2196         (gl::Shader::parseVaryings):
2197         (gl::Shader::uncompile):
2198         * src/libGLESv2/Shader.h:
2199         * src/libGLESv2/Texture.cpp:
2200         (gl::TextureCubeMap::storage):
2201         * src/libGLESv2/Uniform.cpp:
2202         (gl::Uniform::Uniform):
2203         (gl::Uniform::~Uniform):
2204         (gl::Uniform::isArray):
2205         (gl::Uniform::elementCount):
2206         * src/libGLESv2/Uniform.h:
2207         * src/libGLESv2/constants.h: Removed.
2208         * src/libGLESv2/libGLESv2.def:
2209         * src/libGLESv2/libGLESv2.rc:
2210         * src/libGLESv2/libGLESv2.vcxproj: Added.
2211         * src/libGLESv2/libGLESv2.vcxproj.filters: Added.
2212         * src/libGLESv2/precompiled.h:
2213         * src/libGLESv2/renderer/Image11.cpp:
2214         (rx::Image11::generateMipmap):
2215         (rx::Image11::loadData):
2216         (rx::Image11::loadCompressedData):
2217         (rx::Image11::copy):
2218         (rx::Image11::createStagingTexture):
2219         (rx::Image11::map):
2220         * src/libGLESv2/renderer/Image11.h:
2221         * src/libGLESv2/renderer/IndexBuffer.cpp:
2222         (rx::IndexBufferInterface::mapBuffer):
2223         (rx::StaticIndexBufferInterface::getIndexRangeCache):
2224         * src/libGLESv2/renderer/IndexBuffer.h:
2225         * src/libGLESv2/renderer/IndexBuffer11.cpp:
2226         (rx::IndexBuffer11::mapBuffer):
2227         * src/libGLESv2/renderer/IndexDataManager.cpp:
2228         (rx::IndexDataManager::prepareIndexData):
2229         (rx::IndexDataManager::getCountingIndices):
2230         * src/libGLESv2/renderer/IndexRangeCache.cpp: Added.
2231         (rx::IndexRangeCache::addRange):
2232         (rx::IndexRangeCache::invalidateRange):
2233         (rx::IndexRangeCache::findRange):
2234         (rx::IndexRangeCache::clear):
2235         (rx::IndexRangeCache::IndexRange::IndexRange):
2236         (rx::IndexRangeCache::IndexRange::operator<):
2237         (rx::IndexRangeCache::IndexBounds::IndexBounds):
2238         * src/libGLESv2/renderer/IndexRangeCache.h: Added.
2239         * src/libGLESv2/renderer/InputLayoutCache.cpp:
2240         (rx::InputLayoutCache::InputLayoutCache):
2241         (rx::InputLayoutCache::clear):
2242         (rx::InputLayoutCache::markDirty):
2243         (rx::InputLayoutCache::applyVertexBuffers):
2244         (rx::InputLayoutCache::hashInputLayout):
2245         (rx::InputLayoutCache::compareInputLayouts):
2246         * src/libGLESv2/renderer/InputLayoutCache.h:
2247         (rx::InputLayoutCache::InputLayoutKey::begin):
2248         (rx::InputLayoutCache::InputLayoutKey::end):
2249         * src/libGLESv2/renderer/RenderTarget11.cpp:
2250         (rx::RenderTarget11::getTexture):
2251         (rx::RenderTarget11::getRenderTargetView):
2252         (rx::RenderTarget11::getDepthStencilView):
2253         (rx::RenderTarget11::getShaderResourceView):
2254         * src/libGLESv2/renderer/RenderTarget11.h:
2255         * src/libGLESv2/renderer/Renderer.cpp:
2256         (rx::Renderer::initializeCompiler):
2257         * src/libGLESv2/renderer/Renderer.h:
2258         * src/libGLESv2/renderer/Renderer11.cpp:
2259         (rx::Renderer11::initialize):
2260         (rx::Renderer11::applyPrimitiveType):
2261         (rx::Renderer11::applyRenderTarget):
2262         (rx::Renderer11::drawLineLoop):
2263         (rx::Renderer11::drawTriangleFan):
2264         (rx::Renderer11::applyUniforms):
2265         (rx::Renderer11::clear):
2266         (rx::Renderer11::markAllStateDirty):
2267         (rx::Renderer11::copyImage):
2268         (rx::Renderer11::compileToExecutable):
2269         (rx::Renderer11::getRenderTargetResource):
2270         (rx::Renderer11::blitRenderbufferRect):
2271         * src/libGLESv2/renderer/Renderer11.h:
2272         * src/libGLESv2/renderer/Renderer9.cpp:
2273         (rx::Renderer9::initialize):
2274         (rx::Renderer9::setViewport):
2275         (rx::Renderer9::drawLineLoop):
2276         (rx::Renderer9::compileToExecutable):
2277         * src/libGLESv2/renderer/Renderer9.h:
2278         * src/libGLESv2/renderer/SwapChain.h:
2279         * src/libGLESv2/renderer/SwapChain11.cpp:
2280         (rx::SwapChain11::resetOffscreenTexture):
2281         (rx::SwapChain11::reset):
2282         (rx::SwapChain11::swapRect):
2283         * src/libGLESv2/renderer/SwapChain9.cpp:
2284         (rx::convertInterval):
2285         * src/libGLESv2/renderer/TextureStorage11.cpp:
2286         (rx::TextureStorage11::IsTextureFormatRenderable):
2287         (rx::TextureStorage11::generateMipmapLayer):
2288         (rx::TextureStorage11_Cube::getRenderTarget):
2289         * src/libGLESv2/renderer/VertexBuffer.cpp:
2290         (rx::VertexBufferInterface::storeVertexAttributes):
2291         (rx::VertexBufferInterface::storeRawData):
2292         (rx::VertexBufferInterface::reserveVertexSpace):
2293         (rx::StaticVertexBufferInterface::lookupAttribute):
2294         (rx::StaticVertexBufferInterface::storeVertexAttributes):
2295         * src/libGLESv2/renderer/VertexBuffer.h:
2296         * src/libGLESv2/renderer/VertexBuffer11.cpp:
2297         (rx::VertexBuffer11::getSpaceRequired):
2298         * src/libGLESv2/renderer/VertexBuffer11.h:
2299         * src/libGLESv2/renderer/VertexBuffer9.cpp:
2300         (rx::VertexBuffer9::storeVertexAttributes):
2301         (rx::VertexBuffer9::getSpaceRequired):
2302         (rx::VertexBuffer9::requiresConversion):
2303         (rx::VertexBuffer9::getVertexSize):
2304         (rx::VertexBuffer9::spaceRequired):
2305         * src/libGLESv2/renderer/VertexBuffer9.h:
2306         * src/libGLESv2/renderer/VertexDataManager.cpp:
2307         (rx::elementsInBuffer):
2308         (rx::StreamingBufferElementCount):
2309         (rx::VertexDataManager::prepareVertexData):
2310         * src/libGLESv2/renderer/VertexDataManager.h:
2311         * src/libGLESv2/renderer/renderer11_utils.cpp:
2312         (gl_d3d11::ConvertTextureFormat):
2313         * src/libGLESv2/renderer/shaders/compiled/clear11vs.h:
2314         * src/libGLESv2/renderer/shaders/compiled/clearmultiple11ps.h:
2315         * src/libGLESv2/renderer/shaders/compiled/clearsingle11ps.h:
2316         * src/libGLESv2/renderer/shaders/compiled/componentmaskps.h:
2317         * src/libGLESv2/renderer/shaders/compiled/flipyvs.h:
2318         * src/libGLESv2/renderer/shaders/compiled/luminanceps.h:
2319         * src/libGLESv2/renderer/shaders/compiled/passthrough11vs.h:
2320         * src/libGLESv2/renderer/shaders/compiled/passthroughlum11ps.h:
2321         * src/libGLESv2/renderer/shaders/compiled/passthroughlumalpha11ps.h:
2322         * src/libGLESv2/renderer/shaders/compiled/passthroughps.h:
2323         * src/libGLESv2/renderer/shaders/compiled/passthroughrgb11ps.h:
2324         * src/libGLESv2/renderer/shaders/compiled/passthroughrgba11ps.h:
2325         * src/libGLESv2/renderer/shaders/compiled/standardvs.h:
2326         * src/libGLESv2/renderer/shaders/generate_shaders.bat:
2327         * src/libGLESv2/utilities.cpp:
2328         (gl::ComputeTypeSize):
2329         * src/libGLESv2/utilities.h:
2330         * src/third_party/murmurhash/MurmurHash3.cpp:
2331         (rotl32):
2332         (rotl64):
2333         (getblock):
2334         (fmix):
2335         (MurmurHash3_x86_32):
2336         (MurmurHash3_x86_128):
2337         (MurmurHash3_x64_128):
2338         * src/third_party/murmurhash/MurmurHash3.h:
2339         * src/third_party/trace_event: Added.
2340         * src/third_party/trace_event/trace_event.h: Added.
2341         (gl::TraceEvent::TraceID::TraceID):
2342         (gl::TraceEvent::TraceID::data):
2343         (gl::TraceEvent::TraceStringWithCopy::TraceStringWithCopy):
2344         (gl::TraceEvent::TraceStringWithCopy::operator const char* ):
2345         (gl::TraceEvent::setTraceValue):
2346         (gl::TraceEvent::addTraceEvent):
2347         (gl::TraceEvent::TraceEndOnScopeClose::TraceEndOnScopeClose):
2348         (gl::TraceEvent::TraceEndOnScopeClose::~TraceEndOnScopeClose):
2349         (gl::TraceEvent::TraceEndOnScopeClose::initialize):
2350         (gl::TraceEvent::TraceEndOnScopeClose::addEventIfEnabled):
2351         (gl::TraceEvent::SamplingStateScope::SamplingStateScope):
2352         (gl::TraceEvent::SamplingStateScope::~SamplingStateScope):
2353         (gl::TraceEvent::SamplingStateScope::current):
2354         (gl::TraceEvent::SamplingStateScope::set):
2355
2356 2013-11-18  Mark Rowe  <mrowe@apple.com>
2357
2358         Use hw.activecpu for determining how many processes to spawn.
2359
2360         It's documented as the preferred way to determine the number of threads
2361         or processes to create in a SMP aware application.
2362
2363         Rubber-stamped by Tim Horton.
2364
2365         * ANGLE.xcodeproj/project.pbxproj:
2366
2367 2013-11-06  Dean Jackson  <dino@apple.com>
2368
2369         kTraceBufferLen is unused in default builds
2370         https://bugs.webkit.org/show_bug.cgi?id=123941
2371         <rdar://problem/15409804>
2372
2373         Reviewed by Tim Horton.
2374
2375         kTraceBufferLen is not used in debug.cpp if TRACE_ENABLED is
2376         not defined. This causes a warning in newer builds of clang.
2377         For now, skip warnings on unused variables until we
2378         update from ANGLE.
2379
2380         * src/compiler/debug.cpp: Add unused-variable ignore pragma.
2381
2382 2013-10-24  Mark Rowe  <mrowe@apple.com>
2383
2384         Remove references to OS X 10.7 from Xcode configuration settings.
2385
2386         Now that we're not building for OS X 10.7 they're no longer needed.
2387
2388         Reviewed by Anders Carlsson.
2389
2390         * Configurations/Base.xcconfig:
2391         * Configurations/DebugRelease.xcconfig:
2392
2393 2013-10-24  Mark Rowe  <mrowe@apple.com>
2394
2395         <rdar://problem/15312643> Prepare for the mysterious future.
2396
2397         Reviewed by David Kilzer.
2398
2399         * Configurations/Base.xcconfig:
2400         * Configurations/DebugRelease.xcconfig:
2401
2402 2013-10-10  Mark Rowe  <mrowe@apple.com>
2403
2404         <rdar://problem/13341666> WebKit should always build against an SDK.
2405
2406         Have all projects default to building against the OS X Internal SDK for the Production
2407         configuration. For the Debug and Release configurations, look for UseInternalSDK.xcconfig
2408         to determine whether the OS X Internal SDK should be used. If not, use the normal OS X SDK.
2409
2410         Reviewed by Dan Bernstein.
2411
2412         * Configurations/Base.xcconfig:
2413         * Configurations/DebugRelease.xcconfig:
2414
2415 2013-10-08  Alex Christensen  <achristensen@webkit.org>
2416
2417         Generate pdb files for debugging ANGLE DLLs.
2418         https://bugs.webkit.org/show_bug.cgi?id=122530
2419
2420         Reviewed by Brent Fulgham.
2421
2422         * ANGLE.vcxproj/libEGLCommon.props:
2423         * ANGLE.vcxproj/libGLESv2Common.props:
2424         Generate debug information.
2425
2426 2013-10-03  Dan Bernstein  <mitz@apple.com>
2427
2428         <rdar://problem/15116673> [mac] Build failure when the source directory is not named ANGLE
2429         https://bugs.webkit.org/show_bug.cgi?id=122307
2430
2431         Reviewed by Mark Rowe.
2432
2433         * ANGLE.xcodeproj/project.pbxproj: Ensure that the symlink to SRCROOT in
2434         DerivedSources/ANGLE is named ANGLE.
2435
2436 2013-09-29  Darin Adler  <darin@apple.com>
2437
2438         Take some Xcode advice about turning on additional warnings in ANGLE and gtest
2439         https://bugs.webkit.org/show_bug.cgi?id=122087
2440
2441         Reviewed by Mark Rowe.
2442
2443         * Configurations/Base.xcconfig: Add some of the warnings that Xcode 5 suggested.
2444         * src/compiler/preprocessor/Tokenizer.l: Defined YY_NO_INPUT so we don't compile
2445         an unused function and get a warning.
2446
2447 2013-09-29  Darin Adler  <darin@apple.com>
2448
2449         Use RenderElement instead of RenderObject in many places
2450         https://bugs.webkit.org/show_bug.cgi?id=122078
2451
2452         Reviewed by Andreas Kling.
2453
2454         * ANGLE.xcodeproj/project.pbxproj: Let Xcode do its thing to this file.
2455
2456 2013-09-24  Mark Rowe  <mrowe@apple.com>
2457
2458         <rdar://problem/14971518> WebKit should build against the Xcode default toolchain when targeting OS X 10.8
2459
2460         Reviewed by Dan Bernstein.
2461
2462         * Configurations/Base.xcconfig:
2463
2464 2013-09-06  peavo@outlook.com  <peavo@outlook.com>
2465
2466         [Win][WebGL] WebGL rendering is slow.
2467         https://bugs.webkit.org/show_bug.cgi?id=120841
2468
2469         Reviewed by Brent Fulgham.
2470
2471         Rendering WebGL content is slow on Windows, because lots of debug information is written to debug.txt.
2472
2473         * ANGLE.vcxproj/ANGLERelease.props: Disable logging in release builds.
2474
2475 2013-09-05  Dan Bernstein  <mitz@apple.com>
2476
2477         INSTALL_PATH_PREFIX is used even when not installing
2478         https://bugs.webkit.org/show_bug.cgi?id=120818
2479
2480         Reviewed by Darin Adler.
2481
2482         * Configurations/ANGLE.xcconfig: Changed the definition of PRIVATE_HEADERS_FOLDER_PATH
2483         to include INSTALL_PATH_PREFIX only when installing.
2484
2485 2013-08-17  David Kilzer  <ddkilzer@apple.com>
2486
2487         ANGLE fails to build with trunk clang: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
2488         <http://webkit.org/b/119931>
2489         <rdar://problem/14763822>
2490
2491         Reviewed by Darin Adler.
2492
2493         * src/compiler/glslang.l:
2494         * src/compiler/glslang_lex.cpp:
2495         * src/compiler/preprocessor/Tokenizer.cpp:
2496         * src/compiler/preprocessor/Tokenizer.l:
2497         Add pragma statements to ignore -Wdeprecated-register warnings
2498         in generated code.  Also ignore -Wunknown-pragmas so this
2499         doesn't cause a build failure in older versions of clang.
2500
2501 2013-08-16  Commit Queue  <commit-queue@webkit.org>
2502
2503         Unreviewed, rolling out r153749.
2504         http://trac.webkit.org/changeset/153749
2505         https://bugs.webkit.org/show_bug.cgi?id=119892
2506
2507         The bison generation of the glslang* files has now been fixed. (Requested by zdobersek on #webkit).
2508
2509         * GNUmakefile.am: Preserve the libANGLE.la dependency on the ANGLE's GNUmakefile.am.
2510
2511 2013-08-15  Allan Sandfeld Jensen  <allan.jensen@digia.com>
2512
2513         ANGLE doesn't build with bison 3.0
2514         https://bugs.webkit.org/show_bug.cgi?id=119798
2515
2516         Reviewed by Antti Koivisto.
2517
2518         Make glslang.y compatible with bison 3.0, by using %lex-param
2519         to set YYLEX_PARAM and getting rid of useless YYID macro.
2520
2521         * src/compiler/glslang.y:
2522
2523 2013-08-09  Zoltan Arvai  <zarvai@inf.u-szeged.hu>
2524
2525         [Qt] Buidfix after r153664. Adding ANGLE_WEBKIT_WIN definition.
2526         https://bugs.webkit.org/show_bug.cgi?id=119577
2527
2528         Reviewed by Allan Sandfeld Jensen.
2529
2530         * Target.pri:
2531
2532 2013-08-08  Alex Christensen  <achristensen@apple.com>
2533
2534         Link to correct DirectX libraries for Win64 ANGLE build.
2535         https://bugs.webkit.org/show_bug.cgi?id=119600
2536
2537         Reviewed by Brent Fulgham.
2538
2539         * ANGLE.vcxproj/DirectX32.props: Added with x86 DirectX library directory.
2540         * ANGLE.vcxproj/DirectX64.props: Added with x64 DirectX library directory.
2541         * ANGLE.vcxproj/libEGL.vcxproj:
2542         * ANGLE.vcxproj/libGLESv2.vcxproj:
2543         Use DirectX32.props and DirectX64.props.
2544         * ANGLE.vcxproj/libEGLCommon.props:
2545         * ANGLE.vcxproj/libGLESv2Common.props:
2546         Removed DirectX library directory.
2547
2548 2013-07-23  David Farler  <dfarler@apple.com>
2549
2550         Provide optional OTHER_CFLAGS, OTHER_CPPFLAGS, OTHER_LDFLAGS additions for building with ASAN
2551         https://bugs.webkit.org/show_bug.cgi?id=117762
2552
2553         Reviewed by Mark Rowe.
2554
2555         * Configurations/DebugRelease.xcconfig:
2556         Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS.
2557
2558 2013-08-06  Zan Dobersek  <zdobersek@igalia.com>
2559
2560         webkit-gtk fails to build with bison-3.0
2561         https://bugs.webkit.org/show_bug.cgi?id=119373
2562
2563         Reviewed by Gustavo Noronha Silva.
2564
2565         * GNUmakefile.am: Stop relying on generated glslang_tab.(cpp|h) and glslang.cpp sources as Bison 3.0
2566         produces non-compilable source code. Instead, compile these pregenerated files as they're included in
2567         the tree. Originally, the ANGLE source tree provides these files as generated by Bison 2.7, but they're
2568         at the moment regenerated with Bison 2.3 when the third-party ANGLE source is being updated.
2569
2570 2013-08-05  Alex Christensen  <achristensen@apple.com>
2571
2572         Added optimizations to Windows ANGLE builds.
2573         https://bugs.webkit.org/show_bug.cgi?id=119500
2574
2575         Reviewed by Brent Fulgham.
2576
2577         * ANGLE.vcxproj/ANGLERelease.props: Added.
2578         * ANGLE.vcxproj/libEGL.vcxproj:
2579         * ANGLE.vcxproj/libGLESv2.vcxproj:
2580         * ANGLE.vcxproj/preprocessor.vcxproj:
2581         * ANGLE.vcxproj/translator_common.vcxproj:
2582         * ANGLE.vcxproj/translator_glsl.vcxproj:
2583         * ANGLE.vcxproj/translator_hlsl.vcxproj:
2584         Use ANGLERelease.props for Release, Release_WinCairo, and Production configurations.
2585
2586 2013-08-02  Alex Christensen  <achristensen@apple.com>
2587
2588         Soft link ANGLE on Windows.
2589         https://bugs.webkit.org/show_bug.cgi?id=119452
2590
2591         Reviewed by Dean Jackson.
2592
2593         * ANGLE.vcxproj/libEGL.vcxproj:
2594         * ANGLE.vcxproj/libEGL.vcxproj.filters:
2595         * ANGLE.vcxproj/libGLESv2.vcxproj:
2596         * ANGLE.vcxproj/libGLESv2.vcxproj.filters:
2597         Added soft linking headers.
2598         * ANGLE.vcxproj/libEGLCommon.props:
2599         * ANGLE.vcxproj/libGLESv2Common.props:
2600         * ANGLE.vcxproj/translatorCommon.props:
2601         Added ANGLE_WEBKIT_WIN macro definition for egl.h and gl2.h.
2602         * include/EGL/egl.h:
2603         * include/GLES2/gl2.h:
2604         Conditionally include soft linking headers based on ANGLE_WEBKIT_WIN macro.
2605         * include/EGL/eglsoftlinking.h: Added.
2606         * include/GLES2/gl2softlinking.h: Added.
2607
2608 2013-08-01  Alex Christensen  <achristensen@apple.com>
2609
2610         Fixed wrong static_casting in ANGLE from r153064.
2611         https://bugs.webkit.org/show_bug.cgi?id=119296
2612
2613         Reviewed by Dean Jackson.
2614
2615         * src/compiler/Intermediate.cpp:
2616         (TIntermediate::promoteConstantUnion):
2617         Undid erroneous static_cast change.
2618         * src/compiler/intermediate.h:
2619         (TIntermConstantUnion::getIConst):
2620         (TIntermConstantUnion::getFConst):
2621         (TIntermConstantUnion::getBConst):
2622         Made getters use size_t instead of int.
2623
2624 2013-07-29  Carlos Garcia Campos  <cgarcia@igalia.com>
2625
2626         Unreviewed. Fix make distcheck.
2627
2628         * GNUmakefile.am: Add missing header files to compilation.
2629
2630 2013-07-29  Alex Christensen  <achristensen@apple.com>
2631
2632         Separated translator into preprocessor, translator_common,
2633         translator_hlsl (for libGLESv2), and translator_glsl
2634         (for ANGLEWebKitBridge).
2635         https://bugs.webkit.org/show_bug.cgi?id=119221
2636
2637         Reviewed by Brent Fulgham.
2638
2639         * ANGLE.vcxproj/ANGLEGenerated.vcxproj:
2640         Removed unused preprocessor definitions.
2641         * ANGLE.vcxproj/libEGL.vcxproj:
2642         * ANGLE.vcxproj/libGLESv2.vcxproj:
2643         Removed dependency on removed translator project.
2644         * ANGLE.vcxproj/libGLESv2Common.props:
2645         Link to translator_hlsl libraries.
2646         * ANGLE.vcxproj/preprocessor.vcxproj: Added.
2647         * ANGLE.vcxproj/preprocessor.vcxproj.filters: Added.
2648         * ANGLE.vcxproj/translator.vcxproj: Removed.
2649         * ANGLE.vcxproj/translator.vcxproj.filters: Removed.
2650         * ANGLE.vcxproj/translator_common.vcxproj: Added.
2651         * ANGLE.vcxproj/translator_common.vcxproj.filters: Added.
2652         * ANGLE.vcxproj/translator_glsl.vcxproj: Added.
2653         * ANGLE.vcxproj/translator_glsl.vcxproj.filters: Added.
2654         * ANGLE.vcxproj/translator_hlsl.vcxproj: Added.
2655         * ANGLE.vcxproj/translator_hlsl.vcxproj.filters: Added.
2656
2657 2013-07-26  Alex Christensen  <achristensen@apple.com>
2658
2659         Added module definition file for building libEGL.
2660         https://bugs.webkit.org/show_bug.cgi?id=119162
2661
2662         Reviewed by Brent Fulgham.
2663
2664         * ANGLE.vcxproj/libEGLCommon.props: Added reference to libEGL.def.
2665
2666 2013-07-25  Alex Christensen  <achristensen@apple.com>
2667
2668         Made Windows build system for ANGLE and removed existing broken build system.
2669         Removed empty src/libGLESv2/shaders directory and old README files.
2670         https://bugs.webkit.org/show_bug.cgi?id=119103
2671
2672         Reviewed by Brent Fulgham.
2673
2674         * ANGLE.vcxproj: Added.
2675         * ANGLE.vcxproj/ANGLEGenerated.vcxproj: Added.
2676         * ANGLE.vcxproj/ANGLEGenerated.vcxproj.filters: Added.
2677         * ANGLE.vcxproj/libEGL.vcxproj: Added.
2678         * ANGLE.vcxproj/libEGL.vcxproj.filters: Added.
2679         * ANGLE.vcxproj/libEGLCommon.props: Added.
2680         * ANGLE.vcxproj/libGLESv2.vcxproj: Added.
2681         * ANGLE.vcxproj/libGLESv2.vcxproj.filters: Added.
2682         * ANGLE.vcxproj/libGLESv2Common.props: Added.
2683         * ANGLE.vcxproj/translator.vcxproj: Added.
2684         * ANGLE.vcxproj/translator.vcxproj.filters: Added.
2685         * ANGLE.vcxproj/translatorCommon.props: Added.
2686         * src/ANGLE.sln: Removed.
2687         * src/compiler/preprocessor/preprocessor.vcxproj: Removed.
2688         * src/compiler/preprocessor/preprocessor.vcxproj.filters: Removed.
2689         * src/compiler/translator_common.vcxproj: Removed.
2690         * src/compiler/translator_common.vcxproj.filters: Removed.
2691         * src/compiler/translator_hlsl.vcxproj: Removed.
2692         * src/compiler/translator_hlsl.vcxproj.filters: Removed.
2693         * src/libEGL/README: Removed.
2694         * src/libEGL/libEGL.vcxproj: Removed.
2695         * src/libEGL/libEGL.vcxproj.filters: Removed.
2696         * src/libGLESv2/README: Removed.
2697         * src/libGLESv2/libGLESv2.vcxproj: Removed.
2698         * src/libGLESv2/libGLESv2.vcxproj.filters: Removed.
2699         * src/libGLESv2/shaders: Removed.
2700
2701 2013-07-24  Alex Christensen  <achristensen@apple.com>
2702
2703         Generate derived files in ANGLE at build time rather than when updating from upstream.
2704         https://bugs.webkit.org/show_bug.cgi?id=118872
2705
2706         Reviewed by Mark Rowe.
2707
2708         * ANGLE.xcodeproj/project.pbxproj: Made Derived Sources target which calls DerivedSources.make,
2709         moved generated files into Derived Sources group.
2710         * DerivedSources.make: Added.
2711
2712 2013-07-24  Zan Dobersek  <zdobersek@igalia.com>
2713
2714         Unreviewed. Setting the svn:eol-style=native property on the ANGLE.sln file.
2715
2716         * src/ANGLE.sln: Added property svn:eol-style.
2717
2718 2013-07-24  Gabor Abraham  <abrhm@inf.u-szeged.hu>
2719
2720         [Qt] Buildfix after r153064. Add Uniform files to the Target.pri.
2721
2722         Reviewed by Csaba Osztrogonác.
2723
2724         * Target.pri:
2725
2726 2013-07-23  Alex Christensen  <achristensen@apple.com>
2727
2728         Updated ANGLE to latest git commit (047373aa3eb408be62be52ade840fa5f11e72337).
2729         Added missing ANGLE files except unused tests, extensions, samples, build, and .git directories.
2730         Ran Bison after making some changes to fix compile errors (see below).
2731
2732         https://bugs.webkit.org/show_bug.cgi?id=118550
2733
2734         Reviewed by Dean Jackson.
2735
2736         * ANGLE.plist: Updated from svn to git.
2737         * ANGLE.xcodeproj/project.pbxproj: Renamed DetectRecursion to DetectCallDepth.
2738         * AUTHORS: Added.
2739         * CONTRIBUTORS: Added.
2740         * DEPS: Added.
2741         * GNUmakefile.am: Renamed DetectRecursion to DetectCallDepth and added Uniform.cpp.
2742         * LICENSE: Added.
2743         * README.chromium: Added.
2744         * Target.pri: Renamed DetectRecursion to DetectCallDepth.
2745         * codereview.settings: Added.
2746         * include/EGL/eglext.h:
2747         * include/GLES2/gl2ext.h:
2748         * include/GLSLANG/ShaderLang.h:
2749         * src/ANGLE.sln: Added.
2750         * src/build_angle.gyp: Added.
2751         * src/build_angle.gypi: Added.
2752         * src/common/RefCountObject.cpp:
2753         * src/common/angleutils.h:
2754         (ArraySize):
2755         (SafeRelease):
2756         * src/common/debug.cpp:
2757         * src/common/debug.h:
2758         * src/common/system.h:
2759         * src/common/version.h:
2760         * src/compiler/64bit-lexer-safety.patch: Added.
2761         * src/compiler/BaseTypes.h:
2762         (getQualifierString):
2763         * src/compiler/CodeGenHLSL.cpp:
2764         (ConstructCompiler):
2765         * src/compiler/Common.h:
2766         * src/compiler/Compiler.cpp:
2767         (TCompiler::TCompiler):
2768         (TCompiler::Init):
2769         (TCompiler::compile):
2770         (TCompiler::InitBuiltInSymbolTable):
2771         (TCompiler::detectCallDepth):
2772         (TCompiler::limitExpressionComplexity):
2773         (TCompiler::getResources):
2774         * src/compiler/ConstantUnion.h:
2775         (ConstantUnion::ConstantUnion):
2776         * src/compiler/DetectCallDepth.cpp: Added.
2777         (DetectCallDepth::FunctionNode::FunctionNode):
2778         (DetectCallDepth::FunctionNode::getName):
2779         (DetectCallDepth::FunctionNode::addCallee):
2780         (DetectCallDepth::FunctionNode::detectCallDepth):
2781         (DetectCallDepth::FunctionNode::reset):
2782         (DetectCallDepth::DetectCallDepth):
2783         (DetectCallDepth::~DetectCallDepth):
2784         (DetectCallDepth::visitAggregate):
2785         (DetectCallDepth::checkExceedsMaxDepth):
2786         (DetectCallDepth::resetFunctionNodes):
2787         (DetectCallDepth::detectCallDepthForFunction):
2788         (DetectCallDepth::detectCallDepth):
2789         (DetectCallDepth::findFunctionByName):
2790         * src/compiler/DetectCallDepth.h: Added.
2791         (DetectCallDepth::getInfoSink):
2792         * src/compiler/DetectRecursion.cpp: Removed.
2793         * src/compiler/DetectRecursion.h: Removed.
2794         * src/compiler/Diagnostics.cpp:
2795         (TDiagnostics::writeInfo):
2796         * src/compiler/ForLoopUnroll.cpp:
2797         (ForLoopUnroll::evaluateIntConstant):
2798         * src/compiler/InfoSink.cpp:
2799         (TInfoSinkBase::prefix):
2800         (TInfoSinkBase::location):
2801         (TInfoSinkBase::message):
2802         * src/compiler/InfoSink.h:
2803         * src/compiler/Initialize.cpp:
2804         (InsertBuiltInFunctions):
2805         (IdentifyBuiltIns):
2806         (InitExtensionBehavior):
2807         * src/compiler/Initialize.h:
2808         * src/compiler/Intermediate.cpp:
2809         (TIntermediate::addSymbol):
2810         (TIntermediate::addBinaryMath):
2811         (TIntermediate::addAssign):
2812         (TIntermediate::addIndex):
2813         (TIntermediate::addUnaryMath):
2814         (TIntermediate::setAggregateOperator):
2815         (TIntermediate::addConversion):
2816         (TIntermediate::growAggregate):
2817         (TIntermediate::makeAggregate):
2818         (TIntermediate::addSelection):
2819         (TIntermediate::addComma):
2820         (TIntermediate::addConstantUnion):
2821         (TIntermediate::addSwizzle):
2822         (TIntermediate::addLoop):
2823         (TIntermediate::addBranch):
2824         (TIntermUnary::promote):
2825         (TIntermBinary::promote):
2826         (CompareStruct):
2827         (CompareStructure):
2828         (TIntermConstantUnion::fold): Added implied static_casts to fix compiling errors on Mac.
2829         (TIntermediate::promoteConstantUnion):
2830         * src/compiler/OutputGLSL.cpp:
2831         (TOutputGLSL::visitSymbol):
2832         * src/compiler/OutputGLSL.h:
2833         * src/compiler/OutputGLSLBase.cpp:
2834         (TOutputGLSLBase::writeVariableType):
2835         (TOutputGLSLBase::writeConstantUnion):
2836         (TOutputGLSLBase::visitBinary):
2837         (TOutputGLSLBase::visitAggregate):
2838         (TOutputGLSLBase::getTypeName):
2839         (TOutputGLSLBase::structDeclared):
2840         (TOutputGLSLBase::declareStruct):
2841         * src/compiler/OutputGLSLBase.h:
2842         * src/compiler/OutputHLSL.cpp:
2843         (sh::OutputHLSL::OutputHLSL):
2844         (sh::OutputHLSL::getUniforms):
2845         (sh::OutputHLSL::header):
2846         (sh::OutputHLSL::visitSymbol):
2847         (sh::OutputHLSL::visitBinary):
2848         (sh::OutputHLSL::visitAggregate):
2849         (sh::OutputHLSL::visitSelection):
2850         (sh::OutputHLSL::visitLoop):
2851         (sh::OutputHLSL::handleExcessiveLoop):
2852         (sh::OutputHLSL::argumentString):
2853         (sh::OutputHLSL::typeString):
2854         (sh::OutputHLSL::textureString):
2855         (sh::OutputHLSL::initializer):
2856         (sh::OutputHLSL::addConstructor):
2857         (sh::OutputHLSL::writeConstantUnion):
2858         (sh::OutputHLSL::decorateUniform):
2859         (sh::OutputHLSL::decorateField):
2860         (sh::OutputHLSL::registerString):
2861         (sh::OutputHLSL::samplerRegister):
2862         (sh::OutputHLSL::uniformRegister):
2863         (sh::OutputHLSL::declareUniform):
2864         (sh::OutputHLSL::glVariableType):
2865         (sh::OutputHLSL::glVariablePrecision):
2866         * src/compiler/OutputHLSL.h:
2867         * src/compiler/ParseHelper.cpp:
2868         (TParseContext::parseVectorFields):
2869         (TParseContext::parseMatrixFields):
2870         (TParseContext::error):
2871         (TParseContext::warning):
2872         (TParseContext::assignError):
2873         (TParseContext::unaryOpError):
2874         (TParseContext::binaryOpError):
2875         (TParseContext::precisionErrorCheck):
2876         (TParseContext::lValueErrorCheck):
2877         (TParseContext::globalErrorCheck):
2878         (TParseContext::reservedErrorCheck):
2879         (TParseContext::constructorErrorCheck):
2880         (TParseContext::voidErrorCheck):
2881         (TParseContext::boolErrorCheck):
2882         (TParseContext::samplerErrorCheck):
2883         (TParseContext::structQualifierErrorCheck):
2884         (TParseContext::parameterSamplerErrorCheck):
2885         (TParseContext::containsSampler):
2886         (TParseContext::arraySizeErrorCheck):
2887         (TParseContext::arrayQualifierErrorCheck):
2888         (TParseContext::arrayTypeErrorCheck):
2889         (TParseContext::arrayErrorCheck):
2890         (TParseContext::nonInitConstErrorCheck):
2891         (TParseContext::nonInitErrorCheck):
2892         (TParseContext::paramErrorCheck):
2893         (TParseContext::extensionErrorCheck):
2894         (TParseContext::isExtensionEnabled):
2895         Replaced auto with std::map<std::string, TBehavior>::const_iterator to fix Qt and EFL compiling errors.
2896         (TParseContext::findFunction):
2897         (TParseContext::executeInitializer):
2898         (TParseContext::addConstructor):
2899         (TParseContext::constructBuiltIn):
2900         (TParseContext::constructStruct):
2901         (TParseContext::addConstVectorNode):
2902         (TParseContext::addConstMatrixNode):
2903         (TParseContext::addConstArrayNode):
2904         (TParseContext::addConstStruct):
2905         (TParseContext::enterStructDeclaration):
2906         (TParseContext::structNestingErrorCheck):
2907         (TParseContext::addIndexExpression):
2908         * src/compiler/ParseHelper.h:
2909         (TParseContext::TParseContext):
2910         (TParseContext::pragma):
2911         * src/compiler/PoolAlloc.cpp:
2912         (TPoolAllocator::allocate):
2913         * src/compiler/ShHandle.h:
2914         (TShHandleBase::getAsTranslatorHLSL):
2915         * src/compiler/ShaderLang.cpp:
2916         (ShInitBuiltInResources):
2917         (ShGetInfoPointer):
2918         * src/compiler/SymbolTable.cpp:
2919         (TType::TType):
2920         (TType::buildMangledName):
2921         (TType::getObjectSize):
2922         (TStructure::containsArrays):
2923         (TStructure::buildMangledName):
2924         (TStructure::calculateObjectSize):
2925         (TStructure::calculateDeepestNesting):
2926         (TSymbolTableLevel::relateToExtension):
2927         * src/compiler/SymbolTable.h:
2928         (TSymbol::relateToExtension):
2929         (TSymbol::getExtension):
2930         (TVariable::TVariable):
2931         (TVariable::setQualifier):
2932         (TVariable::shareConstPointer):
2933         (TSymbolTableLevel::insert):
2934         (TSymbolTable::insertConstInt):
2935         (TSymbolTable::insertBuiltIn):
2936         * src/compiler/TranslatorHLSL.cpp:
2937         (TranslatorHLSL::TranslatorHLSL):
2938         (TranslatorHLSL::translate):
2939         * src/compiler/TranslatorHLSL.h:
2940         (TranslatorHLSL::getAsTranslatorHLSL):
2941         (TranslatorHLSL::getUniforms):
2942         * src/compiler/Types.h: Removed enum bit fields to fix gcc compiler errors.
2943         (TField::TField):
2944         (TField::type):
2945         (TField::name):
2946         (NewPoolTFieldList):
2947         (TStructure::TStructure):
2948         (TStructure::name):
2949         (TStructure::fields):
2950         (TStructure::mangledName):
2951         (TStructure::objectSize):
2952         (TStructure::deepestNesting):
2953         (TType::TType):
2954         (TType::elementRegisterCount):
2955         (TType::totalRegisterCount):
2956         (TType::clearArrayness):
2957         (TType::getStruct):
2958         (TType::setStruct):
2959         (TType::getMangledName):
2960         (TType::getDeepestStructNesting):
2961         (TType::isStructureContainingArrays):
2962         (TPublicType::setBasic):
2963         * src/compiler/Uniform.cpp: Added.
2964         (sh::Uniform::Uniform):
2965         * src/compiler/Uniform.h: Added.
2966         * src/compiler/VariableInfo.cpp:
2967         (getUserDefinedVariableInfo):
2968         * src/compiler/glslang.l:
2969         * src/compiler/glslang.y: Moved YYLTYPE definition into %union to work with Bison 2.3.
2970         * src/compiler/glslang_lex.cpp:
2971         (yy_get_previous_state):
2972         (yy_try_NUL_trans):
2973         (yyget_lloc):
2974         (yyset_lloc):
2975         (string_input):
2976         (check_type):
2977         (reserved_word):
2978         (glslang_scan):
2979         * src/compiler/glslang_tab.cpp:
2980         (yyerror):
2981         * src/compiler/glslang_tab.h:
2982         * src/compiler/intermOut.cpp:
2983         (TOutputTraverser::visitUnary):
2984         (TOutputTraverser::visitAggregate):
2985         (TOutputTraverser::visitConstantUnion):
2986         * src/compiler/intermediate.h:
2987         (TIntermNode::TIntermNode):
2988         (TIntermNode::~TIntermNode):
2989         (TIntermNode::getLine):
2990         (TIntermNode::setLine):
2991         (TIntermNode::getAsLoopNode):
2992         (TIntermTyped::totalRegisterCount):
2993         (TIntermTyped::elementRegisterCount):
2994         (TIntermTyped::getArraySize):
2995         (TIntermConstantUnion::getIConst):
2996         (TIntermConstantUnion::getFConst):
2997         (TIntermConstantUnion::getBConst):
2998         (TIntermAggregate::TIntermAggregate):
2999         (TIntermTraverser::TIntermTraverser):
3000         (TIntermTraverser::getMaxDepth):
3001         (TIntermTraverser::incrementDepth):
3002         * src/compiler/localintermediate.h:
3003         * src/compiler/parseConst.cpp:
3004         (TConstTraverser::visitSymbol):
3005         (TConstTraverser::visitBinary):
3006         (TConstTraverser::visitUnary):
3007         (TConstTraverser::visitAggregate):
3008         (TConstTraverser::visitSelection):
3009         (TConstTraverser::visitConstantUnion):
3010         (TConstTraverser::visitLoop):
3011         (TConstTraverser::visitBranch):
3012         (TIntermediate::parseConstTree):
3013         * src/compiler/preprocessor/64bit-tokenizer-safety.patch: Added.
3014         * src/compiler/preprocessor/Tokenizer.cpp:
3015         (yy_get_previous_state):
3016         (yy_try_NUL_trans):
3017         * src/compiler/preprocessor/Tokenizer.l:
3018         * src/compiler/preprocessor/preprocessor.vcxproj: Added.
3019         * src/compiler/preprocessor/preprocessor.vcxproj.filters: Added.
3020         * src/compiler/timing/RestrictVertexShaderTiming.cpp:
3021         (RestrictVertexShaderTiming::visitSymbol):
3022         * src/compiler/translator_common.vcxproj: Added.
3023         * src/compiler/translator_common.vcxproj.filters: Added.
3024         * src/compiler/translator_hlsl.vcxproj: Added.
3025         * src/compiler/translator_hlsl.vcxproj.filters: Added.
3026         * src/libEGL/Config.cpp: Added.
3027         (egl::Config::Config):
3028         (egl::Config::getHandle):
3029         (egl::SortConfig::SortConfig):
3030         (egl::SortConfig::scanForWantedComponents):
3031         (egl::SortConfig::wantedComponentsSize):
3032         (egl::SortConfig::operator()):
3033         (egl::ConfigSet::ConfigSet):
3034         (egl::ConfigSet::add):
3035         (egl::ConfigSet::size):
3036         (egl::ConfigSet::getConfigs):
3037         (egl::ConfigSet::get):
3038         * src/libEGL/Config.h: Added.
3039         * src/libEGL/Display.cpp: Added.
3040         (egl::Display::getDisplay):
3041         (egl::Display::Display):
3042         (egl::Display::~Display):
3043         (egl::Display::initialize):
3044         (egl::Display::terminate):
3045         (egl::Display::getConfigs):
3046         (egl::Display::getConfigAttrib):
3047         (egl::Display::createWindowSurface):
3048         (egl::Display::createOffscreenSurface):
3049         (egl::Display::createContext):
3050         (egl::Display::restoreLostDevice):
3051         (egl::Display::destroySurface):
3052         (egl::Display::destroyContext):
3053         (egl::Display::notifyDeviceLost):
3054         (egl::Display::recreateSwapChains):
3055         (egl::Display::isInitialized):
3056         (egl::Display::isValidConfig):
3057         (egl::Display::isValidContext):
3058         (egl::Display::isValidSurface):
3059         (egl::Display::hasExistingWindowSurface):
3060         (egl::Display::initExtensionString):
3061         (egl::Display::getExtensionString):
3062         (egl::Display::initVendorString):
3063         (egl::Display::getVendorString):
3064         * src/libEGL/Display.h: Added.
3065         (egl::Display::getRenderer):
3066         * src/libEGL/Surface.cpp: Added.
3067         (egl::Surface::Surface):
3068         (egl::Surface::~Surface):
3069         (egl::Surface::initialize):
3070         (egl::Surface::release):
3071         (egl::Surface::resetSwapChain):
3072         (egl::Surface::resizeSwapChain):
3073         (egl::Surface::swapRect):
3074         (egl::Surface::getWindowHandle):
3075         (egl::SurfaceWindowProc):
3076         (egl::Surface::subclassWindow):
3077         (egl::Surface::unsubclassWindow):
3078         (egl::Surface::checkForOutOfDateSwapChain):
3079         (egl::Surface::swap):
3080         (egl::Surface::postSubBuffer):
3081         (egl::Surface::getWidth):
3082         (egl::Surface::getHeight):
3083         (egl::Surface::isPostSubBufferSupported):
3084         (egl::Surface::getSwapChain):
3085         (egl::Surface::setSwapInterval):
3086         (egl::Surface::getTextureFormat):
3087         (egl::Surface::getTextureTarget):
3088         (egl::Surface::setBoundTexture):
3089         (egl::Surface::getBoundTexture):
3090         (egl::Surface::getFormat):
3091         * src/libEGL/Surface.h: Added.
3092         * src/libEGL/libEGL.cpp: Added.
3093         (validateDisplay):
3094         (validateConfig):
3095         (validateContext):
3096         (validateSurface):
3097         * src/libEGL/libEGL.def: Added.
3098         * src/libEGL/libEGL.rc: Added.
3099         * src/libEGL/libEGL.vcxproj: Added.
3100         * src/libEGL/libEGL.vcxproj.filters: Added.
3101         * src/libEGL/main.cpp: Added.
3102         (DllMain):
3103         (egl::setCurrentError):
3104         (egl::getCurrentError):
3105         (egl::setCurrentAPI):
3106         (egl::getCurrentAPI):
3107         (egl::setCurrentDisplay):
3108         (egl::getCurrentDisplay):
3109         (egl::setCurrentDrawSurface):
3110         (egl::getCurrentDrawSurface):
3111         (egl::setCurrentReadSurface):
3112         (egl::getCurrentReadSurface):
3113         (egl::error):
3114         * src/libEGL/main.h: Added.
3115         (egl::error):
3116         (egl::success):
3117         * src/libEGL/resource.h: Added.
3118         * src/libGLESv2/BinaryStream.h: Added.
3119         (gl::BinaryInputStream::BinaryInputStream):
3120         (gl::BinaryInputStream::read):
3121         (gl::BinaryInputStream::skip):
3122         (gl::BinaryInputStream::offset):
3123         (gl::BinaryInputStream::error):
3124         (gl::BinaryInputStream::endOfStream):
3125         (gl::BinaryOutputStream::BinaryOutputStream):
3126         (gl::BinaryOutputStream::write):
3127         (gl::BinaryOutputStream::length):
3128         (gl::BinaryOutputStream::data):
3129         * src/libGLESv2/Buffer.cpp: Added.
3130         (gl::Buffer::Buffer):
3131         (gl::Buffer::~Buffer):
3132         (gl::Buffer::bufferData):
3133         (gl::Buffer::bufferSubData):
3134         (gl::Buffer::getStorage):
3135         (gl::Buffer::size):
3136         (gl::Buffer::usage):
3137         (gl::Buffer::getStaticVertexBuffer):
3138         (gl::Buffer::getStaticIndexBuffer):
3139         (gl::Buffer::invalidateStaticData):
3140         (gl::Buffer::promoteStaticUsage):
3141         * src/libGLESv2/Buffer.h: Added.
3142         * src/libGLESv2/Context.cpp: Added.
3143         (gl::makeStaticString):
3144         (gl::Context::Context):
3145         (gl::Context::~Context):
3146         (gl::Context::makeCurrent):
3147         (gl::Context::markContextLost):
3148         (gl::Context::isContextLost):
3149         (gl::Context::setClearColor):
3150         (gl::Context::setClearDepth):
3151         (gl::Context::setClearStencil):
3152         (gl::Context::setCullFace):
3153         (gl::Context::isCullFaceEnabled):
3154         (gl::Context::setCullMode):
3155         (gl::Context::setFrontFace):
3156         (gl::Context::setDepthTest):
3157         (gl::Context::isDepthTestEnabled):
3158         (gl::Context::setDepthFunc):
3159         (gl::Context::setDepthRange):
3160         (gl::Context::setBlend):
3161         (gl::Context::isBlendEnabled):
3162         (gl::Context::setBlendFactors):
3163         (gl::Context::setBlendColor):
3164         (gl::Context::setBlendEquation):
3165         (gl::Context::setStencilTest):
3166         (gl::Context::isStencilTestEnabled):
3167         (gl::Context::setStencilParams):
3168         (gl::Context::setStencilBackParams):
3169         (gl::Context::setStencilWritemask):
3170         (gl::Context::setStencilBackWritemask):
3171         (gl::Context::setStencilOperations):
3172         (gl::Context::setStencilBackOperations):
3173         (gl::Context::setPolygonOffsetFill):
3174         (gl::Context::isPolygonOffsetFillEnabled):
3175         (gl::Context::setPolygonOffsetParams):
3176         (gl::Context::setSampleAlphaToCoverage):
3177         (gl::Context::isSampleAlphaToCoverageEnabled):
3178         (gl::Context::setSampleCoverage):
3179         (gl::Context::isSampleCoverageEnabled):
3180         (gl::Context::setSampleCoverageParams):
3181         (gl::Context::setScissorTest):
3182         (gl::Context::isScissorTestEnabled):
3183         (gl::Context::setDither):
3184         (gl::Context::isDitherEnabled):
3185         (gl::Context::setLineWidth):
3186         (gl::Context::setGenerateMipmapHint):
3187         (gl::Context::setFragmentShaderDerivativeHint):
3188         (gl::Context::setViewportParams):
3189         (gl::Context::setScissorParams):
3190         (gl::Context::setColorMask):
3191         (gl::Context::setDepthMask):
3192         (gl::Context::setActiveSampler):
3193         (gl::Context::getReadFramebufferHandle):
3194         (gl::Context::getDrawFramebufferHandle):
3195         (gl::Context::getRenderbufferHandle):
3196         (gl::Context::getArrayBufferHandle):
3197         (gl::Context::getActiveQuery):
3198         (gl::Context::setEnableVertexAttribArray):
3199         (gl::Context::getVertexAttribState):
3200         (gl::Context::setVertexAttribState):
3201         (gl::Context::getVertexAttribPointer):
3202         (gl::Context::setPackAlignment):
3203         (gl::Context::getPackAlignment):
3204         (gl::Context::setUnpackAlignment):
3205         (gl::Context::getUnpackAlignment):
3206         (gl::Context::setPackReverseRowOrder):
3207         (gl::Context::getPackReverseRowOrder):
3208         (gl::Context::createBuffer):
3209         (gl::Context::createProgram):
3210         (gl::Context::createShader):
3211         (gl::Context::createTexture):
3212         (gl::Context::createRenderbuffer):
3213         (gl::Context::createFramebuffer):
3214         (gl::Context::createFence):
3215         (gl::Context::createQuery):
3216         (gl::Context::deleteBuffer):
3217         (gl::Context::deleteShader):
3218         (gl::Context::deleteProgram):
3219         (gl::Context::deleteTexture):
3220         (gl::Context::deleteRenderbuffer):
3221         (gl::Context::deleteFramebuffer):
3222         (gl::Context::deleteFence):
3223         (gl::Context::deleteQuery):
3224         (gl::Context::getBuffer):
3225         (gl::Context::getShader):
3226         (gl::Context::getProgram):
3227         (gl::Context::getTexture):
3228         (gl::Context::getRenderbuffer):
3229         (gl::Context::getReadFramebuffer):
3230         (gl::Context::getDrawFramebuffer):
3231         (gl::Context::bindArrayBuffer):
3232         (gl::Context::bindElementArrayBuffer):
3233         (gl::Context::bindTexture2D):
3234         (gl::Context::bindTextureCubeMap):
3235         (gl::Context::bindReadFramebuffer):
3236         (gl::Context::bindDrawFramebuffer):
3237         (gl::Context::bindRenderbuffer):
3238         (gl::Context::useProgram):
3239         (gl::Context::linkProgram):
3240         (gl::Context::setProgramBinary):
3241         (gl::Context::beginQuery):
3242         (gl::Context::endQuery):
3243         (gl::Context::setFramebufferZero):
3244         (gl::Context::setRenderbufferStorage):
3245         (gl::Context::getFramebuffer):
3246         (gl::Context::getFence):
3247         (gl::Context::getQuery):
3248         (gl::Context::getArrayBuffer):
3249         (gl::Context::getElementArrayBuffer):
3250         (gl::Context::getCurrentProgramBinary):
3251         (gl::Context::getTexture2D):
3252         (gl::Context::getTextureCubeMap):
3253         (gl::Context::getSamplerTexture):
3254         (gl::Context::getBooleanv):
3255         (gl::Context::getFloatv):
3256         (gl::Context::getIntegerv):
3257         (gl::Context::getQueryParameterInfo):
3258         (gl::Context::applyRenderTarget):
3259         (gl::Context::applyState):
3260         (gl::Context::applyShaders):
3261         (gl::Context::applyTextures):
3262         (gl::Context::readPixels):
3263         (gl::Context::clear):
3264         (gl::Context::drawArrays):
3265         (gl::Context::drawElements):
3266         (gl::Context::sync):
3267         (gl::Context::recordInvalidEnum):
3268         (gl::Context::recordInvalidValue):
3269         (gl::Context::recordInvalidOperation):
3270         (gl::Context::recordOutOfMemory):
3271         (gl::Context::recordInvalidFramebufferOperation):
3272         (gl::Context::getError):
3273         (gl::Context::getResetStatus):
3274         (gl::Context::isResetNotificationEnabled):
3275         (gl::Context::getMajorShaderModel):
3276         (gl::Context::getMaximumPointSize):
3277         (gl::Context::getMaximumCombinedTextureImageUnits):
3278         (gl::Context::getMaxSupportedSamples):
3279         (gl::Context::getMaximumRenderTargets):
3280         (gl::Context::supportsEventQueries):
3281         (gl::Context::supportsOcclusionQueries):
3282         (gl::Context::supportsBGRATextures):
3283         (gl::Context::supportsDXT1Textures):
3284         (gl::Context::supportsDXT3Textures):
3285         (gl::Context::supportsDXT5Textures):
3286         (gl::Context::supportsFloat32Textures):
3287         (gl::Context::supportsFloat32LinearFilter):
3288         (gl::Context::supportsFloat32RenderableTextures):
3289         (gl::Context::supportsFloat16Textures):
3290         (gl::Context::supportsFloat16LinearFilter):
3291         (gl::Context::supportsFloat16RenderableTextures):
3292         (gl::Context::getMaximumRenderbufferDimension):
3293         (gl::Context::getMaximumTextureDimension):
3294         (gl::Context::getMaximumCubeTextureDimension):
3295         (gl::Context::getMaximumTextureLevel):
3296         (gl::Context::supportsLuminanceTextures):
3297         (gl::Context::supportsLuminanceAlphaTextures):
3298         (gl::Context::supportsDepthTextures):
3299         (gl::Context::supports32bitIndices):
3300         (gl::Context::supportsNonPower2Texture):
3301         (gl::Context::supportsInstancing):
3302         (gl::Context::supportsTextureFilterAnisotropy):
3303         (gl::Context::getTextureMaxAnisotropy):
3304         (gl::Context::getCurrentReadFormatType):
3305         (gl::Context::detachBuffer):
3306         (gl::Context::detachTexture):
3307         (gl::Context::detachFramebuffer):
3308         (gl::Context::detachRenderbuffer):
3309         (gl::Context::getIncompleteTexture):
3310         (gl::Context::skipDraw):
3311         (gl::Context::setVertexAttrib):
3312         (gl::Context::setVertexAttribDivisor):
3313         (gl::Context::initExtensionString):
3314         (gl::Context::getExtensionString):
3315         (gl::Context::initRendererString):
3316         (gl::Context::getRendererString):
3317         (gl::Context::blitFramebuffer):
3318         * src/libGLESv2/Context.h: Added.
3319         (gl::VertexAttribute::VertexAttribute):
3320         (gl::VertexAttribute::typeSize):
3321         (gl::VertexAttribute::stride):
3322         * src/libGLESv2/Fence.cpp: Added.
3323         (gl::Fence::Fence):
3324         (gl::Fence::~Fence):
3325         (gl::Fence::isFence):
3326         (gl::Fence::setFence):
3327         (gl::Fence::testFence):
3328         (gl::Fence::finishFence):
3329         (gl::Fence::getFenceiv):
3330         * src/libGLESv2/Fence.h: Added.
3331         * src/libGLESv2/Float16ToFloat32.cpp: Added.
3332         (gl::float16ToFloat32):
3333         * src/libGLESv2/Float16ToFloat32.py: Added.
3334         (convertMantissa):
3335         (convertExponent):
3336         (convertOffset):
3337         * src/libGLESv2/Framebuffer.cpp: Added.
3338         (gl::Framebuffer::Framebuffer):
3339         (gl::Framebuffer::~Framebuffer):
3340         (gl::Framebuffer::lookupRenderbuffer):
3341         (gl::Framebuffer::setColorbuffer):
3342         (gl::Framebuffer::setDepthbuffer):
3343         (gl::Framebuffer::setStencilbuffer):
3344         (gl::Framebuffer::detachTexture):
3345         (gl::Framebuffer::detachRenderbuffer):
3346         (gl::Framebuffer::getRenderTargetSerial):
3347         (gl::Framebuffer::getDepthbufferSerial):
3348         (gl::Framebuffer::getStencilbufferSerial):
3349         (gl::Framebuffer::getColorbuffer):
3350         (gl::Framebuffer::getDepthbuffer):
3351         (gl::Framebuffer::getStencilbuffer):
3352         (gl::Framebuffer::getDepthOrStencilbuffer):
3353         (gl::Framebuffer::getReadColorbuffer):
3354         (gl::Framebuffer::getReadColorbufferType):
3355         (gl::Framebuffer::getFirstColorbuffer):
3356         (gl::Framebuffer::getColorbufferType):
3357         (gl::Framebuffer::getDepthbufferType):
3358         (gl::Framebuffer::getStencilbufferType):
3359         (gl::Framebuffer::getColorbufferHandle):
3360         (gl::Framebuffer::getDepthbufferHandle):
3361         (gl::Framebuffer::getStencilbufferHandle):
3362         (gl::Framebuffer::getDrawBufferState):
3363         (gl::Framebuffer::setDrawBufferState):
3364         (gl::Framebuffer::isEnabledColorAttachment):
3365         (gl::Framebuffer::hasEnabledColorAttachment):
3366         (gl::Framebuffer::hasStencil):
3367         (gl::Framebuffer::usingExtendedDrawBuffers):
3368         (gl::Framebuffer::completeness):
3369         (gl::DefaultFramebuffer::DefaultFramebuffer):
3370         (gl::Framebuffer::getSamples):
3371         (gl::DefaultFramebuffer::completeness):
3372         * src/libGLESv2/Framebuffer.h: Added.
3373         * src/libGLESv2/HandleAllocator.cpp: Added.
3374         (gl::HandleAllocator::HandleAllocator):
3375         (gl::HandleAllocator::~HandleAllocator):
3376         (gl::HandleAllocator::setBaseHandle):
3377         (gl::HandleAllocator::allocate):
3378         (gl::HandleAllocator::release):
3379         * src/libGLESv2/HandleAllocator.h: Added.
3380         * src/libGLESv2/Program.cpp: Added.
3381         (gl::AttributeBindings::AttributeBindings):
3382         (gl::AttributeBindings::~AttributeBindings):
3383         (gl::InfoLog::InfoLog):
3384         (gl::InfoLog::~InfoLog):
3385         (gl::InfoLog::getLength):
3386         (gl::InfoLog::getLog):
3387         (gl::InfoLog::appendSanitized):
3388         (gl::InfoLog::append):
3389         (gl::InfoLog::reset):
3390         (gl::Program::Program):
3391         (gl::Program::~Program):
3392         (gl::Program::attachShader):
3393         (gl::Program::detachShader):
3394         (gl::Program::getAttachedShadersCount):
3395         (gl::AttributeBindings::bindAttributeLocation):
3396         (gl::Program::bindAttributeLocation):
3397         (gl::Program::link):
3398         (gl::AttributeBindings::getAttributeBinding):
3399         (gl::Program::unlink):
3400         (gl::Program::isLinked):
3401         (gl::Program::getProgramBinary):
3402         (gl::Program::setProgramBinary):
3403         (gl::Program::release):
3404         (gl::Program::addRef):
3405         (gl::Program::getRefCount):
3406         (gl::Program::getProgramBinaryLength):
3407         (gl::Program::getInfoLogLength):
3408         (gl::Program::getInfoLog):
3409         (gl::Program::getAttachedShaders):
3410         (gl::Program::getActiveAttribute):
3411         (gl::Program::getActiveAttributeCount):
3412         (gl::Program::getActiveAttributeMaxLength):
3413         (gl::Program::getActiveUniform):
3414         (gl::Program::getActiveUniformCount):
3415         (gl::Program::getActiveUniformMaxLength):
3416         (gl::Program::flagForDeletion):
3417         (gl::Program::isFlaggedForDeletion):
3418         (gl::Program::validate):
3419         (gl::Program::isValidated):
3420         * src/libGLESv2/Program.h: Added.
3421         * src/libGLESv2/ProgramBinary.cpp: Added.
3422         (gl::str):
3423         (gl::UniformLocation::UniformLocation):
3424         (gl::ProgramBinary::ProgramBinary):
3425         (gl::ProgramBinary::~ProgramBinary):
3426         (gl::ProgramBinary::getSerial):
3427         (gl::ProgramBinary::issueSerial):
3428         (gl::ProgramBinary::getPixelExecutable):
3429         (gl::ProgramBinary::getVertexExecutable):
3430         (gl::ProgramBinary::getGeometryExecutable):
3431         (gl::ProgramBinary::getAttributeLocation):
3432         (gl::ProgramBinary::getSemanticIndex):
3433         (gl::ProgramBinary::getUsedSamplerRange):
3434         (gl::ProgramBinary::usesPointSize):
3435         (gl::ProgramBinary::usesPointSpriteEmulation):
3436         (gl::ProgramBinary::usesGeometryShader):
3437         (gl::ProgramBinary::getSamplerMapping):
3438         (gl::ProgramBinary::getSamplerTextureType):
3439         (gl::ProgramBinary::getUniformLocation):
3440         (gl::ProgramBinary::setUniform1fv):
3441         (gl::ProgramBinary::setUniform2fv):
3442         (gl::ProgramBinary::setUniform3fv):
3443         (gl::ProgramBinary::setUniform4fv):
3444         (gl::transposeMatrix):
3445         (gl::ProgramBinary::setUniformMatrix2fv):
3446         (gl::ProgramBinary::setUniformMatrix3fv):
3447         (gl::ProgramBinary::setUniformMatrix4fv):
3448         (gl::ProgramBinary::setUniform1iv):
3449         (gl::ProgramBinary::setUniform2iv):
3450         (gl::ProgramBinary::setUniform3iv):
3451         (gl::ProgramBinary::setUniform4iv):
3452         (gl::ProgramBinary::getUniformfv):
3453         (gl::ProgramBinary::getUniformiv):
3454         (gl::ProgramBinary::dirtyAllUniforms):
3455         (gl::ProgramBinary::applyUniforms):
3456         (gl::ProgramBinary::packVaryings):
3457         (gl::ProgramBinary::linkVaryings):
3458         (gl::ProgramBinary::load):
3459         (gl::ProgramBinary::save):
3460         (gl::ProgramBinary::getLength):
3461         (gl::ProgramBinary::link):
3462         (gl::ProgramBinary::linkAttributes):
3463         (gl::ProgramBinary::linkUniforms):
3464         (gl::ProgramBinary::defineUniform):
3465         (gl::ProgramBinary::generateGeometryShaderHLSL):
3466         (gl::ProgramBinary::generatePointSpriteHLSL):
3467         (gl::ProgramBinary::decorateAttribute):
3468         (gl::ProgramBinary::isValidated):
3469         (gl::ProgramBinary::getActiveAttribute):
3470         (gl::ProgramBinary::getActiveAttributeCount):
3471         (gl::ProgramBinary::getActiveAttributeMaxLength):
3472         (gl::ProgramBinary::getActiveUniform):
3473         (gl::ProgramBinary::getActiveUniformCount):
3474         (gl::ProgramBinary::getActiveUniformMaxLength):
3475         (gl::ProgramBinary::validate):
3476         (gl::ProgramBinary::validateSamplers):
3477         (gl::ProgramBinary::Sampler::Sampler):
3478         (gl::AttributeSorter::AttributeSorter):
3479         (gl::AttributeSorter::operator()):
3480         (gl::ProgramBinary::sortAttributesByLayout):
3481         * src/libGLESv2/ProgramBinary.h: Added.
3482         (gl::UniformLocation::UniformLocation):
3483         * src/libGLESv2/Query.cpp: Added.
3484         (gl::Query::Query):
3485         (gl::Query::~Query):
3486         (gl::Query::begin):
3487         (gl::Query::end):
3488         (gl::Query::getResult):
3489         (gl::Query::isResultAvailable):
3490         (gl::Query::getType):
3491         * src/libGLESv2/Query.h: Added.
3492         * src/libGLESv2/Renderbuffer.cpp: Added.
3493         (gl::RenderbufferInterface::RenderbufferInterface):
3494         (gl::RenderbufferInterface::addProxyRef):
3495         (gl::RenderbufferInterface::releaseProxy):
3496         (gl::RenderbufferInterface::getRedSize):
3497         (gl::RenderbufferInterface::getGreenSize):
3498         (gl::RenderbufferInterface::getBlueSize):
3499         (gl::RenderbufferInterface::getAlphaSize):
3500         (gl::RenderbufferInterface::getDepthSize):
3501         (gl::RenderbufferInterface::getStencilSize):
3502         (gl::RenderbufferTexture2D::RenderbufferTexture2D):
3503         (gl::RenderbufferTexture2D::~RenderbufferTexture2D):
3504         (gl::RenderbufferTexture2D::addProxyRef):
3505         (gl::RenderbufferTexture2D::releaseProxy):
3506         (gl::RenderbufferTexture2D::getRenderTarget):
3507         (gl::RenderbufferTexture2D::getDepthStencil):
3508         (gl::RenderbufferTexture2D::getWidth):
3509         (gl::RenderbufferTexture2D::getHeight):
3510         (gl::RenderbufferTexture2D::getInternalFormat):
3511         (gl::RenderbufferTexture2D::getActualFormat):
3512         (gl::RenderbufferTexture2D::getSamples):
3513         (gl::RenderbufferTexture2D::getSerial):
3514         (gl::RenderbufferTextureCubeMap::RenderbufferTextureCubeMap):
3515         (gl::RenderbufferTextureCubeMap::~RenderbufferTextureCubeMap):
3516         (gl::RenderbufferTextureCubeMap::addProxyRef):
3517         (gl::RenderbufferTextureCubeMap::releaseProxy):
3518         (gl::RenderbufferTextureCubeMap::getRenderTarget):
3519         (gl::RenderbufferTextureCubeMap::getDepthStencil):
3520         (gl::RenderbufferTextureCubeMap::getWidth):
3521         (gl::RenderbufferTextureCubeMap::getHeight):
3522         (gl::RenderbufferTextureCubeMap::getInternalFormat):
3523         (gl::RenderbufferTextureCubeMap::getActualFormat):
3524         (gl::RenderbufferTextureCubeMap::getSamples):
3525         (gl::RenderbufferTextureCubeMap::getSerial):
3526         (gl::Renderbuffer::Renderbuffer):
3527         (gl::Renderbuffer::~Renderbuffer):
3528         (gl::Renderbuffer::addRef):
3529         (gl::Renderbuffer::release):
3530         (gl::Renderbuffer::getRenderTarget):
3531         (gl::Renderbuffer::getDepthStencil):
3532         (gl::Renderbuffer::getWidth):
3533         (gl::Renderbuffer::getHeight):
3534         (gl::Renderbuffer::getInternalFormat):
3535         (gl::Renderbuffer::getActualFormat):
3536         (gl::Renderbuffer::getRedSize):
3537         (gl::Renderbuffer::getGreenSize):
3538         (gl::Renderbuffer::getBlueSize):
3539         (gl::Renderbuffer::getAlphaSize):
3540         (gl::Renderbuffer::getDepthSize):
3541         (gl::Renderbuffer::getStencilSize):
3542         (gl::Renderbuffer::getSamples):
3543         (gl::Renderbuffer::getSerial):
3544         (gl::Renderbuffer::setStorage):
3545         (gl::RenderbufferStorage::RenderbufferStorage):
3546         (gl::RenderbufferStorage::~RenderbufferStorage):
3547         (gl::RenderbufferStorage::getRenderTarget):
3548         (gl::RenderbufferStorage::getDepthStencil):
3549         (gl::RenderbufferStorage::getWidth):
3550         (gl::RenderbufferStorage::getHeight):
3551         (gl::RenderbufferStorage::getInternalFormat):
3552         (gl::RenderbufferStorage::getActualFormat):
3553         (gl::RenderbufferStorage::getSamples):
3554         (gl::RenderbufferStorage::getSerial):
3555         (gl::RenderbufferStorage::issueSerial):
3556         (gl::RenderbufferStorage::issueCubeSerials):
3557         (gl::Colorbuffer::Colorbuffer):
3558         (gl::Colorbuffer::~Colorbuffer):
3559         (gl::Colorbuffer::getRenderTarget):
3560         (gl::DepthStencilbuffer::DepthStencilbuffer):
3561         (gl::DepthStencilbuffer::~DepthStencilbuffer):
3562         (gl::DepthStencilbuffer::getDepthStencil):
3563         (gl::Depthbuffer::Depthbuffer):
3564         (gl::Depthbuffer::~Depthbuffer):
3565         (gl::Stencilbuffer::Stencilbuffer):
3566         (gl::Stencilbuffer::~Stencilbuffer):
3567         * src/libGLESv2/Renderbuffer.h: Added.
3568         (gl::RenderbufferInterface::~RenderbufferInterface):
3569         * src/libGLESv2/ResourceManager.cpp: Added.
3570         (gl::ResourceManager::ResourceManager):
3571         (gl::ResourceManager::~ResourceManager):
3572         (gl::ResourceManager::addRef):
3573         (gl::ResourceManager::release):
3574         (gl::ResourceManager::createBuffer):
3575         (gl::ResourceManager::createShader):
3576         (gl::ResourceManager::createProgram):
3577         (gl::ResourceManager::createTexture):
3578         (gl::ResourceManager::createRenderbuffer):
3579         (gl::ResourceManager::deleteBuffer):
3580         (gl::ResourceManager::deleteShader):
3581         (gl::ResourceManager::deleteProgram):
3582         (gl::ResourceManager::deleteTexture):
3583         (gl::ResourceManager::deleteRenderbuffer):
3584         (gl::ResourceManager::getBuffer):
3585         (gl::ResourceManager::getShader):
3586         (gl::ResourceManager::getTexture):
3587         (gl::ResourceManager::getProgram):
3588         (gl::ResourceManager::getRenderbuffer):
3589         (gl::ResourceManager::setRenderbuffer):
3590         (gl::ResourceManager::checkBufferAllocation):
3591         (gl::ResourceManager::checkTextureAllocation):
3592         (gl::ResourceManager::checkRenderbufferAllocation):
3593         * src/libGLESv2/ResourceManager.h: Added.
3594         * src/libGLESv2/Shader.cpp: Added.
3595         (gl::Shader::Shader):
3596         (gl::Shader::~Shader):
3597         (gl::Shader::getHandle):
3598         (gl::Shader::setSource):
3599         (gl::Shader::getInfoLogLength):
3600         (gl::Shader::getInfoLog):
3601         (gl::Shader::getSourceLength):
3602         (gl::Shader::getTranslatedSourceLength):
3603         (gl::Shader::getSourceImpl):
3604         (gl::Shader::getSource):
3605         (gl::Shader::getTranslatedSource):
3606         (gl::Shader::getUniforms):
3607         (gl::Shader::isCompiled):
3608         (gl::Shader::getHLSL):
3609         (gl::Shader::addRef):
3610         (gl::Shader::release):
3611         (gl::Shader::getRefCount):
3612         (gl::Shader::isFlaggedForDeletion):
3613         (gl::Shader::flagForDeletion):
3614         (gl::Shader::initializeCompiler):
3615         (gl::Shader::releaseCompiler):
3616         (gl::Shader::parseVaryings):
3617         (gl::Shader::resetVaryingsRegisterAssignment):
3618         (gl::Shader::uncompile):
3619         (gl::Shader::compileToHLSL):
3620         (gl::Shader::parseType):
3621         (gl::Shader::compareVarying):
3622         (gl::VertexShader::VertexShader):
3623         (gl::VertexShader::~VertexShader):
3624         (gl::VertexShader::getType):
3625         (gl::VertexShader::uncompile):
3626         (gl::VertexShader::compile):
3627         (gl::VertexShader::getSemanticIndex):
3628         (gl::VertexShader::parseAttributes):
3629         (gl::FragmentShader::FragmentShader):
3630         (gl::FragmentShader::~FragmentShader):
3631         (gl::FragmentShader::getType):
3632         (gl::FragmentShader::compile):
3633         * src/libGLESv2/Shader.h: Added.
3634         (gl::Varying::Varying):
3635         (gl::Attribute::Attribute):
3636         * src/libGLESv2/Texture.cpp: Added.
3637         (gl::Texture::Texture):
3638         (gl::Texture::~Texture):
3639         (gl::Texture::setMinFilter):
3640         (gl::Texture::setMagFilter):
3641         (gl::Texture::setWrapS):
3642         (gl::Texture::setWrapT):
3643         (gl::Texture::setMaxAnisotropy):
3644         (gl::Texture::setUsage):
3645         (gl::Texture::getMinFilter):
3646         (gl::Texture::getMagFilter):
3647         (gl::Texture::getWrapS):
3648         (gl::Texture::getWrapT):
3649         (gl::Texture::getMaxAnisotropy):
3650         (gl::Texture::getLodOffset):
3651         (gl::Texture::getSamplerState):
3652         (gl::Texture::getUsage):
3653         (gl::Texture::isMipmapFiltered):
3654         (gl::Texture::setImage):
3655         (gl::Texture::setCompressedImage):
3656         (gl::Texture::subImage):
3657         (gl::Texture::subImageCompressed):
3658         (gl::Texture::getNativeTexture):
3659         (gl::Texture::hasDirtyImages):
3660         (gl::Texture::resetDirty):
3661         (gl::Texture::getTextureSerial):
3662         (gl::Texture::getRenderTargetSerial):
3663         (gl::Texture::isImmutable):
3664         (gl::Texture::creationLevels):
3665         (gl::Texture2D::Texture2D):
3666         (gl::Texture2D::~Texture2D):
3667         (gl::Texture2D::addProxyRef):
3668         (gl::Texture2D::releaseProxy):
3669         (gl::Texture2D::getTarget):
3670         (gl::Texture2D::getWidth):
3671         (gl::Texture2D::getHeight):
3672         (gl::Texture2D::getInternalFormat):
3673         (gl::Texture2D::getActualFormat):
3674         (gl::Texture2D::redefineImage):
3675         (gl::Texture2D::setImage):
3676         (gl::Texture2D::bindTexImage):
3677         (gl::Texture2D::releaseTexImage):
3678         (gl::Texture2D::setCompressedImage):
3679         (gl::Texture2D::commitRect):
3680         (gl::Texture2D::subImage):
3681         (gl::Texture2D::subImageCompressed):
3682         (gl::Texture2D::copyImage):
3683         (gl::Texture2D::copySubImage):
3684         (gl::Texture2D::storage):
3685         (gl::Texture2D::isSamplerComplete):
3686         (gl::Texture2D::isMipmapComplete):
3687         (gl::Texture2D::isCompressed):
3688         (gl::Texture2D::isDepth):
3689         (gl::Texture2D::createTexture):
3690         (gl::Texture2D::updateTexture):
3691         (gl::Texture2D::convertToRenderTarget):
3692         (gl::Texture2D::generateMipmaps):
3693         (gl::Texture2D::getRenderbuffer):
3694         (gl::Texture2D::getRenderTarget):
3695         (gl::Texture2D::getDepthStencil):
3696         (gl::Texture2D::levelCount):
3697         (gl::Texture2D::getStorage):
3698         (gl::TextureCubeMap::TextureCubeMap):
3699         (gl::TextureCubeMap::~TextureCubeMap):
3700         (gl::TextureCubeMap::addProxyRef):
3701         (gl::TextureCubeMap::releaseProxy):
3702         (gl::TextureCubeMap::getTarget):
3703         (gl::TextureCubeMap::getWidth):
3704         (gl::TextureCubeMap::getHeight):
3705         (gl::TextureCubeMap::getInternalFormat):
3706         (gl::TextureCubeMap::getActualFormat):
3707         (gl::TextureCubeMap::setImagePosX):
3708         (gl::TextureCubeMap::setImageNegX):
3709         (gl::TextureCubeMap::setImagePosY):
3710         (gl::TextureCubeMap::setImageNegY):
3711         (gl::TextureCubeMap::setImagePosZ):
3712         (gl::TextureCubeMap::setImageNegZ):
3713         (gl::TextureCubeMap::setCompressedImage):
3714         (gl::TextureCubeMap::commitRect):
3715         (gl::TextureCubeMap::subImage):
3716         (gl::TextureCubeMap::subImageCompressed):
3717         (gl::TextureCubeMap::isSamplerComplete):
3718         (gl::TextureCubeMap::isCubeComplete):
3719         (gl::TextureCubeMap::isMipmapCubeComplete):
3720         (gl::TextureCubeMap::isCompressed):
3721         (gl::TextureCubeMap::createTexture):
3722         (gl::TextureCubeMap::updateTexture):
3723         (gl::TextureCubeMap::convertToRenderTarget):
3724         (gl::TextureCubeMap::setImage):
3725         (gl::TextureCubeMap::faceIndex):
3726         (gl::TextureCubeMap::redefineImage):
3727         (gl::TextureCubeMap::copyImage):
3728         (gl::TextureCubeMap::copySubImage):
3729         (gl::TextureCubeMap::storage):
3730         (gl::TextureCubeMap::generateMipmaps):
3731         (gl::TextureCubeMap::getRenderbuffer):
3732         (gl::TextureCubeMap::getRenderTarget):
3733         (gl::TextureCubeMap::levelCount):
3734         (gl::TextureCubeMap::getStorage):
3735         * src/libGLESv2/Texture.h: Added.
3736         * src/libGLESv2/Uniform.cpp: Added.
3737         (gl::Uniform::Uniform):
3738         (gl::Uniform::~Uniform):
3739         (gl::Uniform::isArray):
3740         (gl::Uniform::elementCount):
3741         * src/libGLESv2/Uniform.h: Added.
3742         * src/libGLESv2/angletypes.h: Added.
3743         * src/libGLESv2/constants.h: Added.
3744         * src/libGLESv2/libGLESv2.cpp: Added.
3745         (validImageSize):
3746         (checkTextureFormatType):
3747         (validateSubImageParams2D):
3748         (validateSubImageParamsCube):
3749         (validReadFormatType):
3750         * src/libGLESv2/libGLESv2.def: Added.
3751         * src/libGLESv2/libGLESv2.rc: Added.
3752         * src/libGLESv2/libGLESv2.vcxproj: Added.
3753         * src/libGLESv2/libGLESv2.vcxproj.filters: Added.
3754         * src/libGLESv2/main.cpp: Added.
3755         (DllMain):
3756         (gl::makeCurrent):
3757         (gl::getContext):
3758         (gl::getNonLostContext):
3759         (gl::getDisplay):
3760         (gl::error):
3761         * src/libGLESv2/main.h: Added.
3762         (gl::error):
3763         * src/libGLESv2/mathutil.h: Added.
3764         (gl::Vector4::Vector4):
3765         (gl::isPow2):
3766         (gl::log2):
3767         (gl::ceilPow2):
3768         (gl::clamp):
3769         (gl::clamp01):
3770         (gl::unorm):
3771         (gl::supportsSSE2):
3772         (gl::float32ToFloat16):
3773         (rx::Range::Range):
3774         * src/libGLESv2/precompiled.cpp: Added.
3775         * src/libGLESv2/precompiled.h: Added.
3776         * src/libGLESv2/renderer: Added.
3777         * src/libGLESv2/renderer/Blit.cpp: Added.
3778         (rx::Blit::Blit):
3779         (rx::Blit::~Blit):
3780         (rx::Blit::initGeometry):
3781         (rx::Blit::setShader):
3782         (rx::Blit::setVertexShader):
3783         (rx::Blit::setPixelShader):
3784         (rx::Blit::getSurfaceRect):
3785         (rx::Blit::boxFilter):
3786         (rx::Blit::copy):
3787         (rx::Blit::formatConvert):
3788         (rx::Blit::setFormatConvertShaders):
3789         (rx::Blit::copySurfaceToTexture):
3790         (rx::Blit::setViewport):
3791         (rx::Blit::setCommonBlitState):
3792         (rx::Blit::render):
3793         (rx::Blit::saveState):
3794         (rx::Blit::restoreState):
3795         * src/libGLESv2/renderer/Blit.h: Added.
3796         * src/libGLESv2/renderer/BufferStorage.cpp: Added.
3797         (rx::BufferStorage::BufferStorage):
3798         (rx::BufferStorage::~BufferStorage):
3799         (rx::BufferStorage::getSerial):
3800         (rx::BufferStorage::updateSerial):
3801         (rx::BufferStorage::markBufferUsage):
3802         * src/libGLESv2/renderer/BufferStorage.h: Added.
3803         * src/libGLESv2/renderer/BufferStorage11.cpp: Added.
3804         (rx::BufferStorage11::BufferStorage11):
3805         (rx::BufferStorage11::~BufferStorage11):
3806         (rx::BufferStorage11::makeBufferStorage11):
3807         (rx::BufferStorage11::getData):
3808         (rx::BufferStorage11::setData):
3809         (rx::BufferStorage11::clear):
3810         (rx::BufferStorage11::getSize):
3811         (rx::BufferStorage11::supportsDirectBinding):
3812         (rx::BufferStorage11::markBufferUsage):
3813         (rx::BufferStorage11::getBuffer):
3814         * src/libGLESv2/renderer/BufferStorage11.h: Added.
3815         * src/libGLESv2/renderer/BufferStorage9.cpp: Added.
3816         (rx::BufferStorage9::BufferStorage9):
3817         (rx::BufferStorage9::~BufferStorage9):
3818         (rx::BufferStorage9::makeBufferStorage9):
3819         (rx::BufferStorage9::getData):
3820         (rx::BufferStorage9::setData):
3821         (rx::BufferStorage9::clear):
3822         (rx::BufferStorage9::getSize):
3823         (rx::BufferStorage9::supportsDirectBinding):
3824         * src/libGLESv2/renderer/BufferStorage9.h: Added.
3825         * src/libGLESv2/renderer/Fence11.cpp: Added.
3826         (rx::Fence11::Fence11):
3827         (rx::Fence11::~Fence11):
3828         (rx::Fence11::isFence):
3829         (rx::Fence11::setFence):
3830         (rx::Fence11::testFence):
3831         (rx::Fence11::finishFence):
3832         (rx::Fence11::getFenceiv):
3833         * src/libGLESv2/renderer/Fence11.h: Added.
3834         * src/libGLESv2/renderer/Fence9.cpp: Added.
3835         (rx::Fence9::Fence9):
3836         (rx::Fence9::~Fence9):
3837         (rx::Fence9::isFence):
3838         (rx::Fence9::setFence):
3839         (rx::Fence9::testFence):
3840         (rx::Fence9::finishFence):
3841         (rx::Fence9::getFenceiv):
3842         * src/libGLESv2/renderer/Fence9.h: Added.
3843         * src/libGLESv2/renderer/FenceImpl.h: Added.
3844         (rx::FenceImpl::FenceImpl):
3845         (rx::FenceImpl::~FenceImpl):
3846         (rx::FenceImpl::setStatus):
3847         (rx::FenceImpl::getStatus):
3848         (rx::FenceImpl::setCondition):
3849         (rx::FenceImpl::getCondition):
3850         * src/libGLESv2/renderer/Image.cpp: Added.
3851         (rx::Image::Image):
3852         (rx::Image::loadAlphaDataToBGRA):
3853         (rx::Image::loadAlphaDataToNative):
3854         (rx::Image::loadAlphaFloatDataToRGBA):
3855         (rx::Image::loadAlphaHalfFloatDataToRGBA):
3856         (rx::Image::loadLuminanceDataToNativeOrBGRA):
3857         (rx::Image::loadLuminanceFloatDataToRGBA):
3858         (rx::Image::loadLuminanceFloatDataToRGB):
3859         (rx::Image::loadLuminanceHalfFloatDataToRGBA):
3860         (rx::Image::loadLuminanceAlphaDataToNativeOrBGRA):
3861         (rx::Image::loadLuminanceAlphaFloatDataToRGBA):
3862         (rx::Image::loadLuminanceAlphaHalfFloatDataToRGBA):
3863         (rx::Image::loadRGBUByteDataToBGRX):
3864         (rx::Image::loadRGBUByteDataToRGBA):
3865         (rx::Image::loadRGB565DataToBGRA):
3866         (rx::Image::loadRGB565DataToRGBA):
3867         (rx::Image::loadRGBFloatDataToRGBA):
3868         (rx::Image::loadRGBFloatDataToNative):
3869         (rx::Image::loadRGBHalfFloatDataToRGBA):
3870         (rx::Image::loadRGBAUByteDataToBGRA):
3871         (rx::Image::loadRGBAUByteDataToNative):
3872         (rx::Image::loadRGBA4444DataToBGRA):
3873         (rx::Image::loadRGBA4444DataToRGBA):
3874         (rx::Image::loadRGBA5551DataToBGRA):
3875         (rx::Image::loadRGBA5551DataToRGBA):
3876         (rx::Image::loadRGBAFloatDataToRGBA):
3877         (rx::Image::loadRGBAHalfFloatDataToRGBA):
3878         (rx::Image::loadBGRADataToBGRA):
3879         * src/libGLESv2/renderer/Image.h: Added.
3880         (rx::Image::~Image):
3881         (rx::Image::getWidth):
3882         (rx::Image::getHeight):
3883         (rx::Image::getInternalFormat):
3884         (rx::Image::getActualFormat):
3885         (rx::Image::markDirty):
3886         (rx::Image::markClean):
3887         (rx::Image::setManagedSurface):
3888         * src/libGLESv2/renderer/Image11.cpp: Added.
3889         (rx::Image11::Image11):
3890         (rx::Image11::~Image11):
3891         (rx::Image11::makeImage11):
3892         (rx::Image11::generateMipmap):
3893         (rx::Image11::isDirty):
3894         (rx::Image11::updateSurface):
3895         (rx::Image11::redefine):
3896         (rx::Image11::isRenderableFormat):
3897         (rx::Image11::getDXGIFormat):
3898         (rx::Image11::loadData):
3899         (rx::Image11::loadCompressedData):
3900         (rx::Image11::copy):
3901         (rx::Image11::getStagingTexture):
3902         (rx::Image11::getStagingSubresource):
3903         (rx::Image11::createStagingTexture):
3904         (rx::Image11::map):
3905         (rx::Image11::unmap):
3906         * src/libGLESv2/renderer/Image11.h: Added.
3907         * src/libGLESv2/renderer/Image9.cpp: Added.
3908         (rx::Image9::Image9):
3909         (rx::Image9::~Image9):
3910         (rx::Image9::generateMip):
3911         (rx::Image9::makeImage9):
3912         (rx::Image9::generateMipmap):
3913         (rx::Image9::copyLockableSurfaces):
3914         (rx::Image9::redefine):
3915         (rx::Image9::createSurface):
3916         (rx::Image9::lock):
3917         (rx::Image9::unlock):
3918         (rx::Image9::isRenderableFormat):
3919         (rx::Image9::getD3DFormat):
3920         (rx::Image9::getSurface):
3921         (rx::Image9::setManagedSurface):
3922         (rx::Image9::updateSurface):
3923         (rx::Image9::loadData):
3924         (rx::Image9::loadCompressedData):
3925         (rx::Image9::copy):
3926         * src/libGLESv2/renderer/Image9.h: Added.
3927         (rx::Image9::isDirty):
3928         * src/libGLESv2/renderer/ImageSSE2.cpp: Added.
3929         (rx::Image::loadRGBAUByteDataToBGRASSE2):
3930         (rx::Image::loadAlphaDataToBGRASSE2):
3931         * src/libGLESv2/renderer/IndexBuffer.cpp: Added.
3932         (rx::IndexBuffer::IndexBuffer):
3933         (rx::IndexBuffer::~IndexBuffer):
3934         (rx::IndexBuffer::getSerial):
3935         (rx::IndexBuffer::updateSerial):
3936         (rx::IndexBufferInterface::IndexBufferInterface):
3937         (rx::IndexBufferInterface::~IndexBufferInterface):
3938         (rx::IndexBufferInterface::getIndexType):
3939         (rx::IndexBufferInterface::getBufferSize):
3940         (rx::IndexBufferInterface::getSerial):
3941         (rx::IndexBufferInterface::mapBuffer):
3942         (rx::IndexBufferInterface::unmapBuffer):
3943         (rx::IndexBufferInterface::getIndexBuffer):
3944         (rx::IndexBufferInterface::getWritePosition):
3945         (rx::IndexBufferInterface::setWritePosition):
3946         (rx::IndexBufferInterface::discard):
3947         (rx::IndexBufferInterface::setBufferSize):
3948         (rx::StreamingIndexBufferInterface::StreamingIndexBufferInterface):
3949         (rx::StreamingIndexBufferInterface::~StreamingIndexBufferInterface):
3950         (rx::StreamingIndexBufferInterface::reserveBufferSpace):
3951         (rx::StaticIndexBufferInterface::StaticIndexBufferInterface):
3952         (rx::StaticIndexBufferInterface::~StaticIndexBufferInterface):
3953         (rx::StaticIndexBufferInterface::reserveBufferSpace):
3954         (rx::StaticIndexBufferInterface::lookupRange):
3955         (rx::StaticIndexBufferInterface::addRange):
3956         * src/libGLESv2/renderer/IndexBuffer.h: Added.
3957         (rx::StaticIndexBufferInterface::IndexRange::operator<):
3958         * src/libGLESv2/renderer/IndexBuffer11.cpp: Added.
3959         (rx::IndexBuffer11::IndexBuffer11):
3960         (rx::IndexBuffer11::~IndexBuffer11):
3961         (rx::IndexBuffer11::initialize):
3962         (rx::IndexBuffer11::makeIndexBuffer11):
3963         (rx::IndexBuffer11::mapBuffer):
3964         (rx::IndexBuffer11::unmapBuffer):
3965         (rx::IndexBuffer11::getIndexType):
3966         (rx::IndexBuffer11::getBufferSize):
3967         (rx::IndexBuffer11::setSize):
3968         (rx::IndexBuffer11::discard):
3969         (rx::IndexBuffer11::getIndexFormat):
3970         (rx::IndexBuffer11::getBuffer):
3971         * src/libGLESv2/renderer/IndexBuffer11.h: Added.
3972         * src/libGLESv2/renderer/IndexBuffer9.cpp: Added.
3973         (rx::IndexBuffer9::IndexBuffer9):
3974         (rx::IndexBuffer9::~IndexBuffer9):
3975         (rx::IndexBuffer9::initialize):
3976         (rx::IndexBuffer9::makeIndexBuffer9):
3977         (rx::IndexBuffer9::mapBuffer):
3978         (rx::IndexBuffer9::unmapBuffer):
3979         (rx::IndexBuffer9::getIndexType):
3980         (rx::IndexBuffer9::getBufferSize):
3981         (rx::IndexBuffer9::setSize):
3982         (rx::IndexBuffer9::discard):
3983         (rx::IndexBuffer9::getIndexFormat):
3984         (rx::IndexBuffer9::getBuffer):
3985         * src/libGLESv2/renderer/IndexBuffer9.h: Added.
3986         * src/libGLESv2/renderer/IndexDataManager.cpp: Added.
3987         (rx::IndexDataManager::IndexDataManager):
3988         (rx::IndexDataManager::~IndexDataManager):
3989         (rx::indexTypeSize):
3990         (rx::convertIndices):
3991         (rx::computeRange):
3992         (rx::IndexDataManager::prepareIndexData):
3993         (rx::IndexDataManager::getCountingIndices):
3994         * src/libGLESv2/renderer/IndexDataManager.h: Added.
3995         * src/libGLESv2/renderer/InputLayoutCache.cpp: Added.
3996         (rx::InputLayoutCache::InputLayoutCache):
3997         (rx::InputLayoutCache::~InputLayoutCache):
3998         (rx::InputLayoutCache::initialize):
3999         (rx::InputLayoutCache::clear):
4000         (rx::InputLayoutCache::applyVertexBuffers):
4001         (rx::InputLayoutCache::hashInputLayout):
4002         (rx::InputLayoutCache::compareInputLayouts):
4003         * src/libGLESv2/renderer/InputLayoutCache.h: Added.
4004         * src/libGLESv2/renderer/Query11.cpp: Added.
4005         (rx::Query11::Query11):
4006         (rx::Query11::~Query11):
4007         (rx::Query11::begin):
4008         (rx::Query11::end):
4009         (rx::Query11::getResult):
4010         (rx::Query11::isResultAvailable):
4011         (rx::Query11::testQuery):
4012         * src/libGLESv2/renderer/Query11.h: Added.
4013         * src/libGLESv2/renderer/Query9.cpp: Added.
4014         (rx::Query9::Query9):
4015         (rx::Query9::~Query9):
4016         (rx::Query9::begin):
4017         (rx::Query9::end):
4018         (rx::Query9::getResult):
4019         (rx::Query9::isResultAvailable):
4020         (rx::Query9::testQuery):
4021         * src/libGLESv2/renderer/Query9.h: Added.
4022         * src/libGLESv2/renderer/QueryImpl.h: Added.
4023         (rx::QueryImpl::QueryImpl):
4024         (rx::QueryImpl::~QueryImpl):
4025         (rx::QueryImpl::getType):
4026         * src/libGLESv2/renderer/RenderStateCache.cpp: Added.
4027         (rx::RenderStateCache::RenderStateCache):