platform/upstream/VK-GL-CTS.git
9 years agoMerge "Improve texture border color handling."
Jarkko Pöyry [Fri, 24 Apr 2015 23:12:49 +0000 (23:12 +0000)]
Merge "Improve texture border color handling."

9 years agoMerge "Avoid handling combined depth-stencil textures as color data."
Jarkko Pöyry [Fri, 24 Apr 2015 23:12:37 +0000 (23:12 +0000)]
Merge "Avoid handling combined depth-stencil textures as color data."

9 years agoImprove texture border color handling.
Jarkko Pöyry [Tue, 31 Mar 2015 03:28:07 +0000 (20:28 -0700)]
Improve texture border color handling.

- Apply border color only to active channels.
- Clamp border color to format range as specified in GL.
- Support int and uint border colors.
- Convert border color of sRGB formats to linear.
- Support border color in texture compare verifier.

Change-Id: Id191c605e61aa513a1aa65c3009dabda72c81163

9 years agoAvoid handling combined depth-stencil textures as color data.
Jarkko Pöyry [Thu, 23 Apr 2015 02:31:34 +0000 (19:31 -0700)]
Avoid handling combined depth-stencil textures as color data.

Change-Id: I151b443e25329b7903870a08a558f1a38e58abe7

9 years agoMerge "Use sched_getaffinity for both linux and android."
Mika Isojärvi [Fri, 24 Apr 2015 22:58:22 +0000 (22:58 +0000)]
Merge "Use sched_getaffinity for both linux and android."

9 years agoMerge "Move getEffectiveTextureView() to tcuTextureUtil."
Jarkko Pöyry [Fri, 24 Apr 2015 22:47:47 +0000 (22:47 +0000)]
Merge "Move getEffectiveTextureView() to tcuTextureUtil."

9 years agoMerge "Add support for depth-stencil-mode to Sampler."
Jarkko Pöyry [Fri, 24 Apr 2015 22:47:30 +0000 (22:47 +0000)]
Merge "Add support for depth-stencil-mode to Sampler."

9 years agoMerge "Handle stencil textures as one-channel int textures."
Jarkko Pöyry [Fri, 24 Apr 2015 22:07:52 +0000 (22:07 +0000)]
Merge "Handle stencil textures as one-channel int textures."

9 years agoMerge "Simplify sglr depth-stencil related code by using tcu and rr utilities."
Jarkko Pöyry [Fri, 24 Apr 2015 22:07:38 +0000 (22:07 +0000)]
Merge "Simplify sglr depth-stencil related code by using tcu and rr utilities."

9 years agoMerge "Add getDefaultGatherOffsets() to texture utils."
Jarkko Pöyry [Fri, 24 Apr 2015 22:04:33 +0000 (22:04 +0000)]
Merge "Add getDefaultGatherOffsets() to texture utils."

9 years agoUse sched_getaffinity for both linux and android.
Mika Isojärvi [Sat, 11 Apr 2015 01:14:14 +0000 (18:14 -0700)]
Use sched_getaffinity for both linux and android.

Use sched_getaffinity to get number of available cores.

Change-Id: I501c81a01a22a4ef3363370f40d35c3320164a0f

9 years agoMerge "Update GLES3 HW issues list."
Jarkko Pöyry [Fri, 24 Apr 2015 21:46:27 +0000 (21:46 +0000)]
Merge "Update GLES3 HW issues list."

9 years agoUpdate ES2 & EGL mustpass lists based on latest feedback
Pyry Haulos [Fri, 24 Apr 2015 17:58:49 +0000 (10:58 -0700)]
Update ES2 & EGL mustpass lists based on latest feedback

Change-Id: I7e0996bb3cbcf1c4f036219d5e346cc293959316

9 years agoHandle stencil textures as one-channel int textures.
Jarkko Pöyry [Wed, 1 Apr 2015 19:30:42 +0000 (12:30 -0700)]
Handle stencil textures as one-channel int textures.

- Make sampling from stencil texture return stencil value in R channel.
  This makes stencil textures behave as in GL.
