Jamie Madill
f83cbc6531
Use std::random functions for test and samples RNG.
...
These standard functions are much more powerful than the C random()
routines. Use them to improve the random utils, and use a class
to clean things up further.
This fixes a problem I was having using random_utils where I was
having trouble generating random 32 bit unsigned integers.
BUG=angleproject:1290
Change-Id: I5081764053d0667a4e323553b7dea531256aa778
Reviewed-on: https://chromium-review.googlesource.com/323440
Reviewed-by: Corentin Wallez <[email protected] >
Tryjob-Request: Jamie Madill <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2016-01-26 19:37:18 +00:00
Corentin Wallez
200205840c
Small cleanup of MultiWindow
...
Fixes a glitch on OSX where the root window would swap twice, causing a
glitch.
Change-Id: I5886105fb18ed8f45e69cd10b5d1cac49b82093f
Reviewed-on: https://chromium-review.googlesource.com/320291
Tryjob-Request: Corentin Wallez <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
Tested-by: Corentin Wallez <[email protected] >
2016-01-08 15:41:56 +00:00
Jamie Madill
90c253a616
Add an instancing perf test.
...
BUG=526217
BUG=angleproject:1164
Change-Id: Ia353a3b2fa0ab0e8b7fd15d72bb63e5ecb7833b1
Reviewed-on: https://chromium-review.googlesource.com/301469
Reviewed-by: Geoff Lang <[email protected] >
Tryjob-Request: Jamie Madill <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2015-12-16 14:04:14 +00:00
Jamie Madill
ad60e8ee26
Move more sample_util sources to util.
...
These sample utils can also be useful for writing perf tests.
BUG=angleproject:1164
Change-Id: I44b5d63b57bfce7a541442fd02cd729a1bab17f0
Reviewed-on: https://chromium-review.googlesource.com/301468
Reviewed-by: Geoff Lang <[email protected] >
Reviewed-by: Corentin Wallez <[email protected] >
Tryjob-Request: Jamie Madill <[email protected] >
Tested-by: Jamie Madill <[email protected] >
2015-09-28 19:00:21 +00:00
Corentin Wallez
87bef77c16
Compile end2end tests on MacOS
...
This includes an implementation of OSX timer and path_utils.
BUG=angleproject:891
Change-Id: Id5440a8321bcfd4a61f3fe35b4a3fc0c651f564f
Reviewed-on: https://chromium-review.googlesource.com/278211
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Corentin Wallez <[email protected] >
2015-06-26 17:51:51 +00:00
Corentin Wallez
f0c1d0292d
Fix compilation errors and Mac and some try bots
...
BUG=angleproject:892
Change-Id: I9a449889109b7df9c69776573b0fc2098cd06199
Reviewed-on: https://chromium-review.googlesource.com/280565
Reviewed-by: Kenneth Russell <[email protected] >
Tested-by: Corentin Wallez <[email protected] >
2015-06-19 01:44:38 +00:00
Corentin Wallez
642488e5f3
Poll all windows in the multi window sample
...
On Linux all windows are polled separately contrary to windows in which
the callback is used on all windows.
BUG=angleproject:892
Change-Id: Ib1538f12ab2fa1864d29c91b9c5bfc2204cd1fa7
Reviewed-on: https://chromium-review.googlesource.com/272945
Reviewed-by: Geoff Lang <[email protected] >
Tested-by: Corentin Wallez <[email protected] >
2015-05-25 15:04:52 +00:00
Corentin Wallez
12a8e86685
Make all the samples compile under Linux
...
Two-thirds of them run and work well.
BUG=angleproject:892
Change-Id: I401a7ef4fd055eda7276bd34dcf0fc6ae0deff13
Reviewed-on: https://chromium-review.googlesource.com/270124
Reviewed-by: Jamie Madill <[email protected] >
Reviewed-by: Geoff Lang <[email protected] >
Reviewed-by: Corentin Wallez <[email protected] >
Tested-by: Corentin Wallez <[email protected] >
2015-05-11 14:51:09 +00:00
Geoff Lang
681ad9d1bb
Add a sample that uses multiple windows.
...
BUG=angleproject:521
Change-Id: I50858193518b4d07edcb2073caaa99ce37fcc4c3
Reviewed-on: https://chromium-review.googlesource.com/267000
Reviewed-by: Brandon Jones <[email protected] >
Reviewed-by: Jamie Madill <[email protected] >
Tested-by: Geoff Lang <[email protected] >
2015-04-27 14:00:48 +00:00