Commit Graph

2244 Commits

Author SHA1 Message Date
Benoit Jacob
4285792db3 Bug 659842 comment 86 - accidentally removed a glXDestroyContext call + fix a warning in opt build - r=trivial-fix 2011-06-17 21:42:31 -04:00
Benoit Jacob
8dbe82a76f Bug 659842 - [topcrash] release the GL context before calling glXDestroyContext - r=karlt
See the glXDestroyContext man page:

  If GLX rendering context ctx is not current to any thread,
  glXDestroyContext  destroys it immediately.  Otherwise, ctx is destroyed
  when it becomes not current to any thread.  In either case, the resource ID
  referenced by ctx is freed immediately.

In other words, if we want glXDestroyContext to have the well-defined semantics
of destroying the context before future X commands take effect, we must first
release the GL context before calling it. We were failing to do that, but we
were destroying the drawable immediately after that call, and as a result, the
context was outliving its underlying drawable. This eventually resulted in
X_GLXMakeCurrent: GLXBadContextTag X errors on subsequent glXMakeCurrent calls.
2011-06-17 11:49:27 -04:00
Jonathan Kew
f9cb8da613 bug 467669 - pt 6 - provide the real font name rather than our internal identifier. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew
a7411a0c9d bug 467669 - pt 5 - expose WOFF metadata (if present) for downloaded fonts. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew
a8e92df002 bug 467669 - pt 4.1 - fix Mac font backend to mark local user fonts properly. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew
b0ae7172d2 bug 467669 - pt 4 - expose additional attributes for downloaded fonts. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew
0bc82a4ba2 bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc 2011-06-16 07:31:37 +01:00
Ehsan Akhgari
13d84f740f Backout bug 467669 and bug 660088 2011-06-15 16:52:48 -04:00
Jonathan Kew
be3ae9b1a0 bug 467669 - pt 6 - provide the real font name rather than our internal identifier. r=roc
--HG--
extra : rebase_source : d548ab2be329058bde101b142607abf14dce7191
2011-06-15 20:17:54 +01:00
Jonathan Kew
ba1202c246 bug 467669 - pt 5 - expose WOFF metadata (if present) for downloaded fonts. r=roc
--HG--
extra : rebase_source : 91e7f231b281e1949997996d7308aceb4935247b
2011-06-15 20:17:52 +01:00
Jonathan Kew
0696341392 bug 467669 - pt 4.1 - fix Mac font backend to mark local user fonts properly. r=roc
--HG--
extra : rebase_source : 9ef420cb21d14276e766e1acea5d93364d48b87f
2011-06-15 20:17:52 +01:00
Jonathan Kew
d5411cefc7 bug 467669 - pt 4 - expose additional attributes for downloaded fonts. r=roc
--HG--
extra : rebase_source : f3d41348ab01a21ac6b6a1713b1e5e7274cf7fbf
2011-06-15 20:17:52 +01:00
Jonathan Kew
eacb2d87b0 bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc
--HG--
extra : rebase_source : 89e65a1d612dcee7872a18a5e4bb9b3591c3a63d
2011-06-15 20:17:51 +01:00
Jacek Caban
68973a00a6 Bug 663784 - gfxWindowsPlatform.cpp doesn't compile without D2D r=masayuki 2011-06-15 12:22:57 +02:00
Neil Rashbrook
747f874cd4 Bug 660525 Remove useless uses of PromiseFlatString (prev cset lacked the code changes) r=joedrew! 2011-06-13 19:02:35 -07:00
Ted Mielczarek
a88f0715f0 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Masayuki Nakano
e06d6eb819 Bug 663036 part.3 gfx should use mozilla::Preferences r=roc+joe 2011-06-12 11:30:16 +09:00
Matheus Kerschbaum
5a7b295546 Bug 614721 - Remove some DirectDraw left overs. r=joedrew,jrmuizel 2011-06-10 18:27:01 +02:00
Oleg Romashin
dc9d518633 Bug 659832 - Make WebGL working on Maemo r=joe 2011-06-09 21:18:43 -04:00
Jonathan Kew
4ce8038dca Bug 661471. Part 7: Only force GDI_CLASSIC rendering for specified fonts if a rendering mode has not been explicitly chosen in prefs. r=roc 2011-06-09 08:17:20 +01:00
Oleg Romashin
9ef30f9708 Bug 594418 - GLDefs.h GLsizeiptr, GLintptr gl types definition conflicts with khronos gl types r=bjacob 2011-06-07 11:42:22 -07:00
Nicholas Nethercote
75c9bc6319 Bug 658814 - move gfx/surface/* reporters out of the "explicit" group to avoid double-counting of some meomry bytes and subsequent negative values in about:memory. r=jmuizelaar. 2011-06-07 12:17:01 +10:00
Nicholas Nethercote
3f2c2d551f Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc. 2011-06-06 11:22:45 +10:00
Robert O'Callahan
4bb2d42df6 Bug 661471. Part 3: Apply 'GDI Classic' prefs to @font-face local(). r=jdaggett,jfkthame 2011-06-03 16:31:08 +12:00
Robert O'Callahan
72424d8066 Bug 661471. Part 2: Add a pref to limit the forcing of 'GDI Classic' to a maximum font size. r=jdaggett,jfkthame 2011-06-03 16:31:08 +12:00
Robert O'Callahan
0e9af9395b Bug 661471. Part 1: Create preference to force particular font families to use 'GDI Classic' rendering with DirectWrite. r=jdaggett,jfkthame 2011-06-03 16:31:07 +12:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Makoto Kato
c3c6ebce4f Bug 660584 - nsILanguageAtomService.LookupLanguage should use nsACString instead of nsAString. r=smontagu 2011-05-31 14:09:05 +09:00
Karl Tomlinson
837dcebd95 b=468496 use RepeatPad on newer X servers even when downscaling r=joe
--HG--
extra : transplant_source : %8DY%BB%96%10%93%5C%E7%60%04h%5C%400%F8%1Dx%CCq%FC
2011-05-31 09:38:50 +12:00
Robert O'Callahan
a537a15852 Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-30 15:48:29 +12:00
Jeff Muizelaar
8f912ae15e Bug 562746. Update cairo to 1.10.
A lot of changes from upstream here that will hopefully be smoothed
out a bit soon.
2011-03-10 14:52:15 -05:00
Jeff Muizelaar
741e33c428 Bug 562746. Remove use of EXTEND_NONE on quartz. r=roc
The updated quartz backend actually supports extend none properly.
We currently (and in the update) patch extend_pad to behave like the old
extend_none instead of a real extend_pad, so this change shouldn't have any
rendering differences now and fixes the reftest when we update.
2011-05-18 15:41:45 -04:00
Mounir Lamouri
927ee0c01a Merging cedar with mozilla-central. 2011-05-27 09:57:51 +02:00
Daniel Holbert
8556ef49be Bug 659466: Fix remaining data URI "#" --> "%23" conversions in testcases. r=bz 2011-05-26 01:20:08 -07:00
Ehsan Akhgari
bfd552d30a Backout bug 562746 (Cairo update to version 1.10) because of the possible Dromaeo regression on Mac OS X 10.5) 2011-05-26 14:57:50 -04:00
Benoit Jacob
2980ccd7c4 Bug 659349 - WebGL allows access to uninitialised graphics memory - r=jrmuizel
GLContext::ClearSafely() wasn't really safe, it was making naive assumptions about GL state and as a result, a WebGL script could obtain an uninitialized backbuffer.
2011-05-26 14:24:48 -04:00
Jeff Muizelaar
f9513e5a85 Bug 562746. Update cairo to 1.10.
A lot of changes from upstream here that will hopefully be smoothed
out a bit soon.
2011-03-10 14:52:15 -05:00
Jeff Muizelaar
1592328268 Bug 562746. Remove use of EXTEND_NONE on quartz. r=roc
The updated quartz backend actually supports extend none properly.
We currently (and in the update) patch extend_pad to behave like the old
extend_none instead of a real extend_pad, so this change shouldn't have any
rendering differences now and fixes the reftest when we update.
2011-05-18 15:41:45 -04:00
Matt Brubeck
ec953fc5a6 Merge cedar to mozilla-central 2011-05-24 14:55:37 -07:00
Benoit Jacob
2c0eb7e54e Bug 657748 - Update ANGLE to r653 - a=joe
This ANGLE update fixes bugs, brings large performance improvements, and adds major new features that web devs are looking forward to: vertex shader texture lookup and float textures.

http://code.google.com/p/angleproject/

This update is also needed because the version we're currently using is the chrome_m10 branch and that's no longer maintained. This update will make it much easier to apply security fixes if needed.
2011-05-24 11:05:56 -04:00
John Daggett
c5f9095961 Bug 659182. Null-check bundle ID's before releasing.
r=roc
2011-05-23 22:14:16 -07:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Matt Brubeck
d4397cc6d1 Bug 598736 - Use bilinear image scaling when NEON is available [r=jrmuizel] 2011-04-08 10:15:37 -07:00
Nicholas Nethercote
30e92c3349 Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Matt Woodrow
b386255490 Bug 606855 - Re-enable checking of GLX extensions. r=bjacob 2011-05-23 11:04:22 +12:00
Benjamin Peterson
f8d31dc977 Bug 658314 - UserToDevice uses the transform matrix. r=roc
--HG--
extra : rebase_source : 642b8d2ec5c5a523c74d44c4285731810f28e7ba
2011-05-21 22:06:24 +02:00
Benoit Jacob
eca44c5cc8 Bug 656215 - check max size for textures and renderbuffers - r=joedrew
This is needed to correctly handle exceedingly large canvases, for example.
2011-05-20 15:53:53 -04:00
Vladimir Vukicevic
4b2230fe03 Bug 630672 - implement WebGL OES_texture_float extension - r=bjacob
This implements floating-point textures in WebGL
2011-05-20 15:53:53 -04:00
Vivien Nicolas
8b7b339cab backout bug 647560 - Pages on Fennec desktop does not not draw anymore 2011-05-20 17:45:00 +02:00
John Daggett
0cc810376c Bug 652754. Eliminate unnecessary font data enumerations at startup. r=jkew 2011-05-20 15:09:30 +09:00
John Daggett
d513f6e578 Backout 2e0e36b0feae due to odd Linux bustage 2011-05-20 16:13:01 +09:00
John Daggett
43f90511f3 Bug 652754. Eliminate unnecessary font data enumerations at startup. r=jkew 2011-05-20 15:09:30 +09:00
Florian Hänel
8e0d9ab286 Bug 628566 - Implement basic tiling of ImageLayerOGL. r=joe 2011-05-19 12:53:02 +02:00
Robert O'Callahan
77cd75a0d2 Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-18 23:24:52 +12:00
Ed Morley
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Mounir Lamouri
eceb98864c Backout bug 629866 and bug 647560. 2011-05-17 11:44:17 +02:00
Robert O'Callahan
e5e28d9ac2 Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-17 11:42:11 +12:00
John Daggett
5fb2f0c9f2 Bug 567552. Disable font auto-activation. r=josh 2011-05-11 09:44:35 +09:00
John Daggett
375ce049e0 Bug 650723. Add ClearType parameter data to about:support. r=gavin,jrmuizel 2011-05-11 09:30:20 +09:00
John Daggett
0603515438 Backed out changeset d34dd7156b4d 2011-05-09 15:19:33 +09:00
John Daggett
d51efebde6 Bug 650723. Add ClearType parameter data to about:support. r=gavin,jrmuizel 2011-05-09 14:56:27 +09:00
Jonathan Kew
172cf715bc bug 655138 - don't use font entry after it's been replaced. r=jdaggett 2011-05-08 13:09:03 +01:00
Matt Woodrow
04c30e5628 Bug 651469 - Add FastMovePixels to gfxASurface and use it where appropriate. r=roc 2011-05-08 13:19:11 +12:00
Benoit Jacob
2efacff0c8 Bug 645407 - remove useless GLX checks - r=karlt 2011-05-03 16:07:17 -04:00
Benoit Jacob
d8a3b2e314 Bug 645407 - remove old blacklisting - r=karlt 2011-05-03 16:07:17 -04:00
Jonathan Kew
916e9b8b24 bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc 2011-05-04 12:29:56 +01:00
Nicholas Nethercote
6ef173ddbb Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Benoit Jacob
c3b3ed17f9 backout bug 645407, bug 639842, bug 642502 2011-05-03 17:18:44 -04:00
Benoit Jacob
f383bf0179 Bug 645407 - remove useless GLX checks - r=karlt 2011-05-03 16:07:17 -04:00
Benoit Jacob
a739bbaf8e Bug 645407 - remove old blacklisting - r=karlt 2011-05-03 16:07:17 -04:00
Jonathan Kew
6a0388114b bug 33032 - synthesize various Unicode space characters rather than showing missing glyphs. r=jdaggett 2011-05-02 10:01:55 +01:00
Jonathan Kew
450943ec19 bug 653100 - no longer need to save copies of layout tables prior to OTS sanitization. r=jdaggett 2011-04-28 09:01:59 +01:00
Jonathan Kew
306e33cbda bug 653705 - ensure mIsCFF is not left uninitialized for downloaded fonts. r=jdaggett 2011-05-02 10:01:54 +01:00
Zack Weinberg
85ef3b518f Bug 651498: call gfxPlatform::Init when necessary and not earlier. r=joedrew,bsmedberg
--HG--
extra : rebase_source : fa6eae9a0656197d2c245f7c15120f36face2347
2011-04-21 12:36:49 -07:00
Jonathan Kew
fcadc04ff6 Backed out changeset 52b6489a3140 (bug 653100) because of reftest oranges. 2011-04-28 10:52:04 +01:00
Jonathan Kew
32c814b853 bug 653100 - no longer need to save copies of layout tables prior to OTS sanitization. r=jdaggett 2011-04-28 09:01:59 +01:00
Jonathan Kew
eed7de5c54 bug 653098 - remove unused function gfxUserFontSet::RemoveFamily. r=jdaggett 2011-04-28 09:01:19 +01:00
Jonathan Kew
0d12b6c03d bug 608940 - remove unused function gfxTextRun::Clone. r=jdaggett 2011-04-28 06:06:53 +01:00
Jonathan Kew
eb0e942dc9 bug 650639 - cancel current font-downloaders when updating the user font set. r=dbaron 2011-04-28 06:04:45 +01:00
Masatoshi Kimura
07ab33fd8d bug 643460 pt 3 - remove gfx.downloadable_fonts.sanitize.preserve_otl_tables preference, no longer needed with new OTS version. r=jfkthame 2011-04-26 16:29:43 +01:00
Zack Weinberg
43341e9470 Bug 651926: abort (even in production) if anything in gfxPlatform::Init fails, its callers can't cope. r=jrmuizel 2011-04-21 12:36:53 -07:00
Zack Weinberg
8a4c92cea7 Bug 649429 part 1: fix undefined behavior in gfxASurface::CheckSurfaceSize. r=jrmuizel
--HG--
extra : rebase_source : 145c3c4b2acd86e2743811f4be5eba599dcc1df3
2011-04-12 12:22:45 -07:00
Jonathan Kew
8e92dd97a6 bug 642589 - expose prefs for tweaking DirectWrite/D2D antialiasing behavior. r=jdaggett 2011-04-21 07:29:50 +01:00
Zack Weinberg
d5e47757d8 Bug 651017, part 4: deCOM nsIDeviceContext; include-minimization on nsDeviceContext.h itself; merge GetPrintDC() into Windows/OS/2 specific code; merge Shutdown() with ClearCachedSystemFonts(). Most references outside gfx not fixed up.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 9fb366d99d18c9335ba297d21f673178dae62a64
2011-04-16 18:22:42 -07:00
Zack Weinberg
ba4c919431 Bug 651017, part 2: wrap gfxPlatform::Init/Shutdown in a service and register it for app-startup. Also prune some dead CIDs from nsGfxCIID.h.
--HG--
extra : rebase_source : d296ac53c4c60d79f7e2d6904dd54ce930099bbd
2011-04-16 18:22:41 -07:00
Jonathan Kew
f67ad53dd4 bug 589682 - ignore GDEF table in italic faces of times new roman, to work around font bug. r=jdaggett 2011-04-19 09:01:21 +01:00
Robert O'Callahan
d4c414cf18 Bug 641426. Part 8: Replace gfxRect::Outset/Inset with Inflate/Deflate. Also slip in a conversion constructor from nsIntRect to gfxRect. r=tnikkel 2011-04-19 15:07:51 +12:00
Robert O'Callahan
c9b3d6063b Bug 641426. Part 7: Create Rect template. r=joe,sr=cjones 2011-04-19 15:07:48 +12:00
Robert O'Callahan
c957ae039e Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
307547d062 Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Robert O'Callahan
8b71e83f60 Bug 641426. Part 2.5: Make gfxBlur bail out in all cases where the blur rect is empty. r=tnikkel 2011-04-19 15:07:21 +12:00
Robert O'Callahan
73b97e72c4 Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe 2011-04-19 15:07:21 +12:00
Robert O'Callahan
17b91a87af Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
John Daggett
a5724434f7 Bug 634286. Remove font cache size info from about:support on Windows. r=jmuizelaar 2011-04-19 10:11:09 +09:00
Matt Woodrow
c43047b608 Bug 648741 - Correctly bind pixmaps to textures during the draw call on X11 accelerated layers. r=bjacob 2011-04-19 10:50:54 +12:00
Matt Woodrow
8fd6e01911 Bug 638323 - Skip unnecessary MakeCurrent calls in GLContextProviderCGL. r=bjacob 2011-04-19 10:49:00 +12:00
Matt Woodrow
1b93d0832f Bug 586508 - Improve GL error code output. r=bjacob 2011-04-19 10:47:40 +12:00
Landry Breuil
5334f0f25b Bug 633857 - missing #includes for OpenBSD (gfx part) r=ludovic 2011-04-14 17:48:27 +09:00
Jonathan Kew
99d0c392b8 bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron 2011-04-12 11:53:20 +01:00
Jonathan Kew
5a633fc5ed bug 636957 - ensure DWrite font list is initialized in GetFontFamilyList(). r=jdaggett 2011-04-13 08:28:34 +01:00
Ms2ger
4c894d44d4 Backed out changeset 3f82f25d7334 2011-04-12 14:28:53 +02:00
Jonathan Kew
d9c320b9df bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron 2011-04-12 11:53:20 +01:00
Matt Woodrow
38a5c34624 Bug 640082 followup - Fix typo that caused all black rendering with accelerated layers on X. r=bjacob
--HG--
extra : rebase_source : 38479709267224557c0e619a71430a3505806e40
2011-04-12 00:36:13 -07:00
Zack Weinberg
1a54f9512d Bug 648385: Remove gfxFont::GetUniqueName, r=jdaggett
--HG--
extra : rebase_source : 41f923803127440ab903e91c7f24e020b97b83f5
2011-04-11 17:59:42 -07:00
Ehsan Akhgari
8e2d030028 Merge mozilla-central into cedar 2011-04-11 13:11:47 -04:00
Doug Turner
bb9cf72cbb Backing out Bug 598736 - Use bilinear image scaling on mobile. Perf regression caused. r=me 2011-04-11 09:25:59 -07:00
Jonathan Kew
95036edb98 bug 623495 - revise prefs for dispatching scripts to shaping backends; enable harfbuzz for Hebrew on OS X. r=smontagu 2011-04-11 12:17:31 +01:00
Rich Walsh
463cdad8da Bug 648472 - [OS/2] avoid crashes when FcFontMatch() fails; r=wuno 2011-04-09 23:32:09 -04:00
Ehsan Akhgari
c142d20d2c Merge cedar into mozilla-central 2011-04-08 11:05:22 -07:00
Matt Brubeck
170c710ac7 Bug 598736 - Use bilinear image scaling on mobile. r=jrmuizel 2011-04-08 10:15:37 -07:00
Ehsan Akhgari
96d750195b Merge cedar into mozilla-central 2011-04-08 02:27:03 -07:00
Ms2ger
1528a3aa42 Bug 647552 - Uninitialized variables in GLXLibrary::EnsureInitialized; r=bjacob 2011-04-07 21:55:10 -07:00
Matt Woodrow
099fef4367 Bug 641250 - Rename GLContext::TextureState::Initialized to Allocated. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
c2d0ad4ae4 Bug 640082 - Part 4 - Create TextureImageGLX which uses texture_from_pixmap. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
30e6da146a Bug 640082 - Part 3 - Add BindTexture functions to TextureImage. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
0ff89b8752 Bug 640082 - Part 1 - Add texture_from pixmap support to GLContextProviderGLX. r=joe 2011-04-07 16:58:07 -07:00
Matheus Kerschbaum matjk7@gmail.com
83489c2891 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now
--HG--
extra : rebase_source : bd8d7491d0fee17e0319ce130bd2988fefe82e93
2011-04-06 21:59:25 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Makoto Kato
0aac0cc47c Bug 644054 - Support WOFF on Android; r=jfkthame 2011-03-22 21:40:00 -04:00
Benoit Jacob
a4d00bab86 Bug 640064 - crash [@ libc.so@0x1c25e] going to about:support crashes ideos s7; r=jmuizelaar 2011-03-09 05:17:00 -05:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Benoit Jacob
71406e87b5 imported patch 640064 2011-03-09 05:17:00 -05:00
Jonathan Kew
6b4f50d01a bug 643502 - add missing cases to GetFontPrefLangFor(). r=smontagu 2011-03-31 09:47:02 +01:00
Josh Matthews
b2ae468243 Bug 640968 - Avoid using null cache if the singleton does not actually exist. r=blassey 2011-03-24 19:37:07 -04:00
Ehsan Akhgari
de907a39be Merge mozilla-central into cedar 2011-03-30 13:55:31 -04:00
Makoto Kato
14ea2bfa7f Bug 613440. Make loading ICM profiles from non-ASCII paths work. r=jmuizelaar 2011-03-30 13:40:47 -04:00
Jeff Muizelaar
24bc5d4c25 Bug 645947 - Remove unneeded copy constructors from gfxRGBA, gfxPoint and gfxRect; r=bjacob
This lets us get smaller code (by 1KB) and potentially faster code too.
2011-03-29 18:29:22 -04:00
Doug Turner
ef35aa039b Bug 643307 - Crash [@ nsThebesFontMetrics::GetMetrics ]. r=blassey
--HG--
extra : rebase_source : 6d878a2ff10aa1030f71526dacb64d6d92882322
2011-03-29 11:50:39 -07:00
John Daggett
6fb5fc67de Bug 643649. Pass correct parameter value into registry call. r=joedrew 2011-03-29 12:11:22 +09:00
Karl Tomlinson
00d3f613f1 b=626192 blacklist ATI libGL due to seg faults on querying server info r=bjacob
--HG--
extra : transplant_source : %15Ay%22pB%8B%7D%B2%5Eph%12%18%17%91G%FC%D7%10
2011-03-25 16:38:59 +13:00
Karl Tomlinson
620408b145 b=617703 use target visual to determine target format r=roc
--HG--
extra : transplant_source : L%E8%90%93Mar%3EO%A5w%D8%7B%F1%9DH%0B%7EUi
2011-03-25 16:38:59 +13:00
Ehsan Akhgari
395dbdf918 Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Doug Turner
c022bddecd Bug 644747 - font.cache storage off by one. r=blassey 2011-03-25 11:06:53 +13:00
Matt Woodrow
d678e84d15 Bug 635383 - Part 1 - Make GL layers always y-flipped and handle this inside GLContext. r=joe 2011-02-25 20:44:18 +13:00
Robert O'Callahan
443b94ac3c Bug 615092 - Add a way to dump gfxASurfaces to a data URL. r=mattwoodrow 2011-03-25 11:04:46 +13:00
Matt Woodrow
423b5b30b7 Bug 641250 - Upload full surface bounds if texture is uninitialized. r=joe 2011-03-25 11:04:11 +13:00
Jonathan Kew
bf757a9d0e Bug 623711 - erratic font selection with multiple @font-face rules and bad font resources; r=jdaggett 2011-03-23 23:01:50 -04:00
Ehsan Akhgari
d40a33c22e Backout changeset f39ad7e4054e (bug 623711) because of reftest failure 2011-03-24 00:15:02 -04:00
Masatoshi Kimura
dcbef1ea3b bug 637481 - add vhea/vmtx support to OTS for CJK webfonts. r=jfkthame 2011-03-24 20:11:38 +00:00
Jonathan Kew
b15a7010f2 bug 642093 - map commonly-used bitmap font names to truetype equivalents for dwrite. r=bas 2011-03-24 20:11:38 +00:00
Jonathan Kew
5559ee375c bug 637157 - @font-face family names should hide system fonts. r=jdaggett 2011-03-24 20:11:37 +00:00
Jonathan Kew
7a650852b8 bug 544617 - ensure Cairo font is set up in gfxGDIFont::InitTextRun. r=jdaggett 2011-03-24 20:11:37 +00:00
Karl Tomlinson
c84babe21f b=546315 use weak bindings to give lower priority to families after a generic r=jfkthame 2011-03-23 23:14:32 -04:00
Jonathan Kew
84a78f4078 Bug 605009 - Linux debug build with --disable-pango crashes during shutdown; r=karlt 2011-03-23 23:02:14 -04:00
Jonathan Kew
cb230f5ba2 Bug 623711 - erratic font selection with multiple @font-face rules and bad font resources; r=jdaggett 2011-03-23 23:01:50 -04:00
Jonathan Kew
559ac56c3a bug 635640 - force font metrics of Arial Black to match the main Arial family; r=Bas 2011-03-23 23:01:14 -04:00
Ehsan Akhgari
ca95c68a1e Merge mozilla-central into cedar 2011-03-23 18:29:19 -04:00
Ehsan Akhgari
47cf269311 Merge mozila-central onto cedar
--HG--
rename : toolkit/components/places/src/nsLivemarkService.js => toolkit/components/places/nsLivemarkService.js
2011-03-23 12:06:04 -04:00
Kyle Huey
782df80bf2 Merge m-c to bs. 2011-03-19 07:56:17 -04:00
Mitchell Field
8a39ea72b9 Merge mozilla-central to build-system. 2011-03-13 04:21:37 +11:00
Doug Turner
61c35070ce Bug 616426 - fix paramater type. r=blassey. a=me 2011-03-11 15:41:32 -08:00
Brad Lassey
6277b5a31b bug 616426 - crash [@ nsThebesFontMetrics::GetMetrics ], follow up r=dougt a=blocking-fennec 2011-03-11 17:03:39 -05:00
Mitchell Field
a7b458884e Merge mozilla-central to build-system. 2011-03-11 11:05:04 +11:00
Alon Zakai
cfddbcbdfd Bug 616426 - Crash in nsThebesFontMetrics::GetMetrics. r=blassey,stuart a=blocking-fennec 2011-03-10 14:07:55 -08:00
Timothy B. Terriberry
e2473b98ea Bug 641019 - "Crash on video with odd widths and 16-bit displays" [r=tterribe a=stuart] 2011-03-15 15:01:00 -07:00
Chris Jones
bd10a2887b Bug 635035, part 7: Remove obsoleted gfxASurface::SupportsSelfCopy. r=roc a=b 2011-03-09 11:27:37 -06:00
Chris Jones
8f802d6998 Bug 635035, part 5: Add a helper to check whether a gfxRect is rounded within a given epsilon. sr=roc 2011-03-09 11:27:37 -06:00
Chris Jones
aa1ced7f8a Bug 635035, part 4: Implement MovePixels() for image surfaces. r=roc 2011-03-09 11:27:37 -06:00
Chris Jones
d1fd67bbe8 Bug 635035, part 3: Add gfxASurface::MovePixels() interface and generic impl. sr=roc 2011-03-09 11:27:37 -06:00
Benoit Jacob
7f1f831a27 Bug 627464 - Annotate crash reports if the forced-enabled prefs are set - r=jrmuizel, a=joe 2011-03-02 15:50:36 -05:00
joe@drew.ca
2f9eaad891 Bug 636870 - Using webgl on optimus hardware causes instant crash [part1] (r=jmuizelaar, a=blocker). 2011-03-01 17:00:33 -08:00
Karl Tomlinson
0cba2f1d40 b=634556 don't assume 16-bit text when wordStartsInsideLigature r+a=roc
--HG--
extra : transplant_source : %3F%AB_%7E%C1Y%9A%CC%0DLRh%5B2y%E1%E9%02%C6%C4
2011-02-28 08:31:39 +13:00
Matt Woodrow
852f3221c8 Bug 636609 - Remove DEBUG_GL_ERROR_CHECK. r+a=joe 2011-02-25 20:05:31 +13:00
John Daggett
8c52aa33e6 Bug 630201. Don't use DirectWrite for pre-RTM versions of Windows 7. r=bas, a=joedrew 2011-02-25 10:31:16 +09:00
Benoit Jacob
8cffd874ec Bug 635401 - Segfault when checking name of graphics driver vendor - r=bas, a=joe 2011-02-24 17:17:34 -05:00
Doug Turner
4e523fad21 Bug 636086 - build bustage when building with --disable-pango. r=karlt a=build-bustage
--HG--
extra : rebase_source : 0ce7c97eed2291ba7ede603ed4ed8175d35a158b
2011-02-24 09:59:37 -08:00
Jonathan Kew
bd37a3bdb7 bug 635768 - restore explicit font selection in gfxGDIFont::GetGlyphWidth to fix spacing issues when printing. r=roc a=blocker 2011-02-23 09:39:21 +00:00
Jonathan Kew
64909ee7be bug 635451 - don't reject glyph index 31 in type-1 fonts. r=jdaggett a=joe 2011-02-22 17:04:37 +00:00
Brad Lassey
b8fa7c23de bug 623136 - speed up font loading on android r=jdagget a=blocking-fennec 2011-01-12 23:04:42 -05:00
Jacek Caban
c8c54a7aac Bug 635593 - Compilation failure in gfxWindowsPlatform.h during compilation without DWrite r=jfkthame a=joe 2011-02-21 13:47:32 +00:00
Jonathan Kew
066aec9326 bug 634762 - Don't call cairo_win32_scaled_font_select_font from SetupCairoFont, but from DCFromContext, and SaveDC/RestoreDC around it; fix usage of DC and font in Uniscribe/GDI shapers. r=roc a=blocking 2011-02-19 20:48:33 +00:00
Doug Turner
cd5b5337e5 Bug 634734 - Fennec ASSERTION: mFUnitsConvFactor not valid: mFUnitsConvFactor > 0.0f [r=karlt a-2.0=pavlov] Whitespace followup. DONTBUILD 2011-02-17 16:04:34 -08:00
Doug Turner
e860851571 Bug 634734 - "Fennec ASSERTION: mFUnitsConvFactor not valid: 'mFUnitsConvFactor > 0.0f" [r=karlt a-2.0=pavlov] 2011-02-16 15:46:00 -08:00
Chris Jones
11ef1d1487 Bug 626602, part 7: Copy the impl of < and <= from nsIntSize to gfxIntSize. Sigh. sr=roc 2011-02-16 16:43:31 -06:00
Robert O'Callahan
2c94778839 Bug 626602. Part 1: Create ReadbackLayer API to enable collection of background pixels in a layer tree. r=bas,sr=cjones 2011-02-16 16:43:30 -06:00
Chris Jones
b2e95d051c Bug 629799, part 2: Ensure that gfxImageSurfaces are aligned well for alpha recovery. r=roc 2011-02-16 16:43:30 -06:00
Chris Jones
1d0f567d0f Bug 629799, part 1: Add some helpers for aligning surfaces for alpha recovery. sr=roc 2011-02-16 16:43:30 -06:00
Jonathan Kew
a66e635a6c bug 633342 - allow subpixel AA but not the manual show_glyphs path when Asian font has embedded bitmaps. r=bas a=joe 2011-02-15 20:55:01 +00:00
Jonathan Kew
201f78023c bug 633342 - get rid of windows newlines in thebes files. r=bas a=joe 2011-02-15 20:55:01 +00:00
John Daggett
474a8001b3 Bug 626611. Fix incorrect buffer size. r=jkew, a=joedrew 2011-02-15 11:29:33 +09:00
John Daggett
16a5833071 Bug 632155. Check possible error conditions in GetDLLVersion. r=ehsan, a=ehsan 2011-02-15 11:28:51 +09:00
Benoit Jacob
f1f9b80cdd Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
965a08c8d5 Bug 629265 - dont block NVIDIA 260.19 for now - r+a=joe 2011-02-14 16:39:52 -05:00
Benoit Jacob
5dc1546e1e Bug 629265 - Crash in NVIDIA driver 260.19 on linux 64bit w/ layers acceleration - r=vladimir, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
7045bfa4fc Bug 632867 - Mesa versions up to 7.10 cause a BadLength error during the first GLX call when the server GLX version < 1.3. - r=karlt, a=hardblocker 2011-02-11 18:11:30 -05:00
Benoit Jacob
1658160279 Bug 632969 - 4/4 - logic change - r=karlt, a=blocker 2011-02-11 18:11:30 -05:00
Benoit Jacob
dc69425fb9 Bug 632969 - 3/4 - message wording change - r=karlt, a=blocker 2011-02-11 18:11:30 -05:00
Karl Tomlinson
e6082aa43d Bug 632969 - 2/4 - reset error variable before trying again with no sharing - r=bjacob, a=blocker 2011-02-11 18:11:30 -05:00
Matt Woodrow
b6b769faf1 Bug 591687: Add new image type for IOSurfaces on Mac OS X. r=roc r=benwa a=blocking2.0betaN+ 2011-02-12 11:02:08 -05:00
Kyle Huey
9132ccf4bc Backout 2011-02-11 23:08:16 -05:00
Benoit Jacob
4ff6fe0115 Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
5515543330 Bug 629265 - Crash in NVIDIA driver 260.19 on linux 64bit w/ layers acceleration - r=vladimir, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
af3ae9119a Bug 632867 - Mesa versions up to 7.10 cause a BadLength error during the first GLX call when the server GLX version < 1.3. - r=karlt, a=hardblocker 2011-02-11 18:11:30 -05:00
Benoit Jacob
bef311f4d5 Bug 632969 - 4/4 - logic change - r=karlt, a=blocker 2011-02-11 18:11:30 -05:00
Benoit Jacob
526aea3020 Bug 632969 - 3/4 - message wording change - r=karlt, a=blocker 2011-02-11 18:11:30 -05:00
Karl Tomlinson
27a3a859e1 Bug 632969 - 2/4 - reset error variable before trying again with no sharing - r=bjacob, a=blocker 2011-02-11 18:11:30 -05:00
Jonathan Kew
91ffef44ac bug 633453 - correctly check the last array element before deciding whether to append or insert. r=roc a=blocking 2011-02-11 22:07:39 +00:00
Jonathan Kew
36ed20e7c6 bug 633322 - ensure GetDetailedGlyphs() is not called when glyph count is zero. r=roc a=blocking 2011-02-11 22:05:09 +00:00
Jonathan Kew
7c7c589748 bug 633500 - fix invisible text by not using proxyFontEntry that has been destroyed when all sources fail. r=jrmuizel a=blocking 2011-02-11 21:19:23 +00:00
Ms2ger
547e5632af Bug 637181 - Unused variable sh in gfxAlphaRecovery::AlignRectForSubimageRecovery; r=cjones 2011-03-22 15:15:42 -04:00
L. David Baron
56e6f8182f Merge layout work from projects/birch, part 1. a=bsmedberg 2011-03-23 12:36:08 -07:00
L. David Baron
4a7745e74d Remove tracking of which font families are quirky, since we no longer use the information. (Bug 636040) r=jdaggett 2011-03-03 13:18:42 -08:00
L. David Baron
efffd3fdc3 Remove unused (and unnecessarily slow) method gfxAlphaBoxBlur::PremultiplyAlpha. (Bug 633369) r=roc 2011-03-03 13:18:42 -08:00
Jonathan Kew
c4c9f2d9e9 bug 499292 - hide fallback text for a short time while a font downloads. r=jdaggett a=beltzner 2011-01-05 21:48:48 +00:00
Jonathan Kew
1002db5143 bug 631035 part 1 - optimize storage of DetailedGlyph records. r=roc a=blocking2.0 2011-02-10 06:50:47 +00:00
Marco Bonardo
e5507515ee Backout bug 629799 due to reftest permaorange causing a=CLOSED TREE 2011-02-09 19:16:29 +01:00
Marco Bonardo
aaac8f2d4c Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE 2011-02-09 15:48:12 +01:00
Chris Jones
cf6aed5e65 Bug 626602, part 7: Copy the impl of < and <= from nsIntSize to gfxIntSize. Sigh. sr=roc 2011-02-08 18:44:14 -06:00
Robert O'Callahan
a02e22f69f Bug 626602. Part 1: Create ReadbackLayer API to enable collection of background pixels in a layer tree. r=bas,sr=cjones 2011-02-08 18:44:13 -06:00
Chris Jones
61c07da777 Bug 629799, part 2: Ensure that gfxImageSurfaces are aligned well for alpha recovery. r=roc 2011-02-08 18:44:12 -06:00
Chris Jones
5480c3e504 Bug 629799, part 1: Add some helpers for aligning surfaces for alpha recovery. sr=roc 2011-02-08 18:44:12 -06:00
Matt Woodrow
c0ff9d37e2 Bug 586683 - Part 1 - Add resolution handling to BasicLayers. r=roc a=blocking2.0 2011-02-09 09:35:54 +13:00
John Daggett
bd72fcd371 Bug 629611. Fix file handle leak, compiler warnings. r=joedrew, a=joedrew 2011-02-08 15:02:06 +09:00
Jeff Muizelaar
71495e5b5b Bug 617028. Add example call to LogFailure when binding a buffer fails. r=mattwoodrow
This uses the new failure reporting infrastructure to report buffer binding
failures.
2011-02-07 15:15:46 -05:00
Jeff Muizelaar
2a98a14011 Bug 617028. Add support for logging graphics failures. r=joe
We want to keep track of failures of things we expect to work.
These are situations where we can do better than crashing
but things are still pretty bad and the user experience
will be degraded.
2011-02-07 14:44:48 -05:00
Jory A. Pratt
6eb3c34ce5 Bug 623797 (1/2) - Work around new features that are not avaliable in system-cairo on linux. r=jmuizelaar a=joe
(romaxa's original patch with modifications to use cairo-tee)
2011-02-07 19:52:40 +01:00
Neil Rashbrook
ed71f5373d Fix for Windows-only non-libxul bustage a=NPOTDB DONTBUILD 2011-02-06 00:05:20 +00:00
Mitchell Field
1592ff67f7 Merge mozilla-central to build-system. 2011-03-03 20:13:35 +11:00
Mitchell Field
b6976ca587 Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Mitchell Field
dd61bc4257 Merge mozilla-central to build-system. 2011-02-28 18:28:40 +11:00
Kyle Huey
7d56189a13 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mitchell Field
cac949ea6d Merge mozilla-central to build-system. 2011-02-23 00:01:54 +11:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Oleg Romashin
1a9564c770 Bug 607936 - Make possible to apply transform on topLevel LayerManager scene r=matt,roc a=joe 2011-02-04 14:47:06 -05:00
Ehsan Akhgari
c07c875d05 Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
Oleg Romashin
19db525f87 Bug 607936 - Make possible to apply transform on topLevel LayerManager scene r=matt,roc a=joe
--HG--
extra : rebase_source : 7983ed59e06d33e5c17878a24434eef409684d25
2011-02-04 14:47:06 -05:00
Jacek Caban
455e326110 Bug 630844 - gfxWindowsPlatform.cpp fails to cross compile on case-sensitive OSes after landing bug 629611 r=jdaggett a=joe 2011-02-04 13:41:06 +00:00
Jonathan Kew
08df15c30f bug 629386 - avoid using GDI font table loading for symbol fonts and italic faces in Arabic locales. r=jdaggett a=blocking2.0 2011-02-03 12:12:10 +00:00
Vladimir Vukicevic
08ba2c3bee b=630184; SetPixelFormat crash fix attempt; r=jrmuizel, a=crashfix 2011-02-01 15:08:55 -08:00
Robert O'Callahan
ac7b8cc9c4 Bug 629866. Part 1: Create a DIB for a Win32 surface that's similar to a parent surface with alpha, even if the parent surface doesn't have a DIB. r=jrmuizel
--HG--
extra : rebase_source : 95240f4f4f2d7f7fa453a1eb3ca020c1839160c7
2011-01-31 22:47:47 -05:00
Vladimir Vukicevic
8675a7d878 b=627798; get a 24bpp depth buffer if possible, regardless of minimum (if > 0); r=jrmuizel 2011-01-31 13:10:57 -08:00
Vladimir Vukicevic
fa71b6d03f b=628088; fix pbuffer bind-to-texture attribs in contexts; r=jrmuizel 2011-01-31 13:10:54 -08:00
Vladimir Vukicevic
1b67db06c8 Bug 630019 - updated ANGLE PBuffers patch (makes ANGLE work again) - r=bjacob, a=blocking2.0 2011-01-31 20:58:21 -05:00
John Daggett
0e22df104f Bug 629611. Add font cache size info to about:support. r=bas,joedrew a=joedrew 2011-01-31 11:15:12 +09:00
Jonathan Kew
fa432f18fe bug 628091 - PostScript Type1 fonts fail via GDI rendering. r=jdaggett a=joe 2011-01-28 11:14:36 +00:00
Jacek Caban
d70ca40282 Bug 627693 - GfxInfo.cpp fails to compile on mingw after landing bug 590373 r=bjacob a=dbaron 2011-01-28 10:35:40 +00:00
Jonathan Kew
c55290656d bug 629450 - Sinhala requires specific shaping support, don't render via harfbuzz by default. r=jdaggett, a=blocking 2011-01-28 13:12:42 +09:00
John Daggett
8851b92260 Bug 628152. Fix crash in BuildFontList and revert lazy metrics initialization in gfxDWriteFont. r=jkew, a=blocker 2011-01-28 09:40:06 +09:00
John Daggett
01b02057fb Bug 551313. Workaround synthetic Gill Sans family when DirectWrite is used. r=jkew, a=joedrew 2011-01-27 12:05:55 +09:00
Adrian Johnson
26ebce4d15 b=490475 disable hinting when printing r=karlt a=joe
--HG--
extra : transplant_source : %C2%99%1F%E9%0D%94%26M%C2%3EE%01%B0%CC%87%2CT%FB%D2%1B
2011-01-26 08:59:41 +13:00
Chris Jones
3ce1002c85 Bug 627273, part 3: Add gfxContext::FillWithOpacity. sr=vlad 2011-01-26 00:26:37 -06:00
Chris Jones
d5365fbbf5 Bug 627273, part 2: Add some gfx path helpers. sr=roc 2011-01-26 00:26:37 -06:00
Jonathan Kew
2ef0fda852 bug 627840 - (DirectWrite) only check for bitmaps in CJK fonts. r=masayuki a=joe 2011-01-25 09:17:18 +00:00
Robert O'Callahan
2d31c1b98c Bug 627262. gfxQuartzSurfaces should disable the copy-background optimization when printing. r=jrmuizel,a=blocking 2011-01-25 21:46:30 +13:00
L. David Baron
bedebee99c Honor the "gfx.color_management.force_srgb" when it is set as a default pref in addition to when it is set as a user pref. (Bug 608030) r=jrmuizel a2.0=blocking2.0:betaN+ 2011-01-24 16:23:07 -08:00
Oleg Romashin
6ad82781f7 Bug 627661 - RGBA surface clear was broken in 593733 r=roc,mattwoodrow a=approval2.0 2011-01-24 21:31:35 +02:00
Jonathan Kew
9777ea3fdd bug 626299 patch 2 - don't use subpixel-AA mode with DWrite fonts when bitmaps are present. r=jdaggett a=blocking 2011-01-21 19:26:30 +00:00
John Daggett
027d784cc5 Bug 602792. Lazy initialize mUseFontGlyphWidths to avoid unnecessary font io. r=jkew, a=blocker 2011-01-22 01:44:33 +09:00
John Daggett
7715ebfe19 Bug 602792. Initialize dwrite factory at app startup to avoid startup slowdown. r=bas, a=blocker 2011-01-22 01:44:33 +09:00
John Daggett
eeb92a1447 Bug 602792. Clean up font logs and add system fallback logging. r=bas, a=blocker 2011-01-22 01:44:33 +09:00
John Daggett
a1b47791ac Bug 602792. Use GDI for font table loading to avoid excessive dwrite I/O. r=bas, a=blocker 2011-01-22 01:44:32 +09:00
Jonathan Kew
f168213574 bug 574907 - don't let DWrite use fractional font sizes and subpixel positioning when embedded bitmaps are present. r=masayuki a=joe 2011-01-21 10:36:28 +00:00
Jonathan Kew
97b96b98fb bug 624310 - get glyph widths via directwrite rather than font tables when using simulated bold. r=bas a=joe 2011-01-21 10:35:21 +00:00
John Daggett
4536c0f340 Bug 624970 Fix non-libxul builds r=Neil a=bustage DONTBUILD 2011-01-20 08:34:46 +00:00
Doug Turner
d9f12a52f9 [mq]: Backout of aeb9104f1534 2011-01-19 20:45:20 -08:00
Matt Woodrow
7aa8c06042 Bug 627178 - Fix build warning in gfxUtils.h r=Bas a=joe 2011-01-20 15:47:39 +13:00
Matt Woodrow
23cdfad3a4 Bug 612846 - Part 4 - Make ThebesLayerD3D10 support component alpha. r=Bas a=blocking2.0 2011-01-20 15:47:39 +13:00
Matt Woodrow
b4e55ae952 Bug 593733 - Support component alpha with GL layers. r=roc, r=joe, a=betaN 2011-01-18 08:22:25 +01:00
Matt Woodrow
1752246ab3 Bug 593733 - Make TextureImage::BeginUpdate return a surface, not a context. r=joe, a=betaN 2011-01-18 08:21:12 +01:00
Matt Woodrow
a567dd6b52 Bug 622165 - Don't try to draw ThebesLayerOGL's that are greater than the max texture size. r=joe a=blocking2.0 2011-01-18 14:32:40 +13:00
Matt Woodrow
9cd9789d4f Bug 621778 - Allow TextureImage to upload regions instead of only rectangles. r=joe a=blocking2.0 2011-01-18 14:32:40 +13:00
Matt Woodrow
600a964c35 Bug 619869 - Fix whitespace in GLContext.cpp. r=jrmuizel a=joe 2011-01-18 10:50:02 +13:00
Matt Woodrow
9301918144 Bug 620799 - Fallback to normal surface allocation if creating a PBO fails. r=joe a=blocking2.0 2011-01-18 10:47:18 +13:00
Robert O'Callahan
55ccb0da77 Bug 625357. Take account of tee-surface device offsets when copying subsurfaces pointwise. r=jrmuizel,a=blocking 2011-01-17 09:23:31 +13:00
Robert O'Callahan
bbb9fb9e66 Bug 624152. Don't do the 'copy background' part of PushGroupAndCopyBackground for non-pixel-based surfaces; it shouldn't be necessary. r=jrmuizel,a=blocker 2011-01-15 22:40:33 +13:00
Robert O'Callahan
d9c1d294fc Bug 623852. gfxContext::PushGroupAndCopyBackground should not try to copy the background if the underlying surface cannot be used as a source. r=mstange,a=blocking 2011-01-15 22:40:33 +13:00
Jonathan Kew
d7548946ee bug 624359 - iterate by clusters for mozTextAlongPath; r=vlad 2011-03-22 10:59:25 -04:00
John Daggett
fd6fdf61fd Bug 624970. Display DirectWrite version in about:support. r=joe, a=joe 2011-01-14 21:57:17 +09:00
Oleg Romashin
57fb318bb0 Bug 618628 - Optimize EGL backend for Maemo6. r=jmuizelaar a=npodb 2011-01-13 15:20:50 +02:00
Jonathan Kew
6256e2a358 bug 619511 - don't let font fallback on ZWJ propagate to following character. r=jdaggett a=joe 2011-01-13 10:58:26 +00:00
Justin Lebar
8774cdaf92 Bug 616782 - gfxAlphaRecovery.cpp should not be compiled with -msse2. r=vlad, a2.0=joedrew
--HG--
extra : rebase_source : 4957825f0d402991d2032b221682db22477231d0
2010-12-05 00:38:53 -08:00
Vladimir Vukicevic
89eb608706 b=622184; implement webgl colour conversion/premultiplication semantics; r=joe, a=b 2011-01-12 17:45:13 -08:00
Jonathan Kew
e45ab700c4 bug 623974 - use GDI aliased spacing in DW when ClearType is off. r=bas a=joe 2011-01-12 10:34:11 +00:00
Chris Jones
cd11268459 Bug 623451: Don't double-release surfaces. r=jrmuizel a=b 2011-01-11 15:34:31 -06:00
Jonathan Kew
13736eae4a bug 621918 - part 1 - eliminate aDirtyRect parameter from gfxTextRun::Draw etc. r=roc a=roc 2011-01-11 11:17:00 +00:00
Benoit Jacob
2a11249a6e CLOSED TREE - Bug 624390 - With GLX, blacklist everything but NVIDIA proprietary driver - r=jmuizelaar, a=joe 2011-01-10 16:14:14 -05:00
Jeff Muizelaar
eede7fe911 Bug 623228. Remove some debugging code that snuck in. 2011-01-08 00:05:11 -05:00
Markus Stange
cade7f1d9a Bug 595180: Draw window resizer on Mac OS X. r=joe r=josh a=blocking2.0beta9+ 2011-01-07 15:32:42 -05:00
Ms2ger
1774ecafea Bug 620355 - Fix uninitialized variable warnings in GLContext::UploadSurfaceToTexture; r=mattwoodrow a=joedrew 2011-01-07 14:37:50 +01:00
Jonathan Kew
945cdcf548 bug 617905 pt 2 - remove code to split long runs from the uniscribe shaper now that gfxFont code handles this earlier. r=karlt a=joe 2011-01-07 12:38:31 +00:00
Jonathan Kew
4f05106888 bug 617905 pt 1 - refactor gfxFont::InitTextRun so that all platforms benefit from splitting huge text runs. r=karlt a=joe 2011-01-07 12:38:28 +00:00
John Daggett
4af9bc9eb3 Bug 602792. Rework code for doing localized font family name lookups. r=jkew, a=blocker 2011-01-07 21:29:49 +09:00
Ms2ger
309dea2808 Bug 620356 - Fix uninitialized variable warning in CreateOffscreenPixmapContext; r=bjacob a=joedrew 2011-01-07 11:54:19 +01:00
Jonas Sicking
69e373af1d Bug 610823: Change a few users that use nsTArrays as buffers to explicitly use fallible tarray. r=jdaggett a=blocker 2011-01-06 20:45:10 -08:00
Vladimir Vukicevic
ccf4230fbc b=623367; correctly handle pbuffer attribs in EGL offscreen context resize; r=bjacob 2011-01-06 14:07:12 -08:00
Vladimir Vukicevic
5c358eba4e b=618892; [webgl] use ANGLE pbuffers to speed up webgl with d3d10 layers; r=bas 2011-01-06 14:07:12 -08:00
Benoit Jacob
fdb9cba150 Bug 600079 - Crash in [@ @0x0 | mozilla::gl::GLContext::MarkDestroyed() ] - r=vlad, a=joe 2011-01-06 09:59:28 -05:00
Jeff Muizelaar
d01407ff7f Bug 619578. Add Android GfxInfo. r=vlad
A very basic implementation.

--HG--
extra : rebase_source : 7eac8fb407d7df6b7c82d5fc176ad14048653428
2011-01-05 23:54:31 -05:00
Jeff Muizelaar
8ad59d6cc2 Bug 623228. Avoid calling glDeleteFramebuffers(1, &0). r=vlad
The Droid phones have a bug where calling glDeleteFramebuffers(1, &0) hangs
instead of being ignored.

--HG--
extra : rebase_source : dcfc98792404c5526845c587a378fb200e4faa95
2011-01-05 23:54:29 -05:00
Jeff Muizelaar
9a36b6ccec Bug 623228. Unify debug/release build gl wrappers. r=vlad
This will allow us to work around the Droid hangs
in a single place.

--HG--
extra : rebase_source : f7d51f5584d04a53cd192a46d1d265a74f4ac481
2011-01-05 23:54:27 -05:00
Chris Jones
36730f50aa Bug 623285: Initialize gfxImageSurface.mData. r=bjacob a=blocking-fennec 2011-01-05 13:42:09 -06:00
Oleg Romashin
1f78eadca8 Bug 620684 - Possible attempt to use invalid mGLContext. r=jmuizelaar a=approval2.0 2011-01-05 15:48:17 +02:00
Jonathan Kew
e1c1f355e9 bug 594889 - improve glyph spacing with DirectWrite fonts when ClearType is disabled by using GDI-compatible instead of 'ideal' metrics. r=bas a=blocking2.0 2011-01-04 16:58:31 +00:00
Chris Jones
8c8ad2f763 Bug 618265: Fix leaking gfxSharedImageSurfaces. r=joe sr=vlad a=b 2011-01-04 10:40:54 -06:00
Oleg Romashin
1d2b590fda Bug 618561 - Enable direct Qt rendering for Maemo6 r=dougt a=approval2.0
--HG--
extra : rebase_source : 104aca89d2827ec71a984baefae17aefec651a92
2011-01-04 17:37:24 +02:00
Simon Montagu
2d56d2efaf Basic bidi support for SVG. Bug 620446, r=roc, a=roc 2011-01-04 00:52:17 -08:00
Benoit Jacob
ad0d6fc246 Bug 622436 - Crash [@ GLEngine@0xaa6bc ], was making GL calls on wrong GL context - r=vlad, a=joe 2011-01-03 12:01:19 -05:00
Robert O'Callahan
1e4d652a2a Bug 602757. Part 1: Create gfxContextAutoDisableSubpixelAntialiasing helper. r=vlad,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
ac7bd36fb0 Bug 593604. Part 8: Add SetAllowUseAsSource API for better diagnostics. r=jrmuizel,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
03b628b846 Bug 593604. Part 7: When doing a PushGroupAndCopyBackground on a gfxTeeSurface, copy the backgrounds of the subsurfaces pointwise. r=jrmuizel,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
3196f0174c Bug 593604. Part 1: Add gfxTeeSurface. r=jrmuizel,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
65086f2d01 Bug 363861. Part 4: Track rectangles of opaque content in RGBA surfaces and use them to make PushGroupAndCopyBackground work in more situations. r=jrmuizel,sr=vlad,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
07597c48c8 Bug 363861. Part 2.6: Wrap cairo API in gfxASurface::Get/SetSubpixelAntialiasingEnabled. r=vlad,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
ad251a9b0c Bug 363861. Part 2.3: Disable subpixel AA in gfxASurfaces with alpha channels by default. r=jrmuizel,a=blocking 2011-01-03 14:48:08 +13:00
Robert O'Callahan
a5295c29ab Bug 363861. Part 1: Introduce gfxContext::PushGroupAndCopyBackground and use it to create opaque temporary surfaces for opacity groups which will be composited onto opaque surfaces. r=jrmuizel,sr=vlad,a=blocking 2011-01-03 14:48:08 +13:00
timeless@mozdev.org
2d1e9665df Bug 620402 crash [@ gfxTextRun::BreakAndMeasureText] if haveHyphenation && !aProvider, r+a=roc 2010-12-20 15:54:00 -08:00
Jonathan Kew
dd723b2a02 bug 615445 - don't overwrite clusters when storing glyphs in textrun. r=karlt a=joe 2010-12-22 14:27:43 +00:00
Jonathan Kew
e6c77cc666 bug 618870 - CompressedGlyph::SetMissing should not overwrite the clusterStart bit. r=karlt a=roc 2010-12-22 14:27:43 +00:00
Robert O'Callahan
21068b15a9 Bug 612840. Part 1: Remove CONTENT_NO_TEXT flag since it's not really used. Also remove ShouldRetainTransparentSurface and related code; we'll assume that when text is over opaque pixels in an RGBA surface we can always paint it with subpixel AA --- and make it so in later patches. r=vlad 2010-12-20 14:26:13 +13:00
Matt Woodrow
416cd3f0bb Bug 619934 - Fix startup crash in UploadSurfaceToTexture ra=jrmuizel
Some last minute changes caused this to assume that imageSurface->Data()
didn't return NULL.
2010-12-18 19:11:19 -05:00
Matt Woodrow
a2e7cac831 Bug 604101 - Part 6 - Add TextureImage::DirectUpload for faster texture uploads. r=jrmuizel a=blocking2.0 2010-12-16 23:50:26 -08:00
Matt Woodrow
47294e7de3 Bug 604101 - Part 5 - Use Pixel Buffer Objects in TextureImageCGL. r=joe,jrmuizel a=blocking2.0 2010-12-16 23:49:42 -08:00
Joe Drew
75093ce566 Bug 611433 - Add gfxQuartzImage constructor for data pointers. r=jrmuizel a=blocking2.0 2010-12-16 23:34:54 -08:00
Matt Woodrow
bdcc087748 Bug 604101 - Part 4 - Use UploadSurfaceToTexture in TextureImage. r=joe a=blocking2.0 2010-12-16 23:29:23 -08:00
Matt Woodrow
fce27bc281 Bug 604101 - Part 1 - Add UploadSurfaceToTexture. r=joe a=blocking2.0 2010-12-16 23:23:07 -08:00
Matt Woodrow
58d947701c Bug 615741 - Too large canvases don't draw and be black. r=joe a=joe 2010-12-16 23:19:28 -08:00
Timothy Nikkel
47046855a6 Bug 619601. If we are asked to create a similar surface and our underling surface isn't valid just return null. r=jrmuizel,a=joe 2010-12-16 00:07:20 -08:00
Oleg Romashin
188c6d35d1 Bug 616469 - Video sync is slow because of slow yuv2rgb conversion. GetOffscreenFormat r=roc a=b-f 2010-12-15 10:17:26 -08:00
Jeff Muizelaar
feb59ecd24 Bug 614832. Refactor EGL surface creation. r=vlad,a=blocking
This factors CreateSurfaceForWindow() out of CreateForWindow() so that we can
reuse it in RenewSurface(). For this to work we also need to factor out
CreateConfig(). The QT implementation is also pulled out because it didn't
share any code.
2010-12-13 14:36:35 -08:00
Karl Tomlinson
13e7636df7 b=618406 avoid crashy versions of FT_Face_GetCharVariantIndex r=jfkthame a=blocking
--HG--
extra : transplant_source : %C6%D21%5D%03_%07%1D%2B_O%F3%F1F%FF%B6%8F%5E%DB%9C
2010-12-14 08:44:55 +13:00
Bas Schouten
355708a54f Bug 612042: Set extend mode properly for integer translations. r=joedrew a=blocking-betan 2010-12-12 06:18:27 +01:00
Bas Schouten
8214a72452 Bug 612042: Add HasOnlyIntegerTranslation function. r=joedrew 2010-12-12 06:18:21 +01:00
Timothy Nikkel
dfe9eb3863 Bug 615782. Remove gfx surface null check that was put there to prevent mysterious linux64 talos tp4 crashes with 130078 and no longer seems to be needed. r=jrmuizel a=joedrew 2010-12-09 22:33:34 -06:00
Jonathan Kew
9644c26c55 bug 609649 part 2 - connect harfbuzz shaper to the FT2 font backend. r=karlt a=blocking-fennec 2010-12-09 11:58:16 +00:00
Jonathan Kew
7f06177394 bug 609649 part 1 - refactor gfxFT2Font code in preparation for connecting to harfbuzz. r=karlt a=blocking-fennec 2010-12-09 11:57:23 +00:00
Adam
75c73343b8 bug 612488 - make featureSettings fields use direct nsTArray rather than pointers. r=jfkthame a=joe 2010-12-09 11:52:03 +00:00
Karl Tomlinson
b5427db874 b=569770 part 9: use gfxHarfBuzzShaper when suitable r=jfkthame a=blocking
--HG--
extra : rebase_source : 3031f67c486b537111da28d08725e8916e703a89
2010-12-09 20:29:39 +13:00
Karl Tomlinson
ba8f23df20 b=569770 part 8: gfxFT2FontBase::GetGlyph implementation r=jfkthame
--HG--
extra : rebase_source : 00fece30a0b418af6d86e946ad23479249f6a792
2010-12-09 20:28:51 +13:00
Karl Tomlinson
8b2fb0cd5d b=569770 part 7: allow the font to provide its own GetGlyph function r=jfkthame
--HG--
extra : rebase_source : 7468110c4def7c0f0ab04503052ae5de75ecb237
2010-12-09 20:28:51 +13:00
Karl Tomlinson
03967248be b=569770 part 6: use font group style to look for language and CSS features r=jfkthame
--HG--
extra : rebase_source : afe0ed117ddb5df2fe450d7845131663b39e31d7
2010-12-09 20:28:51 +13:00
Karl Tomlinson
011c9d94ae b=569770 part 5: gfxFT2FontBase::GetHintedGlyphWidth implementation r=jfkthame
--HG--
extra : rebase_source : 9770d596e7edf369f08f85a0598d470e07f7bbae
2010-12-09 20:28:51 +13:00
Karl Tomlinson
67bd437165 b=569770 part 4: gfxFT2FontBase::GetFontTable implementation r=jfkthame
--HG--
extra : rebase_source : ae66628adef86771a316fdfd24e1548773524c86
2010-12-09 20:28:50 +13:00
Karl Tomlinson
374455a6ee b=569770 part 3: provide public access to gfxFontEntry font table cache r=jfkthame
--HG--
extra : rebase_source : ea989eec6d22c0201a58cbe0bb045470e14907f0
2010-12-09 20:28:47 +13:00
Jonathan Kew
2f1ff76149 bug 553981 - handle Hangul Jamo sequences and other special cases when marking clusters. r=karlt a=roc
--HG--
extra : transplant_source : M%C8%2B%D6%B7%CBG%8E%EEE7%AC%97%01%A0%E4%DF%FB%F3%9B
2010-12-06 13:22:24 +00:00
Jeff Muizelaar
7fce1fff4d Bug 615753. Let the OpenGL layer manager handle double bufffering. r=vlad, a=blocking
Letting the OpenGL layer manager handle double buffering cleans things up
and makes them work properly.
2010-12-07 11:46:39 -05:00
Benoit Jacob
f3d3a4229e Bug 613079 - WebGL crash [@mozilla::gl::GLContextProviderGLX::CreateOffscreen] - r=mattwoodrow, a=blocking-betaN 2010-12-06 06:34:34 -05:00
Jonathan Kew
624388b152 bug 467722 - don't short-circuit pref font search unless the previous search really did use the first font. r=jdaggett a=roc 2010-12-06 10:51:02 +00:00
Jonathan Kew
a23979cb8e bug 614904 - prefer CoreText path for complex-script fonts if AAT tables are present. r=jdaggett a=blocking-betaN 2010-12-06 10:41:29 +00:00
Ms2ger
3ec44ade0c Bug 605179 - Fix build warnings in gfx/; r=roc a=bsmedberg
--HG--
extra : rebase_source : f9bd24d5f4bc6124b431ce22e6ac72bd218dc208
2010-12-05 18:38:12 +00:00
timeless@mozdev.org
cdcb36cc1f Bug 603354 hasKHRImage is used uninitialized in EGLLibrary::EnsureInitialized
r=bas

--HG--
extra : rebase_source : 435bb1d6ba3600970d0e70698d093afcc13eae05
2010-12-04 11:07:18 +01:00
Vladimir Vukicevic
8db3cedac7 b=603367; use ANGLE for WebGL on Win32; r=bjacob 2010-12-03 14:44:01 -08:00
Oleg Romashin
3874b00931 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. part1 r=roc a=apporval2.0 2010-11-24 11:35:21 +02:00
Jonathan Kew
13248a80c1 bug 606419 - always return the dwrite factory once one has been created. r=bas a=blocking2.0 2010-12-02 10:37:17 +00:00
Jonathan Kew
9c693a7b81 bug 609691 - check result of gfxFontGroup::MakeTextRun for failure. r=karlt a=joe 2010-12-01 11:53:45 +00:00
Dave Townsend
5944c85a97 Backing out changeset ee61ea93a2fa from bug 609691 due to causing permanent orange on OSX crashtests. CLOSED TREE. a=backout 2010-12-01 11:07:40 -08:00
timeless@mozdev.org
3dbea022b0 Bug 603358 gfxHarfBuzzShaper::InitTextRun leaks hb_font_funcs_create() and hb_unicode_funcs_create(). r=jfkthame a=joe 2010-12-01 16:34:24 +00:00
Jonathan Kew
73e737410a bug 609691 - check result of gfxFontGroup::MakeTextRun for failure. r=karlt a=joe 2010-12-01 11:53:45 +00:00
Karl Tomlinson
ce91e01757 bug 615121 - fix operator precedence error in glyph yoffset. r=jfkthame a=blocking-betaN 2010-11-30 15:44:35 +00:00
Justin Lebar
a34dc4c30c Merge backout. a=orange 2010-11-29 09:08:41 -08:00
Justin Lebar
43b18d2b18 Backed out changeset a5ec817740f0. a=orange 2010-11-29 09:08:24 -08:00
Markus Stange
68cb82f59c Bug 600476 - Restore a painting optimization that I accidentally removed in bug 572680. r=joe, r=roc, a=betaN 2010-11-27 00:31:01 +01:00
Oleg Romashin
233ef8a80c Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Oleg Romashin
e2bbd5efeb Bug 592464. Redo EGL TextureImage code. r=jrmuizel,vlad,a=blocking-fennec 2010-11-26 16:41:53 -05:00
Karl Tomlinson
ed9e78b8a6 b=605872 refactor mFontTableCache, providing a sharing/saving distinction to fix a hb_blob_t leak r=jfkthame a=blocking
--HG--
extra : transplant_source : u%FB%E2%9D%A8g%1ASG%FB%A4%12%A2kGi%882%ED9
2010-11-26 14:07:09 +13:00
Jonathan Kew
deef686723 bug 594078 - fix handling of regular vs italic during font fallback search. r=jdaggett a=benjamin 2010-11-25 15:36:49 +00:00
Dave Townsend
1244f0ae62 Backing out changeset 8fff1c186b30 from bug 607653 due to reftest failures on OSX. a=bustage 2010-11-24 16:19:41 -08:00
Oleg Romashin
a8abb4a458 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Emmanuel Gil Peyrot
201fbb3800 Bug 606990 - Remove CAIRO_HAS_DDRAW_SURFACE/CAIRO_DDRAW_USE_GL dead code. r=vlad,jmuizelaar a=bsmedberg 2010-11-24 11:11:45 +01:00
Brad Lassey
2eaf077f1c bug 604533 - Tearing/Shearing while panning on local pages/error console in Fennec r=cjones,roc a=blocking-fennec 2010-11-23 22:04:58 -05:00
Karl Tomlinson
e3519cfcb1 b=600452 move font FcPattern reference from Font to FontEntry r=jfkthame a=blocking 2010-11-22 11:21:19 +13:00
Karl Tomlinson
9a7792a19a b=600452 share font entries between fonts with the same cairo_font_face_t r=jfkthame
--HG--
extra : transplant_source : %9C%9E%C6%242U%95%E8%280_%9E%06E%2B.%0E%89%DE%27
2010-11-16 11:29:50 +13:00
Jonathan Kew
d572b7fa06 bug 603879 - part 2 - update harfbuzz integration to support arabic etc shaping. r=jdaggett a=blocking2.0 2010-11-20 17:49:12 +00:00
Bas Schouten
10dded5fc3 Bug 610737: Use EXTEND_PAD for drawing native themes. r=jmuizelaar a=blocking-betaN 2010-11-19 19:51:33 +01:00
Daniel Holbert
8e1302c7ce Bug 612662 patch 2: In gfxPlatformGtk::CreateOffscreenSurface, drop our surface if it has non-OK status. r=roc a=blocking-final+ 2010-11-19 08:56:05 -08:00
Daniel Holbert
92783cf367 Bug 612662 patch 1: Skip RecordMemoryUsed call in gfxImageSurface constructor if our surface is invalid. r=roc a=blocking-final 2010-11-19 08:56:05 -08:00
Masatoshi Kimura
4a11f15b87 Bug 531606 - "Gecko 1.9.x (Firefox 3.x / Seamonkey 2) truncates print job name to only 30 characters" [r=roc a=dolske] 2010-11-13 03:02:00 -08:00
Benoit Jacob
78fce4caa8 Bug 612572 - Crash [@GLContext::ListHasExtension] when extensions is null - r=jseward a=joe 2010-11-18 09:17:19 -05:00
Vladimir Vukicevic
db3e386db3 b=612756; fix EGL TextureImage upload code; r=jrmuizel, a=b 2010-11-16 20:49:09 -08:00
Vladimir Vukicevic
36f8014890 b=539771; Add support for context attribs to canvas; r=jmuizelaar 2010-11-16 20:33:03 -08:00
Brad Lassey
77ba0ab35f bug 595919 - Implement PDF printing for "Save As PDF" on Android r=vlad a=blocking-fennec 2010-11-16 18:33:56 -05:00
Jonathan Kew
98d536c5c1 bug 605043 followup - fix --with-system-cairo build breakage. r=karlt a=bustage 2010-11-16 08:38:44 +00:00
Jonathan Kew
55054bd8bf bug 611855 - work around incorrect font traits for helvetica light oblique on 10.6.5. r=jdaggett approval2.0=dbaron 2010-11-16 08:34:38 +00:00
Benoit Jacob
980bce6499 Bug 612171 - Regression: severe scrolling glitches with GL layers - r=joe, a=blocking-beta8 2010-11-15 18:13:56 -05:00
Markus Stange ext:(%2C%20Joe%20Drew%20%3Cjoe%40drew.ca%3E%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
19a64fc670 Bug 593342 - Use double buffering on Mac instead of flushing, for greater performance. r=vlad,roc,joe a=b 2010-09-21 14:39:38 -04:00
Karl Tomlinson
3f1c699647 b=605043 round inter-glyph spacing to pixels when glyphs will be pixel snapped r=jfkthame
--HG--
extra : transplant_source : %9Eu%09%E3N%EC%D7x%20O%EA%3E%0F%86%9C%93k9%7E%B2
2010-11-15 08:21:37 +13:00
Joe Drew
c2d219bdce Bug 611498 - Clear transparent surfaces before we draw into them. r=jrmuizel a=b
--HG--
extra : rebase_source : 0bda0fede9b4fb607906d93997de8f85402a5592
2010-11-12 18:34:36 -05:00
Vladimir Vukicevic
4b44267bda b=609195; use GL_REPEAT for non-power-of-two textures if we have support for them; r=jrmuizel, a=b 2010-11-12 12:02:20 -08:00
Vladimir Vukicevic
18c7818ede b=609195; don't use GL_REPEAT for non-power-of-two textures; r=jrmuizel 2010-11-12 12:02:17 -08:00
Vladimir Vukicevic
32096750fc b=605063; fix android GL startup; r=jrmuizel 2010-11-12 12:02:11 -08:00
Jonathan Kew
94c89c69d7 bug 606714 - shape long text runs in sections. r=jdaggett a=blocking2.0 2010-11-11 11:21:05 +00:00
Robert O'Callahan
2215e35a5d Bug 579985. Part 3.2: Remove gfxASurface::AreSimilarSurfacesSensitiveToContentType because it's effectively always true now. r=jrmuizel,a=blocking 2010-11-12 14:43:40 +13:00
Robert O'Callahan
d78da67af5 Bug 579985. Part 3.1: Pass cairo_content_t parameter when creating CGLayer surfaces. r=jrmuizel,a=blocking 2010-11-12 14:42:22 +13:00
Joe Drew
5d143ec57b Bug 575521 - bustage fix. r=me a=b 2010-11-11 16:04:36 -05:00
Joe Drew
a2aa4fefa9 Bug 575521 - Draw to a clipped context backed by the surface uploaded to OpenGL using APPLE_client_storage to avoid slowdowns in glTexSubImage2D. r=jrmuizel a=b 2010-11-11 15:31:23 -05:00
Joe Drew
01b68699c8 Bug 575521 - Use the APPLE_client_storage extension to reduce the number of copies of data we make when uploading textures. r=vlad 2010-11-11 15:31:23 -05:00
Joe Drew
37ef931f88 Bug 575521 - Support the APPLE_client_storage GL extension. r=vlad 2010-11-11 15:31:23 -05:00
Joe Drew
95cd602adf Bug 575521 - Use gfxASurface::GetAsImageSurface in TextureImageCGL to make it faster. r=jrmuizel 2010-11-11 15:31:23 -05:00
Joe Drew
c001466571 Bug 575521 - Add gfxQuartzSurface::GetAsImageSurface. r=jrmuizel,vlad 2010-11-11 15:31:23 -05:00
Matt Woodrow
0a67be7b51 Bug 605057 - Add gfxASurface::GetAsImageSurface to convert generic surfaces into image surfaces without copies (if possible). r=roc a=b 2010-11-11 15:31:22 -05:00
Jonathan Kew
06f2a83a6f merge backout of 7e3e4c91c0f7, a=backout 2010-11-11 12:18:56 +00:00
Jonathan Kew
9eeab3f07b Backed out changeset 7e3e4c91c0f7 due to Linux failures 2010-11-11 12:18:02 +00:00
Jonathan Kew
5677fae53c bug 606917 part 2 - update character property tables for harfbuzz to unicode 6.0. r=smontagu approval2.0=benjamin 2010-11-11 11:32:02 +00:00
Jonathan Kew
c2e6d96f80 bug 606714 - shape long text runs in sections. r=jdaggett a=blocking2.0 2010-11-11 11:21:05 +00:00
Karl Tomlinson
891ba8205c b=597147 part 19: simplify gfxFcFont/gfxPangoFcFont ownership a little r=jfkthame
--HG--
extra : rebase_source : c7288edd9faefde36543d635c37b8a05d3d18a7b
2010-11-11 11:32:06 +13:00
Karl Tomlinson
46c8b1c97d b=597147 part 18: use GDK's default PangoFontMap when suitable r=jfkthame
--HG--
extra : rebase_source : 62f25ad9a6c0b926f8c357cae8b85adfb44f2988
2010-11-11 11:30:21 +13:00
Karl Tomlinson
0fdc24da53 b=597147 part 17: switch from pango_itemize to gfxScriptItemizer r=jfkthame
--HG--
extra : rebase_source : f0b1026020b765d1ffedd1f98d04373b8d8fbc9a
2010-11-11 11:25:59 +13:00
Karl Tomlinson
d8a4e4c012 b=597147 part 16: Add gfxFcFont::InitTextRun to shape with Pango r=jfkthame
--HG--
extra : rebase_source : bb1b064642eb58f86400b774bd8514f9baa956c4
2010-11-11 11:25:59 +13:00
Karl Tomlinson
f6dd30961a b=597147 part 15: set up PangoAnalysis for Pango shaping r=jfkthame
--HG--
extra : rebase_source : 89c6d15adbf7d82672939889aad64a80a36f945a
2010-11-11 11:25:59 +13:00
Karl Tomlinson
43e6d1b464 b=597147 part 14: Let gfxFcFont and gfxPangoFcFont share ownership of each other r=jfkthame
--HG--
extra : rebase_source : 13cc757a75d3a222634606e3f3220869da4bb12e
2010-11-11 11:25:59 +13:00
Karl Tomlinson
f82a1296af b=597147 part 13: Add a factory method to create a gfxPangoFcFont from gfxFcFont r=jfkthame
--HG--
extra : rebase_source : 460d3c74112cec7a42ca29c840dd9120457499e1
2010-11-11 11:25:59 +13:00
Karl Tomlinson
287a3dcee0 b=597147 part 12: un-inline some of gfxPangoFcFont r=jfkthame a=blocking
--HG--
extra : transplant_source : %B3%9C%C9%8E%91%D9%1D%F3%95%12%5CRg%40%7D%D3%E5%06L%0B
2010-11-11 09:04:19 +13:00
Karl Tomlinson
f3d9a0fdaa b=597147 part 11: Use C++ instance methods in gfxPangoFcFont r=jfkthame
--HG--
extra : transplant_source : %D9%15%DB%9C%EB%8CCi%03%C1%915-%9EOA3%B8%5C%7F
2010-11-11 08:46:55 +13:00
Karl Tomlinson
72fddc4960 b=597147 part 10: make font group language a real language for font shaping r=jfkthame
--HG--
extra : transplant_source : %BE%D9%0B%C0I%17%26%14%7E%ED9j%96%7BPE%8C%A3Q%09
2010-11-11 08:46:55 +13:00
Karl Tomlinson
36ae658015 b=597212 remove unnecessary extra nsILanguageAtomService::LookupLanguage r=jfkthame a=joe
--HG--
extra : transplant_source : p%23%5B%82.%9D70%F6%95%96%85%0C%EE%04%1C%BC9%27%D2
2010-11-11 08:45:00 +13:00
Karl Tomlinson
be1b3e0616 b=597212 hold a reference to language nsIAtom from gfxFontStyle r=jfkthame a=joe
--HG--
extra : transplant_source : %11e%10%CF%5E%90Ce%84S%ADj%16%EC%8FA%9A%0A%D5%29
2010-11-11 08:44:32 +13:00
Karl Tomlinson
17490b3745 b=597147 part 9: make language GetSampleLangForGroup parameter an atom r=jfkthame
--HG--
extra : transplant_source : %1C%3E%F6_%93%EFW%AEFx/%2B%8F%0F%AEO%9B%E5%CC%26
2010-11-08 11:44:51 +13:00
Karl Tomlinson
0553d786a8 b=597147 part 7: avoid some signed/unsigned comparisons r=jfkthame
--HG--
extra : transplant_source : %81b%3A%0F%D7Ul%FC%1F%B8/n%CD%25%BB%9E%D8%C2%F7%19
2010-11-08 11:44:51 +13:00
Karl Tomlinson
9c7c805dd5 b=597147 part 6: move Pango shaping out of FontGroup r=jfkthame
--HG--
extra : transplant_source : db%C4%E5%A8i%B7%8C-%16.P%F16%FDb%07P%A9%B6
2010-11-08 11:44:51 +13:00
Karl Tomlinson
41db32b4f0 b=597147 part 5: move glyph run routines from FontGroup to Font r=jfkthame
--HG--
extra : transplant_source : %3E%9A%B3%994%99%E9%08jQb%3D%08%B1y%C5%A36%C9%89
2010-11-08 11:44:51 +13:00
Karl Tomlinson
d3baabcd62 b=597147 part 4b: pass run script to FindFontForChar and add gfxPangoFontGroup implementation r=jfkthame
--HG--
extra : transplant_source : %1D%B2%B9O%9F%2C%05%81%B4%C8%BER%9B%5D%A0%3A-%AB%98%F5
2010-11-08 11:44:51 +13:00
Karl Tomlinson
decd4337ef b=597147 part 4a: move latin-for-common bug 590114 workaround from font group to shaper so as not to disrupt fontconfig font selection language r=jfkthame
--HG--
extra : transplant_source : %E4%29r%B2%84%3Bu%04C%07%EEm%AC%AD%7Ef%3DF%5Ee
2010-11-08 11:44:51 +13:00
Karl Tomlinson
cf72691334 b=597147 part 3: add gfxFcFont* gfxFcFontSet::GetFontAt(i) and use it for size-adjust measuring font r=jfkthame
--HG--
extra : transplant_source : a%F6%9D%D4%9E%89y%7C%A7%A5V%EF.%1F%EEs%B7k%BC7
2010-11-08 11:44:51 +13:00
Karl Tomlinson
bb3d9ff82b b=597147 part 2: rename gfxFcPangoFontSet to gfxFcFontSet, add GetBaseFont to return a gfxFcFont r=jfkthame
--HG--
extra : transplant_source : c%CD%A8%09%A0J%D6%AA%B6%F7lz%1Fj%A4%BC%9C-s%92
2010-11-08 11:44:50 +13:00
Karl Tomlinson
dd0403f1ff b=597147 part 1: remove unused WhichFontSupportsChar r=jfkthame
--HG--
extra : transplant_source : %8B%27%DA%C5R%B4%A0s%1Fb%DC%AF%98%3C%C0%9F%0A%02%E0%D3
2010-11-08 11:44:50 +13:00
L. David Baron
27a87fad7a Fix GLX version check so it won't break when the version hits 1.10. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
a9ab99d440 Use extension alternatives for GLX 1.3 features when GLX 1.3 is not available but equivalent extensions are. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
2917f2551e Don't repeatedly try to initialize GLXLibrary. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
2c661ecb3f Add glXQueryExtensionsString to GLXLibrary. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
0b1d00c690 Remove unused functions from GLXLibrary. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
5ef5e39547 Remove non-working remnant of support for GLX versions less than 1.3. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
4a14a0d6f2 Make glXDestroyContext function pointer consistent with name of function. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
8fe93df76f Remove duplicate XFree call. (Bug 605992) r=vlad a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
ed2ce3bf01 Make 'bolder' and 'lighter' values of 'font-weight' be computed in the style system, per recent edits to CSS 2.1. (Bug 93725) r=jdaggett a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
850dc81ab2 Remove support (style system only) for 'wider' and 'narrower' values of 'font-stretch'. (Bug 604816) r=jdaggett a2.0=joedrew 2010-11-10 07:49:52 -08:00
Benjamin Smedberg
c1f3d96e91 Final merge of bug 596451. a=blocking2.0 - Asynchronous layer-based painting on Windows. Various pieces r=josh/romaxa/karlt/jmathies/roc.
This merge includes the fix for bug 583109 - Add visibility notifications for plugins, so that asynchronous painting can be suspended when plugins are not visible. This collaterally fixes bug 606285, hulu homepage doesn't paint with async layers.

This changeset only implements asynchronous painting for out-of-process plugins. In-process painting will be implemented as a followup. Note that it is still possible to disable asynchronous layers on Windows by setting the preference mozilla.plugins.use_layers to false, but my intention is to remove this preference and sync-painting codepaths soon in a followup.
2010-11-10 10:29:09 -05:00
Benjamin Smedberg
2aaeb2d246 Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958. 2010-11-08 09:50:11 -05:00
Benjamin Smedberg
010fbdcb07 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Chris Jones
06dffe7607 Bug 603885, part 3: Allow allocating gfxSharedImageSurface with unsafe Shmem. r=joe 2010-11-05 02:17:07 -05:00
Benjamin Smedberg
0a2062e721 Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -04:00
Oleg Romashin
04ff8b2cce Bug 606910 - RENDER_DIRECT mode for Qt widget (xshmPutImage). r=dougt a=blocking-fennec
--HG--
extra : rebase_source : 6ea776ea7e0b282d6b61d5e5fa570460e84f90be
2010-10-27 07:56:31 +03:00
Benjamin Smedberg
980b674f06 More build bustage from Bug 596451 part D. Explicitly initialize the const structures for GCC. 2010-10-25 16:25:01 -04:00
Benjamin Smedberg
ae4a853966 Bug 596451 part D - Hook up asynchronous plugin painting on Windows. This part allows opaque plugins to paint correctly. r=jmathies 2010-10-25 13:57:13 -04:00
Ehsan Akhgari
5726920ba8 Bug 603821 - debug non-libxul builds fail in WebGLContext.cpp, with "Undefined reference to `mozilla::gl::GLContext::sCurrentGLContext'" - r=khuey, a=bustage 2010-10-13 07:45:13 -04:00
Stuart Parmenter
f7550eb9c4 Bug 610554. Round advances rather than truncating them. r=karlt a=blocking-fennec 2010-11-09 12:18:17 -08:00
Benoit Jacob
cdfba8c17a fix GLContextSymbols::Zero(), r+a=bustage 2010-10-12 18:06:51 -04:00
Robert O'Callahan
260e34f8ed Bug 593839. Part 2: Remove DESTINED_FOR_SCREEN flag now that it's no longer used. r=vlad a=blocking-betaN 2010-10-25 16:39:27 +02:00
Benoit Jacob
88165b3ed8 Bug 597881 - OpenGL debug mode - r=vladimir 2010-10-12 17:01:59 -04:00
Mats Palmgren
5a51827cc7 Bug 603167 - Link layout fails with Undefined symbols mozilla::gl::GLContext::ReadPixelsIntoImageSurface; r=vladimir a=bustage 2010-10-11 14:06:08 -04:00
Mats Palmgren
a984b3be02 Fix bustage. a=backout 2010-10-11 00:48:33 +02:00
Mats Palmgren
999c4be001 Export GLContext symbols to unbreak --disable-libxul builds. b=603167 r=vlad a=bustage 2010-10-11 00:07:00 +02:00
Vladimir Vukicevic
5585ebca9f b=582053; integrate webgl confromance suite as mochitest, angle followup; r=bjacob 2010-09-13 08:53:52 -07:00
Bas Schouten
d3a7e174bd Bug 600909: Use OptimalFillOperator() for drawing some images. r=joedrew a=blocking-betaN 2010-10-08 18:02:58 +02:00
Julian Seward
2bdb2f941b Bug 604395 - OpenGL contexts use uninitialized format, often resulting in failure to create - r+sr=vladimir, a=bjacob:trust me, we want this in beta7.
Note: pushed by bjacob -- so complain to me if you're not happy about that.
2010-10-31 10:32:46 -04:00
Robert O'Callahan
3f29ca47ee Bug 595842. When GetHDCWithClip fails, fall through to the fallback rendering path. r=vlad,a=blocking-beta7 2010-10-29 16:08:07 +13:00
Tom Brinkman
fa1c5b8b9c Bug 565013: Implement printing to PDF for qt builds. r=romaxa r=dholbert a=blocking-fennec
--HG--
rename : widget/src/gtk2/nsDeviceContextSpecG.cpp => widget/src/qt/nsDeviceContextSpecQt.cpp
rename : widget/src/gtk2/nsDeviceContextSpecG.h => widget/src/qt/nsDeviceContextSpecQt.h
rename : widget/src/gtk2/nsPrintDialogGTK.cpp => widget/src/qt/nsPrintDialogQt.cpp
rename : widget/src/gtk2/nsPrintDialogGTK.h => widget/src/qt/nsPrintDialogQt.h
rename : widget/src/gtk2/nsPrintOptionsGTK.cpp => widget/src/qt/nsPrintOptionsQt.cpp
rename : widget/src/gtk2/nsPrintOptionsGTK.h => widget/src/qt/nsPrintOptionsQt.h
rename : widget/src/gtk2/nsPrintSettingsGTK.cpp => widget/src/qt/nsPrintSettingsQt.cpp
rename : widget/src/gtk2/nsPrintSettingsGTK.h => widget/src/qt/nsPrintSettingsQt.h
2010-10-07 12:19:33 -07:00
Daniel Holbert
ececcd1fd2 Bug 596784 followup: Remove unused variable 'dummy' in GLContext.h. r=vlad a=NPOTB 2010-10-07 12:19:33 -07:00
Jonathan Kew
3e72e86729 bug 527276 - part 5 - implement pref to control whether OTL tables are preserved in sanitized fonts. r=jdaggett a=blocking2.0 2010-10-07 08:59:19 +01:00
Jonathan Kew
a3d07f0790 bug 527276 - part 3 - apply OTS sanitizer to downloaded fonts. r=jdaggett a=blocking2.0 2010-10-07 08:59:19 +01:00
Jonathan Kew
0bed9a8bb2 bug 590114 - treat unresolved common script runs as Latin. r=jdaggett approval2.0=joe 2010-10-07 08:59:17 +01:00
Jonathan Kew
e1d3b86388 bug 580863 part 2 - scale glyph metrics correctly when initializing CFF fonts on OS X 10.6. r=jdaggett a=blocking-betaN 2010-10-07 08:59:16 +01:00
Jonathan Kew
00edb2283a bug 577707 - some Indic scripts rendered with incorrect font/glyphs on OS X. r=jdaggett a=blocking-betaN 2010-10-07 08:59:15 +01:00
Benoit Jacob
764d885972 Bug 600620 - 1/2 - Expose feature status block reason so that it can be used by about:support - r=vladimir, a=blocking2.0-b7 2010-10-06 21:40:08 -07:00
Benoit Jacob
20a45b4898 Backed out changeset 638ce363a9b1 2010-10-06 17:05:19 -04:00
Benoit Jacob
b5bc302c89 Bug 600620 - 1/2 - Expose feature status block reason so that it can be used by about:support - r=vladimir, a=blocking2.0-b7 2010-10-06 16:43:25 -04:00
Benoit Jacob
a671874c70 Bug 602289 - Add Vendor() function to GLContext - r=joe, a=blocking2.0-b7 2010-10-06 16:43:14 -04:00
Oleg Romashin
c58271c6e7 Bug 601451 - Allow compile qt port with system cairo which does not have QT_SURFACE compiled. r=joe a=npodb
--HG--
extra : rebase_source : a6bc7d01efb4a9d91418a33d43bbaf07139b4a18
2010-10-05 09:15:57 +03:00
Oleg Romashin
78afeaaec0 Bug 598970 - GL/EGL qt rendering is broken completely after landing 596784. r=vladimir a=blocking-fennec 2010-10-04 14:21:32 +03:00
Benoit Jacob
8d44a37a58 b=600927; don't print gl extensions in non-debug builds; r=vlad a=b 2010-10-01 21:00:36 -07:00
Bas Schouten
67888ccd42 Bug 546514 - Part 4: Build D3D10 layers. r=vlad 2010-10-01 00:53:51 +02:00
Bas Schouten
786128e3d2 Bug 546514 - Part 2: Add #defines for D3D10 layers. r=vlad 2010-10-01 00:53:47 +02:00
Bas Schouten
2b22fa73c9 Bug 597950 - Part 2: Expose API to create a D2D surface from a D3D10 Texture. r=vlad 2010-10-01 00:53:42 +02:00
Joe Drew
1a4c17d1cb Back out temporary initialization of OpenGL because we're turning it on by default. 2010-09-29 22:34:08 -04:00
Jeff Muizelaar
4c2820c868 Bug 600763. Force initialization of OpenGL on OS X. r,a=joe
This is expected to regress Ts but the idea is to separate
out the costs that we have little control of (like this one)
from the costs that we have more control of.
2010-09-29 22:30:48 -04:00
Joe Drew
80e6919bfc Back out bug 596303 for causing Tp regressions with OpenGL. a=backout 2010-09-29 14:36:20 -04:00
Benoit Jacob
868cedad20 Bug 592769 - EGL and WGL context providers crash on exit because they forget to delete the global context before the glue library dies - r=mattwoodrow, a=blocking-beta7 2010-09-27 16:20:11 -04:00
Benoit Jacob
500e111cce Bug 599466 - OpenGL function glGetError called on wrong GL context from GLDebugPrintError from ThebesLayerOGL::Destroy - r=vladimir, a=blocking-beta7 2010-09-27 16:20:07 -04:00
Chris Jones
8e028241fc Bug 595215: Check for a null FontEntry here. r=karlt a=blocking-oprah 2010-09-24 20:15:02 -05:00
Chris Jones
db41945436 Bug 597336, part 2: Create offscreen gfxImageSurfaces if UseClientSideRendering(). r=vlad 2010-09-23 20:00:06 -05:00
Chris Jones
ad9d76e650 Bug 597336, part 1: Add gfxPlatformGtk::UseClientSideRendering() to control whether to avoid X server compositing. sr=vlad 2010-09-23 20:00:06 -05:00
Oleg Romashin
e01fadb4cc Bug 598531 - pixman hitting slow path. disable scaling. r=roc a=blocking-fennec 2010-09-23 16:06:27 -07:00
Benoit Jacob
c0f4c629bb Bug 598732 - GLX initialization crash [@ mozilla::gl::GLContextGLX::Init ] - r=vladimir, a=blocking-2.0b7 2010-09-23 17:05:52 -04:00
Benoit Jacob
4486ada028 Bug 599101 - Fix EGL crash: mEGLLibrary was not loaded on non-Windows, depending on uninitialized value - r=vlad, a=blocking-fennec-2.0b1 2010-09-23 16:59:17 -04:00
Vladimir Vukicevic
0a2aa77b6f Bug 596784 - Implement faster scrolling for GL thebes layers. r=roc,mattwoodrow a=b 2010-09-21 15:41:24 -04:00
John Daggett
a4541c4944 bug 593296 - avoid potential read beyond end of kern-pair list. r=jfkthame a=blocking-beta7+ 2010-09-22 10:15:57 +01:00
Jeff Muizelaar
8107e95a3c Bug 596303 - Use transparent surfaces for our GL contexts so transparent windows work. r=mstange a=b 2010-09-21 12:30:19 -04:00
Joseph Yasi
2dd82f8e4d Bug 596200 - Ensure that MOZ_WIDGET_QT is defined before including headers that will break non qt builds. r+a=roc 2010-09-21 01:02:00 +02:00
Mounir Lamouri
7041d292a7 Backed out changeset f8854fb6b63f - Wrong patch attached to the bug. 2010-09-21 00:57:19 +02:00
Joseph Yasi
cf5be75b46 Bug 596200 - Ensure that MOZ_WIDGET_QT is defined before including headers that will break non qt builds. r+a=roc 2010-09-20 23:25:58 +02:00
Benoit Jacob
e4d04cf07d Bug 596544 - These WebGL samples are slow on Firefox, fast on Chrome - r=vladimir, a=joe 2010-09-20 13:19:30 -04:00
Robert O'Callahan
ed855da605 Fix shadowing warnings from bug 581222. r=dbaron a2.0=blocking2.0:beta5 2010-09-17 12:29:52 -07:00
Tom Brinkman
ceef26ba74 Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0 2010-09-16 14:34:53 -07:00
Jonathan Kew
d2ab2a82f6 bug 593296 - correctly release kern table in HB shaper. r=jdaggett a=blocking2.0 2010-09-16 17:41:41 +01:00
Jonathan Kew
85dcd28188 bug 593564 - account for synthetic bold in glyph metrics when constructing textrun. r=jdaggett a=joe 2010-09-16 17:41:40 +01:00
Chris Jones
0a1ec83bc9 Merge m-c --> cedar 2010-09-15 18:28:06 -05:00
Bas Schouten
32d2b7094e Bug 596494 - Part 2: Refactor render mode functionality to allow UpdateRenderMode. r=jrmuizel 2010-09-15 22:16:09 +00:00
Chris Jones
2bb3bb3e9c Merge m-c --> cedar 2010-09-15 16:44:30 -05:00
Chris Jones
df01b80c7a Bug 570625, part 7: Add gfxXlibSurface::ReleasePixmap() to undo TakePixmap(). sr=roc 2010-09-14 00:23:08 -05:00
Chris Jones
b7034dad64 Bug 570625, part 6: Add gfxXlibSurface::XScreen(). sr=roc 2010-09-14 00:23:08 -05:00
Joe Drew
8ab2818e4f Bug 595055 - Use the correct context when deleting textures, so we don't accidentally unset some state like the viewport. r=vlad a=b 2010-09-09 23:09:39 -04:00
Vladimir Vukicevic
cfe8913fec b=594892; [gl] force a real call to MakeCurrent after a widget is resized; r*=joe/jeff
* * *
b=594892; merge fail
2010-09-09 16:40:29 -04:00
Vladimir Vukicevic
61fb3a126f b=594567; teach EGL backend about ANGLE for Layers; r=jrmuizel 2010-09-09 16:40:11 -04:00
Vladimir Vukicevic
0b88b52f6c b=594553; correctly create gl layer manager on android; r=jrmuizel 2010-09-08 18:19:11 -04:00
Vladimir Vukicevic
7414352ff2 b=593868; fix OpenGL layers on win32 with d2d content; r=jrmuizel 2010-09-07 12:26:43 -04:00
L. David Baron
b272e35a61 Change the blur radius for -moz-box-shadow and text-shadow to match what is specified in css3-background, and the blur radius for canvas to follow what is specified in HTML5. (Bug 590039) r=roc a2.0=blocking2.0:beta6
This fixes the multiplication by 1.5 in
gfxAlphaBoxBlur::CalculateBlurRadius (originally added in changeset
ce9f05b57b95 for bug 467518) to work correctly.  It was previously a
multiplication by 1 due to integer division.  CalculateBlurRadius
previously multiplied by 1.880; it now multiplies by 2.820.

This changes canvas shadow handling to multiply shadowBlur by 2 before
taking its square root, as described in the spec.  This means that
canvas shadow blurs 8px or smaller are 1.5 times larger than they were
previously (due to the CalculateBlurRadius change), and canvas shadow
blurs larger than 8px are 2.121 times larger than they were previously
(due to the CalculateBlurRadius change *and* the additional factor of
sqrt(2)).

This changes text-shadow and -moz-box-shadow handling to use
CalculateBlurRadius on half of the value given instead of passing the
value through directly.  This means that text-shadow and box-shadow
blurs are multiplied by 1.410 relative to their old sizes.  It also
means that we round rather than floor, so that the effect that used to
be drawn by a blur in the range 1px to 1.99px is now drawn by a blur
anywhere in the range 0.36px to 1.05px, the effect that used to be drawn
by a blur in the range 2px to 2.99px is now drawn by a blur anywhere in
the range 1.06px to 1.77px, what used to be a drawn by a blur in the
range 3px to 3.99px is now drawn by a blur anywhere in the range 1.78px
to 2.47px, etc.
2010-09-11 09:27:12 -07:00
Oleg Romashin
346c73181d Bug 556487 - Subimage API. r=roc a=blocking2.0 2010-09-15 09:02:42 -07:00
Benoit Jacob
32eac584aa Bug 595194 - CGL context creation crashes on Mac Tryserver - r=bas.schouten a=blocking2.0
--HG--
extra : rebase_source : b8e2bfde25a0acb33258e77ebd36959c91f73af8
2010-09-10 12:19:09 -04:00
KUROSAWA, Takeshi
abb6802ff0 Bug 422179 - Implement bilinear filtering of upscaled images for Linux; r=jmuizelaar a=blocking-final+ 2010-09-09 16:27:10 -04:00
Bas Schouten
351e721d3b Bug 594322: Do not assert using CAIRO_HAS_D2D_SURFACE when D2D surfaces are not available. r=jrmuizel a=bustage-fix 2010-09-09 09:50:18 +02:00
Oleg Romashin
8af3b31ddc Bug 556487 - XRenderFormat API for remote X-Surface handling. r=karlt,jmuizelaar a=blocking2.0 2010-09-08 08:55:14 -07:00