- Fix tests assuming component w is always stencil.

Change-Id: Ibc12949435330e0ac52a469b2fe8f3eab57d9e67

9 years agoMove getEffectiveTextureView() to tcuTextureUtil.
Jarkko Pöyry [Fri, 24 Apr 2015 01:18:30 +0000 (18:18 -0700)]
Move getEffectiveTextureView() to tcuTextureUtil.

Change-Id: Ia3a1ff2da118c99b2c83d4ccf77eb325d03a85ca

9 years agoAdd support for depth-stencil-mode to Sampler.
Jarkko Pöyry [Thu, 23 Apr 2015 03:01:38 +0000 (20:01 -0700)]
Add support for depth-stencil-mode to Sampler.

- Add depth-stencil-texture-mode to sampler.
- Support depth-stencil mode in glsTextureTestUtil.

Change-Id: Iedf9db561fea595309638a491e0024f9ca7d51ab

9 years agoAdd getDefaultGatherOffsets() to texture utils.
Jarkko Pöyry [Thu, 23 Apr 2015 23:02:39 +0000 (16:02 -0700)]
Add getDefaultGatherOffsets() to texture utils.

Change-Id: Idffc3f4a6b03c227d16d28125a7c8551ad1ad335

9 years agoSimplify sglr depth-stencil related code by using tcu and rr utilities.
Jarkko Pöyry [Tue, 21 Apr 2015 02:46:36 +0000 (19:46 -0700)]
Simplify sglr depth-stencil related code by using tcu and rr utilities.

Change-Id: Id1996c65e3f58729cf3aa54da8653e249baa704e

9 years agoAdd N-bit min/max/mask utilities to deInt32.h.
Jarkko Pöyry [Tue, 21 Apr 2015 03:48:15 +0000 (20:48 -0700)]
Add N-bit min/max/mask utilities to deInt32.h.

- Add internal tests.
- Enable int32, stl_util and command line self tests.

Change-Id: I8546c6fa8e629da7c0a068eeffc88614f7ad1b4e

9 years agoMerge "Fix valgrind warnings."
Jarkko Pöyry [Thu, 23 Apr 2015 20:13:36 +0000 (20:13 +0000)]
Merge "Fix valgrind warnings."

9 years agoFix dethread build on OS X
Pyry Haulos [Thu, 23 Apr 2015 18:34:58 +0000 (11:34 -0700)]
Fix dethread build on OS X

On Darwin systems _SC_NPROCESSORS_CONF and _ONLN depend on
_DARWIN_C_FULL which is very cubersome to enable.

Change-Id: Ic78e861d9a46fd633e896461bf47901b7abf710f

9 years agoFix valgrind warnings.
Jarkko Pöyry [Thu, 23 Apr 2015 04:20:30 +0000 (21:20 -0700)]
Fix valgrind warnings.

Change-Id: I457ad875af65a62cd7d836de4b07b4f272982338

9 years agoMerge "Implement tcu::clear{Depth|Stencil} using tcu::clear."
Jarkko Pöyry [Wed, 22 Apr 2015 02:01:30 +0000 (02:01 +0000)]
Merge "Implement tcu::clear{Depth|Stencil} using tcu::clear."

9 years agoUpdate GLES3 HW issues list.
Jarkko Pöyry [Tue, 21 Apr 2015 21:08:09 +0000 (14:08 -0700)]
Update GLES3 HW issues list.

Bug: 20453463
Change-Id: Ifba442b32451e2bcc1c89a79e034325e8d3e7eb5

9 years agoAdd UNSIGNED_INT24 channel format.
Jarkko Pöyry [Mon, 20 Apr 2015 20:35:51 +0000 (13:35 -0700)]
Add UNSIGNED_INT24 channel format.

- Add UINT24 format to tcuTexture.
- Use UINT24 format instead of a combined format in depth-stencil clear
  tests.

Change-Id: Ib1ec54edd0c6ed114130fcfc63436298c4bb70c3

