platform/upstream/VK-GL-CTS.git
6 years agoDO NOT MERGE: Merge Oreo MR1 into master
Xin Li [Wed, 6 Dec 2017 19:51:52 +0000 (11:51 -0800)]
DO NOT MERGE: Merge Oreo MR1 into master

Exempt-From-Owner-Approval: Changes already landed internally
Change-Id: I71216cb23c2124938de9ae2a75b7cd7a0811d57f

6 years agoDon't assume rendering complete before buffer latch am: 9e0214cf61
Mark Adams [Wed, 6 Dec 2017 18:21:28 +0000 (18:21 +0000)]
Don't assume rendering complete before buffer latch am: 9e0214cf61
am: eb88a8ca3d

Change-Id: Ic8680791e52474a3d100314c6c90406ae8319a55

6 years agoDon't assume rendering complete before buffer latch
Mark Adams [Wed, 6 Dec 2017 18:08:12 +0000 (18:08 +0000)]
Don't assume rendering complete before buffer latch
am: 9e0214cf61

Change-Id: I72902995d20e746aa7066a46b097be4a2dab5453

6 years agoDon't assume rendering complete before buffer latch
Mark Adams [Mon, 4 Dec 2017 22:26:54 +0000 (17:26 -0500)]
Don't assume rendering complete before buffer latch

It's valid for the buffer to latch before rendering is completed, and
this is causing intermittent failures.

Bug: b/69981429

Test: --deqp-case=dEQP-EGL*get_frame_timestamps*

Change-Id: Ia9f1d0e4ffa7f3e16a46fc4566157a651d1b0601

6 years agox11: Call XInitThreads()
Chad Versace [Tue, 21 Nov 2017 19:40:01 +0000 (19:40 +0000)]
x11: Call XInitThreads()
am: a8bd356e58

Change-Id: I4b4980ba14f0e0482ccbe1d5d26b149b9e63ef05

6 years agoMerge commit 'eb9533febd01cde88ea23e2b4fc7fa35efb086ab' into HEAD
Xin Li [Mon, 13 Nov 2017 22:35:23 +0000 (14:35 -0800)]
Merge commit 'eb9533febd01cde88ea23e2b4fc7fa35efb086ab' into HEAD

Change-Id: If7b754ce356073d0bfedca11e361c781f48b2c45

6 years agox11: Call XInitThreads()
Chad Versace [Mon, 13 Nov 2017 11:02:02 +0000 (13:02 +0200)]
x11: Call XInitThreads()

Because the X11 manual says we must.

From man:XInitThreads(3):

  The XInitThreads function initializes Xlib support for concurrent
  threads.  This function must be the first Xlib function
  a multi-threaded program calls, and it must complete before any other
  Xlib call is made.

(See also Vulkan spec section "Xlib Platform")

Fixes crash in multithreaded test:

  Test case 'dEQP-EGL.functional.multithread.window'..
  [xcb] Unknown request in queue while dequeuing
  [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
  [xcb] Aborting, sorry about that.
  deqp-egl: xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
  Aborted (core dumped)

Change-Id: I2124be592a8d2d9036423cc2f0d71066e0e22939

6 years agoLower correlation threshold in flush-finish tests again am: 6455e6f987 am: 84373d7748
Gurchetan Singh [Tue, 7 Nov 2017 21:31:45 +0000 (21:31 +0000)]
Lower correlation threshold in flush-finish tests again am: 6455e6f987 am: 84373d7748
am: ecb9e37545

Change-Id: I4f1d98fb060bef57d8b7cd765d14c5c689b45d84

6 years agoMerge changes I5f7e56e3,I7f88e1da into oreo-cts-dev am: 67694b5635 -s ours
Brian Anderson [Tue, 7 Nov 2017 21:31:24 +0000 (21:31 +0000)]
Merge changes I5f7e56e3,I7f88e1da into oreo-cts-dev am: 67694b5635  -s ours
am: f0c5bf3e57

Change-Id: I355455e32e9f30922c4cd8f4966b50eb308aab5e

6 years agoLower correlation threshold in flush-finish tests again am: 6455e6f987
Gurchetan Singh [Tue, 7 Nov 2017 21:25:06 +0000 (21:25 +0000)]
Lower correlation threshold in flush-finish tests again am: 6455e6f987
am: 84373d7748

Change-Id: I040eedd50dbacddea82f9c430eca7aead0207bdf

6 years agoMerge changes I5f7e56e3,I7f88e1da into oreo-cts-dev
Brian Anderson [Tue, 7 Nov 2017 21:24:40 +0000 (21:24 +0000)]
Merge changes I5f7e56e3,I7f88e1da into oreo-cts-dev
am: 67694b5635  -s ours

Change-Id: Iab0ab07eeedaf7f009610b79874d168e7a81eb53

6 years agoLower correlation threshold in flush-finish tests again
Gurchetan Singh [Tue, 7 Nov 2017 20:24:36 +0000 (20:24 +0000)]
Lower correlation threshold in flush-finish tests again
am: 6455e6f987

Change-Id: I11a62d5d0af3612ed1cdcbedee1ba53d5b0e57ae

6 years agoMerge changes I5f7e56e3,I7f88e1da into oreo-cts-dev
Treehugger Robot [Tue, 7 Nov 2017 19:49:35 +0000 (19:49 +0000)]
Merge changes I5f7e56e3,I7f88e1da into oreo-cts-dev

* changes:
  eglGetFrameTimestamps: Consider timestamps of 0 as invalid.
  eglGetFrameTimestamps: Allow reads done to equal rendering complete.

6 years agoExclude incremental_present scale down from Android CTS am: da253a4fe0
Chris Forbes [Tue, 7 Nov 2017 02:57:37 +0000 (02:57 +0000)]
Exclude incremental_present scale down from Android CTS am: da253a4fe0
am: bb087b5f0a

Change-Id: Ib75947e136b77c2f067a43d162f52ca8e92b4f87

6 years agoExclude incremental_present scale down from Android CTS
Chris Forbes [Tue, 7 Nov 2017 02:51:02 +0000 (02:51 +0000)]
Exclude incremental_present scale down from Android CTS
am: da253a4fe0

Change-Id: Ie87d7f8da318bbd4422db4159e283ec31021327c

6 years agoExclude shared_presentable_image scale down from Android CTS am: 4e9d89ac4a
Chris Forbes [Tue, 7 Nov 2017 02:42:36 +0000 (02:42 +0000)]
Exclude shared_presentable_image scale down from Android CTS am: 4e9d89ac4a
am: 982211318b

Change-Id: Ia470d27a5ae47ea35c31aaa97bb54f86251d2bcf

6 years agoExclude shared_presentable_image scale down from Android CTS
Chris Forbes [Tue, 7 Nov 2017 02:35:06 +0000 (02:35 +0000)]
Exclude shared_presentable_image scale down from Android CTS
am: 4e9d89ac4a

Change-Id: If922d000bff974fef566afd57ac6daf2012e4f3b

6 years agoMerge "platform/surfaceless: Add Vulkan support"
Chad Versace [Mon, 6 Nov 2017 21:10:41 +0000 (21:10 +0000)]
Merge "platform/surfaceless: Add Vulkan support"
am: ece9907d58

Change-Id: I2a72018b5877c5ebf33328694cf5b62887fda16d

6 years agoMerge "platform/surfaceless: Add Vulkan support"
Treehugger Robot [Mon, 6 Nov 2017 21:04:22 +0000 (21:04 +0000)]
Merge "platform/surfaceless: Add Vulkan support"

6 years agoeglGetFrameTimestamps: Consider timestamps of 0 as invalid.
Brian Anderson [Thu, 19 Oct 2017 21:59:28 +0000 (14:59 -0700)]
eglGetFrameTimestamps: Consider timestamps of 0 as invalid.

There's a bug in the kernel that doesn't merge fences properly,
resulting in "reads done" timestamps of 0 when the fences being
merged have already signaled.

This is a temporary relaxation of the test requirements until
the kernel fix is required.

Bug: 68811985
Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: I5f7e56e3a0c9808237a1ebc3787cf788feef1a79

6 years agoeglGetFrameTimestamps: Allow reads done to equal rendering complete.
Brian Anderson [Tue, 17 Oct 2017 19:17:40 +0000 (12:17 -0700)]
eglGetFrameTimestamps: Allow reads done to equal rendering complete.

If there are no reads performed by the compositor, it is possible
for reads done timestamp to be the same as the rendering complete
timestamp.

Also add and use check_lt and check_le, to print out more detailed
debug info in the results.

Bug: 68811985
Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: I7f88e1da98be97101e8b0d6cd130b75bda8d88ca

6 years agoMerge "cmake: Use FindPNG instead of find_path/find_library"
Chad Versace [Fri, 3 Nov 2017 19:57:45 +0000 (19:57 +0000)]
Merge "cmake: Use FindPNG instead of find_path/find_library"
am: 382559a6e7

Change-Id: Ic2ac9f013b2cbb9c9309f6c53b3d53510182bb4c

6 years agoMerge "cmake: Use FindPNG instead of find_path/find_library"
Treehugger Robot [Fri, 3 Nov 2017 19:53:38 +0000 (19:53 +0000)]
Merge "cmake: Use FindPNG instead of find_path/find_library"

6 years agoMerge "Delete textures after ES2 completeness tests"
David Emett [Tue, 31 Oct 2017 18:48:28 +0000 (18:48 +0000)]
Merge "Delete textures after ES2 completeness tests"
am: 09cfddc320

Change-Id: I7df5bbdf9e90bcc2de68f1f2f05faa88f9a4f758

6 years agoMerge "Delete textures after ES2 completeness tests"
Treehugger Robot [Tue, 31 Oct 2017 18:41:07 +0000 (18:41 +0000)]
Merge "Delete textures after ES2 completeness tests"

6 years agoMerge "Multiple draw buffers in blend_equation_advanced"
Mark Adams [Wed, 25 Oct 2017 19:24:44 +0000 (19:24 +0000)]
Merge "Multiple draw buffers in blend_equation_advanced"
am: 3e98e4c911

Change-Id: I62370b0898c666d987cd4fe94f289184d48ff86d

6 years agoMerge "Multiple draw buffers in blend_equation_advanced"
Treehugger Robot [Wed, 25 Oct 2017 19:14:26 +0000 (19:14 +0000)]
Merge "Multiple draw buffers in blend_equation_advanced"

6 years agoMultiple draw buffers in blend_equation_advanced
Mark Adams [Fri, 20 Oct 2017 13:49:08 +0000 (09:49 -0400)]
Multiple draw buffers in blend_equation_advanced

GL_NVX_blend_equation_advanced_multi_draw_buffers adds support for
multiple draw buffers with advanced blend equations. This change
modifies the below test to check for this extension and to expect
GL_NO_ERROR if it is present.

Components: AOSP

VK-GL-CTS issue: 770

Affects:
dEQP-GLES31.functional.debug.negative_coverage.get_error.advanced_blend.attachment_advanced_equation

6 years agoMerge "Fix include guards for tcuSurfacelessPlatform.hpp"
Chris Forbes [Thu, 19 Oct 2017 23:17:05 +0000 (23:17 +0000)]
Merge "Fix include guards for tcuSurfacelessPlatform.hpp"
am: e32e143310

Change-Id: I275354879e5f2467846ada1bf32cc54bf71dfbe0

6 years agoMerge "Fix include guards for tcuSurfacelessPlatform.hpp"
Treehugger Robot [Thu, 19 Oct 2017 22:19:02 +0000 (22:19 +0000)]
Merge "Fix include guards for tcuSurfacelessPlatform.hpp"

6 years agoFix include guards for tcuSurfacelessPlatform.hpp
Chris Forbes [Thu, 19 Oct 2017 18:03:30 +0000 (11:03 -0700)]
Fix include guards for tcuSurfacelessPlatform.hpp

Change-Id: I3f6b9824c0fb51270e22942121e4feea1d6660fb
Components: Framework

6 years agoMerge "eglGetFrameTimestamps: Allow reads done to equal rendering complete." am:...
Brian Anderson [Wed, 18 Oct 2017 23:16:09 +0000 (23:16 +0000)]
Merge "eglGetFrameTimestamps: Allow reads done to equal rendering complete." am: f3788ae990 am: 7a0770ee76
am: cd11988b12

Change-Id: I8a6be95d0fd32d8f37626a2daec942f0925f05ce

6 years agoMerge "eglGetFrameTimestamps: Allow reads done to equal rendering complete." am:...
Brian Anderson [Wed, 18 Oct 2017 23:02:40 +0000 (23:02 +0000)]
Merge "eglGetFrameTimestamps: Allow reads done to equal rendering complete." am: f3788ae990
am: 7a0770ee76

Change-Id: I15c50ee2036e1033420ea68e74230a6160ef6653

6 years agoMerge "eglGetFrameTimestamps: Allow reads done to equal rendering complete."
Brian Anderson [Wed, 18 Oct 2017 23:00:38 +0000 (23:00 +0000)]
Merge "eglGetFrameTimestamps: Allow reads done to equal rendering complete."
am: f3788ae990

Change-Id: Ic6d75a4135e1bdbc779a47655574dc2ccbdb8f63

6 years agoMerge "eglGetFrameTimestamps: Allow reads done to equal rendering complete."
Treehugger Robot [Wed, 18 Oct 2017 22:51:38 +0000 (22:51 +0000)]
Merge "eglGetFrameTimestamps: Allow reads done to equal rendering complete."

6 years agoExclude incremental_present scale down from Android CTS
Chris Forbes [Fri, 29 Sep 2017 16:51:49 +0000 (09:51 -0700)]
Exclude incremental_present scale down from Android CTS

Bug: b/67022169
Bug: b/67295411
Test: check_build_sanity
Change-Id: I4be889f0bf64251069e829924faf4e8c113baa86

6 years agoExclude shared_presentable_image scale down from Android CTS
Chris Forbes [Fri, 29 Sep 2017 16:51:49 +0000 (09:51 -0700)]
Exclude shared_presentable_image scale down from Android CTS

Bug: b/66464066
Test: check_build_sanity
Change-Id: If815b53b8e998e720aca4fc1994e0151eef971a5

6 years agoDelete textures after ES2 completeness tests
David Emett [Mon, 16 Oct 2017 13:53:52 +0000 (14:53 +0100)]
Delete textures after ES2 completeness tests

VK-GL-CTS issue 772
Components: AOSP
Affects: dEQP-GLES2.functional.texture.completeness.*

Change-Id: Iad2c25706ef4d3630607db87543739462da0bbfd

6 years agoLower correlation threshold in flush-finish tests again
Gurchetan Singh [Fri, 6 Oct 2017 16:06:21 +0000 (09:06 -0700)]
Lower correlation threshold in flush-finish tests again

This test expects predictability from glFlush/glFinish timing.
In particular,  the code from FlushFinishCase::analyzeResults()
checks that the result falls within specific timing thresholds.

Notice that in the GLES3 specification, there is no requirement for
timing, just a guarantee that "commands [...] complete in finite time".
This is a problem because it makes the test very flaky, for example
if the CPU/GPU clocks are not ramping up fast enough.

BUG=b:67331095
TEST=Ran dEQP-GLES3.functional.flush_finish.finish on Elm for over 3+ hours
     Observed 1.5% to 2% flakiness without this patch. Observed no flakiness
     with this patch.

(cherry picked from commit 59f4fcde5ac1402ab3b911cf6a9f66b886c10464)
Signed-off-by: Gurchetan Singh <gurchetansingh@google.com>
6 years agoeglGetFrameTimestamps: Allow reads done to equal rendering complete.
Brian Anderson [Tue, 17 Oct 2017 19:17:40 +0000 (12:17 -0700)]
eglGetFrameTimestamps: Allow reads done to equal rendering complete.

If there are no reads performed by the compositor, it is possible
for reads done timestamp to be the same as the rendering complete
timestamp.

Also add and use check_lt and check_le, to print out more detailed
debug info in the results.

Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: I258562806aab2f44e91f2aafa1e7a00f4d522959

6 years agocmake: Use FindPNG instead of find_path/find_library
Chad Versace [Fri, 2 Dec 2016 23:43:08 +0000 (15:43 -0800)]
cmake: Use FindPNG instead of find_path/find_library

dEQP's use of find_path() and find_library() failed to find the png
paths if the paths contained a version suffix. For example, they failed
to find /usr/include/libpng12/png.h and /usr/lib64/libpng12.so.

CMake ships a standard FindPNG module that does not get confounded by
version-suffixed paths.  The module also respects cross-compilation
environments.

Change-Id: I636be9430697a9d883040b53e79767466fbd2ad5
Signed-off-by: Chad Versace <chad.versace@intel.com>
6 years agoplatform/surfaceless: Add Vulkan support
Chad Versace [Thu, 2 Feb 2017 20:35:56 +0000 (12:35 -0800)]
platform/surfaceless: Add Vulkan support

Tested on the following systems:
  - Chromium OS, board=reef, mesa-17.1.0-r3
  - Arch Linux, gpu=skylake, mesa-13.0.3-1

Change-Id: Iaaf0f4617f8e099ec076fb083055214dd8f6e243

6 years agoMerge "targets/surfaceless: Add support for Chrome OS surfaceless" am: f8236f5139...
Stéphane Marchesin [Tue, 17 Oct 2017 06:03:33 +0000 (06:03 +0000)]
Merge "targets/surfaceless: Add support for Chrome OS surfaceless" am: f8236f5139 am: 0b8256eeff
am: 19bfe43ed3

Change-Id: I5ec3279f3033296b04ce80dd5003551aa076344d

6 years agoMerge "targets/surfaceless: Add support for Chrome OS surfaceless" am: f8236f5139
Stéphane Marchesin [Tue, 17 Oct 2017 05:41:25 +0000 (05:41 +0000)]
Merge "targets/surfaceless: Add support for Chrome OS surfaceless" am: f8236f5139
am: 0b8256eeff

Change-Id: I5d3b3ea704c6273fe4372e473fb92d3f1ac27aa8

6 years agoMerge "targets/surfaceless: Add support for Chrome OS surfaceless"
Stéphane Marchesin [Tue, 17 Oct 2017 05:38:31 +0000 (05:38 +0000)]
Merge "targets/surfaceless: Add support for Chrome OS surfaceless"
am: f8236f5139

Change-Id: I45754132c076ea55519c4ef75371b0adaf161b10

6 years agoMerge "targets/surfaceless: Add support for Chrome OS surfaceless"
Treehugger Robot [Tue, 17 Oct 2017 05:33:44 +0000 (05:33 +0000)]
Merge "targets/surfaceless: Add support for Chrome OS surfaceless"

6 years agoMerge "Use -Werror in external/deqp" am: 9f802d115c am: 0698c01b99
Chih-Hung Hsieh [Mon, 16 Oct 2017 19:28:09 +0000 (19:28 +0000)]
Merge "Use -Werror in external/deqp" am: 9f802d115c am: 0698c01b99
am: 7efe1df783

Change-Id: Ibdcb9f743a1ad1d44c255e93b6dd908950c783c4

6 years agoMerge "Use -Werror in external/deqp" am: 9f802d115c
Chih-Hung Hsieh [Mon, 16 Oct 2017 19:23:09 +0000 (19:23 +0000)]
Merge "Use -Werror in external/deqp" am: 9f802d115c
am: 0698c01b99

Change-Id: Ibda7e6bee8aea91e086af6c24c88263cbe3b8a85

6 years agoMerge "Use -Werror in external/deqp"
Chih-Hung Hsieh [Mon, 16 Oct 2017 19:18:36 +0000 (19:18 +0000)]
Merge "Use -Werror in external/deqp"
am: 9f802d115c

Change-Id: I8406ee0af79b2bdba4dfc541e4b7afa64860107c

6 years agoMerge "Use -Werror in external/deqp"
Treehugger Robot [Mon, 16 Oct 2017 19:07:52 +0000 (19:07 +0000)]
Merge "Use -Werror in external/deqp"

6 years agoLower correlation threshold in flush-finish tests again am: 59f4fcde5a am: ebee600fb0
Gurchetan Singh [Thu, 12 Oct 2017 17:50:08 +0000 (17:50 +0000)]
Lower correlation threshold in flush-finish tests again am: 59f4fcde5a am: ebee600fb0
am: 1b9bd18134

Change-Id: Ib2e799976e7ef88e12809b8c00d73cf5f4718c5a

6 years agoLower correlation threshold in flush-finish tests again am: 59f4fcde5a
Gurchetan Singh [Thu, 12 Oct 2017 17:46:06 +0000 (17:46 +0000)]
Lower correlation threshold in flush-finish tests again am: 59f4fcde5a
am: ebee600fb0

Change-Id: Ie178b2070034fb7c014e4ae9ff005a2e31770e9e

6 years agoLower correlation threshold in flush-finish tests again
Gurchetan Singh [Thu, 12 Oct 2017 17:44:21 +0000 (17:44 +0000)]
Lower correlation threshold in flush-finish tests again
am: 59f4fcde5a

Change-Id: I9b510ab7163cd135942a26f22ab5abdccaae2c76

6 years agoUse -Werror in external/deqp
Chih-Hung Hsieh [Tue, 10 Oct 2017 19:20:23 +0000 (12:20 -0700)]
Use -Werror in external/deqp

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I8b711d0fdfcf5241dc1b7754a8be5fbd712d555f

6 years agotargets/surfaceless: Add support for Chrome OS surfaceless
Stéphane Marchesin [Tue, 1 Mar 2016 06:19:09 +0000 (22:19 -0800)]
targets/surfaceless: Add support for Chrome OS surfaceless

Implement a new dEQP target, "surfaceless", that supports offscreen
rendering using Chrome OS's EGL null platform. This is based on
intel's work to add support for "drm" target, but extends it to work
on ARM as well.

dEQP could be ran with --deqp-surface-type=fbo because the native EGL
platform does not support EGLSurfaces. However, because of b:27656575,
it must be run with --deqp-surface-type=pbuffer at the moment.

Unlike all of dEQP's other EGL-derived platforms (x11::egl::Platform,
Android::Platform, rpi::Platform, etc), class surfaceless::Platform does
not inherit from eglu::Platform and it reuses very little of dEQP's
existing EGL code. I had to re-invent the wheel when implementing the DRM
platform because dEQP's existing EGL code relies heavily on EGLSurfaces,
which Chrome's EGL surfaceless does not support.

BUG=chromium:543372
TEST=run deqp on veyron_jaq

6 years agoLower correlation threshold in flush-finish tests again
Gurchetan Singh [Fri, 6 Oct 2017 16:06:21 +0000 (09:06 -0700)]
Lower correlation threshold in flush-finish tests again

This test expects predictability from glFlush/glFinish timing.
In particular,  the code from FlushFinishCase::analyzeResults()
checks that the result falls within specific timing thresholds.

Notice that in the GLES3 specification, there is no requirement for
timing, just a guarantee that "commands [...] complete in finite time".
This is a problem because it makes the test very flaky, for example
if the CPU/GPU clocks are not ramping up fast enough.

BUG=b:67331095
TEST=Ran dEQP-GLES3.functional.flush_finish.finish on Elm for over 3+ hours
     Observed 1.5% to 2% flakiness without this patch. Observed no flakiness
     with this patch.

6 years agoExclude incremental_present scale down from Android CTS
Chris Forbes [Wed, 4 Oct 2017 23:28:26 +0000 (23:28 +0000)]
Exclude incremental_present scale down from Android CTS
am: 57b62d4c43

Change-Id: Ib3ac8415985fcdd4f4c39f3238807ef8e23d4521

6 years agoExclude shared_presentable_image scale down from Android CTS
Chris Forbes [Wed, 4 Oct 2017 23:28:07 +0000 (23:28 +0000)]
Exclude shared_presentable_image scale down from Android CTS
am: 03744fdc39

