xuxiandi / angleproject

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

Some pages render incorrectly under D3D9 #266

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Force ANGLE to use D3D9 under Win 7 (those this probably happens on XP as 
well)
2. Go to 
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/demos/google/s
an-angeles/index.html in chrome

What is the expected output? What do you see instead?
The background of the webpage renders black, while it should be white. Under 
the D3D9 debug runtime, we get "Direct3D9: (ERROR) :The destination surface 
must be created using D3DPOOL_DEFAULT. UpdateSurface fails." messages.
It seems that mManaged is false for all these images of managed surfaces.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by jbauman@chromium.org on 10 Dec 2011 at 12:08

GoogleCodeExporter commented 9 years ago
I can't reproduce this using Chrome Canary 17.0.963.6 w/ ANGLE r906 and d3d9ex 
disabled on a Win7/ATI system.  Anything else I need to know?

Original comment by dan...@transgaming.com on 12 Dec 2011 at 9:54

GoogleCodeExporter commented 9 years ago
Ah, doesn't look like the issue is in M17, so that's good. Canary is still 
based off of  an old branch for a little while, so it's not completely up to 
date. I suspect the change to use GL_EXT_texture_storage, which is only in 
trunk and isn't in a canary build yet, is causing this.

Original comment by jbauman@chromium.org on 12 Dec 2011 at 10:21

GoogleCodeExporter commented 9 years ago
I believe this is the same issue as Issue 268.

Fixed by r923

Original comment by dan...@transgaming.com on 16 Dec 2011 at 11:37