Граф коммитов

10986 Коммитов

Автор SHA1 Сообщение Дата
Robert O'Callahan 4c9a69de4c Cairo patch update for bug 792903. DONTBUILD 2012-09-26 21:34:30 +12:00
Robert O'Callahan 3025f9077f Bug 792903. Prevent num_stops from being set to zero. r=bas 2012-09-26 12:19:32 +12:00
Robert O'Callahan 185e021dbe 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 91cee1c412 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 52cac9ab45 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 1623100c46 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 a479bfdafb 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 bf558583a5 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 64b67de1c3 Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert 2012-09-25 08:49:28 -04:00
Benoit Jacob faf08d911a Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert 2012-09-25 08:49:28 -04:00
Mike Hommey a94a46d3c8 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 b3578688a4 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 5ac891e04e 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 a411005953 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 316c8af7ce Bug 792663: Temporarily require opting in to allocating cross-process xlib surfaces. r=karl 2012-09-24 14:54:01 -07:00
Bas Schouten dac31dcf8d Bug 792207 - Part 6: Add simple code allow enabling browser recording. r=jrmuizel 2012-09-24 15:02:50 +00:00
Bas Schouten e5fce0382d Bug 792207 - Part 5: Add code to Azure to allow initializing recording. r=jrmuizel 2012-09-24 15:02:50 +00:00
Bas Schouten b50b058b3f Bug 792207 - Part 4: Add Azure recording code. r=jrmuizel 2012-09-24 15:02:50 +00:00
Bas Schouten 503ba3b845 Bug 792207 - Part 3: Add UserData to ScaledFont. r=jrmuizel 2012-09-24 15:02:49 +00:00
Bas Schouten 43ba37b366 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 a1cb82c019 Bug 792207 - Part 1: Retain ScaledFont objects for gfxFonts. r=jrmuizel 2012-09-24 15:02:49 +00:00
Bobby Holley 8188b09b4e 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 b83a189ea1 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 5161d422fa 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 c606a0e68f Bug 788411: Set a minimum allocation width for buffers that ThebesLayerBuffer. r=roc 2012-09-20 12:49:03 -07:00
Robert O'Callahan 6485da7424 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 66cf5380d9 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 f50d5831fa 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 f745e28a4c 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 6e8749220e 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 d70cc1420e 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 f8eaf0bc83 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 c8038f3de8 Bug 792329. Set correct Azure content backend mask bit on Windows. r=nrc 2012-09-20 02:10:46 +12:00
Ehsan Akhgari 8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Jacek Caban 7d8599d00c 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 c137062286 Bug 772726: Factor out pixel-aligned clip handling in DrawTargetD2D. r=jrmuizel 2012-09-18 23:04:42 +00:00
Marco Castelluccio 714c200c5a 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 aa475bd54a 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 d8dc00adc0 Bug 777614 - Update patches directory for patches applied against upstream Skia 2012-09-18 15:41:38 -04:00
George Wright acfc80edb4 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 9bc2502f8a Bug 777614 - Handle BGRX SourceSurfaces in Skia by converting them to BGRA r=nrc 2012-09-18 15:41:37 -04:00
George Wright d85ea2a425 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 2a697f06f1 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 a6777b5726 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 a36537a1c2 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 7efeeb9229 Bug 777614 - Re-add our SkUserConfig.h r=nrc 2012-09-18 15:41:36 -04:00
George Wright 2c79accd09 Bug 777614 - Update Skia to r5539. 2012-09-18 15:41:36 -04:00
Chris Jones 6c4edc9791 Bug 791167: stride*height is the size of the region. r=roc 2012-09-18 10:00:45 -07:00
Robert O'Callahan 1c890f5c0d 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 0cebdd894a 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 0a9430327c Bug 777194. Part 7: Add gfx3DMatrix::NudgeToIntegers. r=bas 2012-08-25 16:41:46 +12:00
Robert O'Callahan 60f5afa85b 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 bced6f53eb Bug 777194. Part 0: Add gfxPoint::WithinEpsilonOf. r=jrmuizel 2012-08-17 11:38:59 +12:00
Ehsan Akhgari 4ff7580683 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 b46f585a35 Bug 791364: Free canvas front buffers that are surface descriptors. r=gal 2012-09-17 17:56:04 -07:00
Ryan VanderMeulen 66baa7fbda Backout c2b7be27e412 (bug 791644) due to mochitest orange. 2012-09-17 20:09:42 -04:00
Chris Peterson 5544d9e588 Bug 778980 - Part 1: Fix gcc -Wconversion-null warnings in gfx/gl. r=joedrew 2012-09-14 11:52:42 -07:00
Daniel Holbert d45280b718 Bug 791801: Reorder AlphaBoxBlur init list to fix build warning. r=ajones 2012-09-17 15:41:24 -07:00
Matt Woodrow 3c16b96179 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 dcf81f4fb0 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 63e0f1374e Bug 790716 - Allocate shared YCbCr images in one shmem. r=jrmuizel. 2012-09-13 16:52:26 -04:00
James Willcox 09a83acdf2 Bug 778091 - Use medium precision for SurfaceTexture shader r=vlad 2012-09-17 15:50:33 -04:00
Jeff Muizelaar 9d45f08968 Bug 782647. Move the nullptr workaround macros to MFBT so that it can be shared. r=waldo
This also changes the header to use compiler detection instead of a
configure test. This makes the header more portable because
it doesn't require the configure infrastructure.
2012-09-01 16:16:17 -04:00
Benoit Girard 6fb16e9cb4 Bug 789597 - Should support correlation of profile with capture frames. r=joe
--HG--
extra : rebase_source : 66361f31c12774ab7d2bbb9e66a4e673f2a272ba
2012-09-17 13:58:04 -04:00
Ed Morley 9045d73d8a Backout 7f86b28171a2 (bug 787853) & e18fdb9a8e12, ba47dac3cf97, e3fdcf7ed7f2, 992ee4c72c87 (bug 777946) for intermittent linux M4 ABORTs 2012-09-17 14:17:02 +01:00
Ms2ger e600b43e79 Merge m-c to m-i. 2012-09-17 12:08:58 +02:00
Ms2ger 711f1fd480 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Matt Woodrow ad9a9edc59 Bug 788044 - Make inactive layer subtrees relative to the ContainerLayer, not the reference frame. r=roc 2012-09-17 10:25:33 +12:00
Doug Sherk 0de4e182ef Bug 787549 - B2G: Stop simulating mouse events unless there's a tap. r=cjones 2012-09-14 21:16:32 -04:00
Jeff Gilbert 35b8f538b0 Bug 771406 - Add previous patch to ANGLE patch list - r=bjacob 2012-09-14 16:02:40 -07:00
Jeff Gilbert c94de51f41 Bug 771406 - Add emulation for GLSL faceForward() to ANGLE - r=bjacob 2012-09-14 16:02:39 -07:00
Doug Sherk 2a5d788e4c Bug 780395: Part 1, B2G: Listen to scrollTo calls and metrics being clobbered r=cjones 2012-09-14 17:57:35 -04:00
Makoto Kato 6025716d17 Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Marco Castelluccio d504c532ae b=787853 Upload surface when it doesn't support texture_from_pixmap r=karlt
--HG--
extra : transplant_source : %85b%86%E4%DBK%D7%A2%14%BEK%A3%40l%5D%B5%29L%EF%F0
2012-09-05 01:10:22 +02:00
Karl Tomlinson d89f452e7b b=777946 implement SCALE_STRETCH through ComputeEffectiveTransforms r=Bas
--HG--
extra : transplant_source : %9AZ%89%90_4%08R%C5%0E%AB1%40g%23.%7Bo%EE%2A
2012-09-17 17:19:59 +12:00
Anthony Jones a84827280d Bug 789367 - Add content preference for GTK platform; r=nrc 2012-09-16 20:23:00 -07:00
Phil Ringnalda e68bd50029 Back out 9805ecdb8f66 (bug 789367) on suspicion of breaking the build 2012-09-16 17:59:25 -07:00
Anthony Jones 1e224ae09c Bug 789367 - Add content preference for GTK platform. r=nrc 2012-09-16 20:20:16 -04:00
Jeff Muizelaar 0c3cfe2ae7 Bug 788794. Use BitBlt to do SOURCE and OVER from RGB24 to ARGB32. r=nical
This seems to give a speed up of about 23x for this operation.