Change-Id: Ie842dbbbf1a7f9977e450a1a73f6a92ab3ae4818

6 years agoExclude incremental_present scale down from Android CTS
Chris Forbes [Fri, 29 Sep 2017 16:51:49 +0000 (09:51 -0700)]
Exclude incremental_present scale down from Android CTS

Bug: b/65643778
Bug: b/67022169
Bug: b/67295411
Test: check_build_sanity
Change-Id: I4be889f0bf64251069e829924faf4e8c113baa86

6 years agoExclude shared_presentable_image scale down from Android CTS
Chris Forbes [Fri, 29 Sep 2017 16:51:49 +0000 (09:51 -0700)]
Exclude shared_presentable_image scale down from Android CTS

Bug: b/65643778
Bug: b/66464066
Test: check_build_sanity
Change-Id: If815b53b8e998e720aca4fc1994e0151eef971a5

6 years agoDisable some UBO tests which got broken by recent glslang change am: d81d8e2af7 am...
Chris Forbes [Tue, 3 Oct 2017 22:53:40 +0000 (22:53 +0000)]
Disable some UBO tests which got broken by recent glslang change am: d81d8e2af7 am: 3a1de9094d am: e1b43f5bf1
am: 600f61a69c

Change-Id: I7ac13b27386f7388d10ab4b4963286f89105c05f

