This allows us to delete the Windows batch file.
Changes the commit_id script to take the working directory so that it
can be called from a different working directory than the angle
repository is in.
Renames the generated commit header to angle_commit.h. This is being
written to the shared generated code directory for the entire build,
and "commit.h" is insufficiently unique.
BUG=angle:669
Change-Id: I35e80411a7e8ba1e02ce3f6a4fc54ed4dbc918f3
Reviewed-on: https://chromium-review.googlesource.com/202048
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Jamie Madill <[email protected]>
Since libGLESv2 and libEGL will eventually be cross platform, it will be
useful to have platform defines and TLS functions that work everywhere.
BUG=angle:664
Change-Id: Ia357925a0992d82e8b446d88d32a1984d319e6e8
Reviewed-on: https://chromium-review.googlesource.com/202133
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Geoff Lang <[email protected]>
With this change, the common sources shared between translator
and translator_static are compiled in a static library. There
is only one file with exported functions which needs to be
compiled for each target. This should reduce ANGLE and chromium
build times.
BUG=angle:569
Change-Id: I3ce011872323ec988befbd6db731add4fce5787b
Reviewed-on: https://chromium-review.googlesource.com/197271
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Jamie Madill <[email protected]>
These macros were causing conflicts when chrome redefines them and since
we don't rely on any specific windows versions, we can remove them.
BUG=angle:568
Change-Id: Ie6bf31d03cea07bf2a71ffa6d815dad2b4d204f8
Reviewed-on: https://chromium-review.googlesource.com/195364
Reviewed-by: Shannon Woods <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Geoff Lang <[email protected]>
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]>
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]>
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]>
Output the enumerated files in sorted order when running enumerate_files.py
from gyp, to prevent unnecessary buildfile churn that makes comparing
revisions noisy.
Change-Id: Ic644053d0a1cc9c986ae47fbe983221d6a62b50b
Reviewed-on: https://chromium-review.googlesource.com/187690
Tested-by: Geoff Lang <[email protected]>
Reviewed-by: Shannon Woods <[email protected]>
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]>
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 <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
Tested-by: Jamie Madill <[email protected]>
This patch silences the copy message, fixes the public projects,
and makes the copy step a separate target, so it won't run on
every incremental build.
Change-Id: Ie6df39737ad466b6431865b3ca19f66d16437ba9
Reviewed-on: https://chromium-review.googlesource.com/178432
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
Tested-by: Geoff Lang <[email protected]>