platform/upstream/VK-GL-CTS.git
9 years agoUpdate SSO tests to follow new spec language
Pyry Haulos [Mon, 6 Oct 2014 22:13:09 +0000 (15:13 -0700)]
Update SSO tests to follow new spec language

Upcoming ES3.1 spec revision will change the interface matching rules
slightly by disallowing flat/smooth mismatch. This change removes cases
that assumed that mismatch should work, and adds additional validation
cases to check that driver indeed gives validation and draw time errors
on such mismatch.

See Khronos bug 12630.

Change-Id: I0c77c80aa7779443df4c1dac71048f0d2a380600

9 years agoTerminate session on any error from eglSwapBuffers()
Pyry Haulos [Fri, 3 Oct 2014 20:11:16 +0000 (13:11 -0700)]
Terminate session on any error from eglSwapBuffers()

Test run should always abort if eglSwapBuffers() gives an error as it
is almost always a sign that something has gone unrecoverably wrong in
the driver.

 * Always throw tcu::ResourceError on any error from eglSwapBuffers().
This will make TestExecutor to abort the session.

 * Treat EGL_BAD_NATIVE_WINDOW as a sign of potentially destroyed
underlying window, not just EGL_BAD_SURFACE.

Change-Id: I42f3769566670630e3965b0ff50119297639fd5c

9 years agoUpdate dEQP test case list files.
Jarkko Pöyry [Fri, 3 Oct 2014 18:24:34 +0000 (11:24 -0700)]
Update dEQP test case list files.

Change-Id: Iae417bd328af42ddfc9eecfea4d1299bc124fac5

9 years agoMerge "Remove targetBinaryName attribute from test case lists." into lmp-dev
Pyry Haulos [Fri, 3 Oct 2014 15:56:20 +0000 (15:56 +0000)]
Merge "Remove targetBinaryName attribute from test case lists." into lmp-dev

9 years agoFix two test bugs
Pyry Haulos [Thu, 2 Oct 2014 17:57:05 +0000 (10:57 -0700)]
Fix two test bugs

 * Removed invalid ES 3.0 linkage test that assumed that struct arrays
are valid varyings.

 * Changed glProgramParameteri() negative API test to expect correct
error code when call was supplied non-existent program object.

Change-Id: Ib7f2f9693bdef364bc44425b5299993e702dc214

9 years agoMerge "Add preliminary support for NDK r10c" into lmp-dev
Pyry Haulos [Thu, 2 Oct 2014 15:53:19 +0000 (15:53 +0000)]
Merge "Add preliminary support for NDK r10c" into lmp-dev

9 years agoRemove targetBinaryName attribute from test case lists.
Jarkko Pöyry [Thu, 2 Oct 2014 01:31:28 +0000 (18:31 -0700)]
Remove targetBinaryName attribute from test case lists.

OnDevice package is expected to be explicitly installed by the dEQP test
runner.

Change-Id: I5bbb579260e3659a7fd3b38d3035d9aea10a9021

9 years agoMake Android integration more robust for API >= 11
Pyry Haulos [Wed, 1 Oct 2014 22:49:17 +0000 (15:49 -0700)]
Make Android integration more robust for API >= 11

Recent targetSdkLevel bump exposed robustness issues in the Android
port which were hidden by pre-honeycomb workarounds in
android.app.ActivityThread. For honeycomb and up when launching activity
with lockscreen on or screen off the system for some reason first starts
the activity once, puts it back to stopped state and then resumes again.
Original Android port assumed that stop event signaled that the test
execution should always stop and process should kill itself. This might
have been necessary workaround on some older Android versions where
onDestroy was never called even if app called finish().

This commit improves Android integration in multiple ways:

 * Android port can continue test execution even across stop-start
boundary in the Activity life-cycle.

 * eglu::GLRenderContext can recover from window loss by recreating
the window if NativeWindow::postIterate() throws WindowDestroyedError.

 * eglu::GLRenderContext refreshes window surface size in postIterate()
call. Note that most test cases might not like if surface is resized
during execution though.

 * Temporary window loss (recreation) no longer leads to test run abort,
but rather Android NativeWindow correctly signals that event allowing
eglu::GLRenderContext to recover.

Change-Id: Iaa240f16a2ae6cea7fb894c5772d1e7959a1cfac

9 years agoAdd preliminary support for NDK r10c
Pyry Haulos [Wed, 1 Oct 2014 23:18:37 +0000 (16:18 -0700)]
Add preliminary support for NDK r10c

This change adds toolchain file for NDK r10c and necessary build system
changes for arm64-v8a ABI. The toolchain file assumes that the released
toolchain uses android-21 instead of android-L as the ABI version.

