Commit Graph

5805 Commits

Author SHA1 Message Date
Ed Morley
5a3b322459 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Ehsan Akhgari
e13fd08011 Backout changeset 24f4f77fba76 (bug 793408) because of broken builds on a CLOSED TREE 2012-09-27 10:24:08 -04:00
Ehsan Akhgari
03ce7cf78a Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel 2012-09-22 11:34:22 -04:00
Matt Woodrow
0a8aa26fb7 Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc 2012-09-17 10:57:22 +12:00
Oleg Romashin
585aa99e71 Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
e978622113 Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc 2012-08-29 17:48:15 +12:00
Matt Woodrow
49d4c24594 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Edwin Flores
c06dc84a94 Bug 759506 - GonkNativeWindow and layers changes for B2G zero-copy OMX hardware decoding r=kanru 2012-09-27 16:33:42 +12:00
Nicolas Silva
7bdb2633f6 Bug 794233 - Fix for blank video on fennec release. r=cpeterson 2012-09-26 23:32:45 -04:00
Chris Lord
9abaa31430 Bug 794465 - Only use progressive tile drawing when scrolling. r=bgirard
To prevent seams appearing in updated content, only use progressive tile
drawing when scrolling. This is the most critical time to keep interactivity
consistent.
2012-09-26 21:42:09 +01:00
Chris Lord
ab91d060df Bug 794200 - Progressive draw tiles in the direction of scrolling. r=bgirard
When scrolling downwards, make sure to fill in tiles from the top, upwards
from the bottom, left from the right and right from the left.
2012-09-26 21:41:56 +01:00
Chris Lord
f85a5c2993 Bug 794200 - Draw tiles with no content before tiles with stale content. r=bgirard
When using progressive tile drawing, draw tiles that have no content before
tiles that only have stale content.
2012-09-26 21:41:41 +01:00
Isaac Aggrey
84680bfb39 Bug 789847 - Remove PR_CALLBACK usage from tree 2012-09-25 11:18:38 -05:00
Robert O'Callahan
bc17ca2619 Cairo patch update for bug 792903. DONTBUILD 2012-09-26 21:34:30 +12:00
Robert O'Callahan
8d196dd5fa Bug 792903. Prevent num_stops from being set to zero. r=bas 2012-09-26 12:19:32 +12:00
Robert O'Callahan
467680df9f Bug 792641. Clear mContext and mImageSurface to try to clean them up before we delete their underlying data buffer. r=jrmuizel
mBlur creates and owns an A8 data buffer that we pass to mImageSurface,
targeted by mContext.
Sometimes, when we remove the last reference to mContext cairo wants to
take a snapshot copy of the data buffer. If this happens after we've
deleted mBlur in ~gfxAlphaBoxBlur, we may crash due to the data
buffer having been deleted already.
A partial solution is to clear mContext and mImageSurface to force
those snapshots to be taken before deleting mBlur. This is only a
partial solution since in principle the client of gfxAlphaBoxBlur
may have kept mContext alive with its own reference. In practice
we don't do that though.
A complete solution would require making the data buffer be owned
by mImageSurface, either directly or indirectly.
2012-09-26 21:27:40 +12:00
Chris Jones
1473dd2ab9 Remove this .rej that didn't merge properly. No bug.
--HG--
extra : rebase_source : de991a63653dba7575448676cb855b29fb3d66c4
2012-09-25 23:44:39 -07:00
Jeff Muizelaar
db63614544 Bug 792993. cairo: use proper loop bounds in make_opaque(). r=nsilva
The new version of the code is more obviously correct. Hopefully
the compiler is smart enough to turn it into something fast.