9 years agoMerge "Remove getDataSize and setPixels from PixelBufferAccess."
Jarkko Pöyry [Tue, 21 Apr 2015 20:50:15 +0000 (20:50 +0000)]
Merge "Remove getDataSize and setPixels from PixelBufferAccess."

9 years agoImplement tcu::clear{Depth|Stencil} using tcu::clear.
Jarkko Pöyry [Tue, 21 Apr 2015 02:05:26 +0000 (19:05 -0700)]
Implement tcu::clear{Depth|Stencil} using tcu::clear.

- Remove duplicated code in clear*.
- Add fillRow() sanity checks.

Change-Id: I81dc8be98c38691ad95fc0cfc659d6a75a24fde8

9 years agoRemove getDataSize and setPixels from PixelBufferAccess.
Jarkko Pöyry [Mon, 20 Apr 2015 22:13:56 +0000 (15:13 -0700)]
Remove getDataSize and setPixels from PixelBufferAccess.

- Remove functions that were not safe to use with non-tightly packed
  pixel buffer accesses.

Change-Id: I32b83b089da40ccd052f9d7250498a9c4aa4036f

9 years agoAdd utilities to split combined-depth-stencil accesses.
Jarkko Pöyry [Tue, 21 Apr 2015 00:32:49 +0000 (17:32 -0700)]
Add utilities to split combined-depth-stencil accesses.

Change-Id: I2fed3761217fd55d0273e01a951867804a15a5b9

9 years agoMerge "Avoid accessing border color directly in tcuTexture."
Jarkko Pöyry [Tue, 21 Apr 2015 19:54:15 +0000 (19:54 +0000)]
Merge "Avoid accessing border color directly in tcuTexture."

9 years agoAvoid accessing pixel depth directly in tcuTexCompareVerifier.
Jarkko Pöyry [Tue, 21 Apr 2015 01:50:49 +0000 (18:50 -0700)]
Avoid accessing pixel depth directly in tcuTexCompareVerifier.

- Avoid accessing depth directly to make structure idential to
  tcuTexLookupVerifier and to make refactoring easier.
- Add sanity checks to isGatherOffsetsCompareResultValid().

Change-Id: I3afc3015edc775c1baf13eea94a781bc6f6e4829

9 years agoMerge "Support not tightly packed pixel buffer accesses in tcuTextureUtil."
Jarkko Pöyry [Tue, 21 Apr 2015 00:44:44 +0000 (00:44 +0000)]
Merge "Support not tightly packed pixel buffer accesses in tcuTextureUtil."

9 years agoAvoid accessing border color directly in tcuTexture.
Jarkko Pöyry [Fri, 17 Apr 2015 22:21:36 +0000 (15:21 -0700)]
Avoid accessing border color directly in tcuTexture.

- Use lookupBorder to lookup border color.
- Fix assertion failure on 2d array texture gather with border
  clamp wrap mode.

Change-Id: If28dee16b743154c7ee0794d45da9d12bccc4fd1

9 years agoSupport not tightly packed pixel buffer accesses in tcuTextureUtil.
Jarkko Pöyry [Wed, 1 Apr 2015 22:42:35 +0000 (15:42 -0700)]
Support not tightly packed pixel buffer accesses in tcuTextureUtil.

- Fix assumptions that pixel size == pixel stride.
- Remove copyRawPixels. It was only useful for format reinterpreting
  data copies but there was not code using it for that.

Change-Id: I2743c5f197d7cf2bc4ef76e3ebe8b9dd6577c28e

9 years agoMerge "Allow both errors in getFramebufferAttachmentParameter tests."
Mika Isojärvi [Mon, 20 Apr 2015 23:55:36 +0000 (23:55 +0000)]
Merge "Allow both errors in getFramebufferAttachmentParameter tests."

9 years agoMerge "Add getTextureFormatChannelMask."
Jarkko Pöyry [Mon, 20 Apr 2015 23:55:30 +0000 (23:55 +0000)]
Merge "Add getTextureFormatChannelMask."

9 years agoMerge "Skip complex compare verification if reference and result are identical."
Jarkko Pöyry [Mon, 20 Apr 2015 23:55:28 +0000 (23:55 +0000)]
Merge "Skip complex compare verification if reference and result are identical."

