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

Issue 1220883008: Add command_buffer_gles2 (Closed)

Created:
5 years, 5 months ago by hendrikw
Modified:
5 years 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

Add command_buffer_gles2 This is a very simple library that exposes some egl-like functions that can be used by skia to use the command buffer as a backend for their tests Committed: https://crrev.com/604b615373e4e9f873db37cef9c6416176fc35f3 Cr-Commit-Position: refs/heads/master@{#346251} Committed: https://crrev.com/efa3a446183fbbff2034a03989f12543d0713e39 Cr-Commit-Position: refs/heads/master@{#346840} Committed: https://crrev.com/d65c55dac3f47e9a237579eb6f5fe31e19ca4704 Cr-Commit-Position: refs/heads/master@{#347013} Committed: https://crrev.com/a89ffff5113b3feb0c905f7ddc50da84a4ed577b Cr-Commit-Position: refs/heads/master@{#347103} Committed: https://crrev.com/68d2c333812a14fbb81136f401bfbfe7cf915d7d Cr-Commit-Position: refs/heads/master@{#347277}

Patch Set 1 #

Patch Set 2 : make eglInitialize not call InitializeOneOff more than once. #

Patch Set 3 : needed an additional function for skia #

Total comments: 25

Patch Set 4 : review comments #

Patch Set 5 : remove comformance deps #

Patch Set 6 : comments to build files #

Total comments: 2

Patch Set 7 : add missing file #

Patch Set 8 : Simplify by exporting the egl functions #

Total comments: 1

Patch Set 9 : remove test code #

Patch Set 10 : GN needs deps of deps #

Patch Set 11 : GN didn't like that, let's just include base #

Patch Set 12 : gn_check.py, why couldn't you tell me about these the first time? #

Patch Set 13 : gn_check.py, I'm really not liking you atm #

Patch Set 14 : remove exit manager from confromance tests #

Patch Set 15 : uh, remove gpu helpers from the gn file? #

Patch Set 16 : move some deps into !is_component #

Patch Set 17 : make a new define to enable the exit manager only for this lib #

Patch Set 18 : fixed comment #

