Граф коммитов

121 Коммитов

Автор SHA1 Сообщение Дата
Tobin Ehlis 5f21df8318 Roll (1/2) LVL version forward and disable VANGLE
Bug: angleproject:2482

Rolling Vulkan validation code forward to HEAD of master as of 4/18/18
morning. Disable Vulkan from the ANGLE build until ANGLE lands in
Chromium. After that second part of roll will be submitted.

This LVL update includes reg.py script fixes for a number of build
warnings as well as a validation fix for vkCmdClearAttachments() in
secondary cmd buffer.

Change-Id: I7f8100f5b656d86caf8f4b5dee61a733a35b7869
Reviewed-on: https://chromium-review.googlesource.com/1016860
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2018-04-20 21:10:06 +00:00
Tobin Ehlis aa8b3982ae Roll (1/2) LVL version forward and disable VANGLE
Rolling Vulkan validation code forward to HEAD of master as of 4/16/18
morning. Disable Vulkan from the ANGLE build until ANGLE lands in
Chromium. After that second part of roll will be submitted.

This LVL update includes MockICD fixes to allow ANGLE perf tests to
run correctly with Null Vulkan configuration.

Bug: angleproject:2482
Change-Id: I61dc9ed293677a1b5839b605d7c3640dca138db3
Reviewed-on: https://chromium-review.googlesource.com/1014405
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2018-04-16 20:41:03 +00:00
Jamie Madill 027717fa79 Add "root" variable to DEPS.
This variable can be used to override the root location of the .git
for ANGLE relative to gclient, so our DEPS can work with both
ANGLE standalone and the new bot configurations that are being
added by thakis@.

Bug: chromium:820421
Change-Id: I5cd57bc88fcd4dc69e82aa1e59d343f1eaf6f5ee
Reviewed-on: https://chromium-review.googlesource.com/1012506
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2018-04-13 20:12:34 +00:00
Tobin Ehlis 37812d4543 Roll (1/2) LVL version forward and disable VANGLE
Bug: angleproject:2393

Rolling Vulkan validation code forward to HEAD of master as of 3/6/18
afternoon. Disable Vulkan from the ANGLE build until ANGLE lands in
Chromium. After that second part of roll will be submitted.

Change-Id: I3c98b42a0b8999e8aa26f538959d888060c2026a
Reviewed-on: https://chromium-review.googlesource.com/952525
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2018-03-07 17:15:00 +00:00
Jamie Madill a1134ba865 Vulkan: Relocate third-party libraries. (2/2)
This makes the BUILD.gn source lists a lot simpler, since they no
longer need to use a special path variable, but instead can use the
correct relative paths.

This will lead to further simplifications so we can hopefully upstream
the Vulkan tools BUILD.gn files.

Second part updates the build files and removes the old repositories.

Bug: angleproject:2339
Change-Id: I37f5b42a0854ca49448ecbbb32c19c24df57f452
Reviewed-on: https://chromium-review.googlesource.com/905894
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2018-02-07 21:33:33 +00:00
Jamie Madill 23c107e895 Roll dEQP 455d82c60b0...5bc346ba2.
Inclues several new ES 3.1 and EGL test sets.

455d82c60b..5bc346ba2d

Bug: angleproject:2319
Bug: angleproject:1961
Bug: angleproject:1028
Bug: angleproject:2320
Bug: angleproject:2321
Bug: angleproject:2329
Bug: angleproject:2330

Change-Id: I26bfb11a41073e94ecc75d20b07055eb4e946d43
Reviewed-on: https://chromium-review.googlesource.com/703159
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2018-02-03 15:01:05 +00:00
Jamie Madill 8a57b468e2 Re-land "Vulkan: Roll loader/validation layers SDK. (2/2)"
Second re-land fixes git.bat access on developer machines.

Re-landing with upstream fixes to the layers so they no longer
need to copy the parameter validation errors to the current
working directory of the layer generation. Also includes fixes
for the GCC build.

This hasn't been updated in a while, so there are many changes.
It should also include better validation for memory barriers.

