Closed
Bug 787225
Opened 12 years ago
Closed 12 years ago
Skia symbols not exported from libgkmedias.dll
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: joe, Assigned: gw280)
References
Details
Attachments
(1 file, 2 obsolete files)
1.57 KB,
patch
|
ted
:
review-
|
Details | Diff | Splinter Review |
Because we compile Skia as part of the external gkmedias DLL, we need to export its symbols to use them from other code. I believe this will be solved if we globally define SKIA_DLL and, while compiling Skia itself, define SKIA_IMPLEMENTATION.
Assignee | ||
Comment 1•12 years ago
|
||
Untested as I don't have easy access to a Win32 box. Can you test it?
Attachment #657361 -
Flags: review?(joe)
Reporter | ||
Comment 2•12 years ago
|
||
In order to get SKIA_DLL defined across all of the code, the only reliable way is to have it in mozilla-config.h.
Attachment #657361 -
Attachment is obsolete: true
Attachment #657361 -
Flags: review?(joe)
Attachment #657419 -
Flags: review?(ted.mielczarek)
Reporter | ||
Comment 3•12 years ago
|
||
Whoops, qrefreshed into the wrong patch.
Attachment #657419 -
Attachment is obsolete: true
Attachment #657419 -
Flags: review?(ted.mielczarek)
Attachment #657423 -
Flags: review?(ted.mielczarek)
Comment 4•12 years ago
|
||
Comment on attachment 657423 [details] [diff] [review] define SKIA_DLL in mozilla-config.h Review of attachment 657423 [details] [diff] [review]: ----------------------------------------------------------------- ::: configure.in @@ +7710,5 @@ > MOZ_ENABLE_SKIA=1, > MOZ_ENABLE_SKIA=) > > +if test "$MOZ_ENABLE_SKIA"; then > + AC_DEFINE(SKIA_DLL) That's going to export the symbols on mac and linux, isn't it?
Reporter | ||
Comment 5•12 years ago
|
||
It'll make the Skia classes have this attribute: #define SK_API __attribute__((visibility("default"))) Is that a problem?
Assignee | ||
Comment 6•12 years ago
|
||
It might increase dlopen times for libxul, I guess?
Comment 7•12 years ago
|
||
Comment on attachment 657423 [details] [diff] [review] define SKIA_DLL in mozilla-config.h Review of attachment 657423 [details] [diff] [review]: ----------------------------------------------------------------- Yeah, I don't think you want to do that. We should do this on Windows only.
Attachment #657423 -
Flags: review?(ted.mielczarek) → review-
Reporter | ||
Comment 8•12 years ago
|
||
This isn't necessary after all.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•