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