George Wright
39ab722a10
Bug 740191 - [Skia] Fix SkBlitRow_opts_arm.cpp for compiling with NEON and Thumb enabled. r=mattwoodrow
2012-03-28 22:23:28 -04:00
George Wright
acc9c1e114
Bug 740187 - [Skia] Prevent the ARM implementation of memset16 from failing if count=0 r=mattwoodrow
2012-03-28 22:20:55 -04:00
George Wright
79f76b0311
Bug 740138 - [Skia] Use SkDebug_android for Android instead of SkDebug_stdio. r=mattwoodrow
2012-03-28 18:27:01 -04:00
Nathan Froyd
9b00237249
Bug 739635 - fix -Wunused-but-set-variable warnings in gfx/thebes/; r=jrmuizel
2012-03-27 11:55:54 -04:00
Ali Juma
ac0e992650
Bug 735230 - Part 4: Don't call MakeCurrent with a context and without a surface. r=gw280
2012-03-28 18:00:41 -04:00
Ali Juma
170d63ff3e
Bug 735230 - Part 1: Add Pause and Resume messages to PCompositor. r=bgirard
2012-03-28 18:00:10 -04:00
Jonathan Kew
9451ea58a6
bug 739925 - port OTS bug-fix from upstream rev.83. r=jdaggett
2012-03-28 11:12:51 -07:00
Chris Lord
dad1744a74
Bug 739604 - Split out dumping of paint buffers from paint lists. r=mattwoodrow
...
Split dumping of paint buffers into a separate environment variable, vs.
dumping of paint buffers to allow for dumping only of paint lists.
2012-03-28 19:10:28 +01:00
Chris Lord
6538a6eb7e
Bug 739604 - Check if output file is valid before printing. r=mattwoodrow
...
Check that gfxUtils::sDumpPaintFile isn't NULL before calling print functions
in Layers.cpp:WriteSnapshotToDumpFile_internal().
2012-03-28 19:10:22 +01:00
Chris Lord
24ec18f899
Bug 739604 - Don't leave mCurrentImage in an inconsistent state. r=ajuma
...
Setting MOZ_DUMP_PAINT_LIST when using tiled textures was causing crashes, one
of which was due to TextureImage function calls happening outside of tile
iteration and accessing invalid memory.
Fix this crash by reverting NextTile behaviour to never leave mCurrentImage
point to an invalid tile, as was the case prior to bug 732917.
2012-03-28 19:10:10 +01:00
Jonathan Kew
cfa00ea9ff
bug 688125 - part 1 - add memory reporting for the platform font list. r=njn
2012-03-27 14:38:39 -07:00
Ehsan Akhgari
55f5039ade
Backed out changeset 690cba3bb817 (bug 719776) because of build failures
2012-04-03 17:49:59 -04:00
Matt Woodrow
b07592468b
Bug 719776: Kill some external dependencies inside Azure code. r=Bas
2012-03-05 13:12:15 +13:00
Bas Schouten
5c56511c71
Bug 740815 - Part 3: Use component alpha rendering when required and drawing content with Azure. r=jrmuizel
2012-04-03 22:25:52 +02:00
Bas Schouten
466e713be2
Bug 740815 - Part 2: Generalize code for filling component alpha surfaces with opaque colors. r=jrmuizel
2012-04-03 22:25:52 +02:00
Bas Schouten
f7962e5181
Bug 740815 - Part 1: Add DrawTargetDual to Azure for Component Alpha drawing. r=jrmuizel
2012-04-03 22:25:52 +02:00
Jonathan Kew
3db8fb754a
bug 231162 - support custom casing behavior for Turkish and similar writing systems. r=smontagu
2012-03-27 08:49:03 -07:00
Jim Mathies
7d34124216
Bug 737988 - Disable Win8 memory reportder due to missing headers in the latest consumer preview. r=jmuizelaar DONTBUILD
2012-03-27 08:42:03 -05:00
Jeff Muizelaar
345836408c
Bug 738919. Accept dash arrays of length > 0. r=mwoodrow
...
I copied a bug from the skia code here. This fixes the CG
version and puts a note into the skia code.
2012-03-26 22:50:08 -04:00
Oleg Romashin
e8955b072d
Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt
2012-03-22 16:24:40 -07:00
Oleg Romashin
c6605360b3
Bug 739095 - Offscreen context without offscreen texture does not need YFlip. r=jgilbert
2012-03-26 12:56:10 -04:00
Benoit Jacob
3ee00f35ed
Bug 737182 - limit max texture size on Mac Intel driver - r=bgirard
2012-03-26 12:15:53 -04:00
Jeff Gilbert
ab6e9099ad
Bug 735378 - Cache temporary composite surfaces - r=bgirard
2012-03-25 12:50:26 -07:00
Oleg Romashin
8b91f70e77
Bug 738865 - Use Small Tiles should not be Android only. r=chrislord.net,bgirard
2012-03-24 18:08:06 -04:00
Jonathan Kew
8a54d3120f
bug 688125 - part 2 - add memory reporting for fonts in the gfxFontCache. r=njn
2012-03-23 12:14:16 +00:00
Oleg Romashin
54e4efabc5
Bug 735602 - Add possibility to choose EGL backend on Non-Maemo Linux/Qt/Gtk builds instead ofo GLX. r=jgilbert
2012-03-23 14:43:52 -04:00
Jeff Gilbert
0c50aa229e
Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew
2012-03-23 15:10:50 -07:00
Jonathan Kew
9b9ab028c6
bug 738197 - handle potential failures in gfxFont::GetShapedWord more robustly. r=roc
2012-03-23 12:13:33 +00:00
Ryan VanderMeulen
68314a3f20
Backout 1152d14294df, 18c70ab50559, dbd51616925a, 730c2e84247f, and 7beb8fd46629 due to perma-hangs on WinXP debug moth. (test_memoryReporters.xul | application timed out after 330 seconds with no output)
2012-03-23 17:04:28 -04:00
Chris Lord
3b90179676
Bug 738740 - Fix handling of parameters in nsTArray::ReplaceElementAt. r=bz
...
Handle the parameters given to ReplaceElementAt the same way as those given to
other methods in the class. This allows removal of the & in GLContext.cpp that
was taking the address of a temporary, and causing a build error when using
clang, or when using GCC with particular parameters.
2012-03-23 19:27:25 +00:00
Jonathan Kew
4337005959
bug 688125 - part 2 - add memory reporting for fonts in the gfxFontCache. r=njn
2012-03-23 12:14:16 +00:00
Jonathan Kew
d7d00f5d4d
bug 688125 - part 1 - add memory reporting for the platform font list. r=njn
2012-03-23 12:14:06 +00:00
Jonathan Kew
7322fce6c4
bug 738197 - handle potential failures in gfxFont::GetShapedWord more robustly. r=roc
2012-03-23 12:13:33 +00:00
Chris Lord
15d21e7d38
Bug 737434 - Reuse tiles when resizing tiled textures. r=bgirard
...
Instead of scrapping all tiles when a tiled texture is resized, reuse as many
tiles as possible. Strictly speaking, more tiles could be reused, but the
selected reuse strategy maintains the spacial structure of the texture, and we
don't often resize in such a way as to make this inefficient.
2012-03-23 11:30:57 +00:00
Matt Brubeck
2866761d14
Back out 636349fa2e09 because of robocop failures
2012-03-22 19:07:42 -07:00
Marco Bonardo
1ffefb8021
Merge central to inbound
2012-03-23 02:02:03 +01:00
Marco Bonardo
36b3350337
Merge last green PGO from inbound to central
2012-03-23 01:59:29 +01:00
Andreas Gal
569a76795b
Use BGRX shader for RGB24 image surfaces (bug 738178, r=joe).
2012-03-22 11:37:47 -07:00
Ehsan Akhgari
ccd236979e
Bug 737909 - Add a patch file to gfx/cairo; r=joe
...
DONTBUILD
2012-03-22 11:37:19 -04:00
Ehsan Akhgari
9bb38b7a83
Bug 737909 - Address Joe's review comment; r=joe
2012-03-22 11:32:08 -04:00
Rafael Ávila de Espíndola
2445a4546c
Bug 737909 - Fix opt -Werror build with clang; r=joe
2012-03-22 11:30:08 -04:00
Jeff Gilbert
8e1705e107
Bug 735378 - Cache temporary composite surfaces - r=bgirard
2012-03-22 15:04:25 -07:00
Oleg Romashin
1b9ac87ccb
Bug 738137 - Try to create PBuffer offscreen context on NON-X11 builds always. r=jgilbert
2012-03-22 13:25:03 -07:00
Oleg Romashin
b87df218fe
Bug 733922 - Fix Qt port compilation with --enable-skia. r=gwright
2012-03-22 13:24:57 -07:00
Chris Jones
e0b9a354c2
Bug 738158, part 2: Set the wrap mode for cairo images. r=ajuma
2012-03-22 01:02:59 -07:00
Chris Jones
c3ce3d333d
Bug 738158, part 1: Remove unnecessary settings from InitTexture(). UploadSurfaceToTexture() and SetFilter/ApplyFilter() do these now. r=ajuma
2012-03-22 01:02:29 -07:00
Oleg Romashin
8cdd7da1d2
Bug 736802 - Qt EGL Maemo compilation broken. r=joe
2012-03-21 16:14:14 -07:00
Oleg Romashin
e74b6215cf
Bug 737354 - Embedding initialize GL context before gfxPlatform::Init. r=roc
2012-03-21 16:14:09 -07:00
Oleg Romashin
233e3b3dce
Bug 733562 - Offscreen FBO must not be created for Global Shared context. r=bjacob
2012-03-21 16:13:59 -07:00
Chris Jones
80c67b1ddc
Bug 737071: Remove LayerManagerOGL::glForResources() because it's not needed and causes performance degradtion sometimes. r=Bas
2012-03-21 22:48:41 -07:00
Nicholas Nethercote
3b8fa5f259
merge
2012-03-21 21:57:29 -07:00
Nicholas Nethercote
6ae6850783
merge
2012-03-21 21:48:40 -07:00
Nicholas Nethercote
c4ee2f9bdc
Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me.
2012-03-21 21:46:27 -07:00
Oleg Romashin
3a4102f73d
Bug 735164 - Handle properly WebGL offscreen context in Platform context environment. r=jgilbert
2012-03-21 17:16:31 -07:00
Nicholas Nethercote
5524d35c04
Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt.
2012-03-15 19:40:00 -07:00
Robert O'Callahan
6b10b198ee
Bug 723484. Fix alpha values for image layers with opacity. r=bas
2012-03-20 20:55:40 +13:00
Jeff Muizelaar
ac3b70e489
Bug 737686. Avoid glTexSubImage2D on PowerVR hardware. r=gwright
...
glTexSubImage causes a readback on PowerVR hardware if the texture
has already been uploaded. Disabling CanUploadSubTextures() brings
the median upload speed from 26ms to 10ms.
2012-03-20 19:13:50 -04:00
Hessam Salehi
25b8143afe
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Mounir Lamouri
4ccbf5168d
Merging mozilla-inbound into mozilla-central.
2012-03-21 11:29:28 +01:00
Jonathan Kew
0d8c9ce9cc
bug 717175 - disable the timed expiration of shaped-word caches. r=roc
2012-03-21 09:01:08 +00:00
Robert O'Callahan
6043980c79
Bug 723484. Fix alpha values for image layers with opacity. r=bas
2012-03-20 20:55:40 +13:00
Daniel Holbert
7577dd6224
backout 1383ac50bcff (bug 723484) for remote image & occasional 'load failed: null' in reftest reference case
2012-03-20 10:22:53 -07:00
Daniel Holbert
b7b65ae384
backout 1383ac50bcff (bug 723484) for remote image & occasional 'load failed: null' in reftest reference case
2012-03-20 10:22:53 -07:00
Michael Wu
d0a906daea
Bug 736902 - Remove support for unused SetSwapRectangleANDROID symbol, r=gal
2012-03-18 22:49:37 -04:00
Dão Gottwald
581bf17aa7
Backed out changeset 57d368003eb8
2012-03-20 13:13:24 +01:00
Oleg Romashin
e01cc78163
Bug 733562 - Offscreen FBO must not be created for Global Shared context. r=bjacob
2012-03-20 12:23:14 +01:00
Kartikaya Gupta
f83cb46c1d
Bug 731603 - Propagate a layersUpdated flag to Java for robocop use. r=ajuma
2012-03-20 00:06:56 -04:00
Kartikaya Gupta
3e34d0c2b0
Bug 731603 - Propagate the resolution of the painted content into syncViewportInfo as well. r=Cwiiis
2012-03-20 00:05:45 -04:00
Nicholas Nethercote
6192f34efa
Bug 731923 - Convert the N "gfx-surface" memory reporters to a single multi-reporter. r=jlebar.
...
--HG--
extra : rebase_source : 176ed4f7e417b3f8fc4247b8f976ab6c47dc565f
2012-03-18 14:59:17 -07:00
Masatoshi Kimura
39dd177660
Bug 736435 - Restore GetProcAddress check for t2embed library. r=jdaggett
2012-03-19 18:52:08 -04:00
Ali Juma
97d97c018c
Bug 720353 - Backout of 964b118ac852 (Bug 694964). r=bgirard
2012-03-19 17:22:21 -04:00
Igor Bukanov
877dee50e1
bug 736978 - remove JS_FinalizeStub. r=:billm
...
Currently the GC finalizes on the background thread only objects with null
JSClass::finalize. However, this implies that any object that uses
JS_FinalizeStub for the finalizer would be prevented from the background
finalization.
To fix this the patch removes JS_FinalizeStub replacing it with NULL in all
cases when the class has no custom finalizer. For style consistency the patch
also removed the usage of JSCLASS_NO_OPTIONAL_MEMBERS in the static
declarations as the compiler fills the missing fields with null in any cases.
2012-03-19 15:27:58 +01:00
Bas Schouten
cc315e75c8
Bug 736134 - Followup: Put last parameter into an if-block. r=jrmuizel
2012-03-19 19:26:17 +00:00
Bas Schouten
c26eb25c96
Bug 736134 - Part 3: Use GlyphRenderingOptions API when drawing Azure fonts. r=jrmuizel
2012-03-19 19:20:18 +00:00
Bas Schouten
a1ccebc00b
Bug 736134 - Part 2: Add RenderingParams object creation to gfxWindowsPlatform. r=jrmuizel
2012-03-19 19:20:18 +00:00
Bas Schouten
ef709193e2
Bug 736134 - Part 1: Add GlyphRenderingOptions API to Azure. r=jrmuizel
2012-03-19 19:20:17 +00:00
Chris Lord
e5a870b5b0
Bug 736850 - Cancel progressive upload task on buffer destruction. r=bgirard
...
Make sure to cancel the progressive upload task when destroying the
front-buffer. This also changes the Destroy method to call DestroyFrontbuffer
instead of just assigning nsnull to mBuffer.
2012-03-19 14:38:34 +00:00
Oleg Romashin
72d4633e87
Bug 736875 - Compositor perf warning need to be filtered up to 15ms. r=bgirard
2012-03-19 12:55:37 +01:00
Robert O'Callahan
aeaeb5b326
Bug 700867. Don't allow rotation when we're drawing a BasicThebesLayer that needs to be drawn atomically. r=tnikkel
2012-03-19 13:01:47 +13:00
Robert O'Callahan
5712a75420
Bug 664764. Part 3: Don't record memory used by gfxWindowsSurface if we actually failed to allocate the surface. r=mattwoodrow
2012-03-19 12:36:33 +13:00
Robert O'Callahan
ac18525123
Bug 664764. Part 2: Make PushGroupWithCachedSurface always return a valid context even if getting the cached surface fails. r=mattwoodrow
2012-03-19 12:36:28 +13:00
Robert O'Callahan
af76cef13a
Bug 664764. Part 1: Change assertion to warning since it can happen due to resource exhaustion. r=mattwoodrow
2012-03-19 12:36:22 +13:00
Nicholas Nethercote
d32d1f56c9
Bug 732842 - Add assertions for memory reports. r=jlebar.
2012-03-15 15:16:11 -07:00
Andreas Gal
726b80aae8
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:22:22 -07:00
Andreas Gal
e5235c2601
Backout bug 736716.
2012-03-17 15:20:01 -07:00
Andreas Gal
4166d84daf
Follow-up fix for bug 736716 (fix bad style fix).
2012-03-17 15:07:22 -07:00
Andreas Gal
4e2055256d
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:02:02 -07:00
Benoit Girard
bb93bde972
Bug 736743 - Fix LayerManagerOGL Description. r=ajuma
2012-03-17 12:44:45 -04:00
Chris Lord
c456a36f39
Bug 732756 - Fix overdrawing of checkerboard. r=kats
...
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-17 15:08:22 +00:00
Chris Lord
80fb273e5d
Bug 732917 - Upload textures progressively. r=bgirard
...
When using double-buffering in ShadowThebesLayerOGL, upload texture data
progressively.
2012-03-17 12:07:02 +00:00
Chris Lord
43189d6c13
Bug 732917 - Upload to texture on demand. r=bgirard,mattwoodrow
...
Add functions to do progressive texture upload and only upload to texture on
draw-demand. This is a building block towards asynchronous texture upload.
2012-03-17 12:07:02 +00:00
Chris Lord
0c11c7ad0c
Bug 732917 - Enable double-buffering on Android. r=ajuma
...
Add support for double-buffering to ThebesLayerOGL, and enable it on Android.
Double-buffering should allow us to more easily implement progressive texture
upload.
2012-03-17 12:07:02 +00:00
Chris Lord
1bb6846373
Bug 732917 - Remove ShadowLayers::ShouldDoubleBuffer. r=cjones
...
This function has been unused since bug #690469 .
2012-03-17 12:06:29 +00:00
Chris Lord
7fb495f3bd
Bug 732917 - Use tile iteration functions in DirectUpdate. r=ajuma
...
So that the tile iteration callback remains useful, use the public iteration
functions when iterating over tiles in TiledTextureImage::DirectUpdate.
2012-03-17 12:06:29 +00:00
Chris Lord
68fd5151c9
Bug 732917 - Add a callback function for tile iteration. r=ajuma
...
Add the ability to set a callback function to be called on tile iteration.
2012-03-17 12:06:29 +00:00
Jonathan Kew
f7a9f13e00
bug 721719 - try Roboto as well as Droid Sans for fallback on Android. r=jdaggett
2012-03-17 09:39:09 +00:00
Jonathan Kew
fab232caed
bug 721719 - ignore the GSUB table in Roboto on Android because of bad ligature rule. r=jdaggett
2012-03-17 09:38:42 +00:00
Oleg Romashin
fe1ebdecc4
Bug 726461 - cairo-qt-surface not compiling with Qt5. r=jrmuizel
2012-03-16 18:36:28 -04:00
George Wright
1ec77ce75f
Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe
...
--HG--
extra : rebase_source : f4f057f354772ff38d37fbc6e179f3cde9e218d1
2012-03-16 18:24:12 -04:00
Ryan VanderMeulen
2f1650c3ae
Backout d5b66e64cf44 (bug 732756) to see if it fixes Android crashtests.
2012-03-16 17:17:22 -04:00