platform/upstream/VK-GL-CTS.git
9 years agoam 028bb2ef: (-s ours) am 2084300a: DO NOT MERGE Treat adb device info parse failures...
Pyry Haulos [Tue, 18 Nov 2014 20:18:25 +0000 (20:18 +0000)]
am 028bb2ef: (-s ours) am 2084300a: DO NOT MERGE Treat adb device info parse failures as warnings

* commit '028bb2ef30773d7efcf50dc0e6da2ed107e8a7c7':
  DO NOT MERGE Treat adb device info parse failures as warnings

9 years agoMerge "Add support for compressed 3D/2D array textures."
Mika Isojärvi [Tue, 18 Nov 2014 07:45:53 +0000 (07:45 +0000)]
Merge "Add support for compressed 3D/2D array textures."

9 years agoam 2084300a: DO NOT MERGE Treat adb device info parse failures as warnings
Pyry Haulos [Tue, 18 Nov 2014 02:07:32 +0000 (02:07 +0000)]
am 2084300a: DO NOT MERGE Treat adb device info parse failures as warnings

* commit '2084300a8dfd3458c93c645633077d40884bf6a9':
  DO NOT MERGE Treat adb device info parse failures as warnings

9 years agoDO NOT MERGE Treat adb device info parse failures as warnings
Pyry Haulos [Mon, 10 Nov 2014 18:17:16 +0000 (10:17 -0800)]
DO NOT MERGE Treat adb device info parse failures as warnings

Currently when for example unauthorized adb device is connected
install.py stops working altogether, as parsing failures of such lines
causes fatal error. This change turns those failures into warnings
making install.py more robust.

Bug: 18329517
Change-Id: I1b68f97d5bb8e28b04bdb7b58a8c03e2db7a9161
(cherry picked from commit a78b661ed0327eedf8b13a6debc0b98d0e37b0e5)

9 years agoAllow SDK path to be unknown in the Android build.
Kalle Raita [Mon, 17 Nov 2014 18:40:26 +0000 (10:40 -0800)]
Allow SDK path to be unknown in the Android build.

Shorten the code to get the NDK environment var with None safety.

Change-Id: I5bd45d6c90a1801b3b076e32a139ca5029eb8fb0

9 years agoFix standalone Android build
Pyry Haulos [Mon, 17 Nov 2014 17:37:44 +0000 (09:37 -0800)]
Fix standalone Android build

Trying to get ANDROID_NKD_PATH from os.environ will throw an error if no
such environment variable is set.

Also includes a small cleanup for CONFIG_STRINGS.

Change-Id: I85e19d2074d8330c2397509084361802602be18f

9 years agoAdd support for compressed 3D/2D array textures.
Mika Isojärvi [Tue, 4 Nov 2014 15:30:50 +0000 (17:30 +0200)]
Add support for compressed 3D/2D array textures.

Add support for 3D and 2D array textures to tcu::CompressedTexture.
Also cleaned up the tcuCompressedTexture.hpp/.cpp.

Change-Id: I407e04f72d4dbc4e705d26600fbf03607a6c4ea2

10 years agoUse env variable ANDROID_NDK_PATH as 3rd option for NDK dir.
Kalle Raita [Thu, 13 Nov 2014 21:00:08 +0000 (13:00 -0800)]
Use env variable ANDROID_NDK_PATH as 3rd option for NDK dir.

Also added some additional user info for debugging issues.

Change-Id: I6d82538453879877b51be2d852044b9ce9d49eee

10 years agoam a36d4827: am c9356cc3: Merge "Remove double underscore cases from mr1 must-pass...
Jarkko Pöyry [Thu, 13 Nov 2014 00:10:12 +0000 (00:10 +0000)]
am a36d4827: am c9356cc3: Merge "Remove double underscore cases from mr1 must-pass list." into lmp-mr1-dev

* commit 'a36d4827ee5dee7529410eb5c714a926af87c41f':
  Remove double underscore cases from mr1 must-pass list.

10 years agoam c9356cc3: Merge "Remove double underscore cases from mr1 must-pass list." into...
Jarkko Pöyry [Wed, 12 Nov 2014 23:50:25 +0000 (23:50 +0000)]
am c9356cc3: Merge "Remove double underscore cases from mr1 must-pass list." into lmp-mr1-dev

* commit 'c9356cc32d5710ed407efa4613642324421bbf9a':
  Remove double underscore cases from mr1 must-pass list.

10 years agoMerge "Remove double underscore cases from mr1 must-pass list." into lmp-mr1-dev
Jarkko Pöyry [Wed, 12 Nov 2014 22:00:14 +0000 (22:00 +0000)]
Merge "Remove double underscore cases from mr1 must-pass list." into lmp-mr1-dev

10 years agoRemove double underscore cases from mr1 must-pass list.
Jarkko Pöyry [Wed, 12 Nov 2014 21:44:13 +0000 (13:44 -0800)]
Remove double underscore cases from mr1 must-pass list.

Bug: 18357013
Change-Id: If7c76f9b4374a83657280df7dbfcc23673210f0d

10 years agoAdd missing EGL utlity files to makefile.
Mika Isojärvi [Wed, 12 Nov 2014 13:38:40 +0000 (15:38 +0200)]
Add missing EGL utlity files to makefile.

Add missing new eglu:: utility files to android makefile.

Change-Id: Idc1b5974753add4c5095719c79d7c07b6e405b60

10 years agoMerge "Refactored EGLImage tests."
Mika Isojärvi [Wed, 12 Nov 2014 12:21:04 +0000 (12:21 +0000)]
Merge "Refactored EGLImage tests."

10 years agoRemove forward incompatible negative check in rbo api tests. automerge: 54b87ef
Jarkko Pöyry [Tue, 11 Nov 2014 22:32:29 +0000 (22:32 +0000)]
Remove forward incompatible negative check in rbo api tests. automerge: 54b87ef
automerge: d605736

* commit 'd60573699e7253145aeba39e62c029bbdd00a06b':
  Remove forward incompatible negative check in rbo api tests.

10 years agoMerge "Initial dEQP mustpass candidates for MR1" into lmp-mr1-dev automerge: ce95f3a
Pyry Haulos [Tue, 11 Nov 2014 22:32:26 +0000 (22:32 +0000)]
Merge "Initial dEQP mustpass candidates for MR1" into lmp-mr1-dev automerge: ce95f3a
automerge: 6a2e0ca

* commit '6a2e0caae92effd9279ae71d67c4814021598af5':
  Initial dEQP mustpass candidates for MR1

10 years agoRemove forward incompatible negative check in rbo api tests.
Jarkko Pöyry [Tue, 11 Nov 2014 22:10:19 +0000 (22:10 +0000)]
Remove forward incompatible negative check in rbo api tests.
automerge: 54b87ef

* commit '54b87ef529da3e76c538af41c8bb8061a57ec23f':
  Remove forward incompatible negative check in rbo api tests.

10 years agoMerge "Initial dEQP mustpass candidates for MR1" into lmp-mr1-dev
Pyry Haulos [Tue, 11 Nov 2014 22:10:05 +0000 (22:10 +0000)]
Merge "Initial dEQP mustpass candidates for MR1" into lmp-mr1-dev
automerge: ce95f3a

* commit 'ce95f3a903f45d6bcb59b7bdd0f7a3119341c700':
  Initial dEQP mustpass candidates for MR1

10 years agoRemove forward incompatible negative check in rbo api tests.
Jarkko Pöyry [Tue, 11 Nov 2014 19:32:48 +0000 (11:32 -0800)]
Remove forward incompatible negative check in rbo api tests.

Bug: 18334766
Change-Id: I794d17420308056b83028dca052ad356919875a7

10 years agoMerge "Initial dEQP mustpass candidates for MR1" into lmp-mr1-dev
Pyry Haulos [Tue, 11 Nov 2014 19:16:51 +0000 (19:16 +0000)]
Merge "Initial dEQP mustpass candidates for MR1" into lmp-mr1-dev

10 years agoam a0e21bdc: Merge "Fix some dEQP GLES2 issues." into lmp-mr1-dev automerge: a0d087b
Jarkko Pöyry [Tue, 11 Nov 2014 18:40:00 +0000 (18:40 +0000)]
am a0e21bdc: Merge "Fix some dEQP GLES2 issues." into lmp-mr1-dev automerge: a0d087b

* commit 'a0e21bdc28151ed4656a0f87860781da8bec7eb3':
  Fix some dEQP GLES2 issues.

10 years agoam f96b4224: Merge "Fix dEQP issues with identifier names with two underscores."...
Jarkko Pöyry [Tue, 11 Nov 2014 18:39:59 +0000 (18:39 +0000)]
am f96b4224: Merge "Fix dEQP issues with identifier names with two underscores." into lmp-mr1-dev automerge: 517a144

* commit 'f96b4224a1922b2d7661310a650bad701cfb2555':
  Fix dEQP issues with identifier names with two underscores.

10 years agoam 43f8c385: Merge "Relax GLES3 internal format queries for GLES31 compatibility...
Jarkko Pöyry [Tue, 11 Nov 2014 18:39:58 +0000 (18:39 +0000)]
am 43f8c385: Merge "Relax GLES3 internal format queries for GLES31 compatibility." into lmp-mr1-dev automerge: e3e5640

* commit '43f8c385739c8ccb5e5b9c0bb24f7b54cb4b4ee2':
  Relax GLES3 internal format queries for GLES31 compatibility.

10 years agoam 2ca027c8: Allow trailing newline in trie files. automerge: 99df2e4
Jarkko Pöyry [Tue, 11 Nov 2014 18:39:20 +0000 (18:39 +0000)]
am 2ca027c8: Allow trailing newline in trie files. automerge: 99df2e4

* commit '2ca027c89134c1c41cfc6351be75cadb8d22a535':
  Allow trailing newline in trie files.

10 years agoam c0671cd9: (-s ours) Add support for simpler test case list syntax automerge: 89659d2
Pyry Haulos [Tue, 11 Nov 2014 18:39:19 +0000 (18:39 +0000)]
am c0671cd9: (-s ours) Add support for simpler test case list syntax automerge: 89659d2

* commit 'c0671cd9373c7f67d78c893e77db752d3ba24f6d':
  Add support for simpler test case list syntax

10 years agoam da81b9e8: First iteration of new release script automerge: fbf0fd6
Pyry Haulos [Tue, 11 Nov 2014 18:33:39 +0000 (18:33 +0000)]
am da81b9e8: First iteration of new release script automerge: fbf0fd6

* commit 'da81b9e87d49b3d197267b0c3ea32f57e4f2a7cb':
  First iteration of new release script

10 years agoam a723267c: Add script for fetching third-party sources automerge: f28f063
Pyry Haulos [Tue, 11 Nov 2014 18:33:38 +0000 (18:33 +0000)]
am a723267c: Add script for fetching third-party sources automerge: f28f063

* commit 'a723267cfb241c270ab2c34ec4bb9506e6064b76':
  Add script for fetching third-party sources

10 years agoam 3f04be37: Fixes to EGL negative api tests. automerge: d9ae6af
Mika Isojärvi [Tue, 11 Nov 2014 18:33:37 +0000 (18:33 +0000)]
am 3f04be37: Fixes to EGL negative api tests. automerge: d9ae6af

* commit '3f04be3776b766351d288c794a8b20e52b843415':
  Fixes to EGL negative api tests.

10 years agoam f48f1648: Fix EGL_MIPMAP_LEVEL query checks. automerge: 358d99c
Mika Isojärvi [Tue, 11 Nov 2014 18:33:37 +0000 (18:33 +0000)]
am f48f1648: Fix EGL_MIPMAP_LEVEL query checks. automerge: 358d99c

* commit 'f48f164892b6036895b5904bef8c1bfd2b402beb':
  Fix EGL_MIPMAP_LEVEL query checks.

10 years agoam 6be9bbba: Fix EGL_CONTEXT_CLIENT_VERSION check. automerge: 42eb50c
Mika Isojärvi [Tue, 11 Nov 2014 18:33:36 +0000 (18:33 +0000)]
am 6be9bbba: Fix EGL_CONTEXT_CLIENT_VERSION check. automerge: 42eb50c

* commit '6be9bbba81082921da4b3270e7688aeca0e49b51':
  Fix EGL_CONTEXT_CLIENT_VERSION check.

10 years agoam 46364a2b: .gitignore updates automerge: 6bcd1ae
Pyry Haulos [Tue, 11 Nov 2014 18:33:35 +0000 (18:33 +0000)]
am 46364a2b: .gitignore updates automerge: 6bcd1ae

* commit '46364a2beb81dfd0ccc8b5e457a1e38cf23a85bd':
  .gitignore updates

10 years agoam e8ffce34: Make r10c toolchain compile flags more Android-ish automerge: fed851d
Pyry Haulos [Tue, 11 Nov 2014 18:33:35 +0000 (18:33 +0000)]
am e8ffce34: Make r10c toolchain compile flags more Android-ish automerge: fed851d

* commit 'e8ffce34082af38fc1929fb3a88a8255bc002a1a':
  Make r10c toolchain compile flags more Android-ish

10 years agoam dc3b278f: Endianness fixes to bilinear & fuzzy image compares automerge: 366985e
Pyry Haulos [Tue, 11 Nov 2014 18:33:34 +0000 (18:33 +0000)]
am dc3b278f: Endianness fixes to bilinear & fuzzy image compares automerge: 366985e

* commit 'dc3b278fffea5db455cb7550eb95bc2018162e4c':
  Endianness fixes to bilinear & fuzzy image compares

10 years agoam fc427ee2: Android APK build with parametrized build root dir automerge: baf29b3
Kalle Raita [Tue, 11 Nov 2014 18:33:34 +0000 (18:33 +0000)]
am fc427ee2: Android APK build with parametrized build root dir automerge: baf29b3

* commit 'fc427ee228bd70a9e8143991d95368ff66bad535':
  Android APK build with parametrized build root dir

10 years agoam 442b9606: (-s ours) Rename libtestercore.so to libdeqp.so automerge: 04d5126
Pyry Haulos [Tue, 11 Nov 2014 18:33:33 +0000 (18:33 +0000)]
am 442b9606: (-s ours) Rename libtestercore.so to libdeqp.so automerge: 04d5126

* commit '442b960625c003853b4dd86b403f31fcc6d08e57':
  Rename libtestercore.so to libdeqp.so

10 years agoam a9adba50: (-s ours) Merge "Fix typo (GCC->CLANG) in general Clang compiler defs...
Pyry Haulos [Tue, 11 Nov 2014 18:27:25 +0000 (18:27 +0000)]
am a9adba50: (-s ours) Merge "Fix typo (GCC->CLANG) in general Clang compiler defs." into lmp-mr1-dev automerge: e89ebf1

* commit 'a9adba501c1b65a04fbaa1ca5f9b30dc30af7987':
  Fix typo (GCC->CLANG) in general Clang compiler defs.

10 years agoam 207522c3: (-s ours) Improvements to standalone Android build scripts automerge...
Pyry Haulos [Tue, 11 Nov 2014 18:21:41 +0000 (18:21 +0000)]
am 207522c3: (-s ours) Improvements to standalone Android build scripts automerge: 7e01a41

* commit '207522c39f0c128b2b0136e99c2292400b51f134':
  Improvements to standalone Android build scripts

10 years agoMerge "Fix some dEQP GLES2 issues." into lmp-mr1-dev
Jarkko Pöyry [Tue, 11 Nov 2014 18:19:30 +0000 (18:19 +0000)]
Merge "Fix some dEQP GLES2 issues." into lmp-mr1-dev
automerge: a0d087b

* commit 'a0d087b7e2c06cbd2c038e4847dd64961416eb3b':
  Fix some dEQP GLES2 issues.

10 years agoMerge "Fix dEQP issues with identifier names with two underscores." into lmp-mr1-dev
Jarkko Pöyry [Tue, 11 Nov 2014 18:19:27 +0000 (18:19 +0000)]
Merge "Fix dEQP issues with identifier names with two underscores." into lmp-mr1-dev
automerge: 517a144

