WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
40275
[BREWMP] Port graphics backend
https://bugs.webkit.org/show_bug.cgi?id=40275
Summary
[BREWMP] Port graphics backend
Kwang Yul Seo
Reported
Tuesday, June 8, 2010 2:55:37 AM UTC
Use skia as Brew MP's graphics backend.
Attachments
FontCustomPlatformData
(23.99 KB, patch)
2010-08-27 15:47 PDT
,
Kwang Yul Seo
no flags
Details
Formatted Diff
Diff
FontCustomPlatformData
(4.61 KB, patch)
2010-09-14 17:34 PDT
,
Kwang Yul Seo
no flags
Details
Formatted Diff
Diff
Font
(8.43 KB, patch)
2010-09-20 15:20 PDT
,
Kwang Yul Seo
no flags
Details
Formatted Diff
Diff
Font
(8.45 KB, patch)
2010-09-20 15:40 PDT
,
Kwang Yul Seo
krit
: review-
Details
Formatted Diff
Diff
FontCustomPlatformData
(4.94 KB, patch)
2010-10-19 11:02 PDT
,
Kwang Yul Seo
no flags
Details
Formatted Diff
Diff
FontPlatformData
(12.67 KB, patch)
2010-10-19 16:22 PDT
,
Kwang Yul Seo
krit
: review-
Details
Formatted Diff
Diff
FontCache
(6.73 KB, patch)
2010-10-19 17:41 PDT
,
Kwang Yul Seo
krit
: review-
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Kwang Yul Seo
Comment 1
Friday, August 27, 2010 11:47:23 PM UTC
Created
attachment 65777
[details]
FontCustomPlatformData Reuse chromium's FontCustomPlatformData.
Kwang Yul Seo
Comment 2
Friday, August 27, 2010 11:55:40 PM UTC
CC'ing David Levin as it touches chromium.
Kwang Yul Seo
Comment 3
Monday, September 6, 2010 10:32:40 PM UTC
Comment on
attachment 65777
[details]
FontCustomPlatformData I will submit patches for WebKit Brew MP after
bug 39672
is resolved.
Kwang Yul Seo
Comment 4
Wednesday, September 15, 2010 1:34:58 AM UTC
Created
attachment 67622
[details]
FontCustomPlatformData Add PLATFORM(BREWMP) guard to reuse the OS(LINUX) code.
Kwang Yul Seo
Comment 5
Wednesday, September 15, 2010 1:35:53 AM UTC
CC'ing James here.
James Robinson
Comment 6
Wednesday, September 15, 2010 2:52:56 AM UTC
Since Brew MP has no builders on build.webkit.org, what's the plan if changes to this file break that port? Also, what OS setting does Brew MP set? I don't know anything about it as a platform. Maybe it's simpler for Brew to just set OS(LINUX)? It's kind of weird to mix up OS() and PLATFORM() #ifdefs in a single expression.
Kwang Yul Seo
Comment 7
Wednesday, September 15, 2010 3:05:08 AM UTC
(In reply to
comment #6
)
> Since Brew MP has no builders on build.webkit.org, what's the plan if changes to this file break that port?
Brew MP uses waf. I am upstreaming the build system in
bug 44645
. Until we have a buildbot, I will fix the build manually :(.
> Also, what OS setting does Brew MP set? I don't know anything about it as a platform. Maybe it's simpler for Brew to just set OS(LINUX)? It's kind of weird to mix up OS() and PLATFORM() #ifdefs in a single expression.
A Brew MP application is written only with Brew MP API and C standard functions. Underlying OS is not exposed, so we don't know the operating system where Brew MP runs. Sadly, there is no way but to add PLATFORM(BREWMP) guard.
Kwang Yul Seo
Comment 8
Monday, September 20, 2010 11:20:57 PM UTC
Created
attachment 68144
[details]
Font Port Font to Brew MP.
Kwang Yul Seo
Comment 9
Monday, September 20, 2010 11:40:58 PM UTC
Created
attachment 68149
[details]
Font Fix COMPILE_ASSERT.
Kwang Yul Seo
Comment 10
Tuesday, September 21, 2010 1:42:41 AM UTC
(In reply to
comment #6
)
> Since Brew MP has no builders on build.webkit.org, what's the plan if changes to this file break that port? > > Also, what OS setting does Brew MP set? I don't know anything about it as a platform. Maybe it's simpler for Brew to just set OS(LINUX)? It's kind of weird to mix up OS() and PLATFORM() #ifdefs in a single expression.
Another way to clean up the code is to split OS(WINDOWS) and OS(LINUX) into separate files and move OS(WINDOWS) part to platform/graphics/chromium and leave OS(LINUX) part in platform/graphics/skia without guards. I think OS(WINDOWS) part of FontCustomPlatformData.cpp/h is still Chromium-specific while OS(LINUX) part depends only on skia. After this cleanup, Brew MP can use FontCustomPlatformData in platform/graphics/skia without modification.
Kwang Yul Seo
Comment 11
Tuesday, October 19, 2010 7:02:13 PM UTC
Created
attachment 71186
[details]
FontCustomPlatformData Update the patch because OS(FREEBSD) guard was added.
Kwang Yul Seo
Comment 12
Wednesday, October 20, 2010 12:22:22 AM UTC
Created
attachment 71219
[details]
FontPlatformData
Kwang Yul Seo
Comment 13
Wednesday, October 20, 2010 1:41:13 AM UTC
Created
attachment 71232
[details]
FontCache
Kwang Yul Seo
Comment 14
Wednesday, October 20, 2010 1:48:49 AM UTC
(In reply to
comment #13
)
> Created an attachment (id=71232) [details] > FontCache
Except for FontCache::getFontDataForCharacters, all other methods are still the same as Chromium Linux. If you think it is better to share the code with PLATFORM(CHROMIUM) guards in FontCache::getFontDataForCharacters, I will submit an alternative patch in
bug 39672
.
James Robinson
Comment 15
Friday, October 22, 2010 4:20:41 AM UTC
Comment on
attachment 71186
[details]
FontCustomPlatformData It seems like these files only handle two cases - windows (in which case they use GDI) and everything else (originally just linux, but later freebsd and now brewmp). Would it be useful to define another macro for the using-Skia-but-not-GDI case so we can stick the OS(LINUX) || OS(FREEBSD) || PLATFORM(BREWMP) logic all in one place? Kwang, do you think such a macro would be useful in other files in addition to this pair? If so we should consider adding it, but if it's just for these files then I think this way is fine. R=me, request commit-queue again if you want to land with these macros.
Kwang Yul Seo
Comment 16
Monday, October 25, 2010 6:19:37 PM UTC
(In reply to
comment #15
)
> (From update of
attachment 71186
[details]
) > It seems like these files only handle two cases - windows (in which case they use GDI) and everything else (originally just linux, but later freebsd and now brewmp). Would it be useful to define another macro for the using-Skia-but-not-GDI case so we can stick the OS(LINUX) || OS(FREEBSD) || PLATFORM(BREWMP) logic all in one place? > > Kwang, do you think such a macro would be useful in other files in addition to this pair? If so we should consider adding it, but if it's just for these files then I think this way is fine. > > R=me, request commit-queue again if you want to land with these macros.
Currently, only there files have OS(LINUX) || OS(FREEBSD) || PLATFORM(BREWMP) check.
James Robinson
Comment 17
Wednesday, October 27, 2010 6:48:50 PM UTC
Comment on
attachment 71186
[details]
FontCustomPlatformData OK!
WebKit Commit Bot
Comment 18
Wednesday, October 27, 2010 7:05:31 PM UTC
Comment on
attachment 71186
[details]
FontCustomPlatformData Clearing flags on attachment: 71186 Committed
r70675
: <
http://trac.webkit.org/changeset/70675
>
Holger Freyther
Comment 19
Friday, December 24, 2010 10:33:33 AM UTC
Comment on
attachment 68149
[details]
Font Is there anything that is specific to BREW? If not you should really share the implementation.
Holger Freyther
Comment 20
Friday, December 24, 2010 10:33:52 AM UTC
Comment on
attachment 68149
[details]
Font Is there anything that is specific to BREW? If not you should really share the implementation.
Holger Freyther
Comment 21
Friday, December 24, 2010 10:34:17 AM UTC
Comment on
attachment 68149
[details]
Font Is there anything that is specific to BREW? If not you should really share the implementation.
Dirk Schulze
Comment 22
Wednesday, February 9, 2011 10:14:48 AM UTC
Comment on
attachment 68149
[details]
Font I agree to Holger. Looks like you should share the code than copying it.
Dirk Schulze
Comment 23
Wednesday, February 9, 2011 10:15:07 AM UTC
Comment on
attachment 71219
[details]
FontPlatformData ditto.
Dirk Schulze
Comment 24
Wednesday, February 9, 2011 10:15:29 AM UTC
Comment on
attachment 71232
[details]
FontCache ditto.
Kwang Yul Seo
Comment 25
Thursday, July 26, 2012 1:20:09 PM UTC
Brew MP port is no longer maintained.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug