Commit Graph
6 Commits
Author SHA1 Message Date
Jamie Madill 5ac124b17c Fix a bug in MaxTextureSizeTest.RenderToTexture.
This bug only presented itself in our D3D9 Renderer. In D3D11 we
would stretch the texture to fit -- this is behaviour correct in
ES3 but not in the ANGLE spec draft.

BUG=angle:769

Change-Id: Iddb8551c9645aa6f0841e2dc9d96fbd196bc6788
Reviewed-on: https://chromium-review.googlesource.com/221061
Reviewed-by: Brandon Jones <[email protected]>
Tested-by: Jamie Madill <[email protected]>
2014-10-02 18:23:27 +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
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 5599c8f6ff Use shared compile helpers in the ANGLE tests.
BUG=angle:730

Change-Id: Ib3bd646c73355449105e6cf79bdcf0a14b391fd2
Reviewed-on: https://chromium-review.googlesource.com/213550
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2014-08-27 17:37:07 +00:00
Jamie Madill b759a74873 Fix test class names to reflect their class-ness.
Style guide dictates a camel case scheme for classes. Since the tests
are actually classes, update their names to reflect that.

Change-Id: Ib7422b6d8c5de8414765439704fc103eae8b2d63
Reviewed-on: https://chromium-review.googlesource.com/208680
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Zhenyao Mo <[email protected]>
2014-07-17 20:32:47 +00:00
Geoff Lang 2e475a5ab8 Added tests for maximum texture size.
Change-Id: I3bce6ce2a04a3347933bfe515bcaa9b5eaebf255
Reviewed-on: https://chromium-review.googlesource.com/179356
Reviewed-by: Nicolas Capens <[email protected]>
Commit-Queue: Nicolas Capens <[email protected]>
Tested-by: Nicolas Capens <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2013-12-11 22:03:48 +00:00