Only GCC toolchain file is provided.

Change-Id: I52053569c5564b0b41b0c66f334a081de4ed584f

9 years agoMerge "Add internal (dE-IT) module to CTS builds." into lmp-dev
Pyry Haulos [Wed, 1 Oct 2014 16:04:37 +0000 (16:04 +0000)]
Merge "Add internal (dE-IT) module to CTS builds." into lmp-dev

9 years agoMerge "Clean up msg queue implementation in RenderActivity" into lmp-dev
Pyry Haulos [Wed, 1 Oct 2014 16:04:09 +0000 (16:04 +0000)]
Merge "Clean up msg queue implementation in RenderActivity" into lmp-dev

9 years agoMerge "Import changes from an internal repo." into lmp-dev
Jarkko Pöyry [Tue, 30 Sep 2014 23:36:28 +0000 (23:36 +0000)]
Merge "Import changes from an internal repo." into lmp-dev

9 years agoImport changes from an internal repo.
Jarkko Pöyry [Tue, 30 Sep 2014 21:56:09 +0000 (14:56 -0700)]
Import changes from an internal repo.

* Fix broken clipping result
* Fix invalid format-type pair in readPixels()

Change-Id: I996a9c5b340ae4d455219e57ff16d2b1456b015c

9 years agoFix sync object leak in ES3.1 debug tests.
Pyry Haulos [Tue, 30 Sep 2014 21:11:47 +0000 (14:11 -0700)]
Fix sync object leak in ES3.1 debug tests.

Change-Id: Ie38485b1f7415b2aade30d02d0006a128f9ac9c9

9 years agoClean up msg queue implementation in RenderActivity
Pyry Haulos [Tue, 30 Sep 2014 19:45:22 +0000 (12:45 -0700)]
Clean up msg queue implementation in RenderActivity

tcu::Android::Message type (which RenderActivity uses to communicate
with the render thread) didn't validate payload type against the message
type. This change fixes that.

Change-Id: I2f120783e4f1bb5b7d0122bb8849c429577c267c

9 years agoAdd internal (dE-IT) module to CTS builds.
Pyry Haulos [Tue, 30 Sep 2014 19:22:49 +0000 (12:22 -0700)]
Add internal (dE-IT) module to CTS builds.

Internal module has tests that validate build and base OS integration.
Having those test available in the APKs makes it easier to rule out test
framework issues if necessary.

Change-Id: I56f4ce8834e60f94c1c4b0ded78750d2a7ebba3e

9 years agoAdd screenSize to configChanges to avoid activity restarts when built through CTS...
Pyry Haulos [Tue, 30 Sep 2014 17:52:42 +0000 (10:52 -0700)]
Add screenSize to configChanges to avoid activity restarts when built through CTS build system which overrides minSdkVersion.

Change-Id: I570a691999765ba277983230fb6436c7fb50b700

9 years agoAdd missing jclass argument to static native methods
Brian Carlstrom [Tue, 30 Sep 2014 07:28:43 +0000 (00:28 -0700)]
Add missing jclass argument to static native methods

Bug: 17691683
Change-Id: Ibfa039ea23ec25ab4974f2c1675d427638c66367

9 years agoMake TestLogParser and DeqpInstrumentation more robust:
Pyry Haulos [Sat, 27 Sep 2014 00:29:34 +0000 (17:29 -0700)]
Make TestLogParser and DeqpInstrumentation more robust:

 * Fix potential IndexOutOfBounds in TestLogParser
 * Fix bug in log file polling logic
 * Don't stop parsing remaining log data immediately when test process
   finishes

Change-Id: Iae8d153c6d0a32f9574d6d7131f3834479b83cb1

9 years agoMerge "Import fixes from an internal repo." into lmp-dev
Jarkko Pöyry [Mon, 29 Sep 2014 15:36:06 +0000 (15:36 +0000)]
Merge "Import fixes from an internal repo." into lmp-dev

9 years agoImport fixes from an internal repo.
Jarkko Pöyry [Fri, 26 Sep 2014 23:58:44 +0000 (16:58 -0700)]
Import fixes from an internal repo.

* Fix buffer size requirement calculation
* Fix negative tests not checking relevant extensions

Change-Id: Ibc6759b6b4f0ef811a25eef88c4b5fe5964e9349

9 years agoImport fixes from main repo:
Pyry Haulos [Fri, 26 Sep 2014 22:34:05 +0000 (15:34 -0700)]
Import fixes from main repo:

 * Ensure input colors are valid premultiplied values in advanced
   blending tests
 * Limit input values in mediump fma() tests to avoid overflow
 * Add necessary barrier() calls to ssbo_local_barrier tests

Change-Id: I111c58027dbdbba31047d4333dc82c10855ec75e