9 years agoMerge "Improve logging of texture border color."
Jarkko Pöyry [Mon, 20 Apr 2015 23:55:25 +0000 (23:55 +0000)]
Merge "Improve logging of texture border color."

9 years agoAllow both errors in getFramebufferAttachmentParameter tests.
Mika Isojärvi [Mon, 20 Apr 2015 21:09:54 +0000 (14:09 -0700)]
Allow both errors in getFramebufferAttachmentParameter tests.

Allow both GL_INVALID_ENUM and GL_INVALID_OPERATION in
getFramebufferAttachmentParameteriv negative tests.

Bug: 20340817
Change-Id: I8393d0d7af2e60b1666352da8f33504e21be677b

9 years agoAllow INVALID_OPERATION in glTexImage3D negative tests.
Mika Isojärvi [Mon, 20 Apr 2015 21:19:12 +0000 (14:19 -0700)]
Allow INVALID_OPERATION in glTexImage3D negative tests.

Allow both INVALID_OPERATION and INVALID_VALUE if internalformat is
not valid.

Bug: 20340818
Change-Id: Ie81f781f65d4d8d9996625d6824b0051a0a8a4b2

9 years agoUpdate libpng reference to 1.6.17
Pyry Haulos [Fri, 17 Apr 2015 22:57:51 +0000 (15:57 -0700)]
Update libpng reference to 1.6.17

Change-Id: Idef27a35ca598c1df95f1c38392aa0450322392a

9 years agoMerge "Clean up texture sampling and verification code."
Jarkko Pöyry [Fri, 17 Apr 2015 21:20:54 +0000 (21:20 +0000)]
Merge "Clean up texture sampling and verification code."

9 years agoMerge "Support getting transfer format for BGRA textures."
Jarkko Pöyry [Fri, 17 Apr 2015 21:20:16 +0000 (21:20 +0000)]
Merge "Support getting transfer format for BGRA textures."

9 years agoMerge "Support uploading compressed 3D textures in gluTexture."
Jarkko Pöyry [Fri, 17 Apr 2015 21:19:17 +0000 (21:19 +0000)]
Merge "Support uploading compressed 3D textures in gluTexture."

9 years agoMerge "Avoid UB in getBits if numBits were 32."
Jarkko Pöyry [Fri, 17 Apr 2015 21:17:34 +0000 (21:17 +0000)]
Merge "Avoid UB in getBits if numBits were 32."

9 years agoMerge "Remove invalid robustness KHR_create_context tests."
Mika Isojärvi [Fri, 17 Apr 2015 20:42:22 +0000 (20:42 +0000)]
Merge "Remove invalid robustness KHR_create_context tests."

9 years agoRemove invalid robustness KHR_create_context tests.
Mika Isojärvi [Wed, 15 Apr 2015 22:52:06 +0000 (15:52 -0700)]
Remove invalid robustness KHR_create_context tests.

Remove tests that tried to create robust OpenGL ES context using
EGL_KHR_create_context instead of EGL_EXT_create_context_robustness.

Bug: 20256754
Change-Id: I18956521c3bf7ab6ef8ec0f5a8f66f9752355e81

9 years agoRemove tests affected by bug 20340818 from mustpass.
Jarkko Pöyry [Fri, 17 Apr 2015 20:23:27 +0000 (13:23 -0700)]
Remove tests affected by bug 20340818 from mustpass.

Bug: 20340818
Change-Id: I0ca925547d70f75d6a464a5269518eae941d2bf3

9 years agoRemove tests affected by bug 20340817 from mustpass.
Jarkko Pöyry [Fri, 17 Apr 2015 20:20:36 +0000 (13:20 -0700)]
Remove tests affected by bug 20340817 from mustpass.

Bug: 20340817
Change-Id: I969e12761ebdfd323c01dc93901899db9b9b9340

9 years agoMerge "Fix more valgrind warnings in negative API tests"
Pyry Haulos [Fri, 17 Apr 2015 20:13:56 +0000 (20:13 +0000)]
Merge "Fix more valgrind warnings in negative API tests"