Also includes updated builds for SPIRV Tools and glslang.
A few pull requests need to land before landing this in ANGLE.

This second step re-enables Vulkan and includes the updated build.

Includes a workaround for parameter_validation.h no longer being
auto-generated, and the stale file clobbering the build.

Also includes a fix for an incorrect memory barrier.

Bug: angleproject:2237
Change-Id: Ic1a3ad7458bb743d7279a1af9334693ab6cb59d6
Reviewed-on: https://chromium-review.googlesource.com/845859
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2017-12-28 22:36:37 +00:00
Jamie Madill 340b577196 Vulkan: Roll loader/validation layers SDK (1.75/2)
This hasn't been updated in a while, so there are many changes.
It should also include better validation for memory barriers.

Also includes updated builds for SPIRV Tools and glslang.
A few pull requests need to land before landing this in ANGLE.

This intermediate step rolls Vulkan again to include upstream
fixes to the layers so they no longer need to copy the parameter
validation headers to the current working directory. The prior
changed missed a second generator script.

Bug: angleproject:2237
Change-Id: Ia6767af538c50e340ea5a68c69a2863c9fd9061d
Reviewed-on: https://chromium-review.googlesource.com/840080
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2017-12-21 16:52:08 +00:00
Jamie Madill ffd27d8537 Vulkan: Roll loader and validation layers SDK (1.5/2)
This hasn't been updated in a while, so there are many changes.
It should also include better validation for memory barriers.

Also includes updated builds for SPIRV Tools and glslang.
A few pull requests need to land before landing this in ANGLE.

This intermediate step rolls Vulkan again to include upstream
fixes to the layers so they no longer need to copy the parameter
validation headers to the current working directory also includes
fixes for the GCC build.

Bug: angleproject:2237
Change-Id: I50deb70e43be36f7470c9fc2262b6da5bab39c3a
Reviewed-on: https://chromium-review.googlesource.com/834230
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2017-12-19 21:07:39 +00:00
Frank Henigman 5b1180df68 Add gyp deprecation warning.
gyp_angle now prints a warning every time it is run.
All targets print the same warning as one of their build steps.
The DEPS change updates gypi_to_gn so it doesn't choke on
files with 'target_defaults' sections.

BUG=angleproject:1569

Change-Id: Ibdf277fcc14cf4ebc7b7db78270210752cd8ef9d
Reviewed-on: https://chromium-review.googlesource.com/711155
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
2017-12-18 23:04:55 +00:00
Jamie Madill 9af765dd2e Vulkan: Roll loader/validation layers SDK. (1/2)
This hasn't been updated in a while, so there are many changes.
It should also include better validation for memory barriers.

Also includes updated builds for SPIRV Tools and glslang.
A few pull requests need to land before landing this in ANGLE.

First part disables Vulkan and rolls the layers. The second part will
re-enable Vulkan with the updated loader/layers build.

Bug: angleproject:2237

Change-Id: I112521541ea66b26eadeb959852418dc91be2e18
Reviewed-on: https://chromium-review.googlesource.com/805417
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2017-12-13 21:12:27 +00:00
Jamie Madill 4f407ce208 Fix Clang dEQP build on Win.
Rolls the build/ repos from Chromium to include the fixed config.
Also includes incidental improvements to platform-specific hooks.

Bug: chromium:727437
Change-Id: Ia42a30acac1e800e593e304bfc59d86eb0a1e57c
Reviewed-on: https://chromium-review.googlesource.com/782340
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2017-11-21 18:55:25 +00:00
Jamie Madill 4d1469315c Roll all ANGLE internal DEPS.
None of these deps are used in the Chromium builds, so this only
affects the standalone version.

Includes a change in the build repo necessary to enable fixing the
Clang build with dEQP.

Bug: chromium:727437
Change-Id: Iea5f6299e9f17555891c812229a54a850776f117
Reviewed-on: https://chromium-review.googlesource.com/773020
Reviewed-by: Frank Henigman <fjhenigman@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2017-11-15 23:55:58 +00:00
Jamie Madill 940c48b279 Add rc.exe hook to DEPS.
This is necessary to build Windows ANGLE with the hermetic Win SDK.