* commit '517a1445b0dbe48b231b0897ad9bbc5996953c3f':
  Fix dEQP issues with identifier names with two underscores.

10 years agoMerge "Relax GLES3 internal format queries for GLES31 compatibility." into lmp-mr1-dev
Jarkko Pöyry [Tue, 11 Nov 2014 18:19:25 +0000 (18:19 +0000)]
Merge "Relax GLES3 internal format queries for GLES31 compatibility." into lmp-mr1-dev
automerge: e3e5640

* commit 'e3e56402efcd6fdccfd9d0e67837c038904fdb4c':
  Relax GLES3 internal format queries for GLES31 compatibility.

10 years agoAllow trailing newline in trie files.
Jarkko Pöyry [Tue, 11 Nov 2014 18:14:55 +0000 (18:14 +0000)]
Allow trailing newline in trie files.
automerge: 99df2e4

* commit '99df2e43e0ccca26aec6f291ea84a62b36baad68':
  Allow trailing newline in trie files.

10 years agoAdd support for simpler test case list syntax
Pyry Haulos [Tue, 11 Nov 2014 18:14:53 +0000 (18:14 +0000)]
Add support for simpler test case list syntax
automerge: 89659d2

* commit '89659d2685195bf9e34ff7a2e321e6ce471c8462':
  Add support for simpler test case list syntax

10 years agoFirst iteration of new release script
Pyry Haulos [Tue, 11 Nov 2014 18:14:49 +0000 (18:14 +0000)]
First iteration of new release script
automerge: fbf0fd6

* commit 'fbf0fd6745ec32da44b118433b795b7e8896660e':
  First iteration of new release script

10 years agoAdd script for fetching third-party sources
Pyry Haulos [Tue, 11 Nov 2014 18:14:47 +0000 (18:14 +0000)]
Add script for fetching third-party sources
automerge: f28f063

* commit 'f28f0637dc27d47fddedec2ef463c310acc293df':
  Add script for fetching third-party sources

10 years agoFixes to EGL negative api tests.
Mika Isojärvi [Tue, 11 Nov 2014 18:14:45 +0000 (18:14 +0000)]
Fixes to EGL negative api tests.
automerge: d9ae6af

* commit 'd9ae6afecd7e9b1904c171ee958fc7dda47ee5f2':
  Fixes to EGL negative api tests.

10 years agoFix EGL_MIPMAP_LEVEL query checks.
Mika Isojärvi [Tue, 11 Nov 2014 18:14:43 +0000 (18:14 +0000)]
Fix EGL_MIPMAP_LEVEL query checks.
automerge: 358d99c

* commit '358d99cacdf7a16393046dedd1dafc7db0b0f703':
  Fix EGL_MIPMAP_LEVEL query checks.

10 years agoFix EGL_CONTEXT_CLIENT_VERSION check.
Mika Isojärvi [Tue, 11 Nov 2014 18:14:41 +0000 (18:14 +0000)]
Fix EGL_CONTEXT_CLIENT_VERSION check.
automerge: 42eb50c

* commit '42eb50c1e508d12e8439ae4962ab5aa935ec4574':
  Fix EGL_CONTEXT_CLIENT_VERSION check.

10 years ago.gitignore updates
Pyry Haulos [Tue, 11 Nov 2014 18:14:39 +0000 (18:14 +0000)]
.gitignore updates
automerge: 6bcd1ae

* commit '6bcd1aec3a0c75f8825f2d4289be00463cab7523':
  .gitignore updates

10 years agoMake r10c toolchain compile flags more Android-ish
Pyry Haulos [Tue, 11 Nov 2014 18:14:37 +0000 (18:14 +0000)]
Make r10c toolchain compile flags more Android-ish
automerge: fed851d

* commit 'fed851df8a7114d4d9a1f5bab635d0507d553080':
  Make r10c toolchain compile flags more Android-ish

10 years agoEndianness fixes to bilinear & fuzzy image compares
Pyry Haulos [Tue, 11 Nov 2014 18:14:35 +0000 (18:14 +0000)]
Endianness fixes to bilinear & fuzzy image compares
automerge: 366985e

* commit '366985e9a897a50439ac0d95d67660d2e4e376ee':
  Endianness fixes to bilinear & fuzzy image compares

10 years agoAndroid APK build with parametrized build root dir
Kalle Raita [Tue, 11 Nov 2014 18:14:33 +0000 (18:14 +0000)]
Android APK build with parametrized build root dir
automerge: baf29b3

* commit 'baf29b35cfdcd71a107f2ea9c0ce65024f21c1fb':
  Android APK build with parametrized build root dir

10 years agoRename libtestercore.so to libdeqp.so
Pyry Haulos [Tue, 11 Nov 2014 18:14:31 +0000 (18:14 +0000)]
Rename libtestercore.so to libdeqp.so
automerge: 04d5126

* commit '04d51263aaa058a4d7b7279c51b035f50aa4fdad':
  Rename libtestercore.so to libdeqp.so

10 years agoMerge "Fix typo (GCC->CLANG) in general Clang compiler defs." into lmp-mr1-dev
Pyry Haulos [Tue, 11 Nov 2014 18:14:29 +0000 (18:14 +0000)]
Merge "Fix typo (GCC->CLANG) in general Clang compiler defs." into lmp-mr1-dev
automerge: e89ebf1