9 years agoAdd default VAO vertexAttrbDivisor GLES3/GLES31 behavior change tests.
Jarkko Pöyry [Thu, 16 Apr 2015 22:49:10 +0000 (15:49 -0700)]
Add default VAO vertexAttrbDivisor GLES3/GLES31 behavior change tests.

- Add positive test for default VAO divisor in GLES3.
- Add negative test for default VAO divisor in GLES31.
- Use VAO in vertex_attrib_binding divisor state query tests.

Bug: 20154392
Change-Id: Iac43c4484bf7c5eff2409c964778e3dc304649f9

9 years agoMerge "Remove complex builtin function constant folding cases from mustpass"
Pyry Haulos [Fri, 17 Apr 2015 20:06:50 +0000 (20:06 +0000)]
Merge "Remove complex builtin function constant folding cases from mustpass"

9 years agoMerge "Fix EGL render tests on 5551."
Jarkko Pöyry [Fri, 17 Apr 2015 20:04:47 +0000 (20:04 +0000)]
Merge "Fix EGL render tests on 5551."

9 years agoMerge "Remove check that required NULL to be invalid native window."
Mika Isojärvi [Fri, 17 Apr 2015 18:53:56 +0000 (18:53 +0000)]
Merge "Remove check that required NULL to be invalid native window."

9 years agoMerge "Remove incompatible EGLImage modify glTexSubImage tests."
Mika Isojärvi [Fri, 17 Apr 2015 18:53:32 +0000 (18:53 +0000)]
Merge "Remove incompatible EGLImage modify glTexSubImage tests."

9 years agoRemove incompatible EGLImage modify glTexSubImage tests.
Mika Isojärvi [Thu, 16 Apr 2015 22:53:09 +0000 (15:53 -0700)]
Remove incompatible EGLImage modify glTexSubImage tests.

Remove EGLImage tests that tried to modify EGLImage created in GL with
incompatible format using glTexSubImage.

Bug: 20177340
Change-Id: Ib9cf9e882e63dd233a7589fcce3005562f576186

9 years agoFix more valgrind warnings in negative API tests
Pyry Haulos [Fri, 17 Apr 2015 17:19:06 +0000 (10:19 -0700)]
Fix more valgrind warnings in negative API tests

Change-Id: Ic3ea9d41b45da5f904b970c74a230c94539f54b6

9 years agoMerge "Fix incorrect assumptions of native GraphicBuffer ctor/dtor/lifetime."
Jarkko Pöyry [Fri, 17 Apr 2015 17:59:04 +0000 (17:59 +0000)]
Merge "Fix incorrect assumptions of native GraphicBuffer ctor/dtor/lifetime."

9 years agoRemove complex builtin function constant folding cases from mustpass
Pyry Haulos [Fri, 17 Apr 2015 16:56:27 +0000 (09:56 -0700)]
Remove complex builtin function constant folding cases from mustpass

See Khronos bug 11600

Bug: 20334181
Change-Id: I60cc88bb354f62b2e4c02c711976d79165d5ea73

9 years agoRemove copy image tests using snorm from mustpass list.
Mika Isojärvi [Fri, 17 Apr 2015 17:04:03 +0000 (10:04 -0700)]
Remove copy image tests using snorm from mustpass list.

Bug: 20302019
Change-Id: I5f4fed07fca207a3ea4d6ae4b727758265dd4578

9 years agoRemove check that required NULL to be invalid native window.
Mika Isojärvi [Wed, 15 Apr 2015 23:33:22 +0000 (16:33 -0700)]
Remove check that required NULL to be invalid native window.

Remove check from negative EGL API tests that required that native window NULL
should produce EGL_BAD_NATIVE_WINDOW error.

Bug: 20176899
Change-Id: Ibe5d203121f4bb1f0fc6b0516575998aacadd671

9 years agoMerge "Add more negative GLSL ES 3 uniform block tests."
Mika Isojärvi [Fri, 17 Apr 2015 16:49:33 +0000 (16:49 +0000)]
Merge "Add more negative GLSL ES 3 uniform block tests."

