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

Issue 1640243002: command_buffer_gles2: Add test command_buffer_gles2_test for command_buffer_gles2 (Closed)

Created:
4 years, 11 months ago by Kimmo Kinnunen
Modified:
4 years, 9 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

command_buffer_gles2: Add test command_buffer_gles2_test for command_buffer_gles2 Add test command_buffer_gles2_test for testing command_buffer_gles2 library. Makes the gpu bots to build target, but the target is not run on any bot. As an example, fix a potential nullptr reference in eglInitialize and tests the problem. Adding the test runner would be useful in order to further develop command_buffer_gles2. One development direction of the library would be to extend it enough to support creating OpenGL ES 3.0 context. BUG=581634 Committed: https://crrev.com/ee2d13a54fc1de09762f1e5be97d6db44235fa80 Cr-Commit-Position: refs/heads/master@{#374353} CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/6aceb55a100ae0f821a83751ea73ab136cc746f9 Cr-Commit-Position: refs/heads/master@{#375420}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1

Patch Set 6 : address review comments #

Total comments: 1

Patch Set 7 : #

Patch Set 8 : address review comment #

Patch Set 9 : try to fix dll imports on win #

Patch Set 10 : dll imports on win, try 2 #

Patch Set 11 : dllimport,v3 #

Total comments: 4

Patch Set 12 : remove debug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -14 lines) Patch
M build/all.gyp View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -0 lines 0 comments Download
M build/gn_migration.gypi View 1 2 3 4 5 6 7 8 9 11 1 chunk +1 line, -0 lines 0 comments Download
M gpu/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +39 lines, -0 lines 0 comments Download
A gpu/command_buffer/tests/command_buffer_gles2_tests_main.cc View 1 2 3 4 5 6 7 1 chunk +67 lines, -0 lines 0 comments Download
A gpu/command_buffer/tests/egl_test.cc View 1 2 3 4 5 6 7 1 chunk +36 lines, -0 lines 0 comments Download
A + gpu/command_buffer_gles2_tests_apk.isolate View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -4 lines 0 comments Download
M gpu/gles2_conform_support/egl/display.cc View 1 2 3 4 5 6 7 3 chunks +11 lines, -0 lines 0 comments Download
M gpu/gles2_conform_support/egl/egl.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
A gpu/gles2_conform_support/egl/test_support.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +19 lines, -0 lines 0 comments Download
A gpu/gles2_conform_support/egl/test_support.cc View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 4 5 6 7 8 9 10 3 chunks +73 lines, -7 lines 0 comments Download

Messages

Total messages: 60 (21 generated)
Kimmo Kinnunen
4 years, 11 months ago (2016-01-27 13:26:30 UTC) #2
Kimmo Kinnunen
I think I need to fix this to not build on platforms that do not ...
4 years, 11 months ago (2016-01-27 16:01:20 UTC) #3
Zhenyao Mo
We do run it on GPU FYI bots. Code search for internal_gles2_conform_test. Since gles2 conform ...
4 years, 11 months ago (2016-01-27 17:38:33 UTC) #6
Ken Russell (switch to Gerrit)
Not sure of the status of the command_buffer_gles2 library. As zmo points out, the GLES2 ...
4 years, 11 months ago (2016-01-27 18:24:23 UTC) #8
vmiura
It seems useful to set up a test harness for the command_buffer_gles2 library, though discussing ...
4 years, 11 months ago (2016-01-27 19:47:18 UTC) #9
piman
On 2016/01/27 19:47:18, vmiura wrote: > It seems useful to set up a test harness ...
4 years, 11 months ago (2016-01-27 23:19:15 UTC) #10
Kimmo Kinnunen
thakis@ for build/all.gyp, base/at_exit.cc I would also need a bit of help with fixing the ...
4 years, 10 months ago (2016-02-01 13:42:00 UTC) #12
Nico
https://chromiumcodereview.appspot.com/1640243002/diff/80001/base/at_exit.cc File base/at_exit.cc (right): https://chromiumcodereview.appspot.com/1640243002/diff/80001/base/at_exit.cc#newcode27 base/at_exit.cc:27: #if !defined(COMPONENT_BUILD) && !defined(COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY) having base know about some ...
4 years, 10 months ago (2016-02-01 19:15:37 UTC) #13
Ken Russell (switch to Gerrit)
Perhaps dpranke@ may be able to help with the gn non-component build issue?
4 years, 10 months ago (2016-02-01 19:23:50 UTC) #14
Dirk Pranke
On 2016/02/01 19:23:50, Ken Russell wrote: > Perhaps dpranke@ may be able to help with ...
4 years, 10 months ago (2016-02-01 19:43:46 UTC) #15
Ken Russell (switch to Gerrit)
On 2016/02/01 19:43:46, Dirk Pranke wrote: > On 2016/02/01 19:23:50, Ken Russell wrote: > > ...
4 years, 10 months ago (2016-02-01 19:52:45 UTC) #16
Nico
re comment 12, you need something like https://code.google.com/p/chromium/codesearch#chromium/src/base/BUILD.gn&l=1844 if (!is_component_build) { # Set rpath to ...
4 years, 10 months ago (2016-02-01 19:58:32 UTC) #17
piman
On Mon, Feb 1, 2016 at 11:58 AM, <thakis@chromium.org> wrote: > re comment 12, you ...
4 years, 10 months ago (2016-02-01 21:14:31 UTC) #18
Kimmo Kinnunen
Thanks for the comments. PTAL when you have time. thakis@ for build/all.gyp Command buffer interested ...
4 years, 10 months ago (2016-02-02 08:49:13 UTC) #19
piman
https://chromiumcodereview.appspot.com/1640243002/diff/100001/gpu/gles2_conform_support/egl/test_support.h File gpu/gles2_conform_support/egl/test_support.h (right): https://chromiumcodereview.appspot.com/1640243002/diff/100001/gpu/gles2_conform_support/egl/test_support.h#newcode12 gpu/gles2_conform_support/egl/test_support.h:12: bool g_command_buffer_gles2_has_atexit_manager; I think this needs to be in ...
4 years, 10 months ago (2016-02-02 16:47:48 UTC) #20
piman
https://chromiumcodereview.appspot.com/1640243002/diff/100001/gpu/gles2_conform_support/egl/test_support.h File gpu/gles2_conform_support/egl/test_support.h (right): https://chromiumcodereview.appspot.com/1640243002/diff/100001/gpu/gles2_conform_support/egl/test_support.h#newcode12 gpu/gles2_conform_support/egl/test_support.h:12: bool g_command_buffer_gles2_has_atexit_manager; I think this needs to be in ...
4 years, 10 months ago (2016-02-02 16:47:48 UTC) #21
Kimmo Kinnunen
On 2016/02/02 16:47:48, piman wrote: > https://chromiumcodereview.appspot.com/1640243002/diff/100001/gpu/gles2_conform_support/egl/test_support.h > File gpu/gles2_conform_support/egl/test_support.h (right): > > https://chromiumcodereview.appspot.com/1640243002/diff/100001/gpu/gles2_conform_support/egl/test_support.h#newcode12 > ...
4 years, 10 months ago (2016-02-03 10:14:43 UTC) #22
piman
Ok, I think I understand the issue. There's a fundamental ODR violation if both the ...
4 years, 10 months ago (2016-02-04 02:42:23 UTC) #23
Kimmo Kinnunen
On 2016/02/04 02:42:23, piman wrote: > Short of that, my suggestion is to avoid creating ...
4 years, 10 months ago (2016-02-05 14:35:28 UTC) #24
piman
lgtm
4 years, 10 months ago (2016-02-05 22:33:37 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640243002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640243002/140001
4 years, 10 months ago (2016-02-06 07:24:00 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-06 09:12:23 UTC) #29
Kimmo Kinnunen
Nico, PTAL build/all.gyp changes.
4 years, 10 months ago (2016-02-08 12:48:39 UTC) #30
Nico
build/all lgtm (sorry, I thought you don't need me since this no longer touches base/)
4 years, 10 months ago (2016-02-09 03:14:42 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640243002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640243002/140001
4 years, 10 months ago (2016-02-09 09:17:43 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 10 months ago (2016-02-09 12:04:39 UTC) #35
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/ee2d13a54fc1de09762f1e5be97d6db44235fa80 Cr-Commit-Position: refs/heads/master@{#374353}
4 years, 10 months ago (2016-02-09 12:05:57 UTC) #37
Nico
This seems to not build in release component builds: https://build.chromium.org/p/chromium.fyi/builders/CrWinClang%28shared%29/builds/7700/steps/compile/logs/stdio FAILED: C:\b\depot_tools\python276_bin\python.exe gyp-win-tool link-with-manifests environment.x86 ...
4 years, 10 months ago (2016-02-09 15:19:17 UTC) #38
Nico
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/1680743007/ by thakis@chromium.org. ...
4 years, 10 months ago (2016-02-09 15:19:36 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640243002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640243002/160001
4 years, 10 months ago (2016-02-12 12:45:29 UTC) #43
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/21224)
4 years, 10 months ago (2016-02-12 13:21:19 UTC) #45
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640243002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640243002/200001
4 years, 10 months ago (2016-02-12 14:34:45 UTC) #47
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/158695)
4 years, 10 months ago (2016-02-12 14:58:33 UTC) #49
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640243002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640243002/220001
4 years, 10 months ago (2016-02-12 17:56:55 UTC) #51
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-12 19:10:41 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640243002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640243002/220001
4 years, 10 months ago (2016-02-15 06:51:55 UTC) #56
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 10 months ago (2016-02-15 08:04:46 UTC) #57
Nico
I'm a bit concerned that this only builds on Windows by accident, not because it's ...
4 years, 10 months ago (2016-02-15 15:28:41 UTC) #58
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:49:05 UTC) #60
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/6aceb55a100ae0f821a83751ea73ab136cc746f9
Cr-Commit-Position: refs/heads/master@{#375420}

Powered by Google App Engine
This is Rietveld 408576698