6 years agoDisable some UBO tests which got broken by recent glslang change am: d81d8e2af7 am...
Chris Forbes [Tue, 3 Oct 2017 22:52:50 +0000 (22:52 +0000)]
Disable some UBO tests which got broken by recent glslang change am: d81d8e2af7 am: 188944cfd1 am: 0f95f68482
am: 6126d15a8d

Change-Id: I7859b272d861489da25f01d194f70b0acd0c4113

6 years agoDisable some UBO tests which got broken by recent glslang change am: d81d8e2af7 am...
Chris Forbes [Tue, 3 Oct 2017 22:49:57 +0000 (22:49 +0000)]
Disable some UBO tests which got broken by recent glslang change am: d81d8e2af7 am: 188944cfd1 am: 0f95f68482
am: c3016307d0

Change-Id: I24346893c8fc989e5ef977b4d7b893bc1967a3e2

6 years agoDisable some UBO tests which got broken by recent glslang change am: d81d8e2af7 am...
Chris Forbes [Tue, 3 Oct 2017 22:46:18 +0000 (22:46 +0000)]
Disable some UBO tests which got broken by recent glslang change am: d81d8e2af7 am: 188944cfd1
am: 0f95f68482

Change-Id: Ia49724d1cf3fade59f71e39d6f321398e042e5f6

