platform/upstream/VK-GL-CTS.git
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 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 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 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

9 years agoFix random viewport calculation in lifetime tests.
Mika Isojärvi [Mon, 13 Apr 2015 20:54:16 +0000 (13:54 -0700)]
Fix random viewport calculation in lifetime tests.

Bug: 20177344
Change-Id: I9e0043642ad63257b663823c99a8ea01118138f7

9 years agoAdd de::SpinBarrier
Pyry Haulos [Thu, 9 Apr 2015 23:01:58 +0000 (16:01 -0700)]
Add de::SpinBarrier

SpinBarrier provides convenient cross-thread barriers.

Change-Id: I70eac2ed07b2c123d9709ecf5bbe284f35771204

9 years agoMerge "Add GLSL 3.00 ES uniform block tests."
Mika Isojärvi [Sat, 11 Apr 2015 01:13:09 +0000 (01:13 +0000)]
Merge "Add GLSL 3.00 ES uniform block tests."

9 years agoAdd GLSL 3.00 ES uniform block tests.
Mika Isojärvi [Mon, 23 Mar 2015 22:28:37 +0000 (15:28 -0700)]
Add GLSL 3.00 ES uniform block tests.

Add negative and positive tests for GLSL 3.00 ES uniform interface
block syntax.

Bug: 18928701
Change-Id: I471bf4d3c47c6c2d6f1d68bc4db9dc9809e3b262

9 years agoAdd CPU core count queries to deThread.h
Pyry Haulos [Thu, 9 Apr 2015 23:01:03 +0000 (16:01 -0700)]
Add CPU core count queries to deThread.h

Change-Id: I87f6af93204d63b0e31f499c1913497d73a58750

9 years agoMerge "Check EXT_sparse_texture in get_internalformativ tests."
Mika Isojärvi [Fri, 10 Apr 2015 18:09:28 +0000 (18:09 +0000)]
Merge "Check EXT_sparse_texture in get_internalformativ tests."

9 years agoCheck EXT_sparse_texture in get_internalformativ tests.
Mika Isojärvi [Mon, 6 Apr 2015 19:11:55 +0000 (12:11 -0700)]
Check EXT_sparse_texture in get_internalformativ tests.

Check extension GL_EXT_sparse_texture before assuming that
GL_TEXTURE_2D is invalid target.

Bug: 20005726
Change-Id: I200ddea79c42e1734cae6b4bea4f358bda863112

9 years agoAdd dePop64() and fix dePop32() to use unsigned input value
Pyry Haulos [Thu, 9 Apr 2015 22:59:20 +0000 (15:59 -0700)]
Add dePop64() and fix dePop32() to use unsigned input value

Change-Id: I4dc04dc4d948b5ddd329ba4765afc556a12e78ef

9 years agoMerge "Improve android install script."
Mika Isojärvi [Wed, 8 Apr 2015 16:33:09 +0000 (16:33 +0000)]
Merge "Improve android install script."

9 years agoImprove android install script.
Mika Isojärvi [Wed, 1 Apr 2015 00:10:19 +0000 (17:10 -0700)]
Improve android install script.

Use Argparse and fix few command line parsing bugs. Now -h prints nice
help message.

Add -s/--serial argument which is list of devices where package will be
installed.

Change-Id: Id88b8d9d4347c7afae0d98b017c24b92e9b78b9b

9 years agoFix negative glCompressedTexSubImage3D tests.
Mika Isojärvi [Tue, 7 Apr 2015 18:37:13 +0000 (11:37 -0700)]
Fix negative glCompressedTexSubImage3D tests.

Change tests to not trigger unrelevant error condition.

Bug: 20013546
Change-Id: Ie82367d58fc804bef6f449d8e0ebd8b41b667818

9 years agoFix unintialized memory issues reported by valgrind
Pyry Haulos [Tue, 7 Apr 2015 17:02:37 +0000 (10:02 -0700)]
Fix unintialized memory issues reported by valgrind