Patch Set 19 : fixed another comment #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -84 lines) Patch
M gpu/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +39 lines, -0 lines 1 comment Download
M gpu/gles2_conform_support/egl/display.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +12 lines, -0 lines 0 comments Download
M gpu/gles2_conform_support/egl/display.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +4 lines, -0 lines 0 comments Download
M gpu/gles2_conform_support/egl/egl.cc View 1 2 3 4 5 6 7 8 14 chunks +94 lines, -84 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +39 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 94 (32 generated)
hendrikw
PTAL, thanks
5 years, 4 months ago (2015-08-24 23:44:09 UTC) #5
hendrikw
+ dpranke for base gyp/gn changes + sievers for gpu changes (piman's out until monday)
5 years, 3 months ago (2015-08-27 01:32:30 UTC) #7
Dirk Pranke
build changes lgtm
5 years, 3 months ago (2015-08-27 01:49:37 UTC) #8
no sievers
https://codereview.chromium.org/1220883008/diff/100001/gpu/command_buffer_gles2/BUILD.gn File gpu/command_buffer_gles2/BUILD.gn (right): https://codereview.chromium.org/1220883008/diff/100001/gpu/command_buffer_gles2/BUILD.gn#newcode24 gpu/command_buffer_gles2/BUILD.gn:24: configs += [ "//build/config/compiler:no_chromium_code" ] Is this not the ...
5 years, 3 months ago (2015-08-27 19:21:28 UTC) #9
hendrikw
PTAL, thanks! https://codereview.chromium.org/1220883008/diff/100001/gpu/command_buffer_gles2/BUILD.gn File gpu/command_buffer_gles2/BUILD.gn (right): https://codereview.chromium.org/1220883008/diff/100001/gpu/command_buffer_gles2/BUILD.gn#newcode24 gpu/command_buffer_gles2/BUILD.gn:24: configs += [ "//build/config/compiler:no_chromium_code" ] On 2015/08/27 ...
5 years, 3 months ago (2015-08-27 20:34:44 UTC) #10
no sievers
https://codereview.chromium.org/1220883008/diff/100001/gpu/command_buffer_gles2/command_buffer_egl.cc File gpu/command_buffer_gles2/command_buffer_egl.cc (right): https://codereview.chromium.org/1220883008/diff/100001/gpu/command_buffer_gles2/command_buffer_egl.cc#newcode12 gpu/command_buffer_gles2/command_buffer_egl.cc:12: base::LazyInstance<base::AtExitManager> exit_manager = On 2015/08/27 20:34:44, hendrikw wrote: > ...
5 years, 3 months ago (2015-08-27 22:02:26 UTC) #11
hendrikw
PTAL, thanks! https://codereview.chromium.org/1220883008/diff/100001/gpu/command_buffer_gles2/command_buffer_egl.cc File gpu/command_buffer_gles2/command_buffer_egl.cc (right): https://codereview.chromium.org/1220883008/diff/100001/gpu/command_buffer_gles2/command_buffer_egl.cc#newcode12 gpu/command_buffer_gles2/command_buffer_egl.cc:12: base::LazyInstance<base::AtExitManager> exit_manager = On 2015/08/27 22:02:25, sievers ...
5 years, 3 months ago (2015-08-28 16:01:51 UTC) #12
no sievers
https://codereview.chromium.org/1220883008/diff/100001/gpu/command_buffer_gles2/command_buffer_egl.cc File gpu/command_buffer_gles2/command_buffer_egl.cc (right): https://codereview.chromium.org/1220883008/diff/100001/gpu/command_buffer_gles2/command_buffer_egl.cc#newcode12 gpu/command_buffer_gles2/command_buffer_egl.cc:12: base::LazyInstance<base::AtExitManager> exit_manager = On 2015/08/28 16:01:51, hendrikw wrote: > ...
5 years, 3 months ago (2015-08-28 17:59:31 UTC) #13
hendrikw
https://codereview.chromium.org/1220883008/diff/100001/gpu/command_buffer_gles2/command_buffer_egl.cc File gpu/command_buffer_gles2/command_buffer_egl.cc (right): https://codereview.chromium.org/1220883008/diff/100001/gpu/command_buffer_gles2/command_buffer_egl.cc#newcode12 gpu/command_buffer_gles2/command_buffer_egl.cc:12: base::LazyInstance<base::AtExitManager> exit_manager = On 2015/08/28 17:59:31, sievers wrote: > ...
5 years, 3 months ago (2015-08-28 18:10:25 UTC) #14
no sievers
lgtm https://codereview.chromium.org/1220883008/diff/160001/gpu/command_buffer_gles2/command_buffer_egl.cc File gpu/command_buffer_gles2/command_buffer_egl.cc (right): https://codereview.chromium.org/1220883008/diff/160001/gpu/command_buffer_gles2/command_buffer_egl.cc#newcode11 gpu/command_buffer_gles2/command_buffer_egl.cc:11: base::AtExitManager exit_manager; Ok, so you don't want to ...
5 years, 3 months ago (2015-08-28 18:39:33 UTC) #15
hendrikw
On 2015/08/28 18:39:33, sievers wrote: > lgtm > > https://codereview.chromium.org/1220883008/diff/160001/gpu/command_buffer_gles2/command_buffer_egl.cc > File gpu/command_buffer_gles2/command_buffer_egl.cc (right): > ...
5 years, 3 months ago (2015-08-28 21:01:49 UTC) #16
hendrikw
On 2015/08/28 21:01:49, hendrikw wrote: > On 2015/08/28 18:39:33, sievers wrote: > > lgtm > ...
5 years, 3 months ago (2015-08-28 21:10:41 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220883008/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1220883008/160001
5 years, 3 months ago (2015-08-28 21:11:47 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:160001)
5 years, 3 months ago (2015-08-28 22:37:16 UTC) #21
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/604b615373e4e9f873db37cef9c6416176fc35f3 Cr-Commit-Position: refs/heads/master@{#346251}
5 years, 3 months ago (2015-08-28 22:38:01 UTC) #22
hendrikw
A revert of this CL (patchset #6 id:160001) has been created in https://codereview.chromium.org/1323643002/ by hendrikw@chromium.org. ...
5 years, 3 months ago (2015-08-28 22:54:08 UTC) #23
dewittj
A revert of this CL (patchset #6 id:160001) has been created in https://codereview.chromium.org/1320963003/ by dewittj@chromium.org. ...
5 years, 3 months ago (2015-08-28 22:54:20 UTC) #24
hendrikw
On 2015/08/28 22:54:20, dewittj wrote: > A revert of this CL (patchset #6 id:160001) has ...
5 years, 3 months ago (2015-08-31 20:39:38 UTC) #25
hendrikw
@sievers, piman, PTAL After speaking with piman, he suggested that I instead export the egl ...
5 years, 3 months ago (2015-09-01 02:34:04 UTC) #26
piman
https://codereview.chromium.org/1220883008/diff/200001/gpu/gles2_conform_support/egl/egl.cc File gpu/gles2_conform_support/egl/egl.cc (right): https://codereview.chromium.org/1220883008/diff/200001/gpu/gles2_conform_support/egl/egl.cc#newcode435 gpu/gles2_conform_support/egl/egl.cc:435: __declspec(dllexport) void f(); Leftover from something ?
5 years, 3 months ago (2015-09-01 03:57:17 UTC) #27
hendrikw
On 2015/09/01 03:57:17, piman (OOO back 2015-08-31) wrote: > https://codereview.chromium.org/1220883008/diff/200001/gpu/gles2_conform_support/egl/egl.cc > File gpu/gles2_conform_support/egl/egl.cc (right): > ...
5 years, 3 months ago (2015-09-01 05:02:43 UTC) #28
hendrikw
5 years, 3 months ago (2015-09-01 05:04:48 UTC) #29
piman
lgtm
5 years, 3 months ago (2015-09-01 14:48:55 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220883008/210006 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1220883008/210006
5 years, 3 months ago (2015-09-01 15:11:43 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/47476)
5 years, 3 months ago (2015-09-01 15:47:08 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220883008/210006 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1220883008/210006
5 years, 3 months ago (2015-09-01 17:37:59 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/129063)
5 years, 3 months ago (2015-09-01 18:31:03 UTC) #39
hendrikw
On 2015/09/01 18:31:03, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 3 months ago (2015-09-01 21:20:40 UTC) #40
hendrikw
On 2015/09/01 21:20:40, hendrikw wrote: > On 2015/09/01 18:31:03, commit-bot: I haz the power wrote: ...
5 years, 3 months ago (2015-09-01 21:53:53 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220883008/210006 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1220883008/210006
5 years, 3 months ago (2015-09-01 23:05:48 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/129321)
5 years, 3 months ago (2015-09-01 23:51:50 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220883008/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1220883008/230001
5 years, 3 months ago (2015-09-02 00:31:44 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/110715) android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 3 months ago (2015-09-02 00:36:39 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220883008/250001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1220883008/250001
5 years, 3 months ago (2015-09-02 00:46:13 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/129385)
5 years, 3 months ago (2015-09-02 01:29:51 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220883008/270001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1220883008/270001
5 years, 3 months ago (2015-09-02 01:35:32 UTC) #58
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/129419)
5 years, 3 months ago (2015-09-02 02:18:28 UTC) #60
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220883008/290001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1220883008/290001
5 years, 3 months ago (2015-09-02 03:06:19 UTC) #63
commit-bot: I haz the power
Committed patchset #13 (id:290001)
5 years, 3 months ago (2015-09-02 04:28:25 UTC) #64
commit-bot: I haz the power
Patchset 13 (id:??) landed as https://crrev.com/efa3a446183fbbff2034a03989f12543d0713e39 Cr-Commit-Position: refs/heads/master@{#346840}
5 years, 3 months ago (2015-09-02 04:29:09 UTC) #65
Jamie Madill
A revert of this CL (patchset #13 id:290001) has been created in https://codereview.chromium.org/1319453005/ by jmadill@chromium.org. ...
5 years, 3 months ago (2015-09-02 14:34:33 UTC) #66
hendrikw
This failed because of the exit manager that I added to display. There's a DCHECK ...
5 years, 3 months ago (2015-09-02 16:48:30 UTC) #67
hendrikw
On 2015/09/02 16:48:30, hendrikw wrote: > This failed because of the exit manager that I ...
5 years, 3 months ago (2015-09-02 17:03:38 UTC) #68
hendrikw
PTAL, :(
5 years, 3 months ago (2015-09-02 17:14:54 UTC) #69
piman
LGTM
5 years, 3 months ago (2015-09-02 18:08:39 UTC) #70
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220883008/310001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1220883008/310001
5 years, 3 months ago (2015-09-02 18:19:22 UTC) #73
commit-bot: I haz the power
Committed patchset #14 (id:310001)
5 years, 3 months ago (2015-09-02 20:43:30 UTC) #74
commit-bot: I haz the power
Patchset 14 (id:??) landed as https://crrev.com/d65c55dac3f47e9a237579eb6f5fe31e19ca4704 Cr-Commit-Position: refs/heads/master@{#347013}
5 years, 3 months ago (2015-09-02 20:44:58 UTC) #75
Nico
A revert of this CL (patchset #14 id:310001) has been created in https://codereview.chromium.org/1318933006/ by thakis@chromium.org. ...
5 years, 3 months ago (2015-09-03 00:10:13 UTC) #76
hendrikw
Wow, ok, so, I've tried gn and gyp with both component and shared, all compile ...
5 years, 3 months ago (2015-09-03 02:04:38 UTC) #77
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220883008/350001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1220883008/350001
5 years, 3 months ago (2015-09-03 02:05:18 UTC) #80
commit-bot: I haz the power
Committed patchset #16 (id:350001)
5 years, 3 months ago (2015-09-03 03:06:14 UTC) #81
commit-bot: I haz the power
Patchset 16 (id:??) landed as https://crrev.com/a89ffff5113b3feb0c905f7ddc50da84a4ed577b Cr-Commit-Position: refs/heads/master@{#347103}
5 years, 3 months ago (2015-09-03 03:07:03 UTC) #82
Jamie Madill
A revert of this CL (patchset #16 id:350001) has been created in https://codereview.chromium.org/1311583006/ by jmadill@chromium.org. ...
5 years, 3 months ago (2015-09-03 14:33:16 UTC) #83
hendrikw
sigh. gles2_conform_support/egl doesn't have GLES2_CONFORM_SUPPORT_ONLY defined, but since it's closed source, I couldn't know this. ...
5 years, 3 months ago (2015-09-03 16:32:08 UTC) #84
hendrikw
This is getting a lot of reverts for such a simple change. I should probably ...
5 years, 3 months ago (2015-09-03 16:48:39 UTC) #85
piman
lgtm
5 years, 3 months ago (2015-09-03 21:32:44 UTC) #86
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220883008/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1220883008/400001
5 years, 3 months ago (2015-09-03 21:36:51 UTC) #89
commit-bot: I haz the power
Committed patchset #19 (id:400001)
5 years, 3 months ago (2015-09-03 23:02:25 UTC) #90
commit-bot: I haz the power
Patchset 19 (id:??) landed as https://crrev.com/68d2c333812a14fbb81136f401bfbfe7cf915d7d Cr-Commit-Position: refs/heads/master@{#347277}
5 years, 3 months ago (2015-09-03 23:03:16 UTC) #91
Nico
https://codereview.chromium.org/1220883008/diff/400001/gpu/BUILD.gn File gpu/BUILD.gn (right): https://codereview.chromium.org/1220883008/diff/400001/gpu/BUILD.gn#newcode73 gpu/BUILD.gn:73: if (!is_component_build) { Why is this conditional here? This ...
5 years ago (2015-12-21 16:48:47 UTC) #93
Nico
5 years ago (2015-12-21 18:18:43 UTC) #94
Message was sent while issue was closed.
On 2015/12/21 16:48:47, Nico (office move Wed Thu Fri) wrote:
> https://codereview.chromium.org/1220883008/diff/400001/gpu/BUILD.gn
> File gpu/BUILD.gn (right):
> 
> https://codereview.chromium.org/1220883008/diff/400001/gpu/BUILD.gn#newcode73
> gpu/BUILD.gn:73: if (!is_component_build) {
> Why is this conditional here? This seems wrong at first blush. Why are these
> component-build deps only? If you need to do something like this, please add a
> comment that explains why.

I have a fix for this here: https://codereview.chromium.org/1542683002

Powered by Google App Engine
This is Rietveld 408576698