Commit Graph

4210 Commits

Author SHA1 Message Date
Jonathan Kew
7f9bb5f2a6 bug 721511 - use stack-based buffers for moderate-sized glyph runs in cairo/dwrite backend. r=bas 2012-01-28 08:28:56 +00:00
Jonathan Kew
ad4fa54177 bug 721315 - avoid potential dangling mFamily pointers in font entries. r=jdaggett 2012-01-28 08:27:01 +00:00
Bas Schouten
89db024398 Bug 718730: Allow creating a bitmap from just an A8 texture. r=jrmuizel 2012-01-31 06:15:23 +01:00
Bas Schouten
b6c6b4d6dc Bug 719136: Don't attempt to upload when there's nothing to upload. r=jrmuizel 2012-01-31 06:15:23 +01:00
Bas Schouten
2923f1a1c9 Bug 624109: Deal with failing DXGI factory creation due to DLL injections. r=joedrew 2012-01-31 06:15:23 +01:00
Bas Schouten
67de65ca66 Bug 715658: Properly invalidate cached SourceSurfaces. r=jrmuizel 2012-01-31 06:15:23 +01:00
Benoit Girard
7f35e49cdf Partial work for android OGLSurfaceView
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
George Wright
841e24a315 Bug 721467 - Add an optional codepath (currently enabled only for Adreno 200 GPUs) to only use glTexImage2D for texture uploads as glTexSubImage2D can be slow and/or buggy r=joe,BenWa
--HG--
extra : rebase_source : 0f2903fe23edf3b191ae5dcfa7df6d9066d1d952
2012-01-24 19:44:48 -05:00
Joe Drew
24e53f97aa Bug 719631 - Support creating offscreen DrawTargets for the Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : 6103e88ec0de91c16aa36829db1e8c988920bcfe
2012-01-27 13:09:20 -05:00
Joe Drew
b1afbbe8ab Bug 719629 - Add ThebesIntSize() convertor function. r=mattwoodrow
--HG--
extra : rebase_source : 85e496ac1b0dbd176157ab7feabd4c41bd29cce4
2012-01-27 13:09:09 -05:00
Joe Drew
efcc3eb0ef Bug 719628 - Fix the formatting and naming of ThebesSurfaceKey. r=mattwoodrow
--HG--
extra : rebase_source : 371e80f924bc6f8dd3dbeea02999ebe8fdd7d27e
2012-01-27 13:08:58 -05:00
Joe Drew
fcbcf9f7e7 Bug 719627 - Merge the functionality of ScaledFontCairo into ScaledFontBase, as is its purpose. r=jrmuizel
--HG--
extra : rebase_source : df21f1a6e702de1e0a7f52a8a75203078c8be423
2012-01-27 13:08:46 -05:00
Marco Castelluccio
1e527c9676 Bug 702158 - [Skia] Get Skia backend working on Linux, part 2 2012-01-31 10:24:27 +09:00
Jeff Muizelaar
c6a61d7d9a Bug 722444. Initialize mData for 0 sized surfaces. r=bgirard
This avoids an invalid free() during destruction found with the
online canvas test suite.