Change-Id: I2cdd303e0035d8e599fe5f4d9520f58c3058ccf4

9 years agoMerge changes If6b4b255,Iaf8879ff
Pyry Haulos [Tue, 7 Apr 2015 15:05:05 +0000 (15:05 +0000)]
Merge changes If6b4b255,Iaf8879ff

* changes:
  Terminate session execution if fatal error is caught.
  Close LogSection properly in fence_sync tests.

9 years agoTerminate session execution if fatal error is caught.
Jarkko Pöyry [Tue, 7 Apr 2015 03:39:33 +0000 (20:39 -0700)]
Terminate session execution if fatal error is caught.

Bug: 20095156
Change-Id: If6b4b255fda1e89710c7b5c695858306575fe95b

9 years agoClose LogSection properly in fence_sync tests.
Jarkko Pöyry [Tue, 7 Apr 2015 03:38:36 +0000 (20:38 -0700)]
Close LogSection properly in fence_sync tests.

Bug: 20095021
Change-Id: Iaf8879ff5a9c4c92efdc6f442d0878ca3a3202e3

9 years agoMerge "Fix crash in EGL render tests"
Pyry Haulos [Mon, 6 Apr 2015 23:38:34 +0000 (23:38 +0000)]
Merge "Fix crash in EGL render tests"

9 years agoFix crash in EGL render tests
Pyry Haulos [Mon, 6 Apr 2015 23:29:19 +0000 (16:29 -0700)]
Fix crash in EGL render tests

Caused by not calling MultiContextRenderCase::init() in derived class.

Change-Id: I5ffcaac82b43d9fe1120b4c7a6825a429e8fc274

9 years agoam c807fa97: (-s ours) am c0636411: am 0870de9a: DO NOT MERGE Do not require signed...
Pyry Haulos [Mon, 6 Apr 2015 23:28:55 +0000 (23:28 +0000)]
am c807fa97: (-s ours) am c0636411: am 0870de9a: DO NOT MERGE Do not require signed zero support in ldexp tests()

* commit 'c807fa977530a2fb6f84ca351f065d82c4684835':
  DO NOT MERGE Do not require signed zero support in ldexp tests()

9 years agoMerge "Avoid ambiguous clear colors in fragment_ops.interaction."
Jarkko Pöyry [Mon, 6 Apr 2015 23:21:14 +0000 (23:21 +0000)]
Merge "Avoid ambiguous clear colors in fragment_ops.interaction."

9 years agoMerge "Remove GLES3 interaction.basic_shader.20 from MNC mustpass."
Jarkko Pöyry [Mon, 6 Apr 2015 23:17:37 +0000 (23:17 +0000)]
Merge "Remove GLES3 interaction.basic_shader.20 from MNC mustpass."

9 years agoMerge "Fix uint-to-float conversion warning"
Pyry Haulos [Mon, 6 Apr 2015 23:17:31 +0000 (23:17 +0000)]
Merge "Fix uint-to-float conversion warning"

9 years agoMerge "Fix asset path in internal tests"
Pyry Haulos [Mon, 6 Apr 2015 23:17:16 +0000 (23:17 +0000)]
Merge "Fix asset path in internal tests"

9 years agoRemove GLES3 interaction.basic_shader.20 from MNC mustpass.
Jarkko Pöyry [Mon, 6 Apr 2015 23:09:01 +0000 (16:09 -0700)]
Remove GLES3 interaction.basic_shader.20 from MNC mustpass.

Bug: 20092191
Change-Id: Id25f14cb1418af264ae02e57ac578752ebcbf16e

9 years agoMerge "Only include info and functional tests in mustpass"
Pyry Haulos [Mon, 6 Apr 2015 23:05:13 +0000 (23:05 +0000)]
Merge "Only include info and functional tests in mustpass"

9 years agoOnly include info and functional tests in mustpass
Pyry Haulos [Mon, 6 Apr 2015 23:01:39 +0000 (16:01 -0700)]
Only include info and functional tests in mustpass

Change-Id: Ic5a07fd02c62b0cf83272b6ce90247c4a61ad8ec

9 years agoam c0636411: am 0870de9a: DO NOT MERGE Do not require signed zero support in ldexp...
Pyry Haulos [Mon, 6 Apr 2015 22:59:35 +0000 (22:59 +0000)]
am c0636411: am 0870de9a: DO NOT MERGE Do not require signed zero support in ldexp tests()

* commit 'c0636411136096f29c79a33165d95510dd539466':
  DO NOT MERGE Do not require signed zero support in ldexp tests()

9 years agoFix uint-to-float conversion warning
Pyry Haulos [Mon, 6 Apr 2015 22:37:20 +0000 (15:37 -0700)]
Fix uint-to-float conversion warning

Change-Id: I61d9a660059c8c46c209646a0e1d8b39ab3047bc

9 years agoFix asset path in internal tests
Pyry Haulos [Mon, 6 Apr 2015 22:35:22 +0000 (15:35 -0700)]
Fix asset path in internal tests

dit::TestPackage was still using ResourcePrefix archive wrapper, while
tests had been updated to use full paths. This broke image_io and
image_compare tests.

Change-Id: Ied8cca7914d18059ca13493554f19351426c7d5d

9 years agoam 0870de9a: DO NOT MERGE Do not require signed zero support in ldexp tests()
Pyry Haulos [Mon, 6 Apr 2015 22:31:23 +0000 (22:31 +0000)]
am 0870de9a: DO NOT MERGE Do not require signed zero support in ldexp tests()

* commit '0870de9a762ed6ccc62ffbacd2ab440c2ab457dd':
  DO NOT MERGE Do not require signed zero support in ldexp tests()

9 years agoMerge "Remove broken fragment op interaction shader from MNC mustpass."
Jarkko Pöyry [Mon, 6 Apr 2015 22:23:40 +0000 (22:23 +0000)]
Merge "Remove broken fragment op interaction shader from MNC mustpass."

9 years agoMerge "Render draw test reference lines with MSAA in MSAA configs."
Jarkko Pöyry [Mon, 6 Apr 2015 22:10:22 +0000 (22:10 +0000)]
Merge "Render draw test reference lines with MSAA in MSAA configs."

9 years agoMerge "Make EGL GLES2 multithread sharing tests more robust."
Mika Isojärvi [Mon, 6 Apr 2015 22:05:00 +0000 (22:05 +0000)]
Merge "Make EGL GLES2 multithread sharing tests more robust."

9 years agoRemove broken fragment op interaction shader from MNC mustpass.
Jarkko Pöyry [Mon, 6 Apr 2015 22:03:22 +0000 (15:03 -0700)]
Remove broken fragment op interaction shader from MNC mustpass.

Bug: 20089522
Change-Id: I34678c9940819ea0873100a9e45fb6110f62a3b3

9 years agoMake EGL GLES2 multithread sharing tests more robust.
Mika Isojärvi [Thu, 2 Apr 2015 21:56:03 +0000 (14:56 -0700)]
Make EGL GLES2 multithread sharing tests more robust.

- After timeout log warning before trying to get logs from threads that
  are still running.
- Use lock around per thread log.
- Make thread status checks more robust.

Change-Id: I6618befa47523bee5cba7ad295d36bf1b6fd7bc0

9 years agoAvoid ambiguous clear colors in fragment_ops.interaction.
Jarkko Pöyry [Mon, 6 Apr 2015 18:32:10 +0000 (11:32 -0700)]
Avoid ambiguous clear colors in fragment_ops.interaction.

Bug: 19990291
Change-Id: If8d67e0138d6df93ba7c5b0ed821ed538199f4d6

9 years agoMerge "Check for extensions in negative getinternalformat tests."
Mika Isojärvi [Mon, 6 Apr 2015 20:49:17 +0000 (20:49 +0000)]
Merge "Check for extensions in negative getinternalformat tests."

9 years agoCheck for extensions in negative getinternalformat tests.
Mika Isojärvi [Mon, 6 Apr 2015 18:28:52 +0000 (11:28 -0700)]
Check for extensions in negative getinternalformat tests.

Check if GL_EXT_render_snorm exists before asssuming that GL_RG8_SNORM
is not renderable.

Bug: 20005726
Change-Id: I5cb65de9e2e90dd7653a1edc5f20c41dd0559b6d

9 years agoFix teglChooseConfigReference when alpha is defined.
Mika Isojärvi [Mon, 6 Apr 2015 19:48:41 +0000 (12:48 -0700)]
Fix teglChooseConfigReference when alpha is defined.

Check if alpha is specified when checking if color bits are unspecfied.

Bug: 19821495
Change-Id: Id0a038b65fcb5c65c26cfda79ae5c45549dd8ebb

9 years agoRender draw test reference lines with MSAA in MSAA configs.
Jarkko Pöyry [Fri, 3 Apr 2015 23:31:04 +0000 (16:31 -0700)]
Render draw test reference lines with MSAA in MSAA configs.

Bug: 20011740
Change-Id: I1147e9b4a1943f2fb0d2f7b1a2ebb858d75d9376

9 years agoMerge "Increase threshold in layout_binding tests."
Jarkko Pöyry [Mon, 6 Apr 2015 17:11:21 +0000 (17:11 +0000)]
Merge "Increase threshold in layout_binding tests."

9 years agoMerge "Relax random fragment op thresholds on MSAA."
Jarkko Pöyry [Mon, 6 Apr 2015 17:10:48 +0000 (17:10 +0000)]
Merge "Relax random fragment op thresholds on MSAA."

9 years agoRemove reflect() tests from mustpass
Pyry Haulos [Mon, 6 Apr 2015 17:07:25 +0000 (10:07 -0700)]
Remove reflect() tests from mustpass

Bug: 19408572
Change-Id: I275a1ce63dff5becbb0e85e88b8badd13811cb17

9 years agoIncrease threshold in layout_binding tests.
Jarkko Pöyry [Fri, 3 Apr 2015 21:16:33 +0000 (14:16 -0700)]
Increase threshold in layout_binding tests.

Bug: 19990291
Change-Id: I3292bdd7077546adbdd88240362166d53905f804

9 years agoMerge "Add stub EGL support to null platform"
Pyry Haulos [Mon, 6 Apr 2015 17:01:55 +0000 (17:01 +0000)]
Merge "Add stub EGL support to null platform"

9 years agoMerge "Fix EGL tests that called EGL functions before init()"
Pyry Haulos [Mon, 6 Apr 2015 17:01:37 +0000 (17:01 +0000)]
Merge "Fix EGL tests that called EGL functions before init()"

9 years agoRelax random fragment op thresholds on MSAA.
Jarkko Pöyry [Sat, 4 Apr 2015 03:27:26 +0000 (20:27 -0700)]
Relax random fragment op thresholds on MSAA.

Bug: 20056303
Change-Id: Ie9b5c9d9865c7751b07908c6a0c72cfa12e9345c

9 years agoAdd dither.* to MNC mustpass pixel format tests.
Jarkko Pöyry [Fri, 3 Apr 2015 23:52:04 +0000 (16:52 -0700)]
Add dither.* to MNC mustpass pixel format tests.

Change-Id: I6a8cf1e44934bd17d27363bdb02d4e8cd5833e4f

9 years agoFix EGL tests that called EGL functions before init()
Pyry Haulos [Fri, 3 Apr 2015 22:36:22 +0000 (15:36 -0700)]
Fix EGL tests that called EGL functions before init()

 * GL function table must not be initialized in constructor as
initialization may call eglGetProcAddress().

 * deinit()s called from destructors should touch EGL functions only if
there are live EGL objects (display teardown).

Change-Id: Ibfdbc0ff2280c3339c7c473d51fef5c88dbcc9fd

9 years agoAdd stub EGL support to null platform
Pyry Haulos [Fri, 3 Apr 2015 22:46:20 +0000 (15:46 -0700)]
Add stub EGL support to null platform