* commit 'e89ebf1145494c53bbeb31c3b191ca116e30be82':
  Fix typo (GCC->CLANG) in general Clang compiler defs.

10 years agoImprovements to standalone Android build scripts
Pyry Haulos [Tue, 11 Nov 2014 18:14:26 +0000 (18:14 +0000)]
Improvements to standalone Android build scripts
automerge: 7e01a41

* commit '7e01a414adc237914552ab970ab3c8c81a8ff799':
  Improvements to standalone Android build scripts

10 years agoMerge "Fix some dEQP GLES2 issues." into lmp-mr1-dev
Jarkko Pöyry [Tue, 11 Nov 2014 17:51:09 +0000 (17:51 +0000)]
Merge "Fix some dEQP GLES2 issues." into lmp-mr1-dev

10 years agoMerge "Fix dEQP issues with identifier names with two underscores." into lmp-mr1-dev
Jarkko Pöyry [Tue, 11 Nov 2014 17:50:56 +0000 (17:50 +0000)]
Merge "Fix dEQP issues with identifier names with two underscores." into lmp-mr1-dev

10 years agoMerge "Relax GLES3 internal format queries for GLES31 compatibility." into lmp-mr1-dev
Jarkko Pöyry [Tue, 11 Nov 2014 17:50:26 +0000 (17:50 +0000)]
Merge "Relax GLES3 internal format queries for GLES31 compatibility." into lmp-mr1-dev

10 years agoAllow trailing newline in trie files.
Jarkko Pöyry [Tue, 4 Nov 2014 02:34:08 +0000 (18:34 -0800)]
Allow trailing newline in trie files.

Bug: 18329517
Bug: 17958588
Change-Id: Iaa9b5aa95ee27e31d486755954df193f808b7e82
(cherry picked from commit 831962c779a19a1822b0074012763b604ac42d24)

10 years agoAdd support for simpler test case list syntax
Pyry Haulos [Fri, 31 Oct 2014 00:45:41 +0000 (17:45 -0700)]
Add support for simpler test case list syntax

This change adds support for mustpass-style (full test case path per
line) test case format. All existing test case list command line options
(--deqp-caselist, --deqp-stdin-caselist, --deqp-caselist-file) now
accept both trie- and list-style inputs.

Format is detected by looking at the first character; trie always starts
with '{', list-style format is assumed otherwise.

de::CommandLine default value behavior has been changed. Options that
take values (i.e. not --flags) don't have value set, unless default
value is provided when registering options. Calling getOption() on
command line option whose value is not provided is now an error.
hasOption() should be used first to check if a value was provided at
all.

Test case list parsing is now covered by tests in the internal module.

Bug: 18329517
Bug: 17958588
Change-Id: If6063165ff59cbd8e538d6f829c583541e104fd1
(cherry picked from commit ee2e173d445e87e1f98245f4377f66b081cc320d)

10 years agoFirst iteration of new release script
Pyry Haulos [Wed, 29 Oct 2014 20:01:55 +0000 (13:01 -0700)]
First iteration of new release script

This change restores release script from the grave and adapts it to the
new environment. Releases are now defined by a simple configuration
(source-only, bin-only, or both) and unique name. Android APK and linux64
utility binaries are currently built but not tested.

Additionally, deprecated license checks have been removed from qpInfo and
tcuApp.

Bug: 18329517
Change-Id: If5073f65e7a91ec60fa7d903c9e9cfd196075944
(cherry picked from commit 290f32ab4cdac8866be121c3da33bb187333f4ab)

10 years agoAdd script for fetching third-party sources
Pyry Haulos [Wed, 29 Oct 2014 18:43:26 +0000 (11:43 -0700)]
Add script for fetching third-party sources

This change adds external/fetch_sources.py that will initialize libpng
and zlib source directories by fetching and extracting source packages.

The fetched packages are always verified by doing a SHA256 comparison to
avoid corrupted or malicious downloads.

Bug: 18329517
Change-Id: I0e32b411ff0e3691ab8fa33e0ed30259faee48c8
(cherry picked from commit 60d68b2463d1d6e1f8d55c55a923d304adcd1bf8)

10 years agoFixes to EGL negative api tests.
Mika Isojärvi [Fri, 24 Oct 2014 08:42:52 +0000 (11:42 +0300)]
Fixes to EGL negative api tests.

Bug: 18329517
Change-Id: I6d61f7aaa06f26e20a64e5c1bdceac7a56074232
(cherry picked from commit c3dc61b2f849ceb5a1c4b335cd02564cfe4ba527)

10 years agoFix EGL_MIPMAP_LEVEL query checks.
Mika Isojärvi [Fri, 24 Oct 2014 08:32:35 +0000 (11:32 +0300)]
Fix EGL_MIPMAP_LEVEL query checks.

Check that EGL_MIPMAP_LEVEL query returns 0 for pbuffers and
doesn't modify return value pointer for other surfaces.

Bug: 18329517
Change-Id: Iff769c93306821fa16889ba3298f28f061a4bfeb
(cherry picked from commit ff0bd4ba2ffca5c910035fbc37074ead9b4f5b4c)

10 years agoFix EGL_CONTEXT_CLIENT_VERSION check.
Mika Isojärvi [Fri, 24 Oct 2014 07:58:07 +0000 (10:58 +0300)]
Fix EGL_CONTEXT_CLIENT_VERSION check.

Check that EGL_CONTEXT_CLIENT_VERSION is version that supports version
used when creating context instead of requiring it to be exactly same.

