Matthew Netsch [Thu, 21 Dec 2017 15:47:02 +0000 (07:47 -0800)]
Fixes pixelformat utils for RGB10_A2
Some asserts were firing and the math
wasn't adding up for RGB10_A2 configs.
Components: OpenGL ES
VK-GL-CTS issue: 920
Affects:
KHR-GLES31.core.blend_equation_advanced.*
Others
Change-Id: Idf3709f71bf7de915a4390c3e8efcda902f2143f
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
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
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
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
Treehugger Robot [Thu, 21 Dec 2017 18:52:44 +0000 (18:52 +0000)]
Merge "Switch 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
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
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
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
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
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
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.
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
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
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
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
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
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
Chad Versace [Tue, 21 Nov 2017 19:40:01 +0000 (19:40 +0000)]
x11: Call XInitThreads()
am:
a8bd356e58
Change-Id: I4b4980ba14f0e0482ccbe1d5d26b149b9e63ef05
Xin Li [Mon, 13 Nov 2017 22:35:23 +0000 (14:35 -0800)]
Merge commit '
eb9533febd01cde88ea23e2b4fc7fa35efb086ab' into HEAD
Change-Id: If7b754ce356073d0bfedca11e361c781f48b2c45
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
Chad Versace [Mon, 6 Nov 2017 21:10:41 +0000 (21:10 +0000)]
Merge "platform/surfaceless: Add Vulkan support"
am:
ece9907d58
Change-Id: I2a72018b5877c5ebf33328694cf5b62887fda16d
Treehugger Robot [Mon, 6 Nov 2017 21:04:22 +0000 (21:04 +0000)]
Merge "platform/surfaceless: Add Vulkan support"
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
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
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
Treehugger Robot [Fri, 3 Nov 2017 19:53:38 +0000 (19:53 +0000)]
Merge "cmake: Use FindPNG instead of find_path/find_library"
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
Treehugger Robot [Tue, 31 Oct 2017 18:41:07 +0000 (18:41 +0000)]
Merge "Delete textures after ES2 completeness tests"
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
Treehugger Robot [Wed, 25 Oct 2017 19:14:26 +0000 (19:14 +0000)]
Merge "Multiple 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
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
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
Treehugger Robot [Thu, 19 Oct 2017 22:19:02 +0000 (22:19 +0000)]
Merge "Fix 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
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
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
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
Treehugger Robot [Wed, 18 Oct 2017 22:51:38 +0000 (22:51 +0000)]
Merge "eglGetFrameTimestamps: Allow reads done to equal rendering complete."
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
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
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
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
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>
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
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>
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
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
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
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
Treehugger Robot [Tue, 17 Oct 2017 05:33:44 +0000 (05:33 +0000)]
Merge "targets/surfaceless: Add support for Chrome OS surfaceless"
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
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
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
Treehugger Robot [Mon, 16 Oct 2017 19:07:52 +0000 (19:07 +0000)]
Merge "Use -Werror in external/deqp"
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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