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