lion0406 / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Point Sprites are flaky #389

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using Chrome 24+ on Windows visit a WebGL page that uses Point Sprites, such 
as http://mrdoob.github.com/three.js/examples/webgl_particles_sprites.html
2. Refresh several times.

What is the expected output? What do you see instead?
Point sprite behavior should not change from refresh to refresh. The first load 
will always work, but subsequent page reloads usually fail to display nay point 
sprites. On Chrome 23 and prior Point Sprite behavior is consistent.

What version of the product are you using? On what operating system?
Chrome 24+, Windows

Please provide any additional information below.
Issue was originally raised at https://github.com/mrdoob/three.js/issues/2725, 
where it was thought to be a texture upload issue.

After investigation it was discovered that the error was introduced in 
https://code.google.com/p/angleproject/source/detail?r=1277, and was caused by 
the mUsesPointSprites flag not being properly retained when a ProgramBinary was 
saved or loaded. 

Original issue reported on code.google.com by bajo...@google.com on 6 Dec 2012 at 6:09

GoogleCodeExporter commented 9 years ago
Fix committed.
https://codereview.appspot.com/6884053/

Original comment by bajones@chromium.org on 6 Dec 2012 at 9:03