Closed
Bug 1222569
Opened 9 years ago
Closed 9 years ago
fix various problems in gfx/ turned up by compiling with clang-cl
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: froydnj, Assigned: froydnj)
Details
Attachments
(10 files)
1.84 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
1.09 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
1.05 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
1.38 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
1.20 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
1.13 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
1.81 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
1.10 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
1.16 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
1.11 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
All of these are simple warnings with (seemingly) obvious fixes. They're split
up very fine-grained, ideally to make them easier to review.
Assignee | ||
Comment 1•9 years ago
|
||
Member fields are supposed to be initialized in the order they are
declared, but the constructors of DataTextureSourceD3D9 initialized
mFormat prior to mCompositor. This is probably harmless, but it does
cause a warning on clang-cl, so let's fix it.
Attachment #8684384 -
Flags: review?(bas)
Assignee | ||
Comment 2•9 years ago
|
||
Member fields are supposed to be initialized in the order they are
declared, but the constructor of SourceSurfaceD2D1 initialized
mDrawTarget prior to mDevice. This is probably harmless, but it does
cause a warning on clang-cl, so let's fix it.
Attachment #8684385 -
Flags: review?(bas)
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8684386 -
Flags: review?(bas)
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8684388 -
Flags: review?(bas)
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8684389 -
Flags: review?(bas)
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8684390 -
Flags: review?(bas)
Assignee | ||
Comment 7•9 years ago
|
||
None of the other DrawPrimitive calls in DrawQuad are checked, so
discaring the result from this call of DrawPrimitive seems OK.
Attachment #8684391 -
Flags: review?(bas)
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8684392 -
Flags: review?(bas)
Assignee | ||
Comment 9•9 years ago
|
||
Attachment #8684393 -
Flags: review?(bas)
Assignee | ||
Comment 10•9 years ago
|
||
Attachment #8684394 -
Flags: review?(bas)
Updated•9 years ago
|
Attachment #8684384 -
Flags: review?(bas) → review+
Updated•9 years ago
|
Attachment #8684385 -
Flags: review?(bas) → review+
Updated•9 years ago
|
Attachment #8684386 -
Flags: review?(bas) → review+
Updated•9 years ago
|
Attachment #8684388 -
Flags: review?(bas) → review+
Comment 11•9 years ago
|
||
Comment on attachment 8684389 [details] [diff] [review]
remove unused variable in gfxDWriteFonts.cpp
Review of attachment 8684389 [details] [diff] [review]:
-----------------------------------------------------------------
If we're going to care about unused variable warnings, let's just enable them as errors on MSVC builds as well once we've removed them.
Attachment #8684389 -
Flags: review?(bas) → review+
Updated•9 years ago
|
Attachment #8684390 -
Flags: review?(bas) → review+
Updated•9 years ago
|
Attachment #8684391 -
Flags: review?(bas) → review+
Updated•9 years ago
|
Attachment #8684392 -
Flags: review?(bas) → review+
Updated•9 years ago
|
Attachment #8684393 -
Flags: review?(bas) → review+
Updated•9 years ago
|
Attachment #8684394 -
Flags: review?(bas) → review+
Comment 12•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/dff6ad030963
https://hg.mozilla.org/integration/mozilla-inbound/rev/5f9ff9850912
https://hg.mozilla.org/integration/mozilla-inbound/rev/233e34b96012
https://hg.mozilla.org/integration/mozilla-inbound/rev/505f809cced1
https://hg.mozilla.org/integration/mozilla-inbound/rev/df9b89f3b023
https://hg.mozilla.org/integration/mozilla-inbound/rev/16f2f3a4ecc9
https://hg.mozilla.org/integration/mozilla-inbound/rev/688e27618992
https://hg.mozilla.org/integration/mozilla-inbound/rev/d1d04b257e61
https://hg.mozilla.org/integration/mozilla-inbound/rev/42163ce37977
https://hg.mozilla.org/integration/mozilla-inbound/rev/dbe8bf00bc3c
Comment 13•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dff6ad030963
https://hg.mozilla.org/mozilla-central/rev/5f9ff9850912
https://hg.mozilla.org/mozilla-central/rev/233e34b96012
https://hg.mozilla.org/mozilla-central/rev/505f809cced1
https://hg.mozilla.org/mozilla-central/rev/df9b89f3b023
https://hg.mozilla.org/mozilla-central/rev/16f2f3a4ecc9
https://hg.mozilla.org/mozilla-central/rev/688e27618992
https://hg.mozilla.org/mozilla-central/rev/d1d04b257e61
https://hg.mozilla.org/mozilla-central/rev/42163ce37977
https://hg.mozilla.org/mozilla-central/rev/dbe8bf00bc3c
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in
before you can comment on or make changes to this bug.
Description
•