--HG--
extra : transplant_source : %AA%E9T%24%E5%97KR%A2%FC%E2%DB%A3ga%5C%82K%7DW
2012-09-12 22:57:25 -04:00
Chris Jones 39e006604f Bug 780330: Avoid mapping/unmapping buffers when we don't use them. r=mattwoodrow sr=roc 2012-09-12 03:41:34 -07:00
Nicolas Silva f0885a863f Bug 774622 - Fixes fennec exit crash by reference counting the compositor thread and making sure the CompositorParents are not destroyed while running code on the compositor thread. r=cjones 2012-09-11 14:17:05 -04:00
Ehsan Akhgari 589178c8cd Merge IonMonkey into mozilla-inbound 2012-09-11 16:38:44 -04:00
David Anderson 76ab271ead Merge IonMonkey to mozilla-central. a=arewefastyet
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-11 10:25:14 -07:00
Andrew Quartey c98758a870 Bug 607075 - Fix logic in gfxWindowsPlatform::UpdateRenderMode r=bjacob 2012-09-10 23:35:25 -04:00
David Anderson 09854d2b71 Merge from mozilla-central. 2012-09-10 12:16:38 -07:00
Bas Schouten 6882d89bf4 Bug 790222: Fix azure stand-alone build. r=BenWa 2012-09-11 13:51:39 +00:00
Rafael Ávila de Espíndola ef282a6ec3 Bug 789983 - remove unused field. r=bjacob. 2012-09-11 08:59:34 -04:00
David Anderson 130b34a147 Merge from mozilla-central. 2012-09-07 15:17:11 -07:00
Jacek Caban 3e05eaddc6 Bug 787653 - Updated ANGLE to r1267 r=upstream 2012-09-07 11:12:54 +02:00
L. David Baron 6521fcaca1 Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc 2012-09-06 21:16:09 -07:00
David Anderson f4bf6ff039 Merge from mozilla-central. 2012-09-06 18:28:59 -07:00
Chris Jones 0d82e82abc Bug 789368: Mind our fenceposts when estimating fps. r=jrmuizel 2012-09-06 20:12:03 -07:00
David Anderson f6eca6c7f0 Merge from mozilla-central.
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
Phil Ringnalda 2c0b236f34 Switch reftest conditions for OSX to use the OSX variable from bug 789771 instead of a regex
--HG--
extra : rebase_source : f4123ff10d1df1ec4f6f2ad75b764416056cf271
2012-09-08 23:40:29 -07:00
David Anderson 25cb077cb2 Merge from mozilla-central.
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson a77264d9fb Merge from mozilla-central.
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Andrew Quartey 951e732fc2 Bug 761155 - Extend Mesa LLVMpipe Preference to GLX r=bjacob 2012-09-06 20:16:30 -04:00
Andrew Quartey 0711be59da Bug 788398 - Remove unused variable 'rule' in CairoPathContext::DuplicateContextAndPath r=bjacob 2012-09-06 20:16:30 -04:00
Luqman Aden ab8b047314 Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel 2012-09-06 01:31:29 -04:00
Ehsan Akhgari e15d129ab3 Backout changeset 25fd2119c8e1 (bug 714937) for possible orange 2012-09-06 18:51:02 -04:00
Luqman Aden 0f1d23f090 Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel 2012-09-06 01:31:29 -04:00
David Anderson 3b9fed8952 Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
David Anderson c50adec55d Merge parity. 2012-08-22 11:10:55 -07:00
David Anderson a264d0ebc8 Merge from mozilla-central. 2012-08-21 15:59:12 -07:00
Landry Breuil 3a38e327ff Bug 786995: Ensure the whole toolchain supports -mssse3, not only the compiler. r=ted 2012-09-04 22:19:50 +02:00
David Zbarsky 8ec03cd866 Bug 783893 - Clean up async animation code r=roc 2012-08-21 00:06:47 -04:00
David Zbarsky 3154e1b535 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
David Zbarsky 8b80664250 Fix layer tree dumping code, no bug, r=cjones over irc 2012-08-21 00:06:46 -04:00
David Anderson f427cc76fa Merge from mozilla-central. 2012-08-16 14:04:20 -07:00
David Anderson 58e1815704 Merge from mozilla-central. 2012-08-15 14:22:26 -07:00
Jeff Gilbert 88506f3b6e Bug 783663 - Add ReadScreenIntoImageSurface for reading pixels from the screen - r=bgirard 2012-08-20 17:13:32 -07:00
Gregory Szorc 91c0c766a9 Bug 776077 - Silence hundreds of conversion errors in cairo; r=jmuizelaar
Cairo is a 3rd party project and we decided in bug that silencing the
warnings was easier than patching.

