Closed Bug 933646 Opened 11 years ago Closed 11 years ago

Blackboxing a program in the shader editor should, in fact, hide the rendered geometry, not create black holes

Categories

(DevTools Graveyard :: WebGL Shader Editor, defect, P2)

defect

Tracking

(firefox26 unaffected, firefox27 fixed, firefox28 fixed)

RESOLVED FIXED
Firefox 28
Tracking Status
firefox26 --- unaffected
firefox27 --- fixed
firefox28 --- fixed

People

(Reporter: vporof, Assigned: vporof)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file, 1 obsolete file)

Right now it replaces it with (supposedly) transparent black.

However, depending on the webgl context state, especially when alpha blending is disabled, it won't work, drawing it as opaque black. This is ANNOYING.
Attached patch webgl-blackbox.patch (obsolete) — Splinter Review
Would like to land this on aurora before the Hacks blog post on 11th.
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attachment #825764 - Flags: review?(dcamp)
Priority: -- → P2
Depends on: 930928
Blocks: 933649
Summary: Blacboxing a program in the shader editor should, in fact, hide the rendered geometry, not create black holes → Blackboxing a program in the shader editor should, in fact, hide the rendered geometry, not create black holes
Attachment #825764 - Flags: review?(dcamp) → review?(rcampbell)
Attachment #825764 - Flags: review?(rcampbell) → review+
Rebased to land this first.
Attachment #825764 - Attachment is obsolete: true
Attachment #826962 - Flags: review+
(In reply to Wes Kocher (:KWierso) from comment #4)
> Backed out in https://hg.mozilla.org/integration/fx-team/rev/eb06bfe7f9b6
> for breaking xpcshell tests like this
> https://tbpl.mozilla.org/php/getParsedLog.php?id=30097045&tree=Fx-Team

Damn strict warnings !!
Comment on attachment 826962 [details] [diff] [review]
webgl-blackbox.patch

[Approval Request Comment]
Bug caused by (feature/regressing bug #): New feature!
User impact if declined: Some minor-ish functionality for the Shader Editor will be confusing or useless.
Testing completed (on m-c, etc.): locally, fx-team
Risk to taking this patch (and alternatives if risky): None
String or IDL/UUID changes made by this patch: None
Attachment #826962 - Flags: approval-mozilla-aurora?
(In reply to Victor Porof [:vp] from comment #6)
> https://hg.mozilla.org/integration/fx-team/rev/64e809f87e60

Can you confirm what versions of firefox versions are affected here by setting the status flags. Unclear from the blocking bug.
https://hg.mozilla.org/mozilla-central/rev/64e809f87e60
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 28
(In reply to bhavana bajaj [:bajaj] from comment #8)
> (In reply to Victor Porof [:vp] from comment #6)
> > https://hg.mozilla.org/integration/fx-team/rev/64e809f87e60
> 
> Can you confirm what versions of firefox versions are affected here by
> setting the status flags. Unclear from the blocking bug.

Bug 930928 also has an aurora approval request.
Attachment #826962 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Keywords: verifyme
I see that this bug has in-testsuite+. Is there any help needed for manual testing here? If yes can you please provide some steps in order to reproduce and verify that this is fixed?
Flags: needinfo?(vporof)
There are automated tests for this.
Flags: needinfo?(vporof)
Keywords: verifyme
Based on comment 12: deleting verifyme keyword.
Whiteboard: [qa-]
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: