Benoit Girard
0eac7fe3b7
Bug 728352 - Implement a render trace utility for GFX perf & debugging. r=mattwoodroow
2012-03-05 15:17:13 -05:00
Benoit Girard
f9eaee1ae0
Bug 717958 - Always read FPS pref on the main thread with OMTC. r=ajuma
2012-03-05 14:02:22 -05:00
Ali Juma
c30eba6e2e
Move surface ownership to GLContextProviderEGL.
...
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Benoit Girard
1966950433
Missing piece to previosu patch (bad queue management)
...
--HG--
extra : rebase_source : 9fcc71c557c659e1c8846e7032a4ccccf9c0e43b
2012-02-06 15:41:24 -05:00
Benoit Girard
be25783ba6
Transplanet: Bug 724094 - Use fTexImage2D instead of TexSubImage2D when uploading full width. r=ajuma
...
--HG--
extra : rebase_source : 94595465a2b3eb3140f11e932a32575629a266dc
2012-02-06 15:15:36 -05:00
Ali Juma
c7be76443f
Pause/resume composition on surface destruction/creation.
2012-02-06 13:57:06 -05:00
Benoit Girard
b71f50b471
Limit composition to every 15 ms, may want to try increasing this value
2012-02-06 13:51:33 -05:00
Benoit Girard
efae17a3f3
Limit composite events to one at a time
2012-02-06 12:38:23 -05:00
Ali Juma
eb26c9ae11
Fix null pointer dereference causing startup crash.
2012-02-06 09:42:53 -05:00
Ali Juma
035ebbe87f
Add support for pausing/resuming composition from Java.
2012-02-05 13:33:38 -05:00
Patrick Walton
8f577231bf
Stand up async panning and zooming
2012-02-03 23:31:05 -08:00
Ali Juma
c9d1e74c7a
Add ifdefs to fix desktop build.
...
--HG--
extra : rebase_source : fe51e388ff7dbd95e968cf60af800917801ab911
2012-02-03 21:48:05 -05:00
Patrick Walton
acf57d7d37
Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform()
2012-02-03 18:35:58 -08:00
Patrick Walton
22ab6ae590
Stub ViewTransform code; unbork the viewport size a bit
2012-02-03 16:39:15 -08:00
Irving Reid
c1ea008bec
Bug 731384 - Use feature test macros when defining new C++ features. r=matt.woodrow
2012-03-07 16:03:14 -05:00
Marco Bonardo
fd38296758
Merge central to inbound
2012-03-01 16:05:54 +01:00
Bas Schouten
df684d0acb
Bug 651192 - Part 7: Implement the NPP_DidComposite API. r=roc
2012-02-16 04:30:25 +01:00
Bas Schouten
584c87e1e0
Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc
2012-02-16 04:26:19 +01:00
Matt Woodrow
6ec8203d33
Bug 700240 - Print display lists to a file. r=roc,bjacob
2012-03-01 21:26:09 +13:00
George Wright
e6df55dbc8
Bug 721467 - Add a codepath to only use glTexImage2D instead of glTexSubImage2D when texture uploading in GLContext
2012-01-30 15:09:02 -05:00
Patrick Walton
f15ef916a3
Partial removal of tiling, stub callouts
2012-02-02 19:28:22 -08:00
Benoit Girard
df0fb7f4be
Add debug code, unapply me later
2012-02-02 16:34:23 -05:00
Benoit Girard
d4c038b718
Fix GetLayerManager logic
2012-02-02 14:16:59 -05:00
Benoit Girard
4580dbb21d
Progress on omtc integration
2012-02-01 16:18:35 -05:00
Ali Juma
03df2cf07f
Implement logic needed for simple async scrolling.
2012-02-01 14:31:34 -05:00
Benoit Girard
5ded8d48db
merge mc into kiwifox
2012-01-31 13:55:51 -05:00
Ed Morley
08314b3ec8
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-01-31 10:52:29 +00:00
Jeff Muizelaar
f687321a23
Bug 720482. Make CG snapshots work more like the other backends. r=joe,mattwoodrow,bas
...
This has big improvement in the performance of GetImageData() because
we make the snapshot lazily instead of using the vm_copy() method
of CGBitmapContextCreateImage()
2012-01-31 01:46:54 -05:00
Benoit Girard
f1d2fba1df
Merge fixes
2012-01-30 15:57:30 -05:00
Benoit Girard
506188e13c
Mergi mc to kiwifox, lots of conflicts so may not build
2012-01-30 13:38:20 -05:00
Marco Bonardo
1b867db153
Merge last green PGO from inbound to central
2012-01-30 11:32:01 +01:00
Joe Drew
38214cc0f2
Back out 9699edcbcedd (bug 721467) for causing bug 722167.
2012-01-29 19:41:48 -05:00
Jonathan Kew
aff3b5b7de
bug 721511 - use stack-based buffers for moderate-sized glyph runs in cairo/dwrite backend. r=bas
2012-01-28 12:25:53 +00:00
Jonathan Kew
fdfb43a629
backout changeset 2ea682dba295 (bug 721511) due to windows crashtest orange.
2012-01-28 09:50:31 +00:00
Jonathan Kew
d324fdbcb2
backout changeset bcd556d83109 (bug 721315) for reftest orange.
2012-01-28 09:37:15 +00:00
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
Bas Schouten
0d910f5ed3
Bug 726951: Correctly use height to normalize mask v-texture coordinate. r=jrmuizel
2012-02-16 04:08:08 +01: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
Michael Wu
bb5334dcfc
Bug 734263 - Set offscreen surface format according to screen format, r=cjones
2012-03-13 16:59:26 -04: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
Richard Newman
200c9a86f4
Merge last win pgo-green changeset from m-i to m-c.
2012-02-23 18:35:17 -08:00
Masatoshi Kimura
8cea90b046
Bug 699247 - Remove Win2K related code. r=jimm, sr=neil
2012-02-23 08:53:55 -06:00
Florian Boesch
ada0d9ea9e
Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
...
The spec proposal for this extension is at
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html
This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Daniel Holbert
035a95b9cf
backout 29ee49bff6a1 (Bug 726396) due to webgl test failures
2012-02-22 16:37:36 -08:00
Jeff Muizelaar
a6b24bfbf7
Bug 729145. Don't ignore curves when we don't have a current point. r=mwoodrow
...
This was a copy & paste typo and is caught by
http://philip.html5.org/tests/canvas/suite/tests/2d.path.quadraticCurveTo.ensuresubpath.2.html
which is not in our test suite.
--HG--
extra : rebase_source : dc77d4bfa4da0d79e97da1e10e72bbd77223e8fa
2012-02-22 17:06:02 -05:00
Jeff Gilbert
657e792781
Bug 726396 - Repair ANGLE d3d share handle fetching an PBuffer creation behavior - r=bjacob
2012-02-22 14:08:24 -08:00
Jonathan Kew
1b57210432
bug 662055 followup - permute order of Hebrew diacritics so that Biblical spelling of 'Jerusalem' renders properly. r=smontagu
2012-02-22 20:55:12 +00:00
Benoit Jacob
2b9d547f48
Bug 699033 - tame a crash in ANGLE compiler - r=jst
2012-02-23 17:49:55 -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
Matt Woodrow
d509db3bf4
Bug 715720 - Support DrawTargets in CanvasLayerOGL. r=jrmuizel
2012-01-17 10:55:43 +13:00
Oleg Romashin
798b005c3c
Bug 715822 - OGL CleanupResources should cleanup Texture resources too. r=mattwoodrow
2012-01-16 00:41:55 -05:00
Jeff Muizelaar
8369528d31
Bug 717921. Only have one thebes surface. r=bas
2012-01-13 09:48:29 -05:00
Jeff Muizelaar
6b29881ab3
Bug 717921. Add UserData to DrawTarget. r=bas
2012-01-13 09:47:58 -05:00
Jeff Muizelaar
f4d68ad863
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00
Jeff Muizelaar
6a40672d79
Bug 716639. Add a constructor for gfxQuartzSurface that takes a gfxIntSize. r=mwoodrow
2011-12-13 09:58:11 -05:00
Nathan Froyd
ac6b131e46
Bug 700659 - Slay nsHashSets in gfx/thebes. r=bas
2011-11-08 15:22:04 -05:00
Mark Capella
ac9283f6e1
Bug 718359 - remove useless SANITY_CHECKING_FEATURE and XCB_SURFACE_FEATURE. r=khuey
2012-02-25 22:01:09 +01:00
Jeff Muizelaar
956ea69c6a
Bug 729850. CG: Get the point order correct when transforming a path. r=mwoodrow
2012-02-25 00:35:41 -05:00
Jeff Muizelaar
937c5ca852
Bug 728028. CG: Avoid double transforming filled gradients. r=mwoodrow
...
When we fixed transformed clips it caused us to double transform gradients. We
fix this by avoiding ::PushClip when drawing gradients. This has the advantage
of saving a save and restore pair and it makes Fill() more closely match
Stroke()
2012-02-25 00:35:39 -05:00
Jeff Gilbert
6ed4b9ea9b
Bug 724476 - Add ANGLE patch file for impl. readpixel format BGRA - r=bjacob
2012-02-24 14:37:06 -08:00
Jeff Gilbert
ef274db396
Bug 724476 - ANGLE Bug 294 - Use BGRA/UBYTE as exposed fast format/type for readPixels - r=bjacob
2012-02-24 14:37:06 -08:00
Jeff Gilbert
26de257e15
Bug 724476 - Add patch for strict ANGLE readpixels behavior - r=bjacob
2012-02-24 14:37:06 -08:00
Jeff Gilbert
4cf8a79436
Bug 724476 - ANGLE Bug 293 - Enforce readPixels format/type semantics - r=bjacob
2012-02-24 14:37:05 -08:00
Rafael Ávila de Espíndola
dbd5a1f45c
Bug 723864 - Remove dead default cases in gfx. r=jmuizelaar.
2012-02-24 10:50:37 -05:00
Yury
c179d01b00
Bug 730190 - Update OTS to r81. r=jfkthame
2012-02-24 14:31:11 +01:00
Bas Schouten
13b54eb6ce
Bug 668344: Deal with missing Direct2D device in Azure. r=jrmuizel
2012-02-07 06:14:21 +01:00
Jonathan Kew
4edf63ce72
bug 721466 - fix VS2010 build failure in gfx/graphite/src. pending-r=roc
2012-01-26 22:27:25 +00:00
Jeff Gilbert
4a4c7e1718
Bug 721205 - Add correct logic for enabling BGRA readPixels for GLES - r=bjacob
2012-01-26 09:26:36 -08:00
Benoit Jacob
66a14ff3fd
Bug 720438 - Update ANGLE to r963 - no review
...
No review because this is just syncing us with upstream:
http://code.google.com/p/angleproject/
This is also doing some cleanup, removing stale/empty files and updating patches.
The main benefit from this update is that long-identifier-shortening has been fixed.
2012-01-26 12:04:15 -05:00
Nicholas Nethercote
dd32d38d63
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Edwin Flores
3f5de025f0
Bug 710521 - Refactor gfxFont to separate out drawing stroke and drawing to path. r=roc
2012-01-26 13:11:18 +01:00
Jonathan Kew
8d8531f373
bug 719366 pt 1 - [harfbuzz] fall back to applying 'latn' features if neither the proper script nor 'DFLT' is present. r=behdad
2012-01-26 11:21:01 +00:00
Jonathan Kew
19bbd8ae76
bug 721068 - update to latest graphite2 code from upstream (hg rev 911:a697cecbaddd). rs=roc
2012-01-26 11:20:57 +00:00
Julian Seward
d228b268ad
Bug 720758 - Uninitialised value use in gfx/layers/basic/BasicLayers.cpp. r=bas
...
--HG--
extra : rebase_source : 78899a63fff9762875ee720817514ab0625ceab1
2012-01-26 11:00:15 +01:00
Chris Jones
0724ea97f2
Bug 715232: Don't attempt to CopyTexImage from an RGB framebuffer to an RGBA texture. r=joedrew
2012-01-25 18:05:34 -08:00
Marco Castelluccio
798dc727de
Bug 702158 - [Skia] Get Skia backend working on Linux. r=mattwoodrow
2012-01-26 09:54:31 +09:00
Jeff Muizelaar
84e78d7e00
Bug 720721. Properly transform the clip path in DrawTargetCG. r=mwoodrow
...
This is a little tricky because we can't put a save/restore pair
around the operation because then we'll loose the clip.
2012-01-24 15:14:50 -05:00
Jonathan Watt
1374ace393
Bug 729562 - Make the SVG paint methods take an nsRenderingContext, and kill nsSVGRenderState. r=Bas.
2012-03-02 08:28:59 +00:00
Oleg Romashin
8f6f7c7eb6
Bug 733951 - Qt port does not compile anymore due to bad includes order. r=jrmuizel
...
--HG--
extra : rebase_source : 7f26da25e0fd3ec15c8c167eae017fe493c31ae7
2012-03-12 11:43:14 -04:00
Jonathan Kew
2eb299f4f7
bug 726539 - last value wins in the case of conflicting features in -moz-font-feature-settings. r=jdaggett
2012-03-12 16:54:28 +00:00
Oleg Romashin
725e4a9dc5
Bug 734757 - Platform::GetOffscreenFormat called from non-main thread, and breaking Qt port. r=dougt
2012-03-12 10:23:34 +01:00
Phil Ringnalda
bdec90789d
Back out c891149d1ca4 (bug 719776) for Windows build bustage
2012-03-11 19:25:16 -07:00
Matt Woodrow
f519d4dfdc
Bug 719776 - Remove external dependencies from Azure. r=Bas
2012-03-12 15:00:57 +13:00
Joe Drew
8cc05dbabc
Bug 715513 - Implement text in the new 2D API's Cairo backend. r=jrmuizel
...
--HG--
extra : rebase_source : 75350d02ec31e60c356b1d9f05bf14b2b2dee9f4
2012-01-10 13:26:59 -05:00
Joe Drew
6593f1f545
Bug 715652 - Jeff's review requested changes which were easier to implement on top of path support. r=jrmuizel
...
--HG--
extra : rebase_source : 1918afdd0ea2629169dff36353fdf01d66377e26
2012-01-09 17:19:11 -05:00
Joe Drew
66ceb3e991
Bug 707848 - Implement paths in the 2D API's Cairo backend. r=jrmuizel
...
--HG--
extra : rebase_source : a127cd96d48077c02f32d64b89984995c02fc38b
2012-01-09 17:15:10 -05:00
Joe Drew
4c94d92fc6
Bug 715652 - Implement significantly more of the 2D API for the Cairo backend. r=jrmuizel
...
--HG--
extra : rebase_source : b23314691fef65db2518d3e738a66039e3c18909
2012-01-09 16:50:01 -05:00
Karl Tomlinson
108f9291b8
b=682625 pass VisualID when PictFormat is not available r=cjones
...
--HG--
extra : transplant_source : A%2ALD%92%93%A3%D8%AB%03i%17Y%F4%CA%D3%AAE%3D%99
2012-01-10 23:54:38 +13:00
Karl Tomlinson
86413940ad
b=682625 move XVisualIDToInfo to X11Util r=cjones
...
--HG--
extra : transplant_source : %BA%AF%7F%B2%B3%12%F2%CBl%FAy%5C%F25lI%23%EC%92%28
2012-01-10 23:54:38 +13:00
Ed Morley
ed04f5bb8e
Backout b9e154713763 (bug 702158) for pgo linux failures
2012-01-11 01:22:15 +00:00
Marco Castelluccio
7de5f246ff
Bug 702158 - Build Skia Azure backend on linux. r=mattwoodrow
2012-01-11 11:17:56 +13:00
Jonathan Kew
0299bb22c5
bug 716229 - don't switch fonts for non-printing control chars. r=roc
2012-01-10 20:40:30 +00:00
Jonathan Kew
703ff33238
bug 711355 - fix potential leaks in nsCoreAnimationSupport found by static analysis. r=bgirard
2012-01-10 14:47:52 +00:00
Krzysztof Kotlenga
4675bcbae3
Bug 678940 - remove caching of uniform values. r=joe
2012-01-09 10:57:21 +01:00
Ed Morley
2ac5b3a131
Merge mozilla-central to mozilla-inbound
2012-01-06 22:35:43 +00:00
Ed Morley
8790c6731c
Merge last green changeset of mozilla-inbound to mozilla-central
2012-01-06 22:27:52 +00:00
Kyle Huey
40b26fb600
Bug 683891: Stop exporting THEBES_API symbols from libxul. r=glandium
2012-01-06 09:44:25 -05:00
Jonathan Kew
ef5972b56b
bug 703100 followup - fix potential crash due to string not being null-terminated.
2012-01-05 14:41:37 +00:00
Jonathan Kew
6e85485e5c
bug 703100 - pt 5 - optimize allocation of gfxTextRun objects to avoid separate allocation for CompressedGlyph records. r=roc
2012-01-05 11:54:45 +00:00
Jonathan Kew
7ccaa62585
bug 703100 - pt 4 - add timed expiration of cached gfxShapedWord records. r=roc
2012-01-05 11:54:45 +00:00
Jeff Muizelaar
ff5b0961f6
Bug 715704. Add a quartz implementation of mark_dirty_rectangle. r=roc
...
We need to drop our CGImage cache when the surface has been changed by outside users.
2012-01-05 18:40:01 -05:00
Jonathan Kew
1bf3af6cfe
bug 703100 - pt 3 - remove copy of original characters from gfxTextRun. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
bf44ffadea
bug 703100 - pt 2.5 - adapt Android/FT2 font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
1be7f64c75
bug 703100 - pt 2.4.1 - make gfxPangoFontGroup font-matching behavior more similar to generic gfxFontGroup version. r=roc
2012-01-05 11:54:44 +00:00
Jonathan Kew
c0d8a929ad
bug 703100 - pt 2.4 - adapt Linux/Pango font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
ffc47897ce
bug 703100 - pt 2.3 - adapt Windows font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
0de751c7c0
bug 703100 - pt 2.2 - adapt Mac font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
569f6de227
bug 703100 - pt 2.1 - implement gfxShapedWord caching for gfxFont instances. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
f702c54c74
bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc
2011-12-06 12:39:18 +00:00
Jonathan Kew
07d0c6eea4
bug 711690 - don't warn about unsupported font formats if a different source successfully loads. r=jdaggett
2012-01-05 10:14:11 +00:00
Bas Schouten
589af2c146
Bug 711063 - Part 11: Allow using Azure for content drawing with D3D10 layers. r=jrmuizel
2012-01-05 08:17:52 +01:00
Bas Schouten
43fd152075
Bug 711063 - Part 10: Adjust BasicLayers code for Azure-Thebes wrapper. r=roc
2012-01-05 08:17:52 +01:00
Bas Schouten
0b22cc5542
Bug 711063 - Part 9: Adjust gfxDrawable to be compatible with the Azure Wrapper. r=jrmuizel
2012-01-05 08:17:52 +01:00
Bas Schouten
676b937d60
Bug 711063 - Part 6: Adjust nsRenderingContext to be compatible with Azure wrapper. r=joedrew
2012-01-05 08:17:52 +01:00
Bas Schouten
338c264807
Bug 711063 - Part 5: Adjust gfxWindowsNativeDrawing to be compatible with Azure wrapper. r=jrmuizel
2012-01-05 08:17:52 +01:00
Bas Schouten
a8dc64fce4
Bug 711063 - Part 4: Adjust gfxUtils to be compatible with Azure wrapper. r=jrmuizel
2012-01-05 08:17:51 +01:00
Bas Schouten
2c3f9cecef
Bug 711063 - Part 3: Adjust font code to be compatible with Azure wrapper. r=joedrew
2012-01-05 08:17:51 +01:00
Bas Schouten
cb4d099430
Bug 711063 - Part 2: Add new wrapper code for gfxContext and gfxPattern. r=jrmuizel
2012-01-05 08:17:51 +01:00
Bas Schouten
e5a1558ee6
Bug 711063 - Part 1.5: Add operator to gfx::Matrix for size transformation. r=jrmuizel
2012-01-05 08:17:51 +01:00
Bas Schouten
1cd7f246df
Bug 711063 - Part 1: Add new glue code for Azure Wrapper. r=joedrew
2012-01-05 08:17:51 +01:00
Karl Tomlinson
ad25e956af
b=713572 don't draw from BasicThebesLayerBuffers when transaction is incomplete r=roc
...
--HG--
extra : rebase_source : a85034d1207100a3563e7bb8b92ea696c91ac206
2012-01-05 11:16:37 +13:00
Joe Drew
f2f60e1a73
Bug 715243 - Add the ability to use gfx logging on Matrix. r=Bas
2012-01-04 18:02:59 -05:00
Joe Drew
3a35e54343
Bug 705204 - Add mozilla::gfx::Matrix::operator!= and operator==. r=Bas
2012-01-04 18:02:59 -05:00
Joe Drew
b5c69f08ff
Bug 705200 - Add mozilla::gfx::Matrix::IsIdentity(). r=Bas
2012-01-04 18:02:59 -05:00
Jeff Muizelaar
b01d65c558
Bug 715232. Add some more MOZ_FINAL. r=joe
...
--HG--
extra : rebase_source : 1d4bf4c624dbbfd77b3a80f88478a87fa5df9506
2012-01-03 13:38:10 -05:00
Jeff Muizelaar
b0d5f83aad
Bug 696398. Add an api to analyse frame rate. r=ajuma
...
This adds a startFrameTimeRecording() and stopFrameTimeRecording()
to DOMWindowUtils. stopFrameTimeRecording() returns an array of frame times in milliseconds.
2012-01-05 17:40:35 -05:00
Jeff Walden
461e38f5e8
Bug 704313 - Implement mozilla/StdInt.h. r=cjones
...
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Ed Morley
5df2f323a8
Merge last green changeset of mozilla-inbound to mozilla-central
...
--HG--
rename : mobile/xul/installer/package-manifest.in => b2g/installer/package-manifest.in
2011-12-07 09:27:36 +00:00
John Daggett
3a761719d5
Bug 693143. Crashtest for the small bitmap case. r=roc
2011-12-07 12:03:42 +09:00
John Daggett
fe75ceb337
Bug 693143. Fix top crasher related to small font sizes and bitmap fonts. r=roc
2011-12-07 12:02:53 +09:00
Jeff Gilbert
86c82dcd87
Bug 702413 - Plug leak of new pbuffer when ResizeOffscreenFBO fails - r=bjacob
2011-12-06 15:36:40 -08:00
Andrew Quartey
fe663451e7
Bug 705414 - Failure checks for JS_DefineElement in nsScriptableRegion::GetRects. r=evilpie
2011-12-05 15:44:06 +01:00
Benoit Jacob
3fa3cbc3b0
Bug 707555 - Update ANGLE to r901 (v1.0) to grab correctness fixes - no review
...
This is just syncing us with the upstream http://code.google.com/p/angleproject
2011-12-04 17:24:41 -05:00
Benoit Jacob
ed0639a053
Bug 705665 - Don't whine while glDeleting non-existent GL object - r=jgilbert
...
In OpenGL it is allowed to try to delete a non-existent GL object, and we have code that relies on that in a fairly legitimate way, see discussion in the bug.
2011-12-04 14:15:42 -05:00
Ed Morley
25b5e3e769
Merge mozilla-central and mozilla-inbound
2011-12-04 15:04:54 +00:00
timeless@mozdev.org
ef684c99b3
Bug 505738 - nsScriptableRegion::GetRects doesn't handle failure from JS_NewArrayObject [@ JS_DefineElement - nsScriptableRegion::GetRects] r=gal
2011-12-03 22:50:17 +01:00
Doug Sherk
6b8258d114
Bug 660070: catch EGL_CONTEXT_LOST and send WebGL an event for it r=bjacob
...
Catches the EGL_CONTEXT_LOST error which occurs after driver resets, and sends a
WebGL context the canvas event webglcontextlost when this occurs.
2011-12-02 23:52:35 -08:00
Doug Sherk
b32e4a0688
Bug 70348: implement ARB_robustness with WGL r=bjacob
...
WGL has its own ARB_robustness implementation which we support with this patch.
I was able to confirm that it was correctly being activated and was polling
status correctly (i.e. the framework is running), but WGL itself doesn't
actually seem to stop the DoS correctly when a robust context is created.
2011-12-02 23:50:11 -08:00
Ali Juma
e1eb025d6d
Bug 705641 - Add reason for framebuffer incompleteness to abort message. r=jrmuizel
2011-12-02 09:43:58 -05:00
aceman
9f830d62c6
Bug 706610 - remove trailing semicolon after namespace decl. r=joe
2011-12-03 17:02:10 +01:00
aceman
60be1addd1
Bug 704210 - Add license headers to files gfx/gl/Makefile.in and gfx/thebes/Makefile.in. r=joe
2011-12-03 13:04:52 +01:00
Jeff Gilbert
91d5935f7c
Bug 706297 - Remove unnecessary glFinish preceeding glReadPixels from LayerManagerOGL - r=bjacob
2011-11-30 17:25:20 -08:00
Jacek Caban
8d05b9a2a5
Bug 705656 - Broken SKIA compilation on mingw r=matt.woodrow
2011-11-30 10:26:15 +01:00
John Daggett
0977d91a9a
Bug 705590. Measure system font fallback times. r=jrmuizel
2011-11-30 10:55:11 +09:00
Benoit Girard
fbbb980061
Bug 703317 - Use TLS to make RgnRectMemoryAllocator thread safe. r=roc
2011-11-29 13:29:03 -05:00
Doug Sherk
4720c62c83
Bug 656824: fix trailing comma in GLContext::ContextResetARB enum
2011-11-29 06:10:44 -08:00
Nicholas Nethercote
f1e77095c2
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
David Marteau
31eb0b25f9
Bug 700829 - Thebes gfxPlatform.h file depends on internal api nsString.h. r=bsmedberg
2011-11-26 20:48:35 +01:00
Ms2ger
522be090b6
Bug 705187 - Use IDL for nsIScriptableRegion::GetRects; r=roc
2011-11-26 11:29:45 +01:00
Robert O'Callahan
81cdee0bdd
Bug 705173. Make mDependentTargets weak by tracking the inverse relationship in mDependingOnTargets. In Flush(), remove dependencies on other targets. r=bas
2011-11-25 15:12:40 +13:00
Benoit Jacob
c5b5075b52
Bug 717658 - OOM crash in BasicLayers: dump sizes to help understand this crash - r=joe
2012-01-24 16:12:30 -05:00
Bas Schouten
9dd197ae61
Bug 657141 - Part 2: Only optimize away clip levels when using solid alpha masks. r=jrmuizel DONTBUILD
2012-01-23 12:03:44 +01:00
Dão Gottwald
f31624a659
Backed out changeset 17933c63c7b6
2012-01-23 12:01:37 +01:00
Dão Gottwald
d9160ce229
Bug 657141 - Part 2: Only optimize away clip levels when using solid alpha masks. r=jrmuizel
2012-01-23 12:00:24 +01:00