9 years agoFix EGL render tests on 5551.
Jarkko Pöyry [Wed, 15 Apr 2015 01:25:53 +0000 (18:25 -0700)]
Fix EGL render tests on 5551.

- Disable dithering since one-bit alpha dithering cannot be verified.
- Avoid generating narrow triangles.

Bug: 20176678
Change-Id: Ib3372011bda3a99dae51698215e13b881926929b

9 years agoImprove logging of texture border color.
Jarkko Pöyry [Mon, 13 Apr 2015 22:08:05 +0000 (15:08 -0700)]
Improve logging of texture border color.

Change-Id: I143e4e650eac20304320631eb0a00aa55b79dc87

9 years agoClean up texture sampling and verification code.
Jarkko Pöyry [Sat, 11 Apr 2015 01:50:39 +0000 (18:50 -0700)]
Clean up texture sampling and verification code.

- Remove unused function.
- Fix some source whitespace alignment issues.

Change-Id: If6fe06708af62421194b43bb7efa8a9e63a8684b

9 years agoSkip complex compare verification if reference and result are identical.
Jarkko Pöyry [Sat, 11 Apr 2015 00:00:22 +0000 (17:00 -0700)]
Skip complex compare verification if reference and result are identical.

Change-Id: I75ac3430812fd8fe9fda78bc09f9ef1aece1e61e

9 years agoAdd getTextureFormatChannelMask.
Jarkko Pöyry [Fri, 10 Apr 2015 01:31:44 +0000 (18:31 -0700)]
Add getTextureFormatChannelMask.

Change-Id: I282ff43e628c9400a572163baa0e90bde30d460a

9 years agoSupport getting transfer format for BGRA textures.
Jarkko Pöyry [Tue, 14 Apr 2015 22:31:49 +0000 (15:31 -0700)]
Support getting transfer format for BGRA textures.

Change-Id: I3de348f27d061c91f3c54384b8bccd868137ea0a

9 years agoMerge "Add GLES3.1 uniform block syntax tests."
Mika Isojärvi [Fri, 17 Apr 2015 00:42:26 +0000 (00:42 +0000)]
Merge "Add GLES3.1 uniform block syntax tests."

9 years agoAdd more negative GLSL ES 3 uniform block tests.
Mika Isojärvi [Fri, 17 Apr 2015 00:40:49 +0000 (17:40 -0700)]
Add more negative GLSL ES 3 uniform block tests.

Add new tests that test more invalid identifiers.

Change-Id: I138283623a98c980790e392b64d434dab33f51d4

9 years agoFix incorrect assumptions of native GraphicBuffer ctor/dtor/lifetime.
Jarkko Pöyry [Thu, 16 Apr 2015 20:35:48 +0000 (13:35 -0700)]
Fix incorrect assumptions of native GraphicBuffer ctor/dtor/lifetime.

- Do not expect C1 ctor to return this on x86 and ARM64.
- Use initCheck() to check if ctor failed.
- Use native object refcounting methods to handle object lifetime.

Bug: 20218384
Change-Id: Ia5f22c841291655df4970988bde1fe142c85bff5

9 years agoAdd GLES3.1 uniform block syntax tests.
Mika Isojärvi [Tue, 14 Apr 2015 22:16:06 +0000 (15:16 -0700)]
Add GLES3.1 uniform block syntax tests.

Bug: 18928701
Change-Id: I3a505ea3b1321ec2b3810853e930f918c5492f71

9 years agoMerge "Use per component unspecified flags to sort EGLConfigs."
Mika Isojärvi [Wed, 15 Apr 2015 19:19:29 +0000 (19:19 +0000)]
Merge "Use per component unspecified flags to sort EGLConfigs."

9 years agoUse per component unspecified flags to sort EGLConfigs.
Mika Isojärvi [Tue, 14 Apr 2015 21:26:21 +0000 (14:26 -0700)]
Use per component unspecified flags to sort EGLConfigs.

