Closed
Bug 1213339
Opened 8 years ago
Closed 8 years ago
Faulty logic in WantsSmallTiles()
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: wgianopoulos, Assigned: wgianopoulos)
Details
Attachments
(1 file, 2 obsolete files)
1.46 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
In this function, http://mxr.mozilla.org/mozilla-central/source/gfx/gl/GLTextureImage.cpp#292 the test for SGX 540 is obviously useless. If it is a match it returns false otherwise it returns false. The order of the if statements here is backwards from what was intended.
Assignee | ||
Updated•8 years ago
|
Summary: Faulty logic in WantsSmallTiles() is faulty → Faulty logic in WantsSmallTiles()
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8671999 -
Flags: feedback?
Assignee | ||
Comment 2•8 years ago
|
||
(In reply to Bill Gianopoulos [:WG9s] from comment #1) > Created attachment 8671999 [details] [diff] [review] > should This patch corrects the logic in WantsSmallTiles to what was obviously originally intended otherwise the added code to test for SGX 540 has zero effect.
Assignee | ||
Updated•8 years ago
|
Attachment #8671999 -
Attachment description: should → Fix logic in WantsSmallTiles
Assignee | ||
Comment 3•8 years ago
|
||
However, I recommend this patch because it removes the currently dead patch because it has been this way on the tree for at least 3 years and no one seems to have complained about it being ineffective broke anything. Plus it was obviously landed with out any proper testing to actually show it fixed the original issue as described.
Attachment #8672003 -
Flags: review?(matt.woodrow)
Assignee | ||
Updated•8 years ago
|
Attachment #8671999 -
Flags: feedback? → feedback?(matt.woodrow)
Assignee | ||
Comment 4•8 years ago
|
||
BTW this all came about in debugging the issue in bug 1209801. I should have mentioned that in the original comment.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → wgianopoulos
Assignee | ||
Updated•8 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•8 years ago
|
||
(In reply to Bill Gianopoulos [:WG9s] from comment #3) > Created attachment 8672003 [details] [diff] [review] > Remove test for SGX 540. BTW I purposely left in the change from "must" to "should" in the comment to perhaps help prevent future exceptions form being placed at the wrong point in the function.
Assignee | ||
Updated•8 years ago
|
Attachment #8672003 -
Flags: review?(matt.woodrow) → feedback?(matt.woodrow)
Assignee | ||
Comment 6•8 years ago
|
||
Matt Please pick the approach you like and i will post a checkin ready patch for review for that approach.
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(matt.woodrow)
Comment 7•8 years ago
|
||
Comment on attachment 8671999 [details] [diff] [review] Fix logic in WantsSmallTiles Review of attachment 8671999 [details] [diff] [review]: ----------------------------------------------------------------- Switching the request to snorp since this is his domain. This patch seems just fine to me, but we might want to take the other one if we can.
Attachment #8671999 -
Flags: feedback?(matt.woodrow) → feedback?(snorp)
Updated•8 years ago
|
Flags: needinfo?(matt.woodrow)
Attachment #8672003 -
Flags: feedback?(matt.woodrow) → feedback?(snorp)
Attachment #8671999 -
Flags: feedback?(snorp) → feedback+
Attachment #8672003 -
Flags: feedback?(snorp) → feedback+
Assignee | ||
Comment 8•8 years ago
|
||
OK so which of the 2 approaches should a submit for review?
Flags: needinfo?(snorp)
Assignee | ||
Comment 9•8 years ago
|
||
Assuming the patches for 1209801 stick, I would like to go with the fix the logic rather than the delete the test patch. The delete the test patch was just a keep current behavior because the code has always been wrong, but fixing it as intended would mask the issue trying to be fixed in bug 1209801. So I am changing the info needed by the needinfo for who should I ask to review that patch?
I think nical should review.
Flags: needinfo?(snorp)
Assignee | ||
Comment 11•8 years ago
|
||
Attachment #8671999 -
Attachment is obsolete: true
Attachment #8674640 -
Flags: review?(nical.bugzilla)
Updated•8 years ago
|
Attachment #8674640 -
Flags: review?(nical.bugzilla) → review+
Assignee | ||
Updated•8 years ago
|
Attachment #8672003 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•8 years ago
|
OS: Unspecified → Android
Hardware: Unspecified → ARM
Comment 12•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/288eab800d67
Keywords: checkin-needed
Comment 13•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/288eab800d67
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•