This adds basic eglu::NativeDisplayFactory and eglu::NativeDisplay that
is enough to get --deqp-runmode=*-caselist working.

Change-Id: I1bca2690f648b884a5cfe3182d40e9c3680ca392

9 years agoMerge "Fix scissor tests failing on 565."
Jarkko Pöyry [Fri, 3 Apr 2015 21:25:40 +0000 (21:25 +0000)]
Merge "Fix scissor tests failing on 565."

9 years agoMerge "Fix clearing SRGB renderbuffers in copy image tests."
Mika Isojärvi [Fri, 3 Apr 2015 20:49:05 +0000 (20:49 +0000)]
Merge "Fix clearing SRGB renderbuffers in copy image tests."

9 years agoFix scissor tests failing on 565.
Jarkko Pöyry [Fri, 3 Apr 2015 20:47:37 +0000 (13:47 -0700)]
Fix scissor tests failing on 565.

Bug: 19990291
Change-Id: I9a0d1cea5c7bfd14b7874a58ac47da3879e854a3

9 years agoMerge "Fix warnings caused by using unnamed enums as template parameters"
Pyry Haulos [Fri, 3 Apr 2015 20:28:02 +0000 (20:28 +0000)]
Merge "Fix warnings caused by using unnamed enums as template parameters"

9 years agoMerge "Generate MNC mustpass lists."
Jarkko Pöyry [Fri, 3 Apr 2015 20:30:49 +0000 (20:30 +0000)]
Merge "Generate MNC mustpass lists."

9 years agoGenerate MNC mustpass lists.
Jarkko Pöyry [Fri, 3 Apr 2015 18:14:49 +0000 (11:14 -0700)]
Generate MNC mustpass lists.

Change-Id: I13433bf99c995bae532e4894e4cee8f64108fec0

9 years agoFix clearing SRGB renderbuffers in copy image tests.
Mika Isojärvi [Fri, 3 Apr 2015 19:43:15 +0000 (12:43 -0700)]
Fix clearing SRGB renderbuffers in copy image tests.

Bug: 19897810
Change-Id: I7a57bfcbebf7137aac8ebebbde1905310c0e741b

9 years agoMerge "Fix read_pixels tests."
Jarkko Pöyry [Fri, 3 Apr 2015 19:41:32 +0000 (19:41 +0000)]
Merge "Fix read_pixels tests."

9 years agoFix warnings caused by using unnamed enums as template parameters
Pyry Haulos [Fri, 3 Apr 2015 19:32:17 +0000 (12:32 -0700)]
Fix warnings caused by using unnamed enums as template parameters

Change-Id: I30d54d7cdd987488d5362e6d5af1169f734e6d4e

9 years agoFix read_pixels tests.
Jarkko Pöyry [Fri, 3 Apr 2015 02:59:27 +0000 (19:59 -0700)]
Fix read_pixels tests.

- Fix unformated printing of BGRA format string.
- Support BGRA compare.
- Add missing skip offset calculation in MSAA branch.
- Throw NotSupported, not InternalError, if format is not supported.
- Make RBO usage explicit.

Bug: 20055678
Bug: 19987313
Change-Id: Ibf0a6e8865376888e05385123f1b69250d38b7ba

9 years agoCheck stencil and depth buffer presence before using them in multisample tests.
Jarkko Pöyry [Fri, 3 Apr 2015 03:46:58 +0000 (20:46 -0700)]
Check stencil and depth buffer presence before using them in multisample tests.

Bug: 19990776
Change-Id: I4e2e4d43e0a465991fb97a898b5b07e77c30f507

9 years agoMerge "New mustpass script and first MNC ES3.x mustpass lists"
Pyry Haulos [Fri, 3 Apr 2015 16:45:02 +0000 (16:45 +0000)]
Merge "New mustpass script and first MNC ES3.x mustpass lists"

