Jamie Madill
ce232678da
Add a perf test for eglInitialize.
...
Also shutdown performance, since it's not easy to only test one.
BUG=angleproject:1014
Change-Id: I9d06426788ed336031271f8876589b111f1294b7
Reviewed-on: https://chromium-review.googlesource.com/273974
Tested-by: Jamie Madill <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
Reviewed-by: Brandon Jones <[email protected] >
2015-05-29 17:54:00 +00:00
Corentin Wallez
91c2fadfe6
Fix more warnings in samples and tests
...
These warnings are currently disabled because these files are not with
angle_code set to 1 in the gyp files to avoid gtest's code warnings.
We hope to either fix warnings in gtest or change our build system to
not use warnings for gtest.
BUG=angleproject:1003
Change-Id: I281781b77f92ef8c394dd53fbbd50d525e4da5c9
Reviewed-on: https://chromium-review.googlesource.com/271412
Reviewed-by: Jamie Madill <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
Tested-by: Corentin Wallez <[email protected] >
2015-05-19 14:38:33 +00:00
Corentin Wallez
1f67547bb3
EGLWindow: remove redundant EGL_NONE to finish attrib list.
...
Only one EGL_NONE is needed to signal the end of the list.
BUG=angleproject:892
Change-Id: I7de349bef9d674344ccd1b2c4801d8b42c801299
Reviewed-on: https://chromium-review.googlesource.com/271157
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Corentin Wallez <[email protected] >
2015-05-14 17:05:16 +00:00
Corentin Wallez
12fe4dc8ce
Fix pointer to int conversion warning in EGLWindow.cpp
...
BUG=angleproject:892
Change-Id: Ic40f29c811d18efea0e081c269ca43d0170488a4
Reviewed-on: https://chromium-review.googlesource.com/269122
Reviewed-by: Jamie Madill <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
Tested-by: Corentin Wallez <[email protected] >
Reviewed-on: https://chromium-review.googlesource.com/270125
2015-05-11 14:59:38 +00:00
Corentin Wallez
bf9e40509a
EGLWindow: specify the device type only on d3d platform
...
BUG=angleproject:892
Change-Id: I0406e26910f5a012ccb9e533af18e831522161b1
Reviewed-on: https://chromium-review.googlesource.com/269666
Reviewed-by: Jamie Madill <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
Tested-by: Corentin Wallez <[email protected] >
Reviewed-on: https://chromium-review.googlesource.com/269827
2015-05-07 17:49:55 +00:00
Jamie Madill
4ea209f129
Revert "EGLWindow: specify the device type only on d3d platform"
...
Causing failures in EGLSurfaceTest.MakeCurrentTwice on Windows
BUG=angleproject:892
This reverts commit 118e7195fd .
Change-Id: Ifbb17d1c9bc0390abadbfb8f78cf14dbf1bb8e83
Reviewed-on: https://chromium-review.googlesource.com/269950
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2015-05-07 15:32:38 +00:00
Corentin Wallez
118e7195fd
EGLWindow: specify the device type only on d3d platform
...
BUG=angleproject:892
Change-Id: I2dda3a8d15e58d15a401258a5a64c5783ea1a132
Reviewed-on: https://chromium-review.googlesource.com/269666
Reviewed-by: Jamie Madill <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
Tested-by: Corentin Wallez <[email protected] >
2015-05-07 15:01:35 +00:00
Corentin Wallez
fe2f3d634d
Add a basic support for Linux for utils/
...
* Timer and path utils are done.
* Window only implements initialize and setVisible
BUG=angleproject:892
Change-Id: I3f49b68ef9ec5be324b25e211199bac2953ae11e
Reviewed-on: https://chromium-review.googlesource.com/269520
Reviewed-by: Geoff Lang <[email protected] >
Tested-by: Corentin Wallez <[email protected] >
2015-05-07 15:01:04 +00:00
Jamie Madill
c07c43e43f
Revert "Fix pointer to int conversion warning in EGLWindow.cpp"
...
Causes a compile error.
BUG=angleproject:892
This reverts commit d424da4a4c .
Change-Id: Ieb8bb99d02f7050306974db5dab72d26474891ac
Reviewed-on: https://chromium-review.googlesource.com/268996
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2015-05-04 18:20:48 +00:00
Corentin Wallez
72196b74f0
Add missing trailing newline before EGLWindow.cpp EOF
...
BUG=angleproject:892
Change-Id: Iaf175a310ce2acb5a8715902b3d367aa3dae8e2c
Reviewed-on: https://chromium-review.googlesource.com/269124
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Corentin Wallez <[email protected] >
2015-05-04 18:09:53 +00:00
Corentin Wallez
75af569cc1
Add missing include in EGLWindow.cpp
...
BUG=angleproject:892
Change-Id: I23cfbd9cfbe7d41e048a2b2a4eea048f5de72d12
Reviewed-on: https://chromium-review.googlesource.com/269123
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Corentin Wallez <[email protected] >
2015-05-04 18:09:42 +00:00
Corentin Wallez
d424da4a4c
Fix pointer to int conversion warning in EGLWindow.cpp
...
BUG=angleproject:892
Change-Id: If6f0eb13bca10f9328faeaab35665a67e7ef6e44
Reviewed-on: https://chromium-review.googlesource.com/269122
Reviewed-by: Jamie Madill <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
Tested-by: Corentin Wallez <[email protected] >
2015-05-04 18:09:16 +00:00
Jamie Madill
77a72f6ecf
Release Surface when calling makeCurrent with null.
...
Refactorings to egl::Surface to enable ref-counting were causing
a situation where we could have two Window surfaces alive at the
same time. This would confuse the window procedure logic in
SurfaceD3D. Releasing the surface fixes this issue and conforms
closely to the wording on the spec on when Surfaces should be
deleted. Also add a test for message loops and surfaces.
BUG=475085
BUG=angleproject:963
Change-Id: Icdee3a7db97c9b54d779dabf1e1f82a89fefc546
Reviewed-on: https://chromium-review.googlesource.com/265064
Reviewed-by: Kenneth Russell <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2015-04-14 20:45:57 +00:00
Geoff Lang
7825f6199c
Update ANGLE_platform_angle_d3d to use a device type enum instead of WARP bool.
...
BUG=angle:490
Change-Id: I1555e7f09b23138753e52ddf720d088587f7cadb
Reviewed-on: https://chromium-review.googlesource.com/232104
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2015-02-23 18:10:47 +00:00
Geoff Lang
15dc05fc49
Only request PostSubBuffer support when the extension is available.
...
BUG=angle:658
Change-Id: I6828290ef89c57e8c794f0fca6e5991c492b67aa
Reviewed-on: https://chromium-review.googlesource.com/242572
Reviewed-by: Geoff Lang <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2015-02-09 15:05:29 +00:00
Geoff Lang
0d3683c425
Update ANGLE_platform_angle to allow requesting of Renderer versions.
...
Added enums to allow users to request major and minor versions of the
underlying API and if a WARP device is used.
BUG=angle:490
Change-Id: I0bfb2ac8d327da28a47cc8e6346300e47ab9538c
Reviewed-on: https://chromium-review.googlesource.com/225081
Reviewed-by: Shannon Woods <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2014-11-03 17:56:14 +00:00
Jamie Madill
4119ed3da1
Make OSWindow a non-static member of ANGLETest.
...
BUG=angle:611
Change-Id: I455e1dd0ad5582191621e316c4808a2d753e9aaa
Reviewed-on: https://chromium-review.googlesource.com/219867
Tested-by: Jamie Madill <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
2014-10-09 20:32:31 +00:00
Austin Kinross
18b931d5e0
Configure Google Tests to run against multiple renderers/GLES versions
...
BUG=angle:611
Change-Id: I7d43612171c439045038db9ae82fd8716c0b31c6
Reviewed-on: https://chromium-review.googlesource.com/220400
Reviewed-by: Geoff Lang <[email protected] >
Tested-by: Austin Kinross <[email protected] >
2014-09-30 21:51:38 +00:00
Jamie Madill
3757a5ae00
Allow app to specify EGL Window extra parameters.
...
Extra parameters include pixel bit sizes, swap interval
and if we want multisampling. This gives parity between
the tests and samples EGL creation options.
BUG=angle:730
Change-Id: I68d619c2ea141794f0089456bb6bba3d3b1c2a07
Reviewed-on: https://chromium-review.googlesource.com/213296
Reviewed-by: Brandon Jones <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2014-08-26 20:41:02 +00:00
Jamie Madill
586666ceaa
Make the sample app own the OS Window object.
...
This allows us to use OS Windows and EGL contexts differently
for different implementations - eg, tests and samples.
BUG=angle:730
Change-Id: I65e69fd829c3dbf2f1b406d90045bc296798ebb6
Reviewed-on: https://chromium-review.googlesource.com/213290
Reviewed-by: Brandon Jones <[email protected] >
Tested-by: Jamie Madill <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
2014-08-21 20:41:49 +00:00
Jamie Madill
1cfaaf8a3b
Add a util project to share between samples and tests.
...
This code shares the Window and EGL logic between the two
projects.
BUG=angle:730
Change-Id: I8940371226a8f7b02579c332f51679c4a5d0e2a5
Reviewed-on: https://chromium-review.googlesource.com/212799
Tested-by: Jamie Madill <[email protected] >
Reviewed-by: Brandon Jones <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
2014-08-21 20:41:09 +00:00