6 years agoDisable some UBO tests which got broken by recent glslang change am: d81d8e2af7 am...
Chris Forbes [Tue, 3 Oct 2017 22:45:51 +0000 (22:45 +0000)]
Disable some UBO tests which got broken by recent glslang change am: d81d8e2af7 am: 3a1de9094d
am: e1b43f5bf1

Change-Id: I44fb4bcb31c5a5a62601ef08ca683cbbb950678e

6 years agoDisable some UBO tests which got broken by recent glslang change am: d81d8e2af7 am...
Chris Forbes [Tue, 3 Oct 2017 22:44:26 +0000 (22:44 +0000)]
Disable some UBO tests which got broken by recent glslang change am: d81d8e2af7 am: 188944cfd1
am: 0f95f68482

Change-Id: Ic486d20f8fa907b2280ae04ba105555e5a4e0c21

6 years agoDisable some UBO tests which got broken by recent glslang change am: d81d8e2af7
Chris Forbes [Tue, 3 Oct 2017 22:41:03 +0000 (22:41 +0000)]
Disable some UBO tests which got broken by recent glslang change am: d81d8e2af7
am: 3a1de9094d

Change-Id: I2bf5e7232412cfd54bb5321a9357262ba6f73116

6 years agoDisable some UBO tests which got broken by recent glslang change am: d81d8e2af7
Chris Forbes [Tue, 3 Oct 2017 22:41:02 +0000 (22:41 +0000)]
Disable some UBO tests which got broken by recent glslang change am: d81d8e2af7
am: 188944cfd1

Change-Id: Iab4679d945588de21bf329f114074d3bd0f92765

6 years agoDisable some UBO tests which got broken by recent glslang change
Chris Forbes [Tue, 3 Oct 2017 22:37:51 +0000 (22:37 +0000)]
Disable some UBO tests which got broken by recent glslang change
am: d81d8e2af7

Change-Id: Ic275c1ec2efeaf191a4537ca78a8b0109b8ac9fc

6 years agoDisable some UBO tests which got broken by recent glslang change
Chris Forbes [Tue, 3 Oct 2017 22:23:11 +0000 (22:23 +0000)]
Disable some UBO tests which got broken by recent glslang change
am: d81d8e2af7

Change-Id: I1dadbabb85dfe7ecb5da296acb84a91538521e3e

6 years agoDisable some UBO tests which got broken by recent glslang change
Chris Forbes [Tue, 3 Oct 2017 17:17:59 +0000 (10:17 -0700)]
Disable some UBO tests which got broken by recent glslang change

Bug: b/67013571
Change-Id: I54c3f9aba636381a57e398de603b09dad4d14188

6 years agoUpdate owners file am: 412471299c am: 52698183c4
Mika Isojrvi [Mon, 2 Oct 2017 21:06:43 +0000 (21:06 +0000)]
Update owners file am: 412471299c am: 52698183c4
am: 0af23d580a

Change-Id: Ie8b08237ddcebe3703e8809157401e7a06b34d1e

6 years agoUpdate owners file am: 412471299c
Mika Isojrvi [Mon, 2 Oct 2017 20:54:52 +0000 (20:54 +0000)]
Update owners file am: 412471299c
am: 52698183c4

Change-Id: I39a262a3d14200646ede5e33bd89a64a27bd3580

6 years agoUpdate owners file
Mika Isojrvi [Mon, 2 Oct 2017 20:47:33 +0000 (20:47 +0000)]
Update owners file
am: 412471299c

Change-Id: Ifcd38fa1f0eeaeeb37348793d897886182888d24

6 years agoUpdate owners file
Mika Isojärvi [Thu, 28 Sep 2017 17:25:24 +0000 (10:25 -0700)]
Update owners file

Test: build/make/tools/checkowners.py -c -v OWNERS
Change-Id: I117459d91f39055aaa5f0bc6abfbda32f31cdab2

6 years agoUse hidden visibility with GCC and Clang am: 0fa7ebccc4 am: 13641fa112
Emil Velikov [Mon, 25 Sep 2017 22:39:50 +0000 (22:39 +0000)]
Use hidden visibility with GCC and Clang am: 0fa7ebccc4 am: 13641fa112
am: ce28e6a975

Change-Id: I88f8bcd923dc164483f5ba1073f0dadde3ffad33

6 years agoAdd missing JNIEXPORT and JNICALL to createTestActivity() JNI call am: 1e7c5746fb...
Mika Isojrvi [Mon, 25 Sep 2017 22:39:47 +0000 (22:39 +0000)]
Add missing JNIEXPORT and JNICALL to createTestActivity() JNI call am: 1e7c5746fb am: 1b02bdf0c0
am: efbe56dc43