BUG=angleproject:1569

Change-Id: Ic2c0aac6cab8d1a20f0bca8aea55418fe7defdc5
Reviewed-on: https://chromium-review.googlesource.com/734980
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2017-10-24 04:02:58 +00:00
Jamie Madill 138cf5e000 Roll chromium/src/build.
Includes the new script to generate a Visual Studio "meta" solution.

BUG=angleproject:1569

Change-Id: I6760b2fb26f588117cd310afc7f92e9b4571a89c
Reviewed-on: https://chromium-review.googlesource.com/734709
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2017-10-24 03:36:43 +00:00
Jamie Madill 6dee4d8c1f Remove second copy of gyp dependency.
Also point gyp_angle back at tools.

BUG=angleproject:1569

Change-Id: Ib17ba6973db24aec9cd47000d869e5aa427c84a3
Reviewed-on: https://chromium-review.googlesource.com/727529
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2017-10-19 04:46:23 +00:00
Frank Henigman d0ef13a250 Stand-alone build with gn.
This should do the same things as the stand-alone gyp build, but with gn.
You should switch to gn as gyp support will go away.

You need a recent enough version of gn.  If yours is too old try this one:
  ./buildtools/linux64/gn

If "gclient sync" or anything fails with an ImportError on gyp stuff,
try running it with the following PYTHONPATH in the environment:
  PYTHONPATH=tools/gyp/pylib

BUG=angleproject:1569

Change-Id: I56d19bec2d8b649a7bd65062c656cbfc69ea3dd8
Reviewed-on: https://chromium-review.googlesource.com/642588
Reviewed-by: Frank Henigman <fjhenigman@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
2017-10-18 17:02:13 +00:00
Frank Henigman cc8e2738df Move libpng into src subdirectory.
DEPS libpng into third_party/libpng/src, instead if third_party/libpng.
Then we'll be able to put its BUILD.gn into third_party/libpng instead
of the more distant build/secondary/... location.

BUG=angleproject:1569

Change-Id: I12b1c51d65682cba3954c26f1bd3f7491ac31b01
Reviewed-on: https://chromium-review.googlesource.com/722176
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2017-10-17 13:14:12 +00:00
Frank Henigman 6b076a09e0 Update and move gmock and gtest.
Update to the version of googletest current in chromium.  Googlemock has
merged into googletest so we get rid of the separate DEPs entry and point
everything inside googletest.

We put it in 'third_party' instead of 'testing' to prepare for the
upcoming stand-alone gn build which borrows chromium build files that
require other stuff in the 'testing' directory.

BUG=angleproject:1569

Change-Id: I51d1675efd5d0104bb6390721928010221a5d6fc
Reviewed-on: https://chromium-review.googlesource.com/713466
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
2017-10-11 20:33:02 +00:00
Jamie Madill ef97c613f8 Roll GYP for VS2017 project support.
Also includes a ToLower string helper for a VS2017 warning fix.

aae1e3efb5..c6f4716874

BUG=angleproject:1569

Change-Id: Iaf8a091a24d937db3adb242f05c8a5c9d2b03b0f
Reviewed-on: https://chromium-review.googlesource.com/659219
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Frank Henigman <fjhenigman@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2017-09-11 15:55:22 +00:00
Jamie Madill 9c9b40aced Use parameter cache to skip passing IndexRange.
For DrawElements et al., we can use a simple design to store
entry point parameters and compute index ranges lazily. This allows
us to compute the index range outside of the validation layer.

Fixing this will let us implement a few things, such as the no error
extension. It will also allow auto-generation of the entry points,
since we won't have to have special cases for certain entry
points. It will also help fix the syncState layering problem. Now the
cached parameter helper (which is owned by the Context) can make the
impl layer calls, instead of the validation layer calling the impl
directly.

We use a small array in Context to gather parameters in a generic
way without reallocation on call. We also check type safety by storing
a type info struct which can handle inheritance between type classes.
Optional variables for the cache determine when to re-compute values.