Bug: 18329517
Change-Id: I072a5796d92450b29e82655ea840c3b67ec8eea9
(cherry picked from commit 2b5718821a9ec271f25bcac0569c6e1c2dcf33eb)

10 years ago.gitignore updates
Pyry Haulos [Tue, 28 Oct 2014 23:52:42 +0000 (16:52 -0700)]
.gitignore updates

 * android/ - native code builds are now under 'native', not 'build'.

 * / - Add *.user files (for example CMakeLists.txt.user used by Qt
Creator).

Bug: 18329517
Change-Id: I67ada8033ba5a53d031807a85508d58ea895cb50
(cherry picked from commit ed1a26e8b0d2b494f41881e478eab73a2ee3ce4a)

10 years agoMake r10c toolchain compile flags more Android-ish
Pyry Haulos [Tue, 28 Oct 2014 23:50:11 +0000 (16:50 -0700)]
Make r10c toolchain compile flags more Android-ish

 * Use -mandroid when building C/C++.

 * Enable exceptions and RTTI explicitly as -mandroid implies -fno-rtti
and -fno-exceptions.

 * Remove redundant -DANDROID and -D__ANDROID__ defines.

Bug: 18329517
Change-Id: I6c6c548e5e0082f369efcd1970d082ec73d67732
(cherry picked from commit 2002f4368917f738fbd0c8242515146599b442ea)

10 years agoEndianness fixes to bilinear & fuzzy image compares
Pyry Haulos [Tue, 28 Oct 2014 23:07:42 +0000 (16:07 -0700)]
Endianness fixes to bilinear & fuzzy image compares

Bug: 18329517
Change-Id: I1f5560a60ed85ef4b4c6fa2a5417649eeb7a4c7f
(cherry picked from commit 74731a6adf5816339b00b854a513b1b950ad4357)

10 years agoAndroid APK build with parametrized build root dir
Kalle Raita [Fri, 24 Oct 2014 18:16:03 +0000 (11:16 -0700)]
Android APK build with parametrized build root dir

Bug: 18329517
Change-Id: Ibb0fab0c6d34856d9b4a710cef69a38835d092ce
(cherry picked from commit 829f589e23415302162689825ba8bd8c1a61addb)

10 years agoRename libtestercore.so to libdeqp.so
Pyry Haulos [Mon, 20 Oct 2014 20:01:20 +0000 (13:01 -0700)]
Rename libtestercore.so to libdeqp.so

Since dEQP is now being built as part of the Android CTS as well,
the name libtestercore.so isn't very descriptive any more. This change
renames the library to libdeqp.so.

This change also drops some dead code related to API level < 9 support.

Bug: 18329517
Change-Id: I03b60fd6d9cc6252651f25610e7c72bbc450670c
(cherry picked from commit 03700a8505debaeae47e63e156ec15350398ce83)

10 years agoMerge "Fix typo (GCC->CLANG) in general Clang compiler defs." into lmp-mr1-dev
Pyry Haulos [Tue, 11 Nov 2014 16:44:16 +0000 (16:44 +0000)]
Merge "Fix typo (GCC->CLANG) in general Clang compiler defs." into lmp-mr1-dev

10 years agoFix typo (GCC->CLANG) in general Clang compiler defs.
Kalle Raita [Mon, 20 Oct 2014 19:17:21 +0000 (12:17 -0700)]
Fix typo (GCC->CLANG) in general Clang compiler defs.

Bug: 18329517
Change-Id: I440f37723987c1dd85e7482f0d32ac157565e25d
(cherry picked from commit 713ab1e9034564f842935cd011fdea8abc9ea90c)

10 years agoImprovements to standalone Android build scripts
Pyry Haulos [Mon, 20 Oct 2014 18:09:56 +0000 (11:09 -0700)]
Improvements to standalone Android build scripts

 * If multiple connected devices are detected, install.py prompts to
select one by default if no additional arguments are given.

 * Add -a option to install.py that installs package to all connected
devices.

 * Use ninja on Linux / OS X, if installed, for faster builds (apt-get
install ninja-build to get the awesomeness).

 * If make is used, pass in -j{CPUs} based on number of cores detected.

 * Prefer adb in path to avoid adb version mismatch in certain
environments, for example when doing Android OS builds.

 * Clean up libs/ dir to avoid stale versions for archs that are not
being built.

 * Do not unnecessarily force re-linking of libtestercore.so.

 * Optimize asset cleanup by performing that only for the build that is
used for the assets.

 * Auto-detect ANDROID_NDK_HOST_OS.

Bug: 18329517
Change-Id: I44e1b0acb5e6bcafeff7df30147002f216a76deb
(cherry picked from commit 89e0405021b883114cca9e748166c17bd7ebcc98)

10 years agoFix dEQP issues with identifier names with two underscores.
Jarkko Pöyry [Tue, 11 Nov 2014 01:29:27 +0000 (17:29 -0800)]
Fix dEQP issues with identifier names with two underscores.

- Remove variable name negative tests with two underscores to conform
  to modified spec.
- Convert negative macro name case to a positive one that does not
  use the macro value. (Since it might be set by underlying software
  layer).

Bug: 18323254
Change-Id: I1bb3f6d0e7a9d6c0ac0275cc388b37b03d4009e5

10 years agoRelax GLES3 internal format queries for GLES31 compatibility.
Jarkko Pöyry [Mon, 10 Nov 2014 21:03:52 +0000 (13:03 -0800)]
Relax GLES3 internal format queries for GLES31 compatibility.