Change-Id: I57f82e3bb1281cd74b30cff8bd1871305bf39051

6 years agoUse hidden visibility with GCC and Clang am: 0fa7ebccc4
Emil Velikov [Mon, 25 Sep 2017 22:33:23 +0000 (22:33 +0000)]
Use hidden visibility with GCC and Clang am: 0fa7ebccc4
am: 13641fa112

Change-Id: I730cf0e31e73bd1c8925e5bb850992a3d9170053

6 years agoAdd missing JNIEXPORT and JNICALL to createTestActivity() JNI call am: 1e7c5746fb
Mika Isojrvi [Mon, 25 Sep 2017 22:33:18 +0000 (22:33 +0000)]
Add missing JNIEXPORT and JNICALL to createTestActivity() JNI call am: 1e7c5746fb
am: 1b02bdf0c0

Change-Id: If6ebf1a47369afaebe3ce9d6c262872ba0358281

6 years agoUse hidden visibility with GCC and Clang
Emil Velikov [Mon, 25 Sep 2017 22:31:22 +0000 (22:31 +0000)]
Use hidden visibility with GCC and Clang
am: 0fa7ebccc4

Change-Id: I556e6233f7af2818786fbc2798eec1658cf3a590

6 years agoAdd missing JNIEXPORT and JNICALL to createTestActivity() JNI call
Mika Isojrvi [Mon, 25 Sep 2017 22:31:20 +0000 (22:31 +0000)]
Add missing JNIEXPORT and JNICALL to createTestActivity() JNI call
am: 1e7c5746fb

Change-Id: Ie89e7d9aa13b0a29d5953a26d79a218c288eda53

6 years agoUse hidden visibility with GCC and Clang
Emil Velikov [Wed, 30 Aug 2017 14:12:14 +0000 (15:12 +0100)]
Use hidden visibility with GCC and Clang

The final result of the build are standalone executables, with all the
code statically linked.

Change the visibility to hidden, to avoid the symbol leakage and allow
the compiler to discard some code.

As a result the binary size is drastically decreased.

Total executable size on my setup drops by ~20%
 158M    before
 128M    after

Note: The binaries still export multiple unneeded symbols. Resolving
those is left as an exercise for later.

Test: full rebuild, running resulting binaries.

Change-Id: Ife10bbd123d59f4480349794785f13978516df30
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
6 years agoAdd missing JNIEXPORT and JNICALL to createTestActivity() JNI call
Mika Isojärvi [Fri, 8 Sep 2017 19:36:34 +0000 (12:36 -0700)]
Add missing JNIEXPORT and JNICALL to createTestActivity() JNI call

Test: Ran internal deqp tests on couple of Google devices
Change-Id: I08c8ff0a040261aaf60fa761158a12cccff987c2

6 years agoFix missing SSBO binding in EGL robustness tests am: 645b470b61 am: bbed3afad3 am...
Mika Isojrvi [Mon, 25 Sep 2017 15:56:32 +0000 (15:56 +0000)]
Fix missing SSBO binding in EGL robustness tests am: 645b470b61 am: bbed3afad3 am: f1a0604dbe
am: 8aabf6fedf

Change-Id: I34dd660dd905cc091ed7ea095b23f9b93a5ffe9e

6 years agoFix unused uniform bug in EGL robustness tests am: cd1ec788ec am: ec1e89a3f8 am:...
Mika Isojrvi [Mon, 25 Sep 2017 15:56:13 +0000 (15:56 +0000)]
Fix unused uniform bug in EGL robustness tests am: cd1ec788ec am: ec1e89a3f8 am: 49f47fb792
am: bf0d6acff1

Change-Id: I42d2cd85e06a9ffd4322d61cd2dbb3114284267d

6 years agoDo not use degenerate frames in EGL tests am: 8adce77ee5 am: 5ec562c6e2 am: 364dfab9e2
Michael Chock [Mon, 25 Sep 2017 15:55:51 +0000 (15:55 +0000)]
Do not use degenerate frames in EGL tests am: 8adce77ee5 am: 5ec562c6e2 am: 364dfab9e2
am: 44430048d5

Change-Id: I6ed817def181d54690ed6dc627782bfff2ff3329

6 years agoExclude mutable image tests from Android CTS am: ae838ac1c9 am: 6b3b1310a6 am: 2d9bb5fce7
Mika Isojrvi [Mon, 25 Sep 2017 15:54:21 +0000 (15:54 +0000)]
Exclude mutable image tests from Android CTS am: ae838ac1c9 am: 6b3b1310a6 am: 2d9bb5fce7
am: d78e1ea77c

Change-Id: Id76d0db06211319f68d21c85e926a621cc04b1fc

6 years agoFix missing SSBO binding in EGL robustness tests am: 645b470b61 am: bbed3afad3
Mika Isojrvi [Mon, 25 Sep 2017 15:53:01 +0000 (15:53 +0000)]
Fix missing SSBO binding in EGL robustness tests am: 645b470b61 am: bbed3afad3
am: f1a0604dbe

Change-Id: Ib5df2ae8e11e58b177597960b56a6decd2fadd67

6 years agoFix unused uniform bug in EGL robustness tests am: cd1ec788ec am: ec1e89a3f8
Mika Isojrvi [Mon, 25 Sep 2017 15:52:41 +0000 (15:52 +0000)]
Fix unused uniform bug in EGL robustness tests am: cd1ec788ec am: ec1e89a3f8
am: 49f47fb792

Change-Id: I6c1aece689946275d2f5d34b57da19194a97392b

6 years agoDo not use degenerate frames in EGL tests am: 8adce77ee5 am: 5ec562c6e2
Michael Chock [Mon, 25 Sep 2017 15:52:14 +0000 (15:52 +0000)]
Do not use degenerate frames in EGL tests am: 8adce77ee5 am: 5ec562c6e2
am: 364dfab9e2

Change-Id: Ib8a4a61e7d0cc0fada4f661f27d7cb9f9187062d

6 years agoresolve merge conflicts of 037808f59 to oc-dr1-dev-plus-aosp
Mika Isojärvi [Mon, 25 Sep 2017 15:50:29 +0000 (15:50 +0000)]
resolve merge conflicts of 037808f59 to oc-dr1-dev-plus-aosp
am: 405ea7d9a5

Change-Id: I45a9f663e6ca640fe8b9641027aea2494d8b4293

6 years agoExclude mutable image tests from Android CTS am: ae838ac1c9 am: 6b3b1310a6
Mika Isojrvi [Mon, 25 Sep 2017 15:49:48 +0000 (15:49 +0000)]
Exclude mutable image tests from Android CTS am: ae838ac1c9 am: 6b3b1310a6
am: 2d9bb5fce7

Change-Id: Ic68cb115ef9ee31d89f453c92d19ee1284db841e

6 years agoresolve merge conflicts of 037808f59 to oc-dr1-dev-plus-aosp
Mika Isojärvi [Sat, 23 Sep 2017 00:20:30 +0000 (17:20 -0700)]
resolve merge conflicts of 037808f59 to oc-dr1-dev-plus-aosp

Test: Ran scripts/check_build_sanity.py
Change-Id: I443f3027810c18df9e0929ddb5fa2fbee03bea54

6 years agoFix missing SSBO binding in EGL robustness tests am: 645b470b61 am: bbed3afad3 am...
Mika Isojrvi [Sat, 23 Sep 2017 00:13:26 +0000 (00:13 +0000)]
Fix missing SSBO binding in EGL robustness tests am: 645b470b61 am: bbed3afad3 am: f1a0604dbe
am: 39d508a764

Change-Id: I3625d5e160dc66c1ad23bd395f4d386fa51b0a9e

6 years agoFix unused uniform bug in EGL robustness tests am: cd1ec788ec am: ec1e89a3f8 am:...
Mika Isojrvi [Sat, 23 Sep 2017 00:13:08 +0000 (00:13 +0000)]
Fix unused uniform bug in EGL robustness tests am: cd1ec788ec am: ec1e89a3f8 am: 49f47fb792
am: b7572fc838

Change-Id: If84e479141747828636568d0cdd6950be69f7aa8

6 years agoDo not use degenerate frames in EGL tests am: 8adce77ee5 am: 5ec562c6e2 am: 364dfab9e2
Michael Chock [Sat, 23 Sep 2017 00:12:55 +0000 (00:12 +0000)]
Do not use degenerate frames in EGL tests am: 8adce77ee5 am: 5ec562c6e2 am: 364dfab9e2
am: 1c3d032d35

Change-Id: Iea2db53fd720be65a35d5ebdfff0e7358e544b47

6 years agoExclude mutable image tests from Android CTS am: ae838ac1c9 am: 6b3b1310a6 am: 2d9bb5fce7
Mika Isojrvi [Sat, 23 Sep 2017 00:12:34 +0000 (00:12 +0000)]
Exclude mutable image tests from Android CTS am: ae838ac1c9 am: 6b3b1310a6 am: 2d9bb5fce7
am: 1358f8d4d4

Change-Id: I8ac0c9fe99e1eff0f85cc2f4b06fe09264c1737b

6 years agoFix missing SSBO binding in EGL robustness tests am: 645b470b61 am: bbed3afad3
Mika Isojrvi [Sat, 23 Sep 2017 00:11:36 +0000 (00:11 +0000)]
Fix missing SSBO binding in EGL robustness tests am: 645b470b61 am: bbed3afad3
am: f1a0604dbe

Change-Id: I596f90b5511c7d1aed73df7d4873b567e2ebe1d9

6 years agoFix unused uniform bug in EGL robustness tests am: cd1ec788ec am: ec1e89a3f8
Mika Isojrvi [Sat, 23 Sep 2017 00:11:07 +0000 (00:11 +0000)]
Fix unused uniform bug in EGL robustness tests am: cd1ec788ec am: ec1e89a3f8
am: 49f47fb792

Change-Id: Icdd22cf024147de11d31655d3ae6ecdc49ff3ac5

6 years agoDo not use degenerate frames in EGL tests am: 8adce77ee5 am: 5ec562c6e2
Michael Chock [Sat, 23 Sep 2017 00:10:52 +0000 (00:10 +0000)]
Do not use degenerate frames in EGL tests am: 8adce77ee5 am: 5ec562c6e2
am: 364dfab9e2

Change-Id: I356c95efe1e508f07bfcc2608efb4ddbc0804d06