Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Issue 556333003: Add support for khronos gl-cts using its drawElements apis (Closed)

Created:
6 years, 3 months ago by U. Artie Eoff
Modified:
6 years, 2 months ago
CC:
chromium-reviews, piman+watch_chromium.org, Shannon Woods, capn, Geoff Lang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Implements a windowless chrome gpu command buffer platform for the gles2 conformance tests in the khronos GL-CTS test suite using its new drawElements APIs. Requires the khronos GL-CTS source to be available in src/third_party/khronos_glcts. This support targets the Khronos 3.X branch of ogles/conform at rev 26950. Define the build option internal_khronos_glcts_tests=1 to build the tests. Initial support is for Chromium on ChromiumOS. Other targets may need to be ported for build support as well. v2: Fix AUTHORS. Change naming convention from khronos_conform to khronos_glcts. (piman, kbr) v3: Ran git cl format on egl_native_windowless.cc so it matches the chromium style. (piman) v4: Use AppendArg instead of AppendSwitch to hopefully circumvent a repeat of chromium:408251. (kbr) v5: Handle FilePath's correctly for Windows compatibility. v6: Rebase; Remove -fno-exceptions from cflags_cc BUG=chromium:412865 R=piman@chromium.org, kbr@chromium.org, darin, brettw, cpu TEST=Build and run the khronos_glcts_test binary Review URL: https://codereview.chromium.org/556333003 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>; Committed: https://crrev.com/ffbb37ebec861db6e93471a5837727ea8d974f91 Cr-Commit-Position: refs/heads/master@{#297567}

Patch Set 1 #

Total comments: 23

Patch Set 2 : Fix AUTHORS. Change naming convention from khronos_conform to khronos_glcts #

Total comments: 2

Patch Set 3 : Ran git cl format on egl_native_windowless.cc so it matches the chromium style #

Total comments: 5

Patch Set 4 : Use AppendArg instead of AppendSwitch to hopefully circumvent a repeat of chromium:408251 #

Patch Set 5 : Handle FilePath's correctly for Windows compatibility. #