- Allow multisample configurations for integer formats in GLES3.
- Add GLES31 test set for rbo internal formats.

Bug: 18315640
Change-Id: I9db53a5896511e29b0cc969812d2bf4f306e4612

10 years agoInitial dEQP mustpass candidates for MR1
Pyry Haulos [Mon, 10 Nov 2014 20:11:27 +0000 (12:11 -0800)]
Initial dEQP mustpass candidates for MR1

Bug: 18274257
Change-Id: Icf83a7d68ee929a8cc796736313094e396e7c697

10 years agoMerge "Add workaround for incorrect array-bounds warning in glsDrawTest.cpp"
Pyry Haulos [Mon, 10 Nov 2014 19:28:23 +0000 (19:28 +0000)]
Merge "Add workaround for incorrect array-bounds warning in glsDrawTest.cpp"

10 years agoMerge "Fix setjmp warning in qpTestLog PNG compression code"
Pyry Haulos [Mon, 10 Nov 2014 19:28:08 +0000 (19:28 +0000)]
Merge "Fix setjmp warning in qpTestLog PNG compression code"

10 years agoFix setjmp warning in qpTestLog PNG compression code
Pyry Haulos [Mon, 10 Nov 2014 18:09:32 +0000 (10:09 -0800)]
Fix setjmp warning in qpTestLog PNG compression code

Change-Id: Id0a8202c473b97ba874f5a032d0e4b022664e978

10 years agoMerge "Clean up CFlags.cmake"
Pyry Haulos [Mon, 10 Nov 2014 19:06:50 +0000 (19:06 +0000)]
Merge "Clean up CFlags.cmake"

10 years agoFix some dEQP GLES2 issues.
Jarkko Pöyry [Mon, 10 Nov 2014 18:58:55 +0000 (10:58 -0800)]
Fix some dEQP GLES2 issues.

- Convert broken negative preprocessor case to a positive one.
- Improve logging in negative shader matrix cases.

Bug: 18290570
Change-Id: If7e1a67a46021740f1c930cdda684bd85dd813be

10 years agoTreat adb device info parse failures as warnings
Pyry Haulos [Mon, 10 Nov 2014 18:17:16 +0000 (10:17 -0800)]
Treat adb device info parse failures as warnings

Currently when for example unauthorized adb device is connected
install.py stops working altogether, as parsing failures of such lines
causes fatal error. This change turns those failures into warnings
making install.py more robust.

Change-Id: I1b68f97d5bb8e28b04bdb7b58a8c03e2db7a9161

10 years agoClean up CFlags.cmake
Pyry Haulos [Mon, 10 Nov 2014 18:12:28 +0000 (10:12 -0800)]
Clean up CFlags.cmake

 * Android doesn't require special handling here any more.

 * Unify Clang and GCC sections as the flags are mostly common.

 * Remove -m32/-m64 flags as they must be set by cmake command line or
toolchain file to work properly.

 * Remove support for Symbian as it has not been maintained for ages and
is most likely broken.

Change-Id: Ib33b427e94e009dfcc20846454aa38c6b58e39ac

10 years agoAdd workaround for incorrect array-bounds warning in glsDrawTest.cpp
Pyry Haulos [Mon, 10 Nov 2014 18:10:39 +0000 (10:10 -0800)]
Add workaround for incorrect array-bounds warning in glsDrawTest.cpp

Change-Id: I07e4139429301ee306f9a79833da23df143ecafe

10 years agoRefactored EGLImage tests.
Mika Isojärvi [Wed, 29 Oct 2014 12:59:20 +0000 (14:59 +0200)]
Refactored EGLImage tests.

Refactor EGLImage tests and add more EGL utilities.

Change-Id: I3e7a1648b087316e7ae9ac85e52b88cbe89d33bf

10 years agoMerge "Generate GL(ES) framework .inl files from Khronos XML registry."
Pyry Haulos [Fri, 7 Nov 2014 15:54:07 +0000 (15:54 +0000)]
Merge "Generate GL(ES) framework .inl files from Khronos XML registry."

10 years agoGenerate GL(ES) framework .inl files from Khronos XML registry.
Pyry Haulos [Thu, 6 Nov 2014 01:41:42 +0000 (17:41 -0800)]
Generate GL(ES) framework .inl files from Khronos XML registry.

The new scripts produce the GL framework auto-generated parts using the
official XML description of the GL(ES) APIs.

Change-Id: I487a624dbadc2040bb4968f46a4c91ea7e5b27af

10 years agoMerge "Create repro cases for FBO clear bug"
Pyry Haulos [Wed, 5 Nov 2014 19:36:33 +0000 (19:36 +0000)]
Merge "Create repro cases for FBO clear bug"

10 years agoMerge "Add GLES version attribute to CTS test descriptor XMLs for future use."
Jarkko Pöyry [Tue, 4 Nov 2014 23:08:44 +0000 (23:08 +0000)]
Merge "Add GLES version attribute to CTS test descriptor XMLs for future use."

10 years agoAdd GLES version attribute to CTS test descriptor XMLs for future use.
Jarkko Pöyry [Tue, 4 Nov 2014 01:05:37 +0000 (17:05 -0800)]
Add GLES version attribute to CTS test descriptor XMLs for future use.

- Add "glesVersion" attribute to test package definition XML for future use.
- Add --module option to generator script to simplify test XML generation.
- Remove obsolete XML generation script.

