Closed Bug 1236784 Opened 4 years ago Closed 4 years ago

[WebGL2] pass getRenderbufferParameter in gl-object-get-calls.html

Categories

(Core :: Canvas: WebGL, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: pchang, Assigned: pchang)

References

Details

Attachments

(1 file)

Test getRenderbufferParameter
PASS gl.getRenderbufferParameter(gl.RENDERBUFFER, gl.RENDERBUFFER_WIDTH) is 2
PASS gl.getRenderbufferParameter(gl.RENDERBUFFER, gl.RENDERBUFFER_HEIGHT) is 2
PASS gl.getRenderbufferParameter(gl.RENDERBUFFER, gl.RENDERBUFFER_INTERNAL_FORMAT) is non-zero.
PASS gl.getRenderbufferParameter(gl.RENDERBUFFER, gl.RENDERBUFFER_DEPTH_SIZE) is non-zero.
PASS getError was expected value: NO_ERROR : 
PASS getError was expected value: NO_ERROR : 
PASS gl.getRenderbufferParameter(gl.RENDERBUFFER, gl.RENDERBUFFER_RED_SIZE) is non-zero.
PASS gl.getRenderbufferParameter(gl.RENDERBUFFER, gl.RENDERBUFFER_GREEN_SIZE) is non-zero.
PASS gl.getRenderbufferParameter(gl.RENDERBUFFER, gl.RENDERBUFFER_BLUE_SIZE) is non-zero.
PASS gl.getRenderbufferParameter(gl.RENDERBUFFER, gl.RENDERBUFFER_ALPHA_SIZE) is non-zero.
FAIL gl.getRenderbufferParameter(gl.RENDERBUFFER, gl.RENDERBUFFER_SAMPLES) should be 4 (of type number). Was null (of type object).
FAIL getRenderbufferParameter did not generate INVALID_ENUM for invalid parameter enum: NO_ERROR
PASS getRenderbufferParameter correctly handled invalid target enums
PASS getError was expected value: NO_ERROR :
Blocks: 1236394
Assignee: nobody → howareyou322
Depends on: 1233353
Comment on attachment 8704007 [details]
MozReview Request: Bug 1236784 - [WebGL2] pass getRenderbufferParameter in gl-object-get-calls.html, r?jgilbert

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/29541/diff/1-2/
Attachment #8704007 - Attachment description: MozReview Request: Bug 1236784 - [WebGL2] pass getRenderbufferParameter in gl-object-get-calls.html → MozReview Request: Bug 1236784 - [WebGL2] pass getRenderbufferParameter in gl-object-get-calls.html, r?jgilbert
Attachment #8704007 - Flags: review?(jgilbert)
Comment on attachment 8704007 [details]
MozReview Request: Bug 1236784 - [WebGL2] pass getRenderbufferParameter in gl-object-get-calls.html, r?jgilbert

https://reviewboard.mozilla.org/r/29541/#review28285
Attachment #8704007 - Flags: review?(jgilbert) → review+
https://hg.mozilla.org/mozilla-central/rev/ff306df6c9d5
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Blocks: 1246007
You need to log in before you can comment on or make changes to this bug.