Minmin Gong
794e0009ef
Fix and enable warning C4244 (Conversion from 'type1' to 'type2', possible loss of data)
...
Change-Id: Id0e06d7d6600344d858f00dabc219d79289bbc82
Reviewed-on: https://chromium-review.googlesource.com/265020
Tested-by: Minmin Gong <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
2015-04-09 20:13:48 +00:00
Jamie Madill
b3584fb490
Revert "Fix and enable warning C4244 (Conversion from 'type1' to 'type2', possible loss of data)"
...
Causing a build failure on Mac/Clang:
./Tokenizer.cpp:551:7: error: extra tokens at end of #else directive [-Werror,-Wextra-tokens]
#else if defined(_MSC_VER)
http://build.chromium.org/p/chromium.gpu.fyi/builders/GPU%20Mac%20Builder/builds/29136
This reverts commit 3b26e231d9 .
Change-Id: I2d11ddcc18130d908fd2ec3d6f5ab890cfccd5e7
Reviewed-on: https://chromium-review.googlesource.com/264983
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2015-04-09 17:35:08 +00:00
Minmin Gong
3b26e231d9
Fix and enable warning C4244 (Conversion from 'type1' to 'type2', possible loss of data)
...
Change-Id: I73d9a2b9ad16f032be974b9c819de0dc1247c2ea
Reviewed-on: https://chromium-review.googlesource.com/264533
Reviewed-by: Geoff Lang <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2015-04-09 14:05:37 +00:00
Jamie Madill
b4fd0c96d2
Replace usages of std::vector::data in most cases.
...
In some parts of ANGLE code, we were using std::vector::data to get
a pointer to the first element. Sadly, this is c++11 only, which
isn't currently supported on Chromium. This was causing a breakage
on Android. We should probably refrain from using data except on
D3D-only code, which we know will be Visual Studio.
BUG=angle:767
Change-Id: Ibc10577368435a13f62d74d77c95076482cd8f82
Reviewed-on: https://chromium-review.googlesource.com/220920
Tested-by: Jamie Madill <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
2014-10-01 21:43:30 +00:00
Jamie Madill
5704d6e886
Add some shared utility methods to the utils project.
...
BUG=angle:730
Change-Id: I268c7f76ee9a14ab82f646ae8ebf4eed100bf86d
Reviewed-on: https://chromium-review.googlesource.com/213509
Reviewed-by: Brandon Jones <[email protected] >
Tested-by: Jamie Madill <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
2014-08-27 17:36:58 +00:00