9 years agoMerge "Verify component count is in the legal range." into lmp-dev
Jarkko Pöyry [Fri, 26 Sep 2014 02:28:12 +0000 (02:28 +0000)]
Merge "Verify component count is in the legal range." into lmp-dev

9 years agoUpdate dEQP case list.
Jarkko Pöyry [Fri, 26 Sep 2014 02:25:34 +0000 (19:25 -0700)]
Update dEQP case list.

Change-Id: I07c8b19fb153d59eafc17ae548629099988caa5e

9 years agoVerify component count is in the legal range.
Jarkko Pöyry [Thu, 25 Sep 2014 23:27:06 +0000 (16:27 -0700)]
Verify component count is in the legal range.

Change-Id: I50a18f9c8a5d4aac8e9b246b751dceca343991cc

9 years agoMerge "Calculate wide line raster area properly." into lmp-dev
Jarkko Pöyry [Thu, 25 Sep 2014 02:32:58 +0000 (02:32 +0000)]
Merge "Calculate wide line raster area properly." into lmp-dev

9 years agoCalculate wide line raster area properly.
Jarkko Pöyry [Thu, 25 Sep 2014 02:26:49 +0000 (19:26 -0700)]
Calculate wide line raster area properly.

Change-Id: I46e3ef9d1104045a34e4dad070f400d8e19cb54e

9 years agoMerge "Import several fixes from main repo:" into lmp-dev
Pyry Haulos [Thu, 25 Sep 2014 02:21:44 +0000 (02:21 +0000)]
Merge "Import several fixes from main repo:" into lmp-dev

9 years agoUpdate dEQP test list.
Jarkko Pöyry [Thu, 25 Sep 2014 02:00:27 +0000 (19:00 -0700)]
Update dEQP test list.

* Update dEQP mustpass lists.
* Update dEQP test lists to follow updated mustpass lists.
* Update test list generator script.

Bug: 17388917
Change-Id: I98e3b910056e44d498a208e8b9a7a8818ed02ef2

9 years agoImport several fixes from main repo:
Pyry Haulos [Thu, 25 Sep 2014 01:39:44 +0000 (18:39 -0700)]
Import several fixes from main repo:

 * Rounding of overflowed operation results in shader precision tests
 * GL object leak in glu::ObjectVector
 * False negatives due to ambiguous cube corner texel selection
 * x11_glx build from this repo (bonus)

Change-Id: Ifeb6570cad5dec961057decc4af85365c3054f1c

9 years agoFix standalone dEQP build.
Pyry Haulos [Wed, 24 Sep 2014 19:12:26 +0000 (12:12 -0700)]
Fix standalone dEQP build.

Change-Id: I3ed9c3bdb4298a092e0b4f55f38f052e0a60c9fa

9 years agoUpdate dEQP.
Jarkko Pöyry [Wed, 24 Sep 2014 17:15:01 +0000 (10:15 -0700)]
Update dEQP.

Migrate drawElements Quality Program changes from an internal repository.

Bug: 17388917

Change-Id: I754f2b4b5b077fadff210dbd8d008eeca1d5a794

9 years agoAdd multilib support to dEQP.
Mika Isojärvi [Wed, 17 Sep 2014 08:37:36 +0000 (11:37 +0300)]
Add multilib support to dEQP.

Make drawElements Quality Program tests build both target
architechtures.

Bug: 17388917
Change-Id: I92b4dc153598801c62ce2062b6156fc47ec9c851

9 years agoUpdate dEQP cts xml packages.
Mika Isojärvi [Thu, 11 Sep 2014 14:49:05 +0000 (17:49 +0300)]
Update dEQP cts xml packages.

Add mustpass list support to package xml script, add current must pass
lists and generated test package xmls.

Bug: 17388917
Change-Id: If9d295421c500e907148dd5928159f3b2e7a20fe

9 years agoUpdate dEQP.
Jarkko Poyry [Thu, 11 Sep 2014 07:20:23 +0000 (10:20 +0300)]
Update dEQP.

Migrate drawElements Quality Program changes from an internal repository.

Bug: 17388917

Change-Id: I21e3f7bc75813f0510025d697d91a2554dc995d4

9 years agoImport dEQP.
Jarkko Poyry [Tue, 2 Sep 2014 08:48:52 +0000 (11:48 +0300)]
Import dEQP.

Import drawElements Quality Program from an internal repository.

Bug: 17388917
Change-Id: Ic109fe4a57e31b2a816113d90fbdf51a43e7abeb

9 years agoInitial empty repository
Geoff Mendal [Tue, 26 Aug 2014 13:25:57 +0000 (06:25 -0700)]
Initial empty repository