Commit Graph

5780 Commits

Author SHA1 Message Date
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
George Wright
b6a50f2036 Bug 777614 - Update Skia to r5539. 2012-09-18 15:41:36 -04:00
Chris Jones
30b0b269d9 Bug 791167: stride*height is the size of the region. r=roc 2012-09-18 10:00:45 -07:00
Robert O'Callahan
23745705c8 Bug 777194. Part 3: Add ToString() method to regions for easier logging/debugging. r=jrmuizel 2012-08-17 11:39:00 +12:00
Robert O'Callahan
ae49ca014a Bug 777194. Part 2: Remove RETENTION_THRESHOLD. FrameLayerBuilder limits the complexity of visible regions anyway. r=bas 2012-08-17 11:38:59 +12:00
Robert O'Callahan
901195649f Bug 777194. Part 7: Add gfx3DMatrix::NudgeToIntegers. r=bas 2012-08-25 16:41:46 +12:00
Robert O'Callahan
ed51a57755 Bug 777194. Part 1: Use an epsilon tolerance value when comparing residual translations. r=tnikkel 2012-08-17 11:38:59 +12:00
Robert O'Callahan
6fae74f2aa Bug 777194. Part 0: Add gfxPoint::WithinEpsilonOf. r=jrmuizel 2012-08-17 11:38:59 +12:00
Ehsan Akhgari
d78f6b0050 Bug 785321 follow-up: Remove a hunk from the patch which is no longer needed
DONTBUILD
2012-09-17 22:00:07 -04:00
Chris Jones
9049bbc981 Bug 791364: Free canvas front buffers that are surface descriptors. r=gal 2012-09-17 17:56:04 -07:00
Ryan VanderMeulen
5cfafbf23a Backout c2b7be27e412 (bug 791644) due to mochitest orange. 2012-09-17 20:09:42 -04:00
Chris Peterson
8ddd1ac010 Bug 778980 - Part 1: Fix gcc -Wconversion-null warnings in gfx/gl. r=joedrew 2012-09-14 11:52:42 -07:00
Daniel Holbert
df0cad19bc Bug 791801: Reorder AlphaBoxBlur init list to fix build warning. r=ajones 2012-09-17 15:41:24 -07:00
Matt Woodrow
e5d8da2359 Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc 2012-09-18 10:34:21 +12:00
Koosha Khajeh Moogahi
8d39310f18 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Nicolas Silva
531387a325 Bug 790716 - Allocate shared YCbCr images in one shmem. r=jrmuizel. 2012-09-13 16:52:26 -04:00
James Willcox
4f4ac14cc3 Bug 778091 - Use medium precision for SurfaceTexture shader r=vlad 2012-09-17 15:50:33 -04:00