Expect width and height = 1, not default, for textures with no such dimension.
authorJarkko Pöyry <jpoyry@google.com>
Tue, 3 Mar 2015 20:54:18 +0000 (12:54 -0800)
committerJarkko Pöyry <jpoyry@google.com>
Tue, 3 Mar 2015 20:59:47 +0000 (12:59 -0800)
commit3e4878e925a4ce7bc2052494f904f0ca49d4f2c4
tree425f2cbebe1db599cd8cafed7e99c0dcc3ff3fb0
parent94146b344b12683cea9df2788a306e5b16944b40
Expect width and height = 1, not default, for textures with no such dimension.

- Expect DEPTH = 1 for 2D texures. This is consistent with the spec's
  definition of a 2D texel array. (Texture level represents a texel
  array.)
- Expect HEIGHT = 1 for 1D (buffer) textures for consistency.
- Fix texture buffer buffer leak.

Bug: 19578475
Change-Id: Ieea2ebc0f21746fe64c5b8c6668cf92921e7ea88
modules/gles31/functional/es31fTextureLevelStateQueryTests.cpp