The intent with gatherParams is to call this in every entry point, and
have in most cases be a no-op. In some cases like for IndexRange, we
store some parameters for later use. The inheritance scheme enables
auto-generation of the entry points by keeping signatures similar.

BUG=angleproject:747

Change-Id: I871e99e1334cf6e61ef8da62fde3ced094903f8a
Reviewed-on: https://chromium-review.googlesource.com/474119
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2017-04-26 22:20:27 +00:00
Corentin Wallez 50a8d0e063 Roll zlib to fix a warning on Mac
BUG=

Change-Id: Iaef87582aba57632d5a696fdf9ff09c4fab5c75a
Reviewed-on: https://chromium-review.googlesource.com/483619
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2017-04-20 15:49:39 +00:00
Jamie Madill 4063e20954 Roll vulkan-validation-layers. (1/2)
bcb80d06bb..f47c534fee

Disables Vulkan in ANGLE temporarily - a second CL will follow with
the updated build files once ANGLE is rolled into Chrome.

In particular, this roll contains a fix for a vs2017 signed/unsigned
mismatch warning as error.

BUG=chromium:683729

Change-Id: Ib23370d79f1359ab290f08e14a847eed75251660
Reviewed-on: https://chromium-review.googlesource.com/458531
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2017-03-23 16:41:25 +00:00
Jamie Madill c1ebf5bdaa Roll gyp and use Windows 10 SDK by default.
We want to require use of the Windows 10 SDK in ANGLE - Chrome
already uses a newer SDK.

A new gyp feature added by munyirik@microsoft.com allows us to use
the latest Win 10 SDK installed on the system, irrespective of the
minor version number.

Also update the docs.

BUG=angleproject:1943

Change-Id: Iaafbba858fb7565ab09672eadc403dbb8abab3dd
Reviewed-on: https://chromium-review.googlesource.com/458516
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2017-03-22 19:49:54 +00:00
Jamie Madill b4533de1fd Roll Vulkan to bcb80d06b.
This includes a loader fix for systems with stale drivers.

BUG=angleproject:1319

Change-Id: I9ee726bd508c89b19508a5f3113f7b90593635d5
Reviewed-on: https://chromium-review.googlesource.com/427265
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2017-01-12 21:23:38 +00:00
Frank Henigman b5693ff6cb Roll Vulkan validation layers.
Includes fix for incorrectly guarded gcc-specific pragma.
https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/pull/1301

BUG=angleproject:1668

Change-Id: Iee60d5f7fbfa7c6d35c0085f0905dcb2e0987188
Reviewed-on: https://chromium-review.googlesource.com/423266
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
2016-12-23 20:34:48 +00:00
Jamie Madill 05ac622527 Roll Vulkan validation layers.
Includes a fix for Clang call cast conversion warning.

BUG=chromium:676217

