platform/upstream/VK-GL-CTS.git
6 years agoMerge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev am: 4c26442e3d
Jeff Leger [Fri, 12 Jan 2018 01:35:31 +0000 (01:35 +0000)]
Merge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev am: 4c26442e3d
am: d9b0dd51d2

Change-Id: Iddae106a643abc1cae3a66877bc6f32126ea5781

6 years agoMerge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev
Jeff Leger [Fri, 12 Jan 2018 01:31:43 +0000 (01:31 +0000)]
Merge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev
am: 4c26442e3d

Change-Id: I32a3a35837be16886acebd28e30ccdadffa73811

6 years agoMerge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev
Treehugger Robot [Fri, 12 Jan 2018 01:10:31 +0000 (01:10 +0000)]
Merge "Reduce GPU workload of pipeline_barrier tests" into oreo-cts-dev

6 years agoglshared: Add watchdog touches to avoid timeouts on slow hardware am: 0d9250e9eb
Chris Forbes [Thu, 11 Jan 2018 22:32:16 +0000 (22:32 +0000)]
glshared: Add watchdog touches to avoid timeouts on slow hardware am: 0d9250e9eb
am: 65715b7354

Change-Id: I7530fe8d79d43fb5a269347cd302709c7498b764

6 years agoglshared: Add watchdog touches to avoid timeouts on slow hardware
Chris Forbes [Thu, 11 Jan 2018 22:22:49 +0000 (22:22 +0000)]
glshared: Add watchdog touches to avoid timeouts on slow hardware
am: 0d9250e9eb

Change-Id: If675c974a2389787e53d2d618509ca81a48990d9

6 years agoglshared: Add watchdog touches to avoid timeouts on slow hardware
Chris Forbes [Thu, 21 Dec 2017 18:22:58 +0000 (10:22 -0800)]
glshared: Add watchdog touches to avoid timeouts on slow hardware

Based on diffs posted to deqp-external-requests

Bug: b/71753331
Bug: b/67854695

Change-Id: Id25e334814caf65f72b76e66d3b07fccba5ad355
Component: AOSP

6 years agoMerge remote-tracking branch oreo-mr1-cts-dev into master.
Xin Li [Thu, 4 Jan 2018 21:57:05 +0000 (13:57 -0800)]
Merge remote-tracking branch oreo-mr1-cts-dev into 

Test: presubmit
Bug: 69859815
Change-Id: I47e94db994e07a7b159d840d1a2283bf072eb09f

6 years agoRun Draw*BaseVertex if EXT_draw_elements_base_vertex is present
Alexander Galazin [Wed, 16 Aug 2017 09:36:01 +0000 (11:36 +0200)]
Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present

Draw*BaseVertex methods are enabled if
the EXT_draw_elements_base_vertex extension is present
Follow-up on 1b1ea05b

Components: AOSP
Bug: 70716357
Test: run on google devices

Affects: dEQP-GLES31.functional.draw_base_vertex.*

Change-Id: If8a4860a956c771ec5ea3341e2227f437b12a286
(cherry picked from commit 079ca561114713d31e05c4124b8daeef764cf9b8)
Merged-In: 079ca561114713d31e05c4124b8daeef764cf9b8

6 years agoReport tests using Draw*BaseVertex as NotSupported
Alexander Galazin [Wed, 16 Aug 2017 09:36:01 +0000 (11:36 +0200)]
Report tests using Draw*BaseVertex as NotSupported

Draw*BaseVertex methods were added in GLES 3.2.
Report tests using these methods as NotSupported if
GLES 3.1 context is returned.

Components: AOSP

Affects: dEQP-GLES31.functional.draw_base_vertex.*

Bug: 70716326
Test: run on google devices

Change-Id: I87c918d5f66a0a5b547f8e625c662203a7f85048
(cherry picked from commit 1b1ea05b4e8d6e9dbb07187b0af6bc12c315fb4e)
Merged-In: 1b1ea05b4e8d6e9dbb07187b0af6bc12c315fb4e

6 years agoRemove dEQP-GLES31.*vertex_array.*_invalid_map tests
David Sodman [Thu, 18 May 2017 16:30:17 +0000 (09:30 -0700)]
Remove dEQP-GLES31.*vertex_array.*_invalid_map tests

Tests made assumptions about GL error returned from glDrawElements*
functions when passed a mapped buffer object, but, that error is not
supported by the specification.

Affects: dEQP-GLES31.*vertex_array.*
Components: AOSP
Bug: 37942569
Bug: 70716290
Test: run on google devices

Change-Id: Ic066dfbe717ff1e7741bec8ee870b09b99362dc7
(cherry picked from commit 428a2256159883c651a409c4e0cbe031953f4c4e)
Merged-In: 428a2256159883c651a409c4e0cbe031953f4c4e

