Geoff Lang
f0955f1585
Update the samples and tests to use eglGetPlatformDisplayEXT.
...
BUG=angle:490
Change-Id: I5a685e42089377b5c600cd1f7ca8bd9a6654b3ba
Reviewed-on: https://chromium-review.googlesource.com/204939
Reviewed-by: Brandon Jones <[email protected] >
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-07-22 19:43:24 +00:00
Jamie Madill
183bde5527
Return shader variable information using GLenum values.
...
Instead of duplicating GL header define values, explictly return
GLenum for variable queries in the shader inspection API. This
reduces the duplicate defines in the shader compiler header.
BUG=angle:466
Change-Id: Iddaaff597b188251fa2e546f352bf77ab3ac43bc
Reviewed-on: https://chromium-review.googlesource.com/205860
Tested-by: Jamie Madill <[email protected] >
Reviewed-by: Zhenyao Mo <[email protected] >
Reviewed-by: Nicolas Capens <[email protected] >
2014-07-03 17:22:09 +00:00
Jamie Madill
ce50555375
Revert "Return variable type queries using GLenum values."
...
Breaks the FYI bots until we get Chromium patched.
BUG=angle:466
This reverts commit 53221f5a03 .
Change-Id: Ib28548df5c10a6f76f46e4cf8f2013dca5cf0ee2
Reviewed-on: https://chromium-review.googlesource.com/205850
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2014-06-26 19:00:37 +00:00
Jamie Madill
53221f5a03
Return variable type queries using GLenum values.
...
Instead of duplicating GL header define values, explictly return
GLenum for variable queries in the shader inspection API. This
reduces the duplicate defines in the shader compiler header.
BUG=angle:466
Change-Id: If631b20ce68747297a946e1371def7709027a613
Reviewed-on: https://chromium-review.googlesource.com/204937
Tested-by: Jamie Madill <[email protected] >
Reviewed-by: Nicolas Capens <[email protected] >
Reviewed-by: Zhenyao Mo <[email protected] >
2014-06-26 18:07:37 +00:00
Geoff Lang
9cd1915c96
Fix warnings about unreferenced local variables.
...
BUG=skia:2272
Change-Id: Ibf03efedc662fea2a389ad2dc5af5b7b014181a8
Reviewed-on: https://chromium-review.googlesource.com/201900
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-05-28 21:07:53 +00:00
Geoff Lang
5df9f5233c
Automate the DEQP tests by wrapping them in the gtest suite.
...
BUG=angle:497
Change-Id: If0a72c053bccccc4369ec78dd70173bbadb1be7b
Reviewed-on: https://chromium-review.googlesource.com/200044
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-05-23 17:30:04 +00:00
Jamie Madill
fc2521e16b
Fix build on Windows 8.1 SDK.
...
The Windows 8.1 SDK includes a new DLL compiler DLL, and is useful
to test against, so we should fix the few deprecated functions and
warnings.
BUG=angle:649
Change-Id: I28bcf49564f3f7d7403d939d61dd78d3972281ba
Reviewed-on: https://chromium-review.googlesource.com/199341
Reviewed-by: Geoff Lang <[email protected] >
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2014-05-21 14:06:45 +00:00
Geoff Lang
876dc72400
Fix 64-bit build failures.
...
Update the BufferStorage classes to use size_t for all sizes and offsets.
BufferStorage9 now uses a std::vector to manage its memory.
BUG=angle:631
Change-Id: Iea4e7b33ede59a5b9c6a1245690c4b7865096fc3
Reviewed-on: https://chromium-review.googlesource.com/197819
Reviewed-by: Nicolas Capens <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-05-02 17:48:25 +00:00
Jamie Madill
8cc03bf73f
Revert "Remove the second translator target, only using static."
...
This reverts commit d51df461e5 .
Conflicts:
projects/build/all.sln
projects/samples/samples.sln
src/compiler.gypi
Change-Id: I6e1d77531df61de28e4402ed1916f6ecdebb68fd
Reviewed-on: https://chromium-review.googlesource.com/192890
Reviewed-by: Geoff Lang <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2014-04-16 19:41:43 +00:00
Nicolas Capens
4648508683
Implement EXT_shader_texture_lod
...
BUG=angle:551
Change-Id: I81d7574a15861f1b24ddf6147cf71adbf20e10f3
Reviewed-on: https://chromium-review.googlesource.com/194960
Tested-by: Nicolas Capens <[email protected] >
Reviewed-by: Shannon Woods <[email protected] >
2014-04-16 19:30:22 +00:00
Jamie Madill
96e46cd6f2
Allow sample projects to choose ES3 & D3D version.
...
Passing parameters from the sample constructor allows us to test
ES3 functionality, as well as choose between D3D9 and 11.
BUG=angle:521
Change-Id: I7b9543b399450f62c5415654e8026a7c218b7e37
Reviewed-on: https://chromium-review.googlesource.com/193292
Reviewed-by: Geoff Lang <[email protected] >
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2014-04-09 13:49:31 +00:00
Geoff Lang
d095bdaa16
Add a common include in the project definitions.
...
Any projects that may be included by gyp files outside our project (chrome
or skia) may not have the same defines or ignored compiler warnings. To
make sure that we can always compile, each project now includes a common
file with all required definitions and gyp variables.
BUG=angleproject:583
Change-Id: I702bee975d0554c51bfa03981920dfb295ffbafa
Reviewed-on: https://chromium-review.googlesource.com/189458
Reviewed-by: Zhenyao Mo <[email protected] >
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-04-09 13:44:09 +00:00
Geoff Lang
73f5143345
Remove the es_util project.
...
BUG=angle:521
Change-Id: Iad633bf210c36db340490f21923534697e27891b
Reviewed-on: https://chromium-review.googlesource.com/188741
Reviewed-by: Shannon Woods <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-04-01 15:12:33 +00:00
Geoff Lang
e977efc43a
Port the PostSubBuffer sample to the new sample framework.
...
Add a swap method on the SampleApplication class so that samples can
override the default eglSwapBuffers function call.
BUG=angle:521
Change-Id: I3f0ba6ed182b368e6f5fe502de67d1a14267a857
Reviewed-on: https://chromium-review.googlesource.com/188740
Reviewed-by: Shannon Woods <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-04-01 15:12:27 +00:00
Geoff Lang
e9b02245e0
Port the TextureWrap sample to the new sample framework.
...
Refactor the generation of checkerboard textures since they're used by
this sample and MipMap2D.
BUG=angle:521
Change-Id: I1ba8bc4927a7944eb8efad0c8aa71eba4619e457
Reviewed-on: https://chromium-review.googlesource.com/188729
Reviewed-by: Shannon Woods <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-04-01 15:12:19 +00:00
Geoff Lang
d3a4092d58
Port the Stencil_Test sample to the new sample framework.
...
Rename Stencil_Test to stencil_operations, a more fitting name for a
sample.
BUG=angle:521
Change-Id: I5412ecef12d80c3dbf54539bc7509678a35c44d5
Reviewed-on: https://chromium-review.googlesource.com/188728
Reviewed-by: Shannon Woods <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-04-01 15:12:03 +00:00
Geoff Lang
f6139359a1
Port the Simple_VertexShader sample to the new sample framework.
...
Add a Matrix type and cube gemetry generation helper functions.
BUG=angle:521
Change-Id: Ia50be1790d6f440499eea052f427762637f3c876
Reviewed-on: https://chromium-review.googlesource.com/188727
Reviewed-by: Shannon Woods <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-04-01 15:05:42 +00:00
Geoff Lang
705073f756
Port the Simple_TextureCubemap sample to the new sample framework.
...
Added helper functions for generating cube maps and sphere geometry.
BUG=angle:521
Change-Id: Ic1e8584d69793233ec6a97744b13097d55b9f287
Reviewed-on: https://chromium-review.googlesource.com/188726
Reviewed-by: Shannon Woods <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-04-01 15:05:27 +00:00
Geoff Lang
99384047b1
Port the Simple_Texture2D sample to the new sample framework.
...
BUG=angle:521
Change-Id: Idd1889b13a751d473b1e99c4c593cd4cded972ae
Reviewed-on: https://chromium-review.googlesource.com/188725
Reviewed-by: Shannon Woods <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-04-01 14:28:22 +00:00
Geoff Lang
712e3f4d65
Port the MultipleRenderTarget sample to the new sample framework.
...
Renamed to MultipleDrawBuffers and added shader loading from file.
BUG=angle:521
Change-Id: Iffeb589a95eee4409d3624c56fe3a5e4a7d5be63
Reviewed-on: https://chromium-review.googlesource.com/188724
Reviewed-by: Shannon Woods <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-04-01 14:28:10 +00:00
Geoff Lang
8dd592bf2a
Port the SimpleInstancing sample to the new sample framework.
...
Add a Vector2 type for storing texcoords and improve the sample by having
it draw several thousand instances instead of two.
BUG=angle:521
Change-Id: I87996a90000a83bc66d091c7537ea411080d7e9f
Reviewed-on: https://chromium-review.googlesource.com/188723
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-03-31 19:33:56 +00:00
Geoff Lang
d19fae55ea
Port the ParticleSystem sample to the new sample framework.
...
BUG=angle:521
Change-Id: I6d00333ac7761f15ee83a47dc3e6e3cc13c675cd
Reviewed-on: https://chromium-review.googlesource.com/188195
Reviewed-by: Shannon Woods <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-03-28 18:21:31 +00:00
Geoff Lang
1b3e4b8032
Port the MultiTexture sample to the new sample framework.
...
BUG=angle:521
Change-Id: I72f063664b43d3cfafe03c8f060076596bedea0f
Reviewed-on: https://chromium-review.googlesource.com/188194
Reviewed-by: Shannon Woods <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-03-28 14:25:23 +00:00
Geoff Lang
9adef9ba7a
Port the MipMap2D sample to the new sample framework.
...
BUG=angle:521
Change-Id: I3b1d3a02214850bf52c1d5c468f5696076065b88
Reviewed-on: https://chromium-review.googlesource.com/188193
Reviewed-by: Shannon Woods <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-03-28 14:25:04 +00:00
Geoff Lang
8776b25876
Port the Hello_Triangle sample to the new sample framework.
...
BUG=angle:521
Change-Id: I887257193af3130447c4691bb72303cc978b96fe
Reviewed-on: https://chromium-review.googlesource.com/188192
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-03-27 17:41:48 +00:00
Geoff Lang
49be2ad9f8
Add an ANGLE sample framework.
...
BUG=angle:521
Change-Id: If1fc6198dbbe44f0ade5539cff540e3e086f2a3b
Reviewed-on: https://chromium-review.googlesource.com/188722
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-03-27 15:43:56 +00:00
Jamie Madill
f0b40601a6
Clean up gyp build scripts.
...
We can use angle_path instead of angle_build_scripts_path to locate
enumerate_files.py. Also pass angle_path to the post-build script
hook, as this information is necessary to locate the root angle
folder.
BUG=angle:592
Change-Id: I06b3f0201751d90b7c1efdefe8db07d114bd87dd
Reviewed-on: https://chromium-review.googlesource.com/191082
Reviewed-by: Geoff Lang <[email protected] >
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2014-03-25 16:59:18 +00:00
Geoff Lang
9a2e5b9490
Fix incorrect function forward declaration.
...
Change-Id: I135c4457fdc95f2d331e2924104a30f90a40bd1a
Reviewed-on: https://chromium-review.googlesource.com/189456
Reviewed-by: Shannon Woods <[email protected] >
Reviewed-by: Nicolas Capens <[email protected] >
Tested-by: Shannon Woods <[email protected] >
2014-03-14 19:10:33 +00:00
Zhenyao Mo
3cdfcce86b
Remove SH_MAP_LONG_VARIABLE_NAMES
...
We use hashing to map all variables/strcuture field names, etc,
so we no longer need this option.
Checked with Firefox and WebKit, they no longer use this option
either. Time to remove it.
Change-Id: Ie3e79b91a05258b04af419a9c42b2fd1b00e67c4
Reviewed-on: https://chromium-review.googlesource.com/189236
Reviewed-by: Kenneth Russell <[email protected] >
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Zhenyao Mo <[email protected] >
Reviewed-on: https://chromium-review.googlesource.com/189568
2014-03-11 18:25:18 +00:00
Jamie Madill
d51df461e5
Remove the second translator target, only using static.
...
Because libGLESv2 needs a static translator to link against
internal types like Attribute and Varying, as well as using
some other internal methods, we can for now disable the
component build for the translator. In the future we can
support a proper component build with exports across library
boundaries.
BUG=angle:568
Change-Id: Ie3efc0a29342d02491e91952c3c2398568f83576
Reviewed-on: https://chromium-review.googlesource.com/187699
Reviewed-by: Geoff Lang <[email protected] >
Reviewed-by: Zhenyao Mo <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2014-02-27 22:15:28 +00:00
Jamie Madill
e78603b585
Fix standalone Linux build.
...
We can include Makefiles in the ignore list, and need a few extra
flags to fix the GCC build on Linux.
BUG=angle:563
Change-Id: Iacd386359f0c0d9bb87ddc544dd8b4da2cb8fee0
Reviewed-on: https://chromium-review.googlesource.com/186902
Reviewed-by: Shannon Woods <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
Tested-by: Jamie Madill <[email protected] >
Reviewed-on: https://chromium-review.googlesource.com/186989
2014-02-20 14:17:23 +00:00
Geoff Lang
1106aeb2f1
Move the enumerate_files script to the build directory.
...
BUG=angle:552
Change-Id: I9f357c68c258c7731cf0d5c2ceed3a2875b21228
Reviewed-on: https://chromium-review.googlesource.com/185142
Reviewed-by: Jamie Madill <[email protected] >
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-02-10 20:48:09 +00:00
Geoff Lang
f571312409
Rework tracing and perf defines.
...
Changed ANGLE_DISABLE_* to ANGLE_ENABLE_* for perf and tracing defines so
they are disabled by default. Updated the gyp files to only turn on perf
by default for windows debug builds.
Change-Id: I71706674e6d12fbf4208acc8f100d963b82c7674
Reviewed-on: https://chromium-review.googlesource.com/183250
Reviewed-by: Jamie Madill <[email protected] >
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-01-23 19:56:13 +00:00
Geoff Lang
a50232fd52
Added a utility application to generate c headers from dds textures.
...
Change-Id: Idb4c2ca318c84433f2b06bd4f0c66045f43e56de
Reviewed-on: https://chromium-review.googlesource.com/182191
Reviewed-by: Jamie Madill <[email protected] >
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-01-15 20:16:18 +00:00
Geoff Lang
512a7b7b04
Regenerate project files.
...
TRAC #24020
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
2013-10-22 14:30:12 -04:00
Geoff Lang
f02ec39090
Regenerate public project files.
2013-10-18 17:11:07 -04:00
Geoff Lang
78059907ae
Added a 64 bit build target to the gyp file.
...
TRAC #24018
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
2013-10-18 17:01:54 -04:00
Geoff Lang
036aa49b62
Disable warnings about size_t conversion and fix ambiguous template parameters in 64 bit builds.
...
TRAC #23409
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
2013-10-18 17:01:53 -04:00
Geoff Lang
e26b15a2a7
Regenerate project files.
2013-10-17 14:18:42 -04:00
Geoff Lang
216644bad7
Regenerate project files.
2013-10-17 09:54:32 -04:00
Geoff Lang
5e5f990e1c
Merge 7692ca41db from master.
...
Remove %(AdditionalDependencies) from gyp linker deps, and add full windows dependency library list.
ANGLEBUG=477
BUG=
[email protected]
Review URL: https://codereview.appspot.com/14161043
2013-10-17 09:52:39 -04:00
Geoff Lang
2b6008c9d1
Merge 366229430e from master.
...
Create a static translator project and allow the previous translator
project to be used in component builds.
2013-10-17 09:52:36 -04:00
Geoff Lang
7c69720176
Deleted manually maintained visual studio projects and replaced them with gyp generated ones.
2013-10-17 09:52:07 -04:00
Geoff Lang
0e43546701
Refactored the samples.gyp file.
2013-10-17 09:37:02 -04:00
Geoff Lang
39d5166d0f
Moved the gyp libGLESv2 and libEGL projects into their own gyp files. Renamed build_angle.gpy* to angle.gyp* but kept build_angle.gyp for chrome compatability.
2013-10-17 09:37:00 -04:00
Geoff Lang
17732823f9
Moved the compiler source files into directories based on their project and added a compiler.gypi to generate the compiler projects.
2013-10-17 09:36:59 -04:00
Jamie Madill
b41ebf5798
Fix compile errors in the essl to hlsl standalone translator.
...
ANGLEBUG=469
[email protected]
Review URL: https://codereview.appspot.com/13281043
2013-09-24 15:13:06 -04:00
Jamie Madill
ba615196a8
Normalize line endings of tracked files in the repository.
...
TRAC #23896
Signed-off-by: Shannon Woods
2013-09-24 14:21:28 -04:00
[email protected]
6b7099111f
Add support for the unsigned integer scalar type to the shader translator.
...
TRAC #23080
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2403 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-30 00:20:04 +00:00
[email protected]
8da034cc6a
Add non-square mat support to the shader language interface.
...
TRAC #23081
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2397 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-30 00:19:15 +00:00