Commit Graph

5796 Commits

Author SHA1 Message Date
Chris Lord
6cc4cbd474 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
bb3f3cc9cd 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
ed4c547259 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
b33410feb2 Bug 789847 - Remove PR_CALLBACK usage from tree 2012-09-25 11:18:38 -05:00
Robert O'Callahan
cfed756adb Cairo patch update for bug 792903. DONTBUILD 2012-09-26 21:34:30 +12:00
Robert O'Callahan
bd1fa22c22 Bug 792903. Prevent num_stops from being set to zero. r=bas 2012-09-26 12:19:32 +12:00
Robert O'Callahan
7e36696064 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
428139de39 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
79a885bcca 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
1c13765e67 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
abf5767fcd 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
fe33b070f1 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
2249060a44 Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert 2012-09-25 08:49:28 -04:00
Benoit Jacob
d4fa48d92a Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert 2012-09-25 08:49:28 -04:00
Mike Hommey
fb05de0176 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
57b18a645d 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
9eb28fa941 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
0a82ec4137 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
05ae47a5b4 Bug 792663: Temporarily require opting in to allocating cross-process xlib surfaces. r=karl 2012-09-24 14:54:01 -07:00
Bas Schouten
5acda0d600 Bug 792207 - Part 6: Add simple code allow enabling browser recording. r=jrmuizel 2012-09-24 15:02:50 +00:00
Bas Schouten
1cbd658d18 Bug 792207 - Part 5: Add code to Azure to allow initializing recording. r=jrmuizel 2012-09-24 15:02:50 +00:00
Bas Schouten
608b6fc192 Bug 792207 - Part 4: Add Azure recording code. r=jrmuizel 2012-09-24 15:02:50 +00:00
Bas Schouten
8cf02dc4f8 Bug 792207 - Part 3: Add UserData to ScaledFont. r=jrmuizel 2012-09-24 15:02:49 +00:00
Bas Schouten
97f01fd610 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
cf4260a23c Bug 792207 - Part 1: Retain ScaledFont objects for gfxFonts. r=jrmuizel 2012-09-24 15:02:49 +00:00
Bobby Holley
7f912ddc79 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
7447490c1f 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
e84586dbf4 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
226a5ef136 Bug 788411: Set a minimum allocation width for buffers that ThebesLayerBuffer. r=roc 2012-09-20 12:49:03 -07:00
Robert O'Callahan
84ee63f569 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
65d7a8ceec 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
7efeb9262e 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
13041e1a84 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
632c91ff04 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
58aea04535 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
ff8935ad31 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
493af8ee41 Bug 792329. Set correct Azure content backend mask bit on Windows. r=nrc 2012-09-20 02:10:46 +12:00
Ehsan Akhgari
b5c39afb4e Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Jacek Caban
884e392327 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
c2c8bcf85c Bug 772726: Factor out pixel-aligned clip handling in DrawTargetD2D. r=jrmuizel 2012-09-18 23:04:42 +00:00
Marco Castelluccio
7993ada104 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
Karl Tomlinson
6dc247aa1f b=777946 implement SCALE_STRETCH through ComputeEffectiveTransforms r=Bas
--HG--
extra : transplant_source : 6%CC%1F3%D1g%A7%098%7E%24%3DC%1D6N%F5%1Ax%0F
2012-09-18 15:16:15 +12:00
George Wright
29c1fe2fc6 Bug 777614 - Update patches directory for patches applied against upstream Skia 2012-09-18 15:41:38 -04:00
George Wright
221d22df52 Bug 777614 - Re-apply 759683 - Handle compilers that don't support SSSE3 intrinsics r=nrc 2012-09-18 15:41:38 -04:00
George Wright
515afdf53b Bug 777614 - Handle BGRX SourceSurfaces in Skia by converting them to BGRA r=nrc 2012-09-18 15:41:37 -04:00
George Wright
d4e6777676 Bug 777614 - Use Skia's Conical gradient shader instead of Radial to be in line with the canvas spec. r=nrc 2012-09-18 15:41:37 -04:00
George Wright
e78a7d7cfb Bug 777614 - Re-apply bug 687188 - Expand the gradient cache by 2 to store 0/1 colour stop values for clamping. r=nrc 2012-09-18 15:41:37 -04:00
George Wright
1f5e6f9aba Bug 777614 - Re-apply bug 719872 - Fix crash on Android by reverting to older FontHost r=nrc 2012-09-18 15:41:37 -04:00
George Wright
4fd0e54d2d Bug 777614 - Explicitly convert ints to SkScalars using SkIntToScalar, to avoid a compiler error (reviewed upstream) 2012-09-18 15:41:36 -04:00
George Wright
6c85057496 Bug 777614 - Re-add our SkUserConfig.h r=nrc 2012-09-18 15:41:36 -04:00