Digging deeper: It looks like the callers are all several layers away in Chromium code. ...
12 years, 10 months ago
(2012-01-03 19:49:23 UTC)
#2
Digging deeper:
It looks like the callers are all several layers away in Chromium code. Are we
confident they can handle NULLs? (A quick inspection spots
FrameBufferSkPictureCanvasLayerTextureUpdater, which passes the target to the
SkGpuDevice constructor, which doesn't look NULL-tolerant.)
On 2012/01/03 19:49:23, TomH wrote: > Digging deeper: > > It looks like the callers ...
12 years, 10 months ago
(2012-01-03 20:15:35 UTC)
#3
On 2012/01/03 19:49:23, TomH wrote:
> Digging deeper:
>
> It looks like the callers are all several layers away in Chromium code. Are we
> confident they can handle NULLs? (A quick inspection spots
> FrameBufferSkPictureCanvasLayerTextureUpdater, which passes the target to the
> SkGpuDevice constructor, which doesn't look NULL-tolerant.)
Yeah, I saw that too. To me that is a bug in the WK code. It shouldn't ever
construct a gpu device with a NULL texture/rt.
I still think we want this change, though.
Yes, this change is good. LGTM. But we (by which I suppose I mean you) ...
12 years, 10 months ago
(2012-01-03 20:18:11 UTC)
#4
Yes, this change is good. LGTM.
But we (by which I suppose I mean you) should be getting somebody to fix the
WebKit use case, or doing it (y)ourselves, right? I've already got my change
blocking rolls, I'm hesitant to sign off on another change that would also be
blocking rolls... :(
On 2012/01/03 20:18:11, TomH wrote: > Yes, this change is good. LGTM. > > But ...
12 years, 10 months ago
(2012-01-03 21:10:39 UTC)
#5
On 2012/01/03 20:18:11, TomH wrote:
> Yes, this change is good. LGTM.
>
> But we (by which I suppose I mean you) should be getting somebody to fix the
> WebKit use case, or doing it (y)ourselves, right? I've already got my change
> blocking rolls, I'm hesitant to sign off on another change that would also be
> blocking rolls... :(
This code is only invoked in accel drawing so it shouldn't affect rolling skia.
It will defer a crash in that path. Making the caller NULL tolerant (and
figuring out why we get NULL with --use-gl=desktop in the first place) is being
investigated in here: http://crbug.com/109010http://crbug.com/109010
Issue 5498100: Add NULL check to createPlatformTexture
(Closed)
Created 12 years, 10 months ago by bsalomon
Modified 12 years, 10 months ago
Reviewers: TomH
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0