KhronosGroup / KhronosGroup/WebGL

Write more viewport and scissor tests

Open
#224 0 comments 0 reactions 1 assignee View on GitHub

@greggman is already working on this.

Since Mar 14, 2013.

enhancement
Dominant language
HTML
Stars
2.9k
Forks
704
Avg merge
2d 9h
Merged PRs (30d)
4

Description

I need to write more scissor and viewport tests.

Specifically,

  • that neither scissor nor viewport change when anything about the current
    framebuffer changes in including adding/removeing attachments, deleting
    attachments, changing the size of attachments, changing which fbo
    is bound. Some of these tests exist.
  • that scissor can be anything that is not a negative width or negative height.
    In other words
scissor(-100000, -20000, 300000, 400000)

is valid

  • That viewport can be set larger than the current backbuffer / fbo and that larger
    setting correctly effects rendering.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.