--HG--
extra : rebase_source : aa7a22b208e62d0d84d1b4a6e5c58d366d957bb9
2012-08-20 14:04:42 -07:00
David Anderson d522cd5bdc Merge from mozilla-central. 2012-08-14 12:20:09 -07:00
David Anderson 5c045998a5 Merge from mozilla-central. 2012-08-13 13:40:42 -07:00
Matt Woodrow 6ac4dc5746 Bug 539356 - Part 30 - Make ShadowContainerLayerD3D10 hold references to child layers. r=roc 2012-08-13 22:10:45 +12:00
Matt Woodrow 2ebb996f8c Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
* * *
Fix Empty transactions with the new paint timing
2012-08-13 22:10:10 +12:00
Matt Woodrow 8e8f866f65 Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc 2012-08-13 22:10:10 +12:00
Aryeh Gregor a88ffe5c80 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Doug Sherk 22ae74ed70 Bug 781734: Implement pinch threshold; fingers need to move a bit before page zooms r=gal 2012-08-13 21:08:38 -07:00
Doug Sherk a92d1b87eb Bug 781734: Decrease axis lock angle r=gal 2012-08-13 21:08:38 -07:00
Doug Sherk 723485177c Bug 781734: When flinging many times successively in one direction, accelerate them more and more r=gal 2012-08-13 21:08:38 -07:00
Doug Sherk f0b76dbaae Bug 781734: Greatly increase friction on flings, remove pseudo-kinetic vs. static friction distinction r=gal 2012-08-13 21:08:38 -07:00
Doug Sherk c54409d628 Bug 781734: Detect very light touches and pan the page r=gal 2012-08-13 21:08:38 -07:00
Chris Lord 8bf5620a83 Bug 782332 - Don't retain fixed-position tiles. r=bgirard
Retaining tiles on a fixed position layer often just results in rendering
artifacts. Don't do this.
2012-08-13 22:59:16 -04:00
Alexander Boldyrev 51cb65d942 Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert 2012-08-13 18:17:55 -07:00
Nicholas Cameron f31d62bd16 Bug 781943. nullptr macro. r=joe 2012-08-14 09:06:59 +12:00
David Anderson ecf43e9ddf Merge from mozilla-central. 2012-08-10 14:50:20 -07:00
David Anderson a02edfdd65 Merge from mozilla-central. 2012-08-09 13:41:13 -07:00
Ed Morley b5f4776008 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-09 12:46:05 +01:00
Ms2ger 374d1023c2 Bug 780387 - Part f: Stop using PRBool & PRPackedBool; r=bsmedberg 2012-08-09 09:10:13 +02:00
Ms2ger 75ab7efb95 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
David Anderson 8d084d5b2e Merge from mozilla-central. 2012-08-08 15:09:49 -07:00
Ehsan Akhgari 845651448b Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari f22f8b7a49 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jeff Gilbert f928964d5a Bug 766366 - Add GLContext::BlitTextureToTexture - r=bjacob 2012-08-21 20:30:20 -07:00
Jeff Gilbert 6030890a7f Bug 738833 - Add webgl force-readback pref - r=bjacob 2012-08-21 20:29:06 -07:00
Jeff Gilbert ae272e1e5c Bug 782785 - Use temp surfaces to ReadPixels with correct stride - r=bjacob 2012-08-21 16:13:26 -07:00
Kan-Ru Chen (陳侃如) 967b36e8ae Bug 767480 - Gralloc backed video buffer. r=roc 2012-08-21 18:22:58 +08:00
Kan-Ru Chen (陳侃如) a55761dc81 Bug 767480 - PlanarYCbCrImage Refactoring. r=roc 2012-08-21 18:18:20 +08:00
Kan-Ru Chen (陳侃如) 1460a419c4 Back out c8f7bace9cf9, 17ec4e01c126 (bug 767480) r=bustage 2012-08-21 17:55:02 +08:00
Kan-Ru Chen (陳侃如) 4a4557a29e Bug 767480 - Gralloc backed video buffer. r=roc 2012-08-21 14:59:42 +08:00
Kan-Ru Chen (陳侃如) b992322a3a Bug 767480 - PlanarYCbCrImage refactoring. r=roc 2012-08-21 17:31:36 +08:00
David Anderson 7ab97db10e Merge from mozilla-central. 2012-08-07 15:13:28 -07:00
Landry Breuil d85bac97b5 Bug 780409: Followup, remove extra comma at end of enum. r=jfkthame 2012-08-07 11:31:46 +01:00
David Anderson f2b01e4cbb Merge from mozilla-central.
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
Jonathan Kew 35700912b8 bug 780409 - updates to thebes harfbuzz integration for hb api changes. r=jdaggett 2012-08-06 11:42:20 +01:00
Jonathan Kew 9c344c83c6 bug 780409 - update harfbuzz to commit 8ba8042... to pick up improvements from toronto hackfest. r=jdaggett 2012-08-06 10:52:25 +01:00
David Anderson f0e6ae1aeb Merge from mozilla-central. 2012-08-03 18:58:30 -07:00
Matt Woodrow c8b229743e Bug 782808 - Apply the widget rotation to the gonk LayerManager at all times instead of only during the paint event. r=cjones 2012-08-15 13:10:40 +12:00
Ehsan Akhgari a09e69cee0 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Aryeh Gregor 291bfa222b Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03:00
Edwin Flores a0a458956f Bug 719286 - Fix SVG glyphs to work with Azure r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores f8d6f28538 Bug 719286 - Implement GetFontTable for downloaded fonts in linux r=karl 2012-09-06 16:58:47 +12:00
Edwin Flores 6cea6e0646 Bug 719286 - Support new OpenType-in-SVG table format r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores a8ea4d5da0 Bug 719286 - Use -moz-objectValue keywords in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores 1b4129c7f5 Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to SVG *-opacity fields in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores 00ae723fe4 Bug 719286 - Include SVG glyphs when calculating glyph extents r=jfkthame 2012-09-06 16:58:46 +12:00
Edwin Flores 008158c07b Bug 719286 - Fixed some SVG glyphs not rendering properly r=jwatt 2012-09-06 16:58:46 +12:00
Edwin Flores 4db701b991 Bug 719286 - Setup gfxTextObjectPaint wrapper for SVG glyphs to inherit outer text object paint r=roc 2012-09-06 16:58:46 +12:00
Edwin Flores 3b0fe9adec Bug 719286 - Add new gfxTextObjectPaint paint wrapper for use with SVG glyphs r=roc 2012-09-06 16:58:46 +12:00
Edwin Flores ca569f62dc Bug 719286 - Basic OpenType SVG functionality r=roc 2012-09-06 16:57:54 +12:00
Edwin Flores 5e83da96d5 Bug 719286 - Add OTS support for OpenType SVG table r=jfkthame 2012-09-06 16:57:02 +12:00
Edwin Flores 9b5bc40bde Bug 719286 - Extend gfxFontUtils::MapCharToGlyph to accept variation selectors r=roc 2012-09-06 16:57:01 +12:00
Nicholas Cameron 4e0c1c1461 Bug 722217; keep only a single snapshot. r=jrmuizel 2012-09-06 16:07:53 +12:00
David Anderson b1e8dd2805 Merge from mozilla-central. 2012-08-02 13:47:20 -07:00
Robert O'Callahan 676bce6e67 Bug 778045. Add helpful comment to ImageContainer explaining its modes. r=bas 2012-08-03 15:23:27 +12:00
Cameron McCormack a273d9a029 Bug 655877 - Part 25: Give gfxTextRuns the ability to invoke a callback after painting glyphs and partial ligatures. r=roc 2012-08-08 21:37:12 +10:00
Nicholas Cameron 7ba2f80762 Bug 779650; handle Cairo DrawTargets in CanvasLayerD3D10; r=bas 2012-08-02 16:01:05 +12:00
David Anderson bd3a52c3e2 Merge.
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
Jonathan Watt 45c94a3377 Bug 777430 - In BasicLayerManager::PushGroupForLayer, call the less expensive gfxContext::PushGroup instead of gfxContext::PushGroupAndCopyBackground when possible. r=roc. 2012-08-01 11:03:42 +01:00
Jeff Muizelaar dd0d7af561 Bug 779636. Add SAMPLE_LABELS to gralloc implementation. r=cjones
--HG--
extra : rebase_source : ea66610435b3974607bcb8705912004ad3090b4c
2012-08-01 15:49:59 -07:00
David Anderson 56597a8412 Merge from mozilla-central. 2012-07-31 17:19:41 -07:00
Nicholas Cameron 5dd825ba63 Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849 2012-07-31 18:17:23 +12:00
Nicholas Cameron 77df30f28c Bug 779001. Falling back to Cairo for large canvases. r=roc 2012-07-31 13:46:05 +12:00
Nicholas Cameron 883ca8cb74 Bug 776802; Give better info about Azure. r=Bas 2012-07-31 13:45:59 +12:00
Nicholas Cameron f296218e72 Bug 718849; patch to keep Skia up to date. r=gw280 2012-07-31 12:58:14 +12:00
David Anderson e7f516869b Merge from mozilla-central. 2012-07-30 13:15:39 -07:00
Mark Finkle ecceaf8977 Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580) 2012-07-30 14:36:12 -04:00
Chris Jones f55e36f91d Bug 781024: Use the current decoded image as the reference for allocation. r=roc 2012-08-08 10:51:40 -07:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky f8268417e9 Bug 778496 - Layer should store ComputedTimingFunction directly rather than as a pointer r=roc 2012-07-29 18:59:26 -07:00
Nicholas Cameron e9faa0eec1 Backout bug 718849 2012-07-30 11:40:42 +12:00
Nicholas Cameron 52c22cb8c0 Bug 718849; patch to keep Skia up to date. r=gw280 2012-07-30 10:35:54 +12:00
David Anderson b8519fb4f1 Merge from mozilla-central. 2012-07-26 18:19:02 -07:00
David Anderson 8e99468375 Merge from mozilla-central. 2012-07-25 14:30:08 -07:00
David Anderson 8027cb08c0 Merge from mozilla-central. 2012-07-24 16:32:08 -07:00
Matt Brubeck 90029e0bf6 Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures 2012-07-23 20:25:51 -07:00
David Anderson 04a683031c Merge from mozilla-central. 2012-07-23 12:37:49 -07:00
Matt Brubeck b9fbf3dea9 Back out 9fb78d71f361, 28f8ce199bed, 78ffaa79a3de, 9f6f9b74d685 (bug 779940 and bug 778036) because of Android failures 2012-08-06 21:59:01 -07:00
Matt Woodrow 4df6703052 Bug 779940 - Add a ShadowLayer transaction fps counter. r=cjones 2012-08-07 15:00:42 +12:00
Matt Woodrow 4b08c58146 Bug 778036 - Only mark Layers as Mutated if the property values are different. r=roc 2012-08-07 15:00:41 +12:00
Matt Woodrow 792c71324e Bug 778036 - Retain RefLayers instead of creating them every frame. r=roc 2012-08-07 15:00:41 +12:00
Karl Tomlinson ddce1daf02 b=779786 check fbconfig alpha instead of buffer size against render format r=mattwoodrow
--HG--
extra : transplant_source : %B6%E0%DDdG%F0%93%88%02%DDKf%D7%F8%9E%98%2A%19%92%BB
2012-08-07 13:22:23 +12:00
Ed Morley 5162e724a0 Backout b4a63a0b90c2 (bug 778420), b849f1b3859a (bug 778420), d522b5a13b27 (bug 72964), 3a12c64bf53a (bug 778420), c07148142675 (bug 726053) for failures in test_bug435425.html on a CLOSED TREE 2012-08-07 00:57:27 +01:00
Bobby Holley 2adf92413a Bug 778420 - Fix up tests that don't like the new enablePrivilege, r=jmaher.
--HG--
extra : rebase_source : 07565c66b279ba5a58b5902b697110f940c255fd
2012-08-06 22:38:19 +02:00
Daniel Holbert 1574c75a77 Bug 780680: Remove never-read variable 'prevGlyphCharIndex' from gfxHarfBuzzShaper::SetGlyphsFromRun(). r=jfkthame 2012-08-06 13:34:38 -07:00
Sergey Glushchenko a2ebf3852f Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00
Robert O'Callahan 13a40a7a24 Backout c1878d925ef5 (bug 776940) due to leaks on Mac 2012-07-25 17:39:47 +12:00
Chris Jones 42c7cd078e Bug 776940: Fix shutdown protocol of shadow OGL layers. r=roc 2012-07-24 19:46:32 -07:00