Patch Set 6 : Rebase; Remove -fno-exceptions from cflags_cc #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1261 lines, -31 lines) Patch
M AUTHORS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M build/all.gyp View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
A gpu/khronos_glcts_support/DEPS View 1 1 chunk +3 lines, -0 lines 0 comments Download
A gpu/khronos_glcts_support/generate_khronos_glcts_tests.py View 1 1 chunk +98 lines, -0 lines 0 comments Download
A gpu/khronos_glcts_support/khronos_glcts.gypi View 1 2 3 4 5 1 chunk +512 lines, -0 lines 0 comments Download
A gpu/khronos_glcts_support/khronos_glcts_cts.gyp View 1 1 chunk +92 lines, -0 lines 0 comments Download
A gpu/khronos_glcts_support/khronos_glcts_framework.gyp View 1 1 chunk +215 lines, -0 lines 0 comments Download
A gpu/khronos_glcts_support/khronos_glcts_gtf.gyp View 1 1 chunk +34 lines, -0 lines 0 comments Download
A gpu/khronos_glcts_support/khronos_glcts_test.h View 1 1 chunk +11 lines, -0 lines 0 comments Download
A + gpu/khronos_glcts_support/khronos_glcts_test.cc View 1 2 3 4 5 4 chunks +38 lines, -31 lines 0 comments Download
A gpu/khronos_glcts_support/khronos_glcts_test.gyp View 1 1 chunk +101 lines, -0 lines 0 comments Download
A gpu/khronos_glcts_support/khronos_glcts_test_expectations.txt View 1 1 chunk +32 lines, -0 lines 0 comments Download
A gpu/khronos_glcts_support/native/egl_native_windowless.cc View 1 2 1 chunk +67 lines, -0 lines 0 comments Download
A gpu/khronos_glcts_support/native/main.cc View 1 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 72 (18 generated)
U. Artie Eoff
6 years, 3 months ago (2014-09-10 18:43:23 UTC) #1
U. Artie Eoff
Hello, I'd like you to review my code.
6 years, 3 months ago (2014-09-10 18:49:13 UTC) #5
piman
+zmo/kbr I would prefer if we didn't duplicate all the support infrastructure between the 2 ...
6 years, 3 months ago (2014-09-10 20:12:51 UTC) #7
U. Artie Eoff
I do agree that there might be a few similarities between the two versions. However, ...
6 years, 3 months ago (2014-09-10 22:12:59 UTC) #8
Ken Russell (switch to Gerrit)
What portions of the GLES3 test suite are actually run in this new target? Since ...
6 years, 3 months ago (2014-09-11 00:03:26 UTC) #9
U. Artie Eoff
No portions of the GLES3 test cases are run in this new target because the ...
6 years, 3 months ago (2014-09-11 01:09:20 UTC) #10
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/556333003/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/556333003/diff/1/build/common.gypi#newcode1382 build/common.gypi:1382: 'internal_khronos_conform_tests%': 0, On 2014/09/11 01:09:19, uartie wrote: > On ...
6 years, 3 months ago (2014-09-11 01:25:17 UTC) #11
U. Artie Eoff
https://codereview.chromium.org/556333003/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/556333003/diff/1/build/common.gypi#newcode1382 build/common.gypi:1382: 'internal_khronos_conform_tests%': 0, On 2014/09/11 01:25:17, Ken Russell wrote: > ...
6 years, 3 months ago (2014-09-11 16:50:53 UTC) #12
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/556333003/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/556333003/diff/1/build/common.gypi#newcode1382 build/common.gypi:1382: 'internal_khronos_conform_tests%': 0, On 2014/09/11 16:50:52, uartie wrote: > On ...
6 years, 3 months ago (2014-09-11 17:40:04 UTC) #13
U. Artie Eoff
https://codereview.chromium.org/556333003/diff/1/gpu/khronos_conform_support/generate_khronos_conform_tests.py File gpu/khronos_conform_support/generate_khronos_conform_tests.py (right): https://codereview.chromium.org/556333003/diff/1/gpu/khronos_conform_support/generate_khronos_conform_tests.py#newcode1 gpu/khronos_conform_support/generate_khronos_conform_tests.py:1: #!/usr/bin/env python On 2014/09/11 17:40:04, Ken Russell wrote: > ...
6 years, 3 months ago (2014-09-11 19:45:26 UTC) #14
U. Artie Eoff
Updated CL. I changed the commit message but the description did not get updated here ...
6 years, 3 months ago (2014-09-11 21:17:29 UTC) #15
U. Artie Eoff
On 2014/09/11 21:17:29, uartie wrote: > Updated CL. I changed the commit message but the ...
6 years, 3 months ago (2014-09-11 21:20:25 UTC) #16
piman
Ok, if the goal is to remove the existing gles2 CTS support, and replace it ...
6 years, 3 months ago (2014-09-11 21:39:19 UTC) #17
U. Artie Eoff
Uploaded patch set 3: Ran git cl format on egl_native_windowless.cc so it matches the chromium ...
6 years, 3 months ago (2014-09-11 22:11:57 UTC) #18
piman
lgtm
6 years, 3 months ago (2014-09-11 22:25:41 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/556333003/40001
6 years, 3 months ago (2014-09-11 22:27:47 UTC) #21
Ken Russell (switch to Gerrit)
Sorry: why did you specify NOTRY=true? That seems like a bad idea. If for some ...
6 years, 3 months ago (2014-09-11 22:59:22 UTC) #22
U. Artie Eoff
On 2014/09/11 22:59:22, Ken Russell wrote: > Sorry: why did you specify NOTRY=true? That seems ...
6 years, 3 months ago (2014-09-11 23:04:11 UTC) #24
Ken Russell (switch to Gerrit)
LGTM overall. One question. Feel free to check the "commit" box again once answered either ...
6 years, 3 months ago (2014-09-11 23:06:00 UTC) #25
U. Artie Eoff
The gles2_conform_test changes must be pretty recent since I essentially started from that for khronos_glcts_test. ...
6 years, 3 months ago (2014-09-11 23:57:12 UTC) #26
U. Artie Eoff
Ken, was that only an issue on a specific platform? On ChromiumOS, the constructed command ...
6 years, 3 months ago (2014-09-12 00:03:46 UTC) #27
U. Artie Eoff
Uploaded Patch Set 4 : Use AppendArg instead of AppendSwitch to hopefully circumvent a repeat ...
6 years, 3 months ago (2014-09-12 00:23:22 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/556333003/60001
6 years, 3 months ago (2014-09-12 00:45:24 UTC) #30
Ken Russell (switch to Gerrit)
On 2014/09/12 00:03:46, uartie wrote: > Ken, was that only an issue on a specific ...
6 years, 3 months ago (2014-09-12 00:55:43 UTC) #31
Ken Russell (switch to Gerrit)
I should have mentioned that the inclusion of your new target in the chromium_gpu_builder and ...
6 years, 3 months ago (2014-09-12 01:00:12 UTC) #32
U. Artie Eoff
On 2014/09/12 01:00:12, Ken Russell wrote: > I should have mentioned that the inclusion of ...
6 years, 3 months ago (2014-09-12 01:10:46 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/10502)
6 years, 3 months ago (2014-09-12 01:11:59 UTC) #35
Ken Russell (switch to Gerrit)
On 2014/09/12 01:10:46, uartie wrote: > On 2014/09/12 01:00:12, Ken Russell wrote: > > I ...
6 years, 3 months ago (2014-09-12 01:28:12 UTC) #37
Ken Russell (switch to Gerrit)
On 2014/09/12 01:11:59, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 3 months ago (2014-09-12 01:29:43 UTC) #38
Ken Russell (switch to Gerrit)
cpu or brettw or darin: looking for your approval for this CL. Ullysses is working ...
6 years, 3 months ago (2014-09-12 01:32:17 UTC) #40
U. Artie Eoff
On 2014/09/12 01:28:12, Ken Russell wrote: > On 2014/09/12 01:10:46, uartie wrote: > > On ...
6 years, 3 months ago (2014-09-12 01:49:57 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/556333003/80001
6 years, 3 months ago (2014-09-12 03:25:40 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/10525)
6 years, 3 months ago (2014-09-12 03:40:56 UTC) #45
U. Artie Eoff
Looks like FileType::StringType is beating me up on Windows (i.e. there's no implicit conversion from ...
6 years, 3 months ago (2014-09-12 04:08:48 UTC) #46
Jamie Madill
On 2014/09/12 00:55:43, Ken Russell wrote: > I'm guessing it affected Windows due to the ...
6 years, 3 months ago (2014-09-12 13:58:25 UTC) #47
U. Artie Eoff
On 2014/09/12 13:58:25, Jamie Madill wrote: > On 2014/09/12 00:55:43, Ken Russell wrote: > > ...
6 years, 3 months ago (2014-09-12 14:49:19 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/556333003/100001
6 years, 3 months ago (2014-09-12 16:27:47 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/10641)
6 years, 3 months ago (2014-09-12 16:39:19 UTC) #55
U. Artie Eoff
On 2014/09/12 16:39:19, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 3 months ago (2014-09-12 17:02:22 UTC) #56
U. Artie Eoff
On 2014/09/12 01:28:12, Ken Russell wrote: > On 2014/09/12 01:10:46, uartie wrote: > > On ...
6 years, 3 months ago (2014-09-12 20:02:26 UTC) #57
Ken Russell (switch to Gerrit)
On 2014/09/12 20:02:26, uartie wrote: > On 2014/09/12 01:28:12, Ken Russell wrote: > > On ...
6 years, 3 months ago (2014-09-13 06:31:05 UTC) #58
U. Artie Eoff
On 2014/09/13 06:31:05, Ken Russell wrote: > On 2014/09/12 20:02:26, uartie wrote: > > On ...
6 years, 3 months ago (2014-09-13 15:30:41 UTC) #59
U. Artie Eoff
cpu, brettw, or darin, could one of you provide a review for this CL?
6 years, 3 months ago (2014-09-15 16:27:50 UTC) #60
cpu_(ooo_6.6-7.5)
I don't see code in third party... missing?
6 years, 3 months ago (2014-09-15 23:14:13 UTC) #61
Ken Russell (switch to Gerrit)
On 2014/09/15 23:14:13, cpu wrote: > I don't see code in third party... missing? I'm ...
6 years, 3 months ago (2014-09-16 00:33:45 UTC) #62
piman
On Mon, Sep 15, 2014 at 4:14 PM, <cpu@chromium.org> wrote: > I don't see code ...
6 years, 3 months ago (2014-09-16 00:40:29 UTC) #63
U. Artie Eoff
On 2014/09/16 00:33:45, Ken Russell wrote: > On 2014/09/15 23:14:13, cpu wrote: > > I ...
6 years, 3 months ago (2014-09-24 12:37:24 UTC) #64
Ken Russell (switch to Gerrit)
On 2014/09/24 12:37:24, uartie wrote: > On 2014/09/16 00:33:45, Ken Russell wrote: > > On ...
6 years, 2 months ago (2014-09-26 22:22:48 UTC) #65
cpu_(ooo_6.6-7.5)
then just have my rubber-stamp lgtm. Make sure if that code is ever linked into ...
6 years, 2 months ago (2014-09-29 18:13:15 UTC) #66
U. Artie Eoff
rebased
6 years, 2 months ago (2014-09-29 23:21:13 UTC) #67
Ken Russell (switch to Gerrit)
khronos_glcts has been committed to the internal repo at r61890. It was too large for ...
6 years, 2 months ago (2014-10-01 00:05:27 UTC) #68
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/556333003/140001
6 years, 2 months ago (2014-10-01 00:06:13 UTC) #70
commit-bot: I haz the power
Committed patchset #7 (id:140001) as 30f42a82c0333000f6880bbcffd5795b79ca6997
6 years, 2 months ago (2014-10-01 01:08:08 UTC) #71
commit-bot: I haz the power
6 years, 2 months ago (2014-10-01 01:08:49 UTC) #72
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ffbb37ebec861db6e93471a5837727ea8d974f91
Cr-Commit-Position: refs/heads/master@{#297567}

Powered by Google App Engine
This is Rietveld 408576698