Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(172)

Issue 4284053: Fixed framebuffer-object-attachment WebGL conformance test.... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 5 months ago by apatrick1
Modified:
14 years, 5 months ago
Reviewers:
dgkoch
CC:
angleproject-review_googlegroups.com, kbr1
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Fixed framebuffer-object-attachment WebGL conformance test. We updated it with WebGL conformance test r14153 to exercise zero-size FBO attachments, which failed with ANGLE. The new conformance test passes with OpenGL and Mesa. See this Chromium bug: http://code.google.com/p/chromium/issues/detail?id=75666 D3D fails if you try to create a zero size depth buffer but OpenGL ES2 allows it. D3D / drivers seem to sometimes crash rather than fail normally, though this might just be because some users have enabled the D3D debug runtime and break on error and we're getting the reports. It was also returning unexpected results when calling GetRenderbufferParameter for parameters that do not apply to a particular buffer. For example, RED_SIZE for a zero sized depth buffer should be 0. Tested by running WebGL conformance test with retail D3D runtime (passes) and debug D3D runtime (passes and does not assert in D3D or ANGLE). Committed: http://code.google.com/p/angleproject/source/detail?r=577

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -35 lines) Patch
M src/libGLESv2/Renderbuffer.cpp View 2 chunks +20 lines, -23 lines 0 comments Download
M src/libGLESv2/utilities.cpp View 6 chunks +11 lines, -12 lines 1 comment Download

Messages

Total messages: 2
apatrick1
Hi Daniel, Please review. Thanks.
14 years, 5 months ago (2011-03-16 21:10:05 UTC) #1
dgkoch
14 years, 5 months ago (2011-03-17 04:07:16 UTC) #2
one minor nit.   

LGTM after that is fixed.

Daniel

http://codereview.appspot.com/4284053/diff/1/src/libGLESv2/utilities.cpp
File src/libGLESv2/utilities.cpp (right):

http://codereview.appspot.com/4284053/diff/1/src/libGLESv2/utilities.cpp#newc...
src/libGLESv2/utilities.cpp:724: return 0;
this is unreachable, might as well delete it like the others.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b