9 years agoNew mustpass script and first MNC ES3.x mustpass lists
Pyry Haulos [Thu, 2 Apr 2015 18:08:39 +0000 (11:08 -0700)]
New mustpass script and first MNC ES3.x mustpass lists

This change replaces old mustpass script (gen_android_cts_xml.py) with a
more flexible one (build_android_mustpass.py) that implements following:

 * Mustpass list is always built and checked against raw lists produced
by building and running test binaries using tools from build_caselists.py.

 * Mustpass lists are specified as list of transformations (inclusions
or exclusions) from raw case list.

 * New script supports generating multiple configurations (GL config bits,
surface, etc.)

Layout of android/cts has been changed slightly:

cts/<version>/src/           - source files for generating mustpass
cts/<version>/*.txt          - mustpass caselist (--deqp-caselist-file)
cts/<version>/mustpass.xml   - mapping between configs and caselists
cts/<version>/com.draw...xml - mustpass lists for CTS

Change-Id: I93f66d6dd817c94f01f3c81749af1a113f44651b

9 years agoMerge "Improve android gdb script."
Mika Isojärvi [Fri, 3 Apr 2015 01:32:32 +0000 (01:32 +0000)]
Merge "Improve android gdb script."

9 years agoMerge "Fix / Clean up de::SharedPtr."
Mika Isojärvi [Fri, 3 Apr 2015 01:30:05 +0000 (01:30 +0000)]
Merge "Fix / Clean up de::SharedPtr."

9 years agoFix / Clean up de::SharedPtr.
Mika Isojärvi [Mon, 30 Mar 2015 22:32:58 +0000 (15:32 -0700)]
Fix / Clean up de::SharedPtr.

- Fix SharedPtr removing input ptr if memory allocation fails.
- Remove almost unused threadSafe template argument.
- Remove deleter template parameter. Use templated constructor instead.
- Use virtual base class for SharedPtrState to fix issue with invalid
  reinterpret_casts and some nasty issues with deleters.
- If assigning WeakPtr to last referencing SharedPtr succeed instead of
  releasing last reference and failing to acquire WeakPtr.
- If SharedPtr fails to acquire WeakPtr do not release existing reference.

Change-Id: I4a0d522485e085397ff059dc4db4e3bc7986d629

9 years agoMerge "Fix broken toRGBAMasked."
Jarkko Pöyry [Thu, 2 Apr 2015 19:08:03 +0000 (19:08 +0000)]
Merge "Fix broken toRGBAMasked."

9 years agoFix broken toRGBAMasked.
Jarkko Pöyry [Thu, 2 Apr 2015 18:23:31 +0000 (11:23 -0700)]
Fix broken toRGBAMasked.

- toRGBAMasked returned incorrect default value for alpha channel when
  the channel was not present. (i.e. rgb565, rgb888 formats).

Bug: 20048027
Change-Id: I7fec467491a31e017b32737e6609ad4379c4091e

9 years agoMerge "Merge commit '33ebb838720fdc9d4b75f74ec18e45c22a66c3f6' into merge"
Etan Cohen [Thu, 2 Apr 2015 03:07:28 +0000 (03:07 +0000)]
Merge "Merge commit '33ebb838720fdc9d4b75f74ec18e45c22a66c3f6' into merge"

9 years agoImprove android gdb script.
Mika Isojärvi [Tue, 31 Mar 2015 22:50:12 +0000 (15:50 -0700)]
Improve android gdb script.

Fix issues and add more default device configurations.

Change-Id: I0aeb861ee41fdb8840dfd0f0dd7e30b8d463439d

9 years agoMerge "Update case list."
Jarkko Pöyry [Tue, 31 Mar 2015 20:40:00 +0000 (20:40 +0000)]
Merge "Update case list."

9 years agoUpdate case list.
Jarkko Pöyry [Tue, 31 Mar 2015 19:48:06 +0000 (12:48 -0700)]
Update case list.

Bug: 20010220
Change-Id: I953d0ab55cc7f8f0c0b3087c2adbd3b6660a9e1d