Change-Id: I06ce86f3cd829d90727d2c1e459a1fcab92e268f

10 years agoAllow trailing newline in trie files.
Jarkko Pöyry [Tue, 4 Nov 2014 02:34:08 +0000 (18:34 -0800)]
Allow trailing newline in trie files.

Bug: 17958588
Change-Id: Iaa9b5aa95ee27e31d486755954df193f808b7e82

10 years agoCreate repro cases for FBO clear bug
Pyry Haulos [Mon, 3 Nov 2014 23:13:31 +0000 (15:13 -0800)]
Create repro cases for FBO clear bug

Color clears typically enjoy special handling in drivers, especially on
tile-based renderers, where fullscreen clears are typically just state
that gets processed when tile is initialized. That requires further
special handling when the clear is the only command issued to a render
target.

Sure enough there appears to be some devices where following doesn't
work as expected:

Repeat N times:
  Clear FBO A with some iteration-specific color
  Bind FBO B
  Sample from FBO A

The result is that sampling might not return color of that iteration,
but instead for example the claer color of first, or previous iteration.

These tests attempt to reproduce that implementation bug.

Bug: 18169662
Change-Id: I869138c5108d66fdf0cf497f730b2b3518d1686d

10 years agoAdd support for simpler test case list syntax
Pyry Haulos [Fri, 31 Oct 2014 00:45:41 +0000 (17:45 -0700)]
Add support for simpler test case list syntax

This change adds support for mustpass-style (full test case path per
line) test case format. All existing test case list command line options
(--deqp-caselist, --deqp-stdin-caselist, --deqp-caselist-file) now
accept both trie- and list-style inputs.

Format is detected by looking at the first character; trie always starts
with '{', list-style format is assumed otherwise.

de::CommandLine default value behavior has been changed. Options that
take values (i.e. not --flags) don't have value set, unless default
value is provided when registering options. Calling getOption() on
command line option whose value is not provided is now an error.
hasOption() should be used first to check if a value was provided at
all.

Test case list parsing is now covered by tests in the internal module.

Bug: 17958588
Change-Id: If6063165ff59cbd8e538d6f829c583541e104fd1

10 years agoam 48cf147d: am 7c800c27: Remove highp vec4 dot case from mustpass by request from IHV
Pyry Haulos [Fri, 31 Oct 2014 00:24:49 +0000 (00:24 +0000)]
am 48cf147d: am 7c800c27: Remove highp vec4 dot case from mustpass by request from IHV

* commit '48cf147dffde037f10f9bba10bc61ab61bea2807':
  Remove highp vec4 dot case from mustpass by request from IHV

10 years agoam 7c800c27: Remove highp vec4 dot case from mustpass by request from IHV
Pyry Haulos [Fri, 31 Oct 2014 00:14:16 +0000 (00:14 +0000)]
am 7c800c27: Remove highp vec4 dot case from mustpass by request from IHV

* commit '7c800c27c2431a50c60ef93c577ec1971bf48899':
  Remove highp vec4 dot case from mustpass by request from IHV

10 years agoMerge "First iteration of new release script"
Pyry Haulos [Thu, 30 Oct 2014 18:09:34 +0000 (18:09 +0000)]
Merge "First iteration of new release script"

10 years agoRemove highp vec4 dot case from mustpass by request from IHV
Pyry Haulos [Wed, 29 Oct 2014 23:20:31 +0000 (16:20 -0700)]
Remove highp vec4 dot case from mustpass by request from IHV

Change-Id: I9a102a5e43471ce1745350b0e5cfc831929367f1

10 years agoam 46b73d13: am 7665e4ff: Workaround for GCC internal compiler error.
Jarkko Pöyry [Wed, 29 Oct 2014 23:13:11 +0000 (23:13 +0000)]
am 46b73d13: am 7665e4ff: Workaround for GCC internal compiler error.

* commit '46b73d138528013b0d64e3e04a39f4985f37ad49':
  Workaround for GCC internal compiler error.

10 years agoam 7665e4ff: Workaround for GCC internal compiler error.
Jarkko Pöyry [Wed, 29 Oct 2014 23:08:22 +0000 (23:08 +0000)]
am 7665e4ff: Workaround for GCC internal compiler error.

* commit '7665e4ff5452f9fc261434f98484728a233ef452':
  Workaround for GCC internal compiler error.

10 years agoWorkaround for GCC internal compiler error.
Jarkko Pöyry [Wed, 29 Oct 2014 22:36:04 +0000 (15:36 -0700)]
Workaround for GCC internal compiler error.

GCC 4.8.0 generates internal compiler error (assign_by_spills) in
RandomArrayGenerator::createQuads() when compiled with -march=prescott.
As a workaround for the error, disable inlining of
alignmentSafeAssignment() when compiling for x86 using the affected GCC
version.

Bug: 18171557
Bug: 18174291

Change-Id: I3c7120ab304941d943515f0e2713513779253380

10 years agoFirst iteration of new release script
Pyry Haulos [Wed, 29 Oct 2014 20:01:55 +0000 (13:01 -0700)]
First iteration of new release script

This change restores release script from the grave and adapts it to the
new environment. Releases are now defined by a simple configuration
(source-only, bin-only, or both) and unique name. Android APK and linux64
utility binaries are currently built but not tested.

Additionally, deprecated license checks have been removed from qpInfo and
tcuApp.

Change-Id: If5073f65e7a91ec60fa7d903c9e9cfd196075944