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

Issue 1509833002: Support arguments and driver bug workarounds in command_buffer_gles2 (Closed)

Created:
5 years ago by Kimmo Kinnunen
Modified:
5 years ago
Reviewers:
hendrikw, no sievers, piman
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

Support arguments and driver bug workarounds in command_buffer_gles2 Add the possibility to pass Chromium command-line arguments to the command_buffer_gles2 libary. The arguments can be passed through CHROME_COMMAND_BUFFER_ARGS environment variable. Initialize the driver bug workarounds. This makes the libarary to behave more similarly to actual Chrome. Makes it possible to test GL path rendering with Skia through command buffer, since the --enable-gl-path-rendering command-line flag can be set. BUG=skia:2992 Committed: https://crrev.com/ec6196f4e367774ced1e6034562dc19663fece45 Cr-Commit-Position: refs/heads/master@{#366349}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address review comment #

Patch Set 3 : addition for gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -3 lines) Patch
M gpu/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/gles2_conform_support/egl/egl.cc View 1 2 chunks +24 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
Kimmo Kinnunen
5 years ago (2015-12-08 07:44:39 UTC) #2
Kimmo Kinnunen
piman@: would it be possible for you to look at the patch, or suggest somebody ...
5 years ago (2015-12-17 13:48:52 UTC) #4
hendrikw
On 2015/12/17 13:48:52, Kimmo Kinnunen wrote: > piman@: would it be possible for you to ...
5 years ago (2015-12-17 18:39:07 UTC) #5
hendrikw
https://codereview.chromium.org/1509833002/diff/1/gpu/gles2_conform_support/egl/egl.cc File gpu/gles2_conform_support/egl/egl.cc (right): https://codereview.chromium.org/1509833002/diff/1/gpu/gles2_conform_support/egl/egl.cc#newcode121 gpu/gles2_conform_support/egl/egl.cc:121: if (args.size() == 0) { Nit: if (args.empty()) https://codereview.chromium.org/1509833002/diff/1/gpu/gles2_conform_support/egl/egl.cc#newcode125 ...
5 years ago (2015-12-17 18:39:18 UTC) #6
piman
LGTM after Hendrik's nits are addressed. (not in vacation just yet, just in a different ...
5 years ago (2015-12-18 06:42:16 UTC) #7
Kimmo Kinnunen
https://codereview.chromium.org/1509833002/diff/1/gpu/gles2_conform_support/egl/egl.cc File gpu/gles2_conform_support/egl/egl.cc (right): https://codereview.chromium.org/1509833002/diff/1/gpu/gles2_conform_support/egl/egl.cc#newcode121 gpu/gles2_conform_support/egl/egl.cc:121: if (args.size() == 0) { On 2015/12/17 18:39:18, hendrikw ...
5 years ago (2015-12-18 08:07:05 UTC) #8
Kimmo Kinnunen
> https://codereview.chromium.org/1509833002/diff/1/gpu/gles2_conform_support/egl/egl.cc#newcode125 > gpu/gles2_conform_support/egl/egl.cc:125: for (size_t i = 0; i < args.size(); > ++i) { ...
5 years ago (2015-12-18 09:21:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1509833002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1509833002/20001
5 years ago (2015-12-18 09:22:09 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/998) linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, ...
5 years ago (2015-12-18 09:25:59 UTC) #14
Kimmo Kinnunen
piman@: could you still look at the gpu/BUILD.gn change?
5 years ago (2015-12-18 10:06:40 UTC) #15
piman
LGTM. Last chance before I'm gone :)
5 years ago (2015-12-18 14:05:10 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1509833002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1509833002/40001
5 years ago (2015-12-21 07:39:35 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-21 08:56:47 UTC) #19
commit-bot: I haz the power
5 years ago (2015-12-21 08:57:22 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ec6196f4e367774ced1e6034562dc19663fece45
Cr-Commit-Position: refs/heads/master@{#366349}

Powered by Google App Engine
This is Rietveld 408576698