--HG--
extra : rebase_source : e1aeff36e557b045fbaff38d7b46fdf91956ae49
2012-01-30 11:17:42 -05:00
Benoit Girard
33ac1e18fe Bug 722164 - Set Azure Quartz Canvas image interpolation to low for better performance. r=jmuizelaar 2012-01-29 17:08:58 -05:00
James Willcox
3984ed0152 Bug 719872 (part 2) - Use old FontHost implementation on Android r=mattwoodrow 2012-01-30 16:47:22 -05:00
James Willcox
770cf25de7 Bug 719872 (part 1) - Backout 8de271eee34b r=mattwoodrow DONTBUILD 2012-01-30 16:47:19 -05:00
Ali Juma
eb69d1849d Work around Bug 719036. 2012-01-18 11:38:45 -05:00
Ali Juma
bc059aa711 merge m-c to kiwifox 2012-01-18 11:04:04 -05:00
Landry Breuil
235cd94125 Bug 722011 - Comma at the end of enums are not valid in C++, r=Ms2ger
Skia headers are included from c++ code and -pedantic is on by default,
which leads to 'error: comma at end of enumerator list' on OpenBSD/gcc 4.2.1.
2012-01-28 05:54:00 -08:00
George Wright
f175ca9984 Bug 721855 - Honour the gfx.canvas.azure.prefer-skia pref on OS X, r=joe
--HG--
extra : rebase_source : 93aba135b44e5e0f944a8bf604b77a5b414185cf
2012-01-27 14:38:00 -08:00
Ali Juma
b868e77d3a Address next set of review comments. 2012-01-16 10:31:16 -05:00
Ali Juma
4f0e452c4f merge mc to kiwifox 2012-01-16 09:58:14 -05:00
Justin Wood
09b3d2e3d1 Merge m-c tip to m-i 2012-01-15 05:29:24 -05:00
Jonathan Kew
baf8a832e9 bug 714067 - correction in ligature indexing when combining marks are present. r=behdad 2012-01-15 08:52:00 +00:00
Jonathan Kew
ce4e5f11cc bug 716229 pt 2 - initialize font-matching using the group's primary font. r=roc 2012-01-15 08:45:09 +00:00
Jeff Muizelaar
ef1915b288 Bug 513702. Remove gfx/cairo/cairo/test/. r=joe
We have never used these files and they are terribly
out of date.
2012-01-14 14:32:14 -05:00
Benoit Girard
08ecac4e02 Merge m-c into kiwifox
--HG--
rename : widget/src/cocoa/nsChildView.h => widget/cocoa/nsChildView.h
rename : widget/src/cocoa/nsChildView.mm => widget/cocoa/nsChildView.mm
rename : widget/public/nsIWidget.h => widget/nsIWidget.h
rename : widget/src/xpwidgets/nsBaseWidget.cpp => widget/xpwidgets/nsBaseWidget.cpp
rename : widget/src/xpwidgets/nsBaseWidget.h => widget/xpwidgets/nsBaseWidget.h
2012-01-11 17:30:40 -05:00
Ali Juma
76de514ab5 More handling review comments for Bug 711168. 2012-01-10 18:04:21 -05:00
Ali Juma
540e7055c9 Address review comments from Bug 711168.
--HG--
rename : gfx/layers/ipc/ShadowLayersHost.h => gfx/layers/ipc/ShadowLayersManager.h
2012-01-06 17:52:32 -05:00
Jonathan Kew
861f13c646 bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc 2012-01-13 11:37:46 +00:00
Mike Hommey
62c12f3946 Bug 716825 - Avoid loading system libraries with their full path. r=bjacob,r=gal,r=blassey 2012-01-13 07:23:02 +01:00
Ed Morley
fef529aa3f Merge mozilla-central to mozilla-inbound 2012-01-13 03:19:46 +00:00
Oleg Romashin
c147ce7168 Bug 694964 - crash [@ gfxSharedImageSurface::Open]. r=ajuma 2012-01-12 15:49:43 -08:00
Chris Jones
d94b958369 Bug 716332: Delete temporary fbo. r=joedrew 2012-01-12 16:27:34 -08:00
Matt Woodrow
f60a51cca8 Bug 712509 - Disable Skia's internal malloc debugging as it was causing crashes on android. r=Bas 2012-01-12 13:46:09 +13:00
Nathan Froyd
bc820f122e Bug 717311 - reduce space required by sCatEAWValues; r=jfkthame 2012-01-11 15:51:09 -05:00
Ed Morley
2d367bdbd8 Backout f94f83c7f2df (bug 708075), 6bf51f18e69e (bug 717311) for test crashes 2012-01-12 13:30:39 +00:00
Jonathan Kew
16e9fbe2df bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc 2012-01-12 12:44:05 +00:00
Nathan Froyd
4d3e6d4a20 Bug 717311 - reduce space required by sCatEAWValues; r=jfkthame 2012-01-11 15:51:09 -05:00
Boris Zbarsky
3735d09d56 Bug 718150. Make sure to update our stored size on Swap() even if we didn't already have a front surface. r=cjones 2012-01-14 11:48:48 -05:00
Ali Juma
1e5d6f62dd Clean up Compositor destruction. 2011-12-22 10:59:53 -05:00
Ali Juma
f7d1e27182 Clean up pointer usage 2011-12-21 11:10:33 -05:00
Ali Juma
5f42b67539 Clean up 2011-12-20 15:12:54 -05:00
Ali Juma
8f65b99584 Fix crash when deleting Compositor parent, and change RPC calls to sync calls.. 2011-12-20 10:37:27 -05:00
Ali Juma
def2c76a3b Composite only when needed. 2011-12-19 13:17:29 -05:00
Benoit Girard
688d67d0d9 merge mc to kiwifox 2011-12-19 11:34:31 -05:00
Masatoshi Kimura
a020b3f1d8 Bug 700057 - Create artificial names if English names not found in the name table. r=jfkthame 2011-12-19 10:48:46 +00:00
Jonathan Kew
2fb4204447 bug 711357 - release the CGFontRef after creating our font entry (which holds its own reference). r=jdaggett 2011-12-19 10:36:05 +00:00
Jonathan Kew
370006eab0 bug 711352 - don't CFRelease objects when we don't have an owning reference. r=jdaggett 2011-12-19 10:33:37 +00:00
Ali Juma
7ae3e2eb5a Merged. 2011-12-19 10:44:18 -05:00
Benoit Girard
a487b8f156 More clean up. Shutdown down a window no longer crashes 2011-12-16 19:21:51 -05:00
Ali Juma
413ab5c1e8 Add a 10ms delay when scheduling next composition. 2011-12-16 17:54:06 -05:00
Benoit Girard
99a20ea320 Clean up some hacks and useless code 2011-12-15 16:31:16 -05:00
Ali Juma
28c4f1c682 Ensure added code only runs when using a Compositor, not in e10s. 2011-12-15 16:16:38 -05:00
Ali Juma
1dffbae4ce Make shadow layer transformations work. 2011-12-15 15:20:06 -05:00
Ali Juma
4fe32b6aeb imported patch hacking 2011-12-15 15:07:25 -05:00
Ali Juma
059eb910c9 imported patch PCompositorProgress 2011-12-15 15:07:19 -05:00
Jonathan Kew
a95afb1ac9 bug 711079 - move OTS from libxul to gkmedias.dll on Windows. r=khuey 2011-12-19 01:55:11 +00:00
Benoit Girard
e10f317d41 Part A: Setup PCompositor (in progress) 2011-12-12 10:15:57 -05:00
Benoit Jacob
5e5a2b9464 Bug 711592 - Update ANGLE to r924 - no review
Upstream is at http://code.google.com/p/angleproject/
2011-12-18 18:20:45 -05:00
Nicholas Nethercote
2fa63e0548 Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Matt Woodrow
0169cc36ce Bug 707563 - Restore the w component in the LayerManager shaders after applying the offset. r=Bas 2011-12-19 10:11:30 +13:00
Matt Brubeck
5d8466250b Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Edwin Flores
68f8de97ea Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc 2011-12-18 21:53:03 +13:00
Ms2ger
8e360a02f4 Bug 709518 - Remove unused 4-argument nsRenderingContext::InvertRect; r=jrmuizel a=edmorley 2011-12-11 14:43:29 +01:00
Jonathan Kew
e5dfaebe00 bug 691505 - ensure Graphite uses infallible malloc to give well-defined OOM behavior. r=roc 2011-12-09 22:32:30 +00:00
Jonathan Kew
db8015990f bug 631479 (part 4) - implement gfxGraphiteShaper to handle text-shaping for graphite-enabled fonts. r=jdaggett 2011-12-09 22:32:29 +00:00
Jonathan Kew
873f88c1f3 bug 631479 (part 3) - allow graphite tables to be passed through OTS for downloadable fonts. r=jdaggett 2011-12-09 22:32:29 +00:00
Jonathan Kew
4c267519b3 bug 631479 (part 2) - compile graphite2 as part of the gfx build. r=jdaggett,khuey 2011-12-09 22:32:29 +00:00
Jonathan Kew
2b2b221c8f bug 631479 (part 1) - import graphite2 code from http://projects.palaso.org/projects/graphitedev/repository/revisions/853 (release 1.0.3 plus bugfixes). r=jdaggett 2011-12-09 22:32:28 +00:00
Robert O'Callahan
8da82fdaeb Bug 705559. Part 4: Speed up AddDependencyOnSource by exiting early when we already have the dependency. r=bas 2011-12-09 22:53:14 +13:00
Robert O'Callahan
b372c99c3b Bug 705559. Part 3: Use mDirtyTransform to avoid unnecessary SetTransform calls. r=bas 2011-12-09 22:53:14 +13:00
Robert O'Callahan
f8d6c819fc Bug 705559. Part 2: Keep only one snapshot per DrawTargetD2D since all stored snapshots represent the 'last state'. Reuse that snapshot if the state hasn't changed since the last snapshot. Keep the last snapshot alive and make the snapshot's mDrawTarget weak instead. Change mDependingOnTargets/mDependentTargets to be hashsets instead of vectors. Remove SourceSurfaceD2DTarget::mIsCopy since the null-ness of mDrawTarget means the same thing. r=bas 2011-12-09 22:51:57 +13:00
Jeff Gilbert
8b562f6885 Bug 708124 - Remove unnecessary glFlushs from Layers - r=bjacob 2011-12-16 14:24:46 -08:00
Jeff Gilbert
57ad493b06 Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob 2011-12-16 14:24:46 -08:00
Jeff Gilbert
11b11049ef Bug 704788 - Add inlined function to allow easy compile-time pruning of mDebugMode branches in GLContext - r=bjacob 2011-12-16 14:24:46 -08:00
Doug Sherk
fee9b2a6aa Bug 711579: fix WGL context creation without robustness r=Bas 2011-12-16 13:12:02 -08:00
Doug Sherk
2bb47cb327 Bug 711226: separate desktop and ES 2.0 symbol loading r=bjacob
Symbols were amalgamated into a single table which worked up until recently.
This patch separates them so that there is a common list, then two separate ones
for desktop and OpenGL ES 2.0.
2011-12-16 13:12:00 -08:00
Doug Sherk
797ba840ff Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob 2011-12-16 13:11:59 -08:00
Ali Juma
3b034818c6 Bug 705641 - Add even more output to framebuffer incompleteness abort message. r=jrmuizel 2011-12-16 14:02:03 -05:00
Matt Woodrow
409f8c5435 Bug 707563 - Convert vertex vector back into normal coordinate space before applying offset. r=Bas 2011-12-09 16:21:45 +13:00
Bill McCloskey
60a6742def Bug 705332 - Re-enable printing filename in quiet builds (r=njn) 2011-12-08 10:14:06 -08:00
Jeff Muizelaar
70ef4ef0ad Bug 717921. Only have one thebes surface. r=bas 2012-01-13 09:48:29 -05:00
Jeff Muizelaar
5b18ceba55 Bug 717921. Add UserData to DrawTarget. r=bas
* * *
Bug 717921. Fix bustage about moz_xrealloc.
2012-01-13 09:47:58 -05:00
Jeff Muizelaar
d2397bb29b Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow 2012-01-09 13:54:44 -05:00
Jeff Muizelaar
c9be313fe1 Bug 716639. Add a constructor for gfxQuartzSurface that takes a gfxIntSize. r=mwoodrow 2011-12-13 09:58:11 -05:00
Matt Brubeck
717184f6d9 Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error 2012-01-17 10:08:38 -08:00
Bas Schouten
738b240963 Bug 644199: Properly re-upload after clearing mTexture because of device reset. r=roc 2012-01-17 18:32:24 +01:00
Jeff Muizelaar
e098baef0d Bug 717921. Only have one thebes surface. r=bas
--HG--
extra : rebase_source : 731cfa7d20fec10b784118297e7223e2e9279773
2012-01-13 09:48:29 -05:00
Jeff Muizelaar
3fadf04e1c Bug 717921. Add UserData to DrawTarget. r=bas
* * *
Bug 717921. Fix bustage about moz_xrealloc.

