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