Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas blink when adding a label after loading the imagery #5537

Closed
rahwang opened this issue Jun 27, 2017 · 9 comments
Closed

Canvas blink when adding a label after loading the imagery #5537

rahwang opened this issue Jun 27, 2017 · 9 comments

Comments

@rahwang
Copy link
Contributor

rahwang commented Jun 27, 2017

Reported on the forum: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/y4EPthqm_d8

"When setting a tileLoadProgressEvent and adding a label once all the imagery tiles are loaded, the canvas "blinks" (turns black for a moment)"

Code example:
http://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=cf1d71eefb161f3f3546ad4e3d488423

Apparently this began with 1.33

@bagnell @emackey

@mramato
Copy link
Contributor

mramato commented Jun 27, 2017

We should at least figure out what's causing this. I think @bagnell looked into it and said he thought it was a driver bug, but if it only started with 1.33, it's probably not.

@emackey
Copy link
Contributor

emackey commented Jun 27, 2017

This didn't start with 1.33. On my machine I can reproduce as far back as Cesium 1.15 (I stopped there only because I didn't want to get ant builds going again).

Maybe this wasn't noticed before, or possibly it was introduced by a driver or browser upgrade.

@mramato
Copy link
Contributor

mramato commented Jun 27, 2017

That certainly lends credence to the idea that this is a driver bug (it happens in multiple browsers so I don't think that's it).

@emackey
Copy link
Contributor

emackey commented Jun 27, 2017

Yeah. I haven't manually updated my drivers in quite a while. Maybe an auto-update pushed something there.

@pjcozzi
Copy link
Contributor

pjcozzi commented Jun 27, 2017

Removed priority - next release label; there's not enough bandwidth to look at this for the 1.35 release and it does not seem prominent enough.

@pjcozzi
Copy link
Contributor

pjcozzi commented Jun 27, 2017

Also happens with "Sample Evert Terrain at Level 9" in the Terrain Sandcastle example.

I get this on Windows/NVIDIA and Mac/Intel - and Chrome and IE. Other than Cesium, I don't know what the common thread would be, it is not the driver, browser, ANGLE, etc. But we would have noticed this since Cesium 1.15...

@emackey
Copy link
Contributor

emackey commented Jun 27, 2017

I messed this one up. I had clicked the link and was loading Sandcastle off cesiumjs.org, not my local build. Ouch. Running a new bisect now...

@emackey
Copy link
Contributor

emackey commented Jun 27, 2017

OK. Now that I'm actually testing the code I'm building, it's easier to track down. Amazing.

So, git bisect reports to me a commit that seems very familiar. It's the same scissor test change that caused two other bugs recently. a9a275f

This was indeed introduced in 1.33, in #5225, and resulted in issues #5307 and #5478 as well as this issue.

@pjcozzi
Copy link
Contributor

pjcozzi commented Jun 27, 2017

@emackey nice detective work.

@bagnell perhaps this is low-hanging fruit with inconsistent render state / framebuffer for a frame?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants