Closed Bug 840874 Opened 12 years ago Closed 11 years ago

Get Skia backend working on Qt port

Categories

(Core :: Graphics, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: romaxa, Assigned: romaxa)

References

Details

Attachments

(1 file, 4 obsolete files)

Attached patch Qt Azure skia content render (obsolete) — Splinter Review
Here is basic patch which fix some build issues and should work on top of tng branch
Attached patch Qt Azure skia content render (obsolete) — Splinter Review
Attachment #713287 - Attachment is obsolete: true
Attachment #752171 - Flags: review?(gwright)
Comment on attachment 752171 [details] [diff] [review] Qt Azure skia content render Review of attachment 752171 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/thebes/gfxQtPlatform.cpp @@ +632,5 @@ > + NS_ASSERTION(aFont->GetType() == gfxFont::FONT_TYPE_FT2, "Expecting Freetype font"); > + nativeFont.mType = NATIVE_FONT_SKIA_FONT_FACE; > + nativeFont.mFont = static_cast<gfxFT2FontBase*>(aFont)->GetFontOptions(); > + return Factory::CreateScaledFontForNativeFont(nativeFont, aFont->GetAdjustedSize()); > +} Can we share this method with gfxPlatformGtk? I would like to avoid code duplication if possible.
Attachment #752171 - Attachment is obsolete: true
Attachment #752171 - Flags: review?(gwright)
Attachment #752206 - Flags: review?(gwright)
Comment on attachment 752206 [details] [diff] [review] Qt Azure skia content render, minor refactor for shared functionality Review of attachment 752206 [details] [diff] [review]: ----------------------------------------------------------------- In principle I'm ok with this, but you should probably flag Bas for review as well. Also, you appear to be missing the hunk that modifies Factory.cpp?
Attachment #752206 - Flags: review?(gwright)
Attachment #752206 - Flags: review?(bas)
Attachment #752206 - Flags: review+
Hrm, we should really get my font refactoring from the Moz2D repository onto m-c :s, also, as gw280 says?
Attachment #752206 - Attachment is obsolete: true
Attachment #752206 - Flags: review?(bas)
Attachment #8363381 - Flags: review?(bas)
Attachment #8364107 - Flags: review?(gwright)
Attachment #8364107 - Flags: review?(bas) → review+
Assignee: nobody → romaxa
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Comment on attachment 8364107 [details] [diff] [review] Qt Azure skia content render, minor refactor for shared functionalityattachment.cgiid=8363381 Clearing review flag as Bas already r+d it
Attachment #8364107 - Flags: review?(gwright)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: