Closed
Bug 825995
Opened 12 years ago
Closed 12 years ago
ColorLayers are clipped incorrectly with OpenGL
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: nrc, Assigned: nrc)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
1.44 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
Bug 797664 broke the scissor rect logic in GLContext so that ColorLayers can paint over the top of the browser chrome or can get clipped out of the bottom 65 pixels etc.
Patch coming up...
Assignee | ||
Comment 1•12 years ago
|
||
Assignee: nobody → ncameron
Attachment #697118 -
Flags: review?(jgilbert)
Comment 2•12 years ago
|
||
Comment on attachment 697118 [details] [diff] [review]
patch
Review of attachment 697118 [details] [diff] [review]:
-----------------------------------------------------------------
This may be functionally equivalent, but we should probably stick to reversing the regression caused by pulling the flip-y (and such) logic out of raw_fScissor and putting it in fScissor. To that end, just change these two raw_fScissor calls to fScissor and that should do it.
Attachment #697118 -
Flags: review?(jgilbert) → review-
Comment 3•12 years ago
|
||
I checked to make sure that this is the only such regression, and it looks like it is, thankfully.
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Jeff Gilbert [:jgilbert] from comment #2)
> Comment on attachment 697118 [details] [diff] [review]
> patch
>
> Review of attachment 697118 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> This may be functionally equivalent, but we should probably stick to
> reversing the regression caused by pulling the flip-y (and such) logic out
> of raw_fScissor and putting it in fScissor. To that end, just change these
> two raw_fScissor calls to fScissor and that should do it.
Are you happy with the redundant ScissorRect().SetRect expressions in fScissor from these call sites? I don't think there is any functional change, but it seems a little bit of a waste. I don't suppose this code is particularly hot though.
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #697118 -
Attachment is obsolete: true
Attachment #697274 -
Flags: review?(jgilbert)
Comment 6•12 years ago
|
||
Comment on attachment 697274 [details] [diff] [review]
patch
Review of attachment 697274 [details] [diff] [review]:
-----------------------------------------------------------------
Great, thanks for finding and fixing this.
Attachment #697274 -
Flags: review?(jgilbert) → review+
Comment 7•12 years ago
|
||
(In reply to Nick Cameron [:nrc] from comment #4)
> (In reply to Jeff Gilbert [:jgilbert] from comment #2)
> > Comment on attachment 697118 [details] [diff] [review]
> > patch
> >
> > Review of attachment 697118 [details] [diff] [review]:
> > -----------------------------------------------------------------
> >
> > This may be functionally equivalent, but we should probably stick to
> > reversing the regression caused by pulling the flip-y (and such) logic out
> > of raw_fScissor and putting it in fScissor. To that end, just change these
> > two raw_fScissor calls to fScissor and that should do it.
>
> Are you happy with the redundant ScissorRect().SetRect expressions in
> fScissor from these call sites? I don't think there is any functional
> change, but it seems a little bit of a waste. I don't suppose this code is
> particularly hot though.
The redundant calls probably aren't necessary, so maybe we should pull them out. Want to throw together that patch as well?
Assignee | ||
Comment 8•12 years ago
|
||
Comment 9•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in
before you can comment on or make changes to this bug.
Description
•