--HG--
extra : rebase_source : bdf2f00c5eae5d5a1bf6dff223b1b05f561384ab
2012-09-25 18:59:12 -04:00
Karl Tomlinson
5248b8f1c7 b=763449 Finish X requests on mROFrontBuffer before deleting shadow layer r=cjones
--HG--
extra : rebase_source : 7381b234a29d648afdf76eff1f1e89f6e5cd88b5
2012-09-25 16:20:41 +12:00
Chris Lord
84a567a4c5 Bug 793656 - Fix flickering during progressive tile updates. r=bgirard
Force a single transaction when the resolution changes and for other updates,
keep stale tiles within the visible region until the transaction is complete.
2012-09-25 20:13:40 +01:00
Bas Schouten
0f492946e6 Bug 784382 - Part 1: Use new ID2D1DeviceContext interface for subpixel AA with clipping in cairo. r=jrmuizel 2012-09-25 20:14:53 +02:00
Benoit Jacob
e87660d62e Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert 2012-09-25 08:49:28 -04:00
Benoit Jacob
8a05af4222 Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert 2012-09-25 08:49:28 -04:00
Mike Hommey
213365fb63 Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt 2012-09-25 14:47:18 +02:00
Chris Jones
37fc3e77dc Bug 793365: Make sure (again) that the entire buffer is valid when we might be asynchronously composited. r=roc 2012-09-24 21:15:18 -07:00
Chris Jones
b6af3ac637 Bug 784244: We really, seriously, can only let the BufferTracker take care of our required AutoOpenSurfaces. r=roc 2012-09-24 14:54:01 -07:00
Chris Jones
2091f22b39 Bug 792663: Don't SyncFrontBufferToBackBuffer() while a buffer tracker isn't around to revoke our buffer provider. r=nrc 2012-09-20 22:59:19 -07:00
Chris Jones
a4671d6fbf Bug 792663: Temporarily require opting in to allocating cross-process xlib surfaces. r=karl 2012-09-24 14:54:01 -07:00
Bas Schouten
f041c93a04 Bug 792207 - Part 6: Add simple code allow enabling browser recording. r=jrmuizel 2012-09-24 15:02:50 +00:00
Bas Schouten
f879626948 Bug 792207 - Part 5: Add code to Azure to allow initializing recording. r=jrmuizel 2012-09-24 15:02:50 +00:00
Bas Schouten
4bb194b703 Bug 792207 - Part 4: Add Azure recording code. r=jrmuizel 2012-09-24 15:02:50 +00:00
Bas Schouten
32bb90c285 Bug 792207 - Part 3: Add UserData to ScaledFont. r=jrmuizel 2012-09-24 15:02:49 +00:00
Bas Schouten
002f6c0080 Bug 792207 - Part 2: Add method to store and create from TrueType data. r=jrmuizel 2012-09-24 15:02:49 +00:00
Bas Schouten
8ed5af984b Bug 792207 - Part 1: Retain ScaledFont objects for gfxFonts. r=jrmuizel 2012-09-24 15:02:49 +00:00
Bobby Holley
c64d31c5e0 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Marco Castelluccio
ec6cdae848 Bug 630346 - Merge LayerManagerOGL::CleanupResources into LayerManagerOGL::Destroy r=karlt
--HG--
extra : rebase_source : ef7c3c9855f3a3e22b8a8529d922587eaf71ba43
2012-09-24 11:23:39 +12:00
Bas Schouten
1573410081 Bug 722269: Make DrawTargetD2D::DrawSurface deal with any SourceSurface convertible to a DataSourceSurface. r=joedrew 2012-09-20 21:24:12 +00:00
Chris Jones
fc0a7ece97 Bug 788411: Set a minimum allocation width for buffers that ThebesLayerBuffer. r=roc 2012-09-20 12:49:03 -07:00
Robert O'Callahan
45a2d1f1e1 Bug 468568. Part 0.5: _cairo_dwrite_scaled_font_create_win32_scaled_font should check font names to ensure that GDI gave us back the correct font. r=jfkthame
--HG--
extra : rebase_source : 2411f4946cb5d95900bf413546db508474448ab5
2012-09-17 16:25:24 +12:00
Robert O'Callahan
649093f28b Bug 772726. Part 15: Change check for Azure content drawing to handle cases where Azure is preffed on but isn't being used. r=nrc 2012-09-12 17:30:25 +12:00
Robert O'Callahan
c4a56ee9c9 Bug 772726. Part 14: Nudge pattern transform components to integers to avoid rounding errors. Also nudge rects to integers when we retransform them due to a CTM change. r=bas 2012-09-08 00:32:21 +12:00
Robert O'Callahan
fc3689264b Bug 772726. Part 13: Fix handling of transforms in gfxTextObjectPaint. r=eflores,jwatt
gfxTextObjectPaint::GetFillPattern/GetStrokePattern should take the destination's CTM
as a parameter in order to set up the pattern matrix correctly, since the pattern matrix
is combined with the CTM by cairo/Thebes --- but we want the pattern rendering to be
independendt of the CTM, instead depending only on the TM set up when we initialized
the gfxTextObjectPaint.
We make SVGTextObjectPaint store matrices that map device space to pattern space.
2012-09-12 17:13:12 +12:00
Robert O'Callahan
b9ac0d14cd Bug 772726. Part 9: Since Azure doesn't support EXTEND_NONE, when blitting a post-3D-transform temporary surface we need to make sure the output is clipped to the area of the surface. r=mattwoodrow 2012-09-08 00:32:21 +12:00
Robert O'Callahan
db11746193 Bug 772726. Part 8: Add Rect::NudgeToIntegers and share improved nudging code among all nudging APIs. r=bas 2012-09-12 17:24:09 +12:00
Robert O'Callahan
08124fb0da Bug 772726. Part 6: Add NudgeToIntegers operation to Azure Matrix, add MultiplyAndNudgeToIntegers to gfxContext, and call it from SVG when we render path geometry, to ensure that small internal rounding errors in transforms don't cause unnecessary differences in rasterization of paths. r=bas 2012-09-05 12:15:52 +12:00
Robert O'Callahan
e44b4ddb65 Bug 792329. Set correct Azure content backend mask bit on Windows. r=nrc 2012-09-20 02:10:46 +12:00
Ehsan Akhgari
70ba385729 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Jacek Caban
961d0821b8 Bug 787653 - Allow compiling ANGLE on mingw-w64 (makefile part) r=bjacob,ted
--HG--
extra : rebase_source : df14db300f8a8b3e900de7579ab80058cfa70846
2012-09-19 10:58:31 +02:00
Bas Schouten
6ab8e308dd Bug 772726: Factor out pixel-aligned clip handling in DrawTargetD2D. r=jrmuizel 2012-09-18 23:04:42 +00:00
Marco Castelluccio
28577caa98 b=787853 Upload surface when it doesn't support texture_from_pixmap r=karlt
--HG--
extra : transplant_source : N%E7%C6%AAt3%F2%82%5B%81%15%BE%A7o%CC%5C%0B%1A%1D0
2012-09-05 01:10:22 +02:00