6 years agoMerge "Switch to libc++."
Treehugger Robot [Thu, 21 Dec 2017 18:52:44 +0000 (18:52 +0000)]
Merge "Switch to libc++."

6 years agoSwitch to libc++.
Dan Albert [Wed, 20 Dec 2017 23:13:57 +0000 (15:13 -0800)]
Switch to libc++.

gnustl is being removed.

Bug: None
Test: make checkbuild
Change-Id: If41a886c8dcf2abc5aa4e30de4bce58c45cd6387

6 years agoFix mustpass generation
Chris Forbes [Tue, 19 Dec 2017 19:15:37 +0000 (11:15 -0800)]
Fix mustpass generation

In 303f5900b4 we started emitting this element, but the generator was
slightly bogus.

Test: build mustpass

Change-Id: I2cf36637ba3264e1c254407d8f49f8c96b9d0cac

6 years agoAdd suite component to DEQP test module
Julien Desprez [Tue, 19 Dec 2017 06:24:17 +0000 (06:24 +0000)]
Add suite component to DEQP test module

Test: build
Bug: 65303193
Change-Id: I5102a2c0d7b4e49eafeaddea344208325ca7f300

6 years agoMerge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev
Chris Forbes [Sat, 16 Dec 2017 00:41:49 +0000 (00:41 +0000)]
Merge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev
am: aa801278e8

Change-Id: I5818c937676ad5c4c79814be1c39c8c264949977

6 years agoMerge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev
Chris Forbes [Sat, 16 Dec 2017 00:38:19 +0000 (00:38 +0000)]
Merge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev
am: aa801278e8

Change-Id: If513bb7ec4ab4b80695291633dc4f7990c69f28b

6 years agoMerge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev
Treehugger Robot [Sat, 16 Dec 2017 00:34:23 +0000 (00:34 +0000)]
Merge "Avoid watchdog timeout in Vulkan builtin precision tests" into oreo-cts-dev

6 years agoPermit different errors in context creation tests
Michael Chock [Wed, 13 Dec 2017 17:10:18 +0000 (09:10 -0800)]
Permit different errors in context creation tests

dEQP-EGL.functional.negative_api.create_context tests error conditions
EGL supports OpenGL ES, but not a specifically requested version (e.g.,
creating an OpenGL ES 1 context when only OpenGL ES 2 is supported). The
error that should be raised varies based on the governing specification.
EGL 1.4 mandates EGL_BAD_CONFIG. EGL 1.5 mandates EGL_BAD_MATCH.
EGL_KHR_create_context has langage mandating *both* errors in separate
paragraphs.

Accept either error code as appropriate for EGL version and extension
support.

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
Mark Adams [Wed, 6 Dec 2017 18:28:29 +0000 (18:28 +0000)]
Don't assume rendering complete before buffer latch
am: 9e0214cf61

Change-Id: Iee3ccf2afef375ac45e60133537a141d685d607f

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 agoAvoid watchdog timeout in Vulkan builtin precision tests
Chris Forbes [Mon, 16 Oct 2017 19:42:35 +0000 (12:42 -0700)]
Avoid watchdog timeout in Vulkan builtin precision tests

Calculating the reference intervals can take a substantial amount of
time. On some very slow targets, this can cause us to trip the watchdog
in the verification loop.

Same approach and limit as in modules/glshared/glsBuiltinPrecisionTests.cpp

Affected tests:
dEQP-VK.glsl.builtin.precision.*

Component: Vulkan

Bug: 67854695
Test: run on google devices
Change-Id: I492b656e7e2a9aa724bb3785bdf1416a4c22ec04

6 years agoReduce GPU workload of pipeline_barrier tests
Jeff Leger [Wed, 22 Nov 2017 17:12:58 +0000 (12:12 -0500)]
Reduce GPU workload of pipeline_barrier tests

Tests with large buffer sizes will now clamp the
GPU workload to avoid triggering execution timeout
on implementations.

b/68360750

Affects: dEQP-VK-memory.pipeline_barrier.*

Components: Vulkan

VK_GL_CTS issue: 813

Change-Id: If8772973fd49cac0b8cc5fa66c33af4de38f2f68

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 am: 6455e6f987 am: 2e18b48b04...
Gurchetan Singh [Tue, 7 Nov 2017 20:45:44 +0000 (20:45 +0000)]
Lower correlation threshold in flush-finish tests again am: 6455e6f987 am: 2e18b48b04 am: b31b60abe6 am: da172c6afd am: ed080cc354
am: 4d5a25b142

Change-Id: Iece967058049e50e63f7cc4235bf6468eddffc97

6 years agoLower correlation threshold in flush-finish tests again am: 6455e6f987 am: 2e18b48b04...
Gurchetan Singh [Tue, 7 Nov 2017 20:42:12 +0000 (20:42 +0000)]
Lower correlation threshold in flush-finish tests again am: 6455e6f987 am: 2e18b48b04 am: b31b60abe6 am: da172c6afd
am: ed080cc354

Change-Id: I3c63098007f8634c51ecd9fbf8844b5c5f2f2c26

6 years agoLower correlation threshold in flush-finish tests again am: 6455e6f987 am: 2e18b48b04...
Gurchetan Singh [Tue, 7 Nov 2017 20:38:43 +0000 (20:38 +0000)]
Lower correlation threshold in flush-finish tests again am: 6455e6f987 am: 2e18b48b04 am: b31b60abe6
am: da172c6afd

Change-Id: Iecdc967997849e2377fb480454f89a75e072c298

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

Change-Id: I0c83a1932bb47c1b295cf2f0f19447b7c7950557

6 years agoLower correlation threshold in flush-finish tests again am: 6455e6f987 am: 84373d7748...
Gurchetan Singh [Tue, 7 Nov 2017 20:34:09 +0000 (20:34 +0000)]
Lower correlation threshold in flush-finish tests again am: 6455e6f987 am: 84373d7748 am: 7776db1369
am: 83cec0e56e

Change-Id: Ie4217eb2aa68077a3fc53820c8de2931eac705c8

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

Change-Id: Id0dd6ef88d6a9f1a53a0b72e7fc6912ade51878d

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

Change-Id: I8ab737ed4a43886a1ecc7656ef84b265c1b2f7bc

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

Change-Id: I06395cdc2b3b19e7426f35e80981d0547309ede4

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

Change-Id: I0bda19c76be8c905ce711c089e5576fd7bfee09e

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 am: 67694b5635 am: aa425927d0
Brian Anderson [Tue, 7 Nov 2017 20:02:39 +0000 (20:02 +0000)]
Merge changes I5f7e56e3,I7f88e1da into oreo-cts-dev am: 67694b5635 am: aa425927d0
am: efb1ae2ab9

Change-Id: I5623468a2c31d7e265e89f5d860e61fe911e225b

6 years agoMerge changes I5f7e56e3,I7f88e1da into oreo-cts-dev am: 67694b5635
Brian Anderson [Tue, 7 Nov 2017 19:59:37 +0000 (19:59 +0000)]
Merge changes I5f7e56e3,I7f88e1da into oreo-cts-dev am: 67694b5635
am: aa425927d0

Change-Id: I4a353896ae1d58cfa206c37b4081010f7577899b

6 years agoMerge changes I5f7e56e3,I7f88e1da into oreo-cts-dev
Brian Anderson [Tue, 7 Nov 2017 19:57:39 +0000 (19:57 +0000)]
Merge changes I5f7e56e3,I7f88e1da into oreo-cts-dev
am: 67694b5635

Change-Id: I202b9be2b529cc3ba80a96f66a31b42252b47234

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 am: 3d03b52e1f
Chris Forbes [Tue, 7 Nov 2017 03:07:01 +0000 (03:07 +0000)]
Exclude incremental_present scale down from Android CTS am: da253a4fe0 am: 3d03b52e1f
am: b2185cdcbb

Change-Id: I9047deda4c47d482d7e29c7c866a0cfa8321d9f1

6 years agoExclude shared_presentable_image scale down from Android CTS am: 4e9d89ac4a am: 8192b...
Chris Forbes [Tue, 7 Nov 2017 03:06:37 +0000 (03:06 +0000)]
Exclude shared_presentable_image scale down from Android CTS am: 4e9d89ac4a am: 8192b7059e
am: b3e8cd74fe  -s ours

Change-Id: I0429832d24cdd31462dd229b821b0a29e1c90dbe

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 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: 3d03b52e1f

Change-Id: I55883fde5f84a8e332b4fea8ae5a8859b52ef9cb

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

Change-Id: I9097d2fdf2783464974888010bb89b654b7e0e8b

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 am: 4e9d89ac4a
Chris Forbes [Tue, 7 Nov 2017 02:40:06 +0000 (02:40 +0000)]
Exclude shared_presentable_image scale down from Android CTS am: 4e9d89ac4a
am: 8192b7059e

Change-Id: I04fc2b48d6830403add863a62e9cbfc65fd75899

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

Change-Id: I5a4c71c270694fa27cd8686b7baa7e31f3d39ca1

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 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: 66916041
Test: Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: I0b2a65303c425a74a48d6ae8c971c16652d727a3

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 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: 66916041
Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: Ic77fb3871bfcd2ec2298b20db7247b6782088399

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