Change-Id: I1b8bf8698714f4280aea52415ae5f96272a2219a
Reviewed-on: https://chromium-review.googlesource.com/422440
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2016-12-21 20:14:00 +00:00
Jamie Madill 37ee8a6b02 Vulkan: Add Vulkan DEPS.
We will roll the DEPS through to Chromium first, so avoid the problem
where DEPS rolls in ANGLE break the CQ (http://crbug.com/643346)

We will follow up with build files after this CL makes it into Chrome.
Likely we won't roll Vulkan DEPS until the above issue is fixed.

BUG=angleproject:1319

Change-Id: I4121143887a614667affe750185d1bc7b8474fa7
Reviewed-on: https://chromium-review.googlesource.com/419720
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2016-12-19 22:56:03 +00:00
Jamie Madill e735511d47 Roll dEQP.
Several months of updates. Does not change the build files - will
mean the GPU.FYI bots temporarily break, and possibly there's some
flakiness on the ANGLE trybots and Optional GPU bots until the
correct suppression set is instated.

BUG=chromium:671021

Change-Id: I207be11ed37a9173f53a06554880be6ebcaee5fa
Reviewed-on: https://chromium-review.googlesource.com/418405
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2016-12-09 21:00:23 +00:00
Corentin Wallez 7f07caa961 Rename the build/ directory.
GYP related files went in gypfiles/, and the gni went in gni/ this
changes frees up the build/ directory name for Chromium's build/
directory.

BUG=angleproject:1569

Change-Id: I76fe343d569239c2732ba87986fcf7debc21d417
Reviewed-on: https://chromium-review.googlesource.com/403029
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2016-11-08 14:48:42 +00:00
Corentin Wallez e76f55fefa Make the gmock and gtest dirs match Chromium's
Making the dependencies' directories match Chromium's is needed if we
want to use the same GN file for Chromium builds and standalone builds.

This also rolls the gtest and gmock dependencies to match Chromium.

BUG=angleproject:1569

Change-Id: I54ce9c9a29964abfddbea64a0f4466f2c9d48a33
Reviewed-on: https://chromium-review.googlesource.com/403028
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2016-11-08 13:49:17 +00:00
Jamie Madill 207893177d Add buildtools to recursedeps.
The DEPS for buildtools changed to not recurse automatically. This
change mirrors the change in Chromium.

See 3d2e47bf14%5E%21/#F0

BUG=None

Change-Id: Ib15520324ad7894d4a640a0e2013c3823849e846
Reviewed-on: https://chromium-review.googlesource.com/404969
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2016-10-28 18:37:56 +00:00
Jamie Madill 2a3dc0f0e3 Roll buildtools.
This should fix the weird gn problem with git cl format.

BUG=None

Change-Id: I35d4cf110bda302b6336ef412613a80fcde8208b
Reviewed-on: https://chromium-review.googlesource.com/402253
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2016-10-24 23:09:27 +00:00
Jamie Madill c7d6ea485a Roll dEQP cc0ded6c77267b..cd361df193e7535b9
cc0ded6c77..f4f3d8079e

BUG=None

Change-Id: I863f81d2c4c3f48862cb821b23c38266987a82a2
Reviewed-on: https://chromium-review.googlesource.com/340260
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2016-06-20 18:41:28 +00:00
Jamie Madill afe93f65aa Roll Cherry.
This fixes a bug preventing Cherry from running on Windows.

BUG=None

Change-Id: I0049005093e5abb7a7fd2c5b125e8133c0e0cab5
Reviewed-on: https://chromium-review.googlesource.com/350402
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2016-06-07 21:04:08 +00:00
Jamie Madill c8ec0b2053 Roll buildtools.
This will include a new clang-format for standalone ANGLE.

BUG=None

Change-Id: Ia4a888c77487d03c2c83989c5f565dea993d5a06
Reviewed-on: https://chromium-review.googlesource.com/348374
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2016-05-31 20:22:06 +00:00
Corentin Wallez 570f67d7b8 Download GN in the gclient hooks.
Recently git cl format has started requiring GN and would fail when run
in the ANGLE standalone repository because the binary was not present.

BUG=

Change-Id: I0482db6fd6a868dc02ef6e395e6ff4817623c291
Reviewed-on: https://chromium-review.googlesource.com/326420
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2016-02-08 18:41:52 +00:00
Jamie Madill ccb001b45a Roll dEQP 92f7752da8..cc0ded6c.
92f7752da8..cc0ded6c

BUG=angleproject:1092

Change-Id: Ie891d4d12eeaabb367e105e2e5e2f6823fb816f7
Reviewed-on: https://chromium-review.googlesource.com/313021
Tryjob-Request: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
2015-11-21 00:39:32 +00:00
Jamie Madill 9e76f56189 dEQP: Add Cherry (Web-based GUI) to DEPS.
Cherry allows us to view results from dEQP test passes, and is an
open-source project.

BUG=None

Change-Id: I6edc2220fe4e9daf85dc6cf44053f59a51269cb5
Reviewed-on: https://chromium-review.googlesource.com/303464
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
2015-10-02 15:22:30 +00:00
Corentin Wallez 5ce25a2182 Roll googletest 23574bf2..9855a871
BUG=angleproject:1153

Change-Id: I0b0be8133c04a3ebfed7e9ed20d7375ee5e07903
Reviewed-on: https://chromium-review.googlesource.com/296684
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Corentin Wallez <cwallez@chromium.org>
2015-09-03 19:42:31 +00:00
Cooper Partin 9e1b879efa Roll GYP for Windows 10 project generation.
BUG=angleproject:1122

Change-Id: I8b7a33fb8e7d1200e655c73c7d1a5502cac955c6
Reviewed-on: https://chromium-review.googlesource.com/293335
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Cooper Partin <coopp@microsoft.com>
Commit-Queue: Cooper Partin <coopp@microsoft.com>
2015-08-14 12:30:04 +00:00
Jamie Madill 2fdd3da939 Add clang-format integration for 'git cl format'.
This will allow us to eventually make a presubmit script for ANGLE,
and also will help new contributors who aren't as familiar with
the style guide.

One outstanding issue is the lack of proper breaking before array
initializers. We don't use arrays all over the place, but this
will likely require a patch for clang.

BUG=angleproject:762

Change-Id: I4702b1fcdfa10b7682b07316be59ec67bcf84943
Reviewed-on: https://chromium-review.googlesource.com/285901
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Zhenyao Mo <zmo@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
2015-07-20 18:47:58 +00:00
Jamie Madill fdee4112ef Roll dEQP 554adf..92f7752.
Includes updated Licences.

https://android.googlesource.com/platform/external/deqp/+log/554adf..92f7752

BUG=angleproject:998

Change-Id: If2da8719addeef25ec46adc105cf63c8b861f55a
Reviewed-on: https://chromium-review.googlesource.com/282271
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Brandon Jones <bajones@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2015-06-29 21:57:44 +00:00
Jamie Madill 86bc3a6630 dEQP: Move the DEPS dirs to mirror Chromium.
This avoid us needing to replicate gyp variables in both Chromium's
and ANGLE's common.gypi files.

BUG=angleproject:998

Change-Id: Iba1938fd37eb4bee28ae7daad31bf85a2d3bd692
Reviewed-on: https://chromium-review.googlesource.com/282145
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@google.com>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
2015-06-26 15:25:05 +00:00
Jamie Madill e9e4c7f7ee Roll dEQP 9b4161..554adf1.
Includes some tests for EXT_debug_marker

https://android.googlesource.com/platform/external/deqp/+log/9b4161..554adf1

BUG=None

Change-Id: I911fcb5577caefaa1fe3479445146a2b3f819124
Reviewed-on: https://chromium-review.googlesource.com/277140
Reviewed-by: Austin Kinross <aukinros@microsoft.com>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
2015-06-17 17:30:20 +00:00
Jamie Madill c41fd0500f Roll GYP.
Includes fixes to clean up our MSVS projects.

BUG=None

Change-Id: Ied16bf5b40e7a29ee08e76152daa1296c8960724
Reviewed-on: https://chromium-review.googlesource.com/278051
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2015-06-16 22:54:48 +00:00
Geoff Lang c4a4275fa6 Use the git mirror of googlemock.
Revision unchanged.

Change-Id: I95bc28ff8d47de1ddc90647a54e138dcd80161ee
Reviewed-on: https://chromium-review.googlesource.com/274803
Tested-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2015-06-03 14:00:30 +00:00
Cooper Partin 327c18cdef Roll GYP for Windows 10 project generation.
BUG=angleproject:1004

Change-Id: Ide2f71f1aee70d0d962ff275ac9bd0f852b218ac
Reviewed-on: https://chromium-review.googlesource.com/271482
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
2015-05-19 14:43:51 +00:00
Jamie Madill 0326a3acf8 Roll dEQP.
Includes fixes for some tests, and a new null platform class which
makes generating case lists easier.

BUG=angleproject:998

Change-Id: I1641c579bb63713fccde05e48f0cea31324f7d1b
Reviewed-on: https://chromium-review.googlesource.com/271202
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2015-05-19 14:36:37 +00:00
Jamie Madill 3ba57d1b59 Roll Gmock and Gtest.
This fixes the build of angle_end2end_tests on Linux/Clang.

BUG=angleproject:997

Change-Id: Ie6eca3dc0fc7114d2755892b4b02e8b47a8fa478
Reviewed-on: https://chromium-review.googlesource.com/270680
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
2015-05-13 15:48:33 +00:00
Jamie Madill 440e5d4f9d Roll googletest.
This also moves us to the Chromium googletest mirror. It may cause
conflicts with developer setups if they have the folder open when
they try to gclient sync.

BUG=angleproject:997

Change-Id: I94a629c50cb6ea6fc0020e3ec9ee93b7088d964b
Reviewed-on: https://chromium-review.googlesource.com/270108
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
2015-05-11 14:05:15 +00:00
Jamie Madill d50081579a Roll dEQP.
BUG=angleproject:998

Change-Id: I35067bd5ed2919f918a1f1b93bef0feb934c838d
Reviewed-on: https://chromium-review.googlesource.com/270120
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2015-05-08 19:49:18 +00:00
Jamie Madill 3cd438d107 Add dEQP tests.
We integrate dEQP as a console application and a shared library which
runs all of the test logic. Using a shared library lets us compile
dEQP with all the specific compiler options it needs, without
conflicting with the compile settings in ANGLE proper.

Currently we only support Windows D3D11, ES 2 and 3. We can add
other targets in the future.

We also have a few bugs preventing us from running the test suite in
full. We run into infinite loop problems in some shader tests, and
have crashes or UNIMPLEMENTED in others.

BUG=angleproject:901

Change-Id: Ib6fe66041a6fe547eb2cba497c52de7fd080d667
Reviewed-on: https://chromium-review.googlesource.com/238084
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Olli Etuaho <oetuaho@nvidia.com>
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2015-03-24 15:24:02 +00:00
Jamie Madill 559a2e8cdc Move the ANGLE tests project to src/
*re-re-land with fix for Chrome's angle tests*

BUG=angleproject:945

Change-Id: I3c64e2edc776c299791440f65f22450855eb6dfa
Reviewed-on: https://chromium-review.googlesource.com/260448
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2015-03-16 21:38:50 +00:00
Jamie Madill 96e3f556d6 Revert "Move the ANGLE tests project to src/"
Still causing build issues on Chrome.

This reverts commit 64a3b2a92f.

Change-Id: I8d40fe3dfd0a877343357153a02b8ef66d571c64
Reviewed-on: https://chromium-review.googlesource.com/260425
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
2015-03-16 21:24:56 +00:00
Jamie Madill 64a3b2a92f Move the ANGLE tests project to src/
*re-land with fix for Chromium build*

BUG=angleproject:945

Change-Id: I82bff1760e681987fb26e479734aa62fb845898a
Reviewed-on: https://chromium-review.googlesource.com/260362
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2015-03-16 21:02:51 +00:00
Jamie Madill 5491fe6667 Revert "Move the ANGLE tests project to src/"
Causing build break in Chromium.

This reverts commit 71c2d85c4a.

Change-Id: Iedf001c1f4c60a759f69009610fbce978d193d17
Reviewed-on: https://chromium-review.googlesource.com/260370
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
2015-03-16 17:59:48 +00:00
Jamie Madill 71c2d85c4a Move the ANGLE tests project to src/
BUG=angleproject:945

Change-Id: I2eb44ac43f65b916ddd838d39e6aae62580d7fa0
Reviewed-on: https://chromium-review.googlesource.com/258903
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
2015-03-16 17:34:40 +00:00
Jamie Madill 9ddd5150bc Embed rapidjson sources.
This makes integration with Chrome much easier: Chrome won't
have to pull sources from github or an internal mirror, and
it won't duplicate the base json library.

This should also fix warnings about missing headers with
building Chromium gyp with the ninja msvs generator.

BUG=459058

Change-Id: Ie97cfde9b848a9099da696e027887bcc07b55e08
Reviewed-on: https://chromium-review.googlesource.com/252073
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
2015-02-24 17:58:36 +00:00
Jamie Madill 958db2b6c5 Add rapidjson library to DEPS.
RapidJSON gives us the ability to use JSON in our performance
tests to specific the input. The license is very permissive
and according to the author the performance is excellent.

Chromium's JSON library unfortunately seems quite tied to the
"base" project.

BUG=angle:744

Change-Id: I64e72aad1ed6fa954acd851607032cb48a461348
Reviewed-on: https://chromium-review.googlesource.com/221374
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2015-01-19 15:44:34 +00:00
Kenneth Russell 1027aa6264 Refactor gmock and gtest dependencies for ANGLE's tests.
This change allows these targets to be referenced from Chromium's
build projects.

BUG=angleproject:833

Change-Id: I14694f610921d28ddcd8664887086ca30375b7a2
Reviewed-on: https://chromium-review.googlesource.com/231072
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Tested-by: Kenneth Russell <kbr@chromium.org>
2014-11-20 23:01:45 +00:00
Cooper Partin 9a2e6ac98a Roll gyp dependency to 1987
Change-Id: Id063785b1d0c2a4badc73d6ec828060b7893e58c
Reviewed-on: https://chromium-review.googlesource.com/220843
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Cooper Partin <coopp@microsoft.com>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
2014-10-02 16:09:05 +00:00
Jamie Madill 39173f1330 Roll gyp and regenerate public projects to have the cleaned paths.
With gyp r1804 we can support having nice project folders without nested
subfolders. We must disable the parallel build for gyp as it is currently
broken in our project, and turned on by default.

Change-Id: Ie147ce423115009e254447d51cc30da0cfb2704f
Reviewed-on: https://chromium-review.googlesource.com/178782
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
2013-12-06 23:11:57 +00:00
Geoff Lang 7731d6a742 Update the GYP dependency to a revision with Visual Studio 2010 Express solution generation working correctly.
TRAC #24044

Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
2013-10-22 15:55:53 -04:00
Geoff Lang 0049e43d65 Fixed the DEPS folder and added a .gclient file so gclient sync will now work. 2013-10-17 09:37:05 -04:00
shannon.woods@transgaming.com 14fcb33aee Roll gyp dependency to 1564.
This is to fix the standalone gyp build. It couldn't handle changes made in r1721. This is the latest version.
Review URL: https://codereview.appspot.com/7204049

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1792 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-01-25 21:56:40 +00:00
alokp@chromium.org 5cd9c60bc2 Added DEPS for gmock library.
Review URL: https://codereview.appspot.com/6203086

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1085 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-05-16 23:37:50 +00:00
alokp@chromium.org 416fcd354b Added infrastructure for adding gtest-based tests. I need to use it for the new preprocessor.
Review URL: https://codereview.appspot.com/5988069

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1024 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-04-11 16:23:44 +00:00
apatrick@chromium.org 22eab922e7 Allowed translator_hlsl and glsl to be built as shared libs on windows.
The problem was gyp was out-of-date (I rolled it to 1080) and ShaderLang.cpp exports were not being exported because it was in translator_common which is a static lib.

I tested shared library and static library builds in debug and release and also the checked in ANGLE.sln build.
See original attempt: http://codereview.appspot.com/5305052/.
Review URL: http://codereview.appspot.com/5305053

git-svn-id: https://angleproject.googlecode.com/svn/trunk@801 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-10-21 01:16:42 +00:00
alokp@chromium.org 3a053f261e Removed actions for generating parser-lexer now that they have been checked in. Also removed hooks to pull cygwin - it was only required for flex and bison that are not required anymore. If a developer needs to modify grammar files, he is expected to install cygwin.
Review URL: http://codereview.appspot.com/3177042

git-svn-id: https://angleproject.googlecode.com/svn/trunk@485 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-11-17 21:39:54 +00:00
alokp@chromium.org 29d56fbb60 Added GYP build files. GYP files are needed for integration with chromium and cross-platform build for glsl translator. It would really be nice if we did not have to maintain two build systems. For now I have only moved the GLSL translator to gyp build system. Please note that the gyp files awkwardly have build_ prefix so they do not conflict with the manually-maintained sln files.
Review URL: http://codereview.appspot.com/885043

git-svn-id: https://angleproject.googlecode.com/svn/trunk@98 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-06 15:42:22 +00:00