Check each color component if it's specified when sorting configs
in eglChooseConfig instead of just checking if all of the color
bits are specified.

Bug: 20178171
Change-Id: If23ab8c329a84797120add20715be5d8af4f5500

9 years agoMerge "Fix invalid negative native wait tests."
Mika Isojärvi [Wed, 15 Apr 2015 17:58:28 +0000 (17:58 +0000)]
Merge "Fix invalid negative native wait tests."

9 years agoMerge "Define DEQP_SUPPORT_GLES1 for CTS builds"
Pyry Haulos [Wed, 15 Apr 2015 17:48:17 +0000 (17:48 +0000)]
Merge "Define DEQP_SUPPORT_GLES1 for CTS builds"

9 years agoMerge "Check that API is supported by EGLConfig."
Mika Isojärvi [Wed, 15 Apr 2015 17:48:05 +0000 (17:48 +0000)]
Merge "Check that API is supported by EGLConfig."

9 years agoCheck that API is supported by EGLConfig.
Mika Isojärvi [Tue, 14 Apr 2015 18:52:21 +0000 (11:52 -0700)]
Check that API is supported by EGLConfig.

Check that current config supports API before creating context
in SingleRenderContextCase. Check that all APIs are supported
and throw internal error in MultiRenderContextCase.

Bug: 20178310
Change-Id: Idf81ee3ce89fbbd6cc2515c5a562d61970226f28

9 years agoFix invalid negative native wait tests.
Mika Isojärvi [Mon, 13 Apr 2015 21:39:04 +0000 (14:39 -0700)]
Fix invalid negative native wait tests.

eglNativeWait() will always succeed if current surface doesn't support
native rendering.

Bug: 20178024
Change-Id: I74eed3b4627da26408ee081ff0d5e908f58863c5

9 years agoDefine DEQP_SUPPORT_GLES1 for CTS builds
Pyry Haulos [Wed, 15 Apr 2015 16:36:28 +0000 (09:36 -0700)]
Define DEQP_SUPPORT_GLES1 for CTS builds

EGL tests provide better coverage if ES1 support is enabled.

Change-Id: Idc55c1093e73f631edb9978d7107a87bdff7fba2

9 years agoMerge "Fix non-matching varying invariance in GLES2 preprocessor test."
Jarkko Pöyry [Wed, 15 Apr 2015 00:22:09 +0000 (00:22 +0000)]
Merge "Fix non-matching varying invariance in GLES2 preprocessor test."

9 years agoMerge "Avoid querying name from framebuffer without attachment."
Mika Isojärvi [Tue, 14 Apr 2015 23:53:35 +0000 (23:53 +0000)]
Merge "Avoid querying name from framebuffer without attachment."

9 years agoFix non-matching varying invariance in GLES2 preprocessor test.
Jarkko Pöyry [Tue, 14 Apr 2015 23:12:38 +0000 (16:12 -0700)]
Fix non-matching varying invariance in GLES2 preprocessor test.

Bug: 20178200
Change-Id: I2066a9a798206a78af8400d6c4e17cc686e79c1b

9 years agoAdd --deqp-watchdog=enable to mustpass spec files
Pyry Haulos [Tue, 14 Apr 2015 23:06:19 +0000 (16:06 -0700)]
Add --deqp-watchdog=enable to mustpass spec files

Android CTS now uses deqp built-in watchdog for recovery. This CL
updates mustpass spec files accordingly.

Change-Id: I0359fb8bddff4010804fddea09c0413b235113a7

9 years agoSupport uploading compressed 3D textures in gluTexture.
Jarkko Pöyry [Tue, 14 Apr 2015 01:56:11 +0000 (18:56 -0700)]
Support uploading compressed 3D textures in gluTexture.

Change-Id: I0ef802ecb4b8066c540fdb8784e349062683e114

9 years agoAvoid UB in getBits if numBits were 32.
Jarkko Pöyry [Wed, 1 Apr 2015 23:06:54 +0000 (16:06 -0700)]
Avoid UB in getBits if numBits were 32.

Change-Id: I27659231c90c8240d0072a7bfa6df5248823e8fa

9 years agoRemove GL_KHR_blend_equation_advanced from rgb565 mustpass.
Mika Isojärvi [Tue, 14 Apr 2015 22:27:22 +0000 (15:27 -0700)]
Remove GL_KHR_blend_equation_advanced from rgb565 mustpass.

Bug: 19989766
Change-Id: I9c03bb32e83a404798191ad99ca85203fd75b6af

9 years agoMerge "Increase blend test comparison threshold."
Mika Isojärvi [Tue, 14 Apr 2015 21:30:47 +0000 (21:30 +0000)]
Merge "Increase blend test comparison threshold."

9 years agoMerge "Add initial EGL and ES2.0 mustpass lists"
Pyry Haulos [Tue, 14 Apr 2015 21:02:58 +0000 (21:02 +0000)]
Merge "Add initial EGL and ES2.0 mustpass lists"

9 years agoMerge "Rename mnc mustpass to master"
Pyry Haulos [Tue, 14 Apr 2015 21:02:46 +0000 (21:02 +0000)]
Merge "Rename mnc mustpass to master"

9 years agoAvoid querying name from framebuffer without attachment.
Mika Isojärvi [Tue, 14 Apr 2015 20:39:50 +0000 (13:39 -0700)]
Avoid querying name from framebuffer without attachment.

If querying attachment type returns none skip querying
name of the attachment.

Bug: 20178052
Change-Id: Id23b063292cadf25a61c1a07d77e07889c4ad600

9 years agoIncrease blend test comparison threshold.
Mika Isojärvi [Tue, 14 Apr 2015 20:26:23 +0000 (13:26 -0700)]
Increase blend test comparison threshold.

Bug: 20177230
Change-Id: I7a057410c718aa46a0a3dc6fbaac9540bd46f030

9 years agoMerge "Add EGL and GLES2 modules to CTS build"
Pyry Haulos [Tue, 14 Apr 2015 20:23:52 +0000 (20:23 +0000)]
Merge "Add EGL and GLES2 modules to CTS build"

9 years agoMerge "Remove executable permission from a source file"
Pyry Haulos [Tue, 14 Apr 2015 20:21:01 +0000 (20:21 +0000)]
Merge "Remove executable permission from a source file"

9 years agoMerge "Fix EGL multithread test bug."
Mika Isojärvi [Tue, 14 Apr 2015 18:40:44 +0000 (18:40 +0000)]
Merge "Fix EGL multithread test bug."

9 years agoRemove executable permission from a source file
Pyry Haulos [Tue, 14 Apr 2015 18:05:33 +0000 (11:05 -0700)]
Remove executable permission from a source file

Change-Id: I0696595b3fc2826634e4b6c6a54fdcd1f6da480d

9 years agoAdd EGL and GLES2 modules to CTS build
Pyry Haulos [Tue, 14 Apr 2015 18:05:09 +0000 (11:05 -0700)]
Add EGL and GLES2 modules to CTS build

Change-Id: I3079e47f3d8c91f66c6d9b072cc59ab21e8adf27

9 years agoAdd initial EGL and ES2.0 mustpass lists
Pyry Haulos [Tue, 14 Apr 2015 17:49:55 +0000 (10:49 -0700)]
Add initial EGL and ES2.0 mustpass lists

Change-Id: I43bf5bd41f49003acea0b70e62322b7835407a10

9 years agoRename mnc mustpass to master
Pyry Haulos [Tue, 14 Apr 2015 17:05:11 +0000 (10:05 -0700)]
Rename mnc mustpass to master

Change-Id: Ia165e88f371a506ca41227904e3e3f98b0b5bdee

9 years agoFix EGL multithread test bug.
Mika Isojärvi [Mon, 13 Apr 2015 22:26:45 +0000 (15:26 -0700)]
Fix EGL multithread test bug.

EGL multithread tests would end up in infinite loop when running tests with
single window if window was already acquired by other thread.

Bug: 20177226
Change-Id: Icad4cbd1d6c943e24767c93d2dac47c5fa5eaa28