--HG--
extra : rebase_source : 62d38e561d1e64c725587b1de4d1ae609b828557
2012-01-13 09:47:58 -05:00
Jeff Muizelaar
529f347f49 Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
--HG--
extra : rebase_source : 94f8c205e16e961b5407396c0d0d3b41067222dc
2012-01-09 13:54:44 -05:00
Jeff Muizelaar
106d95528a Bug 716639. Add a constructor for gfxQuartzSurface that takes a gfxIntSize. r=mwoodrow
--HG--
extra : rebase_source : ec2d4e1c76e504b794707d83e5f31580aee81fee
2011-12-13 09:58:11 -05:00
Marco Bonardo
61916233e6 Merge last green PGO changeset from inbound to central 2012-01-17 16:22:33 +01:00
Stefan
c4cca865ca bug 668263 - fix erratic spacing in print-to-PDF by cherry-picking Cairo fixes from https://bugs.freedesktop.org/show_bug.cgi?id=31062. r=jrmuizel,ajohnson 2012-01-17 10:01:36 +00:00
Ms2ger
5bd0fc389c Backout bug 580786 / bug 716639 / bug 692879 / bug 717921 / bug 692879 (2dc5909e63b0:ced751d32df6); a=philor 2012-01-17 10:48:19 +01:00
Justin Wood
d3b96540be Merge last green PGO from inbound to mozilla-central 2012-01-16 22:27:53 -05:00
Jeff Muizelaar
bf55e841b1 Bug 717921. Fix bustage about moz_xrealloc. 2012-01-16 22:23:37 -05:00
Joe Drew
e8ce3c3d82 Bug 473236 - Remove executable bits from ScaledFontSkia.*. r=jrmuizel DONTBUILD 2012-01-16 16:29:42 -05:00
Serge Gautherie
e3a71c2c0b Bug 628589. (Fv2) test_acceleration.html: Add a workaround for SeaMonkey (tinderboxes) which don't support acceleration. r=joe. 2012-01-16 21:52:18 +01:00