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

Issue 2843753002: gpu: Fix --disable-shader-name-hashing. (Closed)

Created:
3 years, 8 months ago by Jamie Madill
Modified:
3 years, 8 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Fix --disable-shader-name-hashing. This switch was broken at some point in the past. Restore it by adding it to the list of supported switches for the gpu process. BUG=715117 R=kbr@chromium.org Review-Url: https://codereview.chromium.org/2843753002 Cr-Commit-Position: refs/heads/master@{#467014} Committed: https://chromium.googlesource.com/chromium/src/+/cce4a756f84d5b8928269f7342aaccdf68be910c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M content/browser/gpu/gpu_process_host.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
Jamie Madill
PTAL Ken.
3 years, 8 months ago (2017-04-25 15:26:39 UTC) #2
Ken Russell (switch to Gerrit)
lgtm We should add a test for this. One could be added to webgl_conformance_integration_test.py -- ...
3 years, 8 months ago (2017-04-25 16:27:34 UTC) #4
Jamie Madill
On 2017/04/25 16:27:34, Ken Russell wrote: > lgtm > > We should add a test ...
3 years, 8 months ago (2017-04-25 16:34:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2843753002/1
3 years, 8 months ago (2017-04-25 16:35:28 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/cce4a756f84d5b8928269f7342aaccdf68be910c
3 years, 8 months ago (2017-04-25 16:40:21 UTC) #12
Ken Russell (switch to Gerrit)
3 years, 8 months ago (2017-04-25 16:50:08 UTC) #13
Message was sent while issue was closed.
On 2017/04/25 16:34:57, Jamie Madill wrote:
> On 2017/04/25 16:27:34, Ken Russell wrote:
> > lgtm
> > 
> > We should add a test for this. One could be added to
> > webgl_conformance_integration_test.py -- by cloning either
> > _RunExtensionCoverageTest or _RunExtensionTest as a new test and running one
> > specific page with a specific browser command line argument. The page would
> use
> > WEBGL_debug_shaders to fetch the processed shader and verify that one of the
> > names isn't hashed.
> > 
> > Note though that the RestartBrowserIfNecessaryWithArgs mechanism should
really
> > be refactored up from e.g. pixel_integration_test.py and other places to
> > gpu_integration_test.py first, so that webgl_conformance_integration_test.py
> > could pick it up.
> > 
> > Anyway, that's a larger task than this fix so I'm not suggesting to do it,
but
> > this is an outline for how to do so if you want to prevent this from
> regressing
> > again.
> 
> I'll defer that work for now if it's alright. Since it's a developer-only
> feature
> that doesn't see too much use I won't be too upset if it breaks again.

Yes, that's fine. :) I only realized what a mountain of work it would be when
writing it up.

Powered by Google App Engine
This is Rietveld 408576698