Commit Graph
5 Commits
Author SHA1 Message Date
Geoff Lang 691e58cd84 Merge all gl::Texture* classes.
The validation for sampler completeness had a lot of duplicated code.
The special cases have been merged into the base class by checking mTarget.

BUG=angle:681

Change-Id: I11d94c1432f8fc70a1edaaf8228bbc43c3c8fff3
Reviewed-on: https://chromium-review.googlesource.com/236932
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2015-01-14 21:14:19 +00:00
Geoff Lang 2b5420c07f Merge libGLESv2 and libEGL classes into libANGLE.
BUG=angle:733

Change-Id: Ic491c971411fe82c56cd97c5c8325ac14ec218df
Reviewed-on: https://chromium-review.googlesource.com/230830
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-11-21 19:46:02 +00:00
Kenneth Russell e0a2d1c5a8 Add needed static_casts to GLenum for compilation on Linux.
BUG=angleproject:773

Change-Id: I8b01a1f187456eb8997fc7a620b5ecdffb872c19
Reviewed-on: https://chromium-review.googlesource.com/221810
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shannon Woods <[email protected]>
Tested-by: Kenneth Russell <[email protected]>
2014-10-07 17:48:59 +00:00
Jamie Madill 1ea5350919 Fix image index iterator unit test.
This test was checking out-of-bounds. The bug only showed up in
Linux.

BUG=angle:741

Change-Id: I4cb45fc00dbb0bf9713f735a20fb6fd04bc95140
Reviewed-on: https://chromium-review.googlesource.com/221057
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
2014-10-06 19:56:02 +00:00
Jamie Madill ef4ac5b1df Add ImageIndexIterator.
We can use image index iterators to iterate over all images in a
Texture. This allows us to do some operations in TextureD3D rather
than in the typed subclasses and save on some repeated code.

BUG=angle:729

Change-Id: I3ba47b2eebad2cfca313117fd501ff76d5107044
Reviewed-on: https://chromium-review.googlesource.com/219834
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Brandon Jones <[email protected]>
2014-09-29 21:04:59 +00:00