Commit Graph

3586 Commits

Author SHA1 Message Date
Jonathan Kew
4c1ba6f5c6 bug 970891 - don't assume the primary font will always support the <space> character - fall back down the font stack if necessary. r=roc 2014-02-11 15:28:21 +00:00
Ryan VanderMeulen
f92dcbf5b8 Backed out changesets e7c4304d45d7 and 75d3146ac0d3 (bug 970891) for Android reftest failures.
CLOSED TREE
2014-03-06 11:00:26 -05:00
Jonathan Kew
f76b1b0f97 bug 970891 - don't assume the primary font will always support the <space> character - fall back down the font stack if necessary. r=roc 2014-02-11 15:28:21 +00:00
James Willcox
15d30be7c6 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
James Willcox
af36ac34fa Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-03-05 15:48:58 -06:00
Milan Sreckovic
fb55707309 Bug 910860: Use gfxPrefs to make sure preferences are evaluated on the main thread. This still leaves the preference re-evaluated all the time, not just at startup. Changing that is another bug. r=bgirard. 2014-03-05 16:25:09 -05:00
Jonathan Watt
a3cd74ca10 Bug 950368 - Make nsWindowsShellService's WriteBitmap act on a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-03-04 16:56:44 +00:00
John Daggett
0d07a5d164 Bug 969388 - Null-check the bundle ID to avoid 10.9 crash in CTFontManagerSetAutoActivationSetting. r=smichaud 2014-03-05 14:18:38 -05:00
Ed Morley
019fe21d03 Backed out changeset fe2afc55a0d1 (bug 950368) for shutdown crashes on B2G 2014-03-05 17:10:38 +00:00
Jonathan Watt
3265c1e87b Bug 950368 - Make nsWindowsShellService's WriteBitmap act on a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-03-04 16:56:44 +00:00
Ryan VanderMeulen
760e2a311f Backed out changeset 6f05267b4afc (bug 798033) for Android bustage. 2014-03-05 09:55:52 -05:00
snigdha
ef5d7c4e73 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-03-05 08:47:45 -05:00
Milan Sreckovic
000e6f1c01 Bug 978274: Initialize gfxPrefs earlier, rename some methods, delete MigratePrefs from gfxPlatform. r=bgirard. 2014-03-04 12:26:33 -05:00
Ehsan Akhgari
b49ab8c371 Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium
--HG--
extra : rebase_source : fe4cd059eddda221af420e1517250772816d7ee8
2014-03-02 15:41:32 -05:00
Milan Sreckovic
c1642686f2 Bug 971943: 6. gfx.android.rgb16.force (startup only), gfx.gralloc.fence-with-readpixels (changing during session) moved to gfxPrefs. r=sikeda. 2014-03-03 17:11:06 -05:00
Milan Sreckovic
edbcc2ade0 Bug 971943: 5. Add float support to gfxPrefs. apz.max_event_acceleration, apz.fling_friction, apz.fling_stopped_threshold, apz.max_velocity_queue_size, apz.max_velocity_pixels_per_ms preferences moved to gfxPrefs. r=kgupta. 2014-03-03 11:53:21 -05:00
L. David Baron
6309185008 Bug 978603: Make sure implicit copy constructors and assignment operators aren't invoked for gfxGlyphExtents (which would at least mess up leak statistics if not actually leak). r=jfkthame
Originally written while investigating bug 435138.
2014-03-03 00:54:39 -08:00
L. David Baron
c0da0d8d69 Bug 978608: Shut down pango's fontmap cleanly and shut down fontconfig, #if CLEANUP_MEMORY. r=karlt
This bumps the minimum required pango version to 1.22, released 29 Sep 2008.
2014-03-03 00:54:38 -08:00
Jonathan Kew
2af5986c8c bug 978313 - initialize matchType appropriately for run-initial control chars that default to the primary font. r=jdaggett 2014-03-03 08:02:05 +00:00
Jonathan Kew
98643bcab5 bug 978129 - don't assert when decoding empty 'name' table strings. r=jdaggett 2014-03-02 14:52:12 +00:00
Milan Sreckovic
d0b2a48907 Bug 971943: 4. gfx.layerscope.port and gfx.layerscope.enabled moved to gfxPrefs. r=dglastonbury 2014-02-28 12:59:38 -05:00
Milan Sreckovic
d62526b056 Bug 971943: 3. gfx.apitrace.enabled (ANDROID only) preference moved to gfxPrefs. r=gwright 2014-02-28 12:59:38 -05:00
Milan Sreckovic
7cd9dd961f Bug 971943: 2. webgl.force-layers-readback preference moved to gfxPrefs. r=gw280 2014-02-28 12:59:37 -05:00
Matt Woodrow
cf387ac0d5 Bug 970294 - Set our surface offset as a gfxContext device offset instead of a transform so that other callers don't accidentally overwrite it. r=nrc 2014-02-28 12:32:38 +13:00
Andrew McCreight
537eb6fa81 Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug 2014-02-27 10:04:09 -08:00
Milan Sreckovic
7411ab19ed Bug 971942: 7. gfx.canvas.skiagl.dynamic-cache, gfx.canvas.skiagl.cache-items, gfx.canvas.skiagl.cache-size moved to gfxPrefs. r=jwillcox 2014-02-26 21:53:32 -05:00
Milan Sreckovic
cdd2e94e6e Bug 971942: 6. layers.low-precision-resolution, layers.prefer-opengl, layers.prefer-d3d9, layers.enable-tiles, gfx.direct2d.disabled, gfx.direct2d.force-enabled, moved to gfxPrefs. r=bschouten 2014-02-26 21:53:32 -05:00
Milan Sreckovic
bc67325654 Bug 971942: 5. nglayout.debug.widget_update_flashing, canvas.azure.accelerated, layers.offmainthreadcomposition.enabled, layers.offmainthreadcomposition.testing.enabled, layers.offmainthreadcomposition.force-enabled, layers.acceleration.disabled moved to gfxPrefs. r=bschouten 2014-02-26 21:53:32 -05:00
Milan Sreckovic
5c4cd11666 Bug 971942: 4. layers.frame-counter, layers.draw-borders, layers.draw-tile-borders, layers.draw-bigimage-borders, layers.dump, layers.frame-counter, layers.progressive-paint, layers.low-precision-buffer moved to gfxPrefs. r=nsilva 2014-02-26 21:53:31 -05:00
Milan Sreckovic
6d1dbe84a1 Bug 971942: 3. layers.bufferrotation.enabled, layers.componentalpha.enabled, layers.scroll-graph, layers.acceleration.disabled, layers.acceleration.force-enabled moved to gfxPrefs. r=clord 2014-02-26 21:53:27 -05:00
Milan Sreckovic
6e2f6474ed Bug 971942: 2. layout.frame_rate, layers.offmainthreadcomposition.frame-rate, layers.orientation.sync.timeout moved to gfxPrefs. The layers.offmainthreadcomposition.frame-rate is also changed to be a live preference so it does not need a restart. r=bgirard 2014-02-26 21:52:54 -05:00
Milan Sreckovic
130b7127d6 Bug 971942: 1. layers.async-video.enabled moved to gfxPrefs and only evaluated at startup. r=nsilva 2014-02-26 21:52:54 -05:00
Wes Kocher
cc152eb194 Merge m-c to inbound on a CLOSED TREE 2014-02-26 18:31:11 -08:00
Vivien Nicolas
74847b35f8 Bug 977207 - The fps counter requires a restart to be displayed. r=bgirard 2014-02-26 23:12:35 +01:00
L. David Baron
4f04bcdc57 Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
John Daggett
4d834aff1c Bug 975460 - check for null CTFontRef after creation. r=jfkthame 2014-02-25 16:37:26 +09:00
Jonathan Watt
604a1818a3 Bug 975900 follow-up to fix unified build failures. r=me on CLOSED TREE 2014-02-25 01:30:48 +00:00
Jonathan Watt
0a103c1cd1 Bug 975900 - Convert imgUtils to Moz2D (from gfxASurface to SourceSurface). r=mattwoodrow
--HG--
extra : rebase_source : aaa405346704d67005a4453de34cf67d68e2a7c6
2014-02-25 00:51:45 +00:00
Matt Woodrow
b8b50d2bf0 Bug 680817 - Keep GLXPixmaps bound to textures between updates on NVIDIA drivers to improve performance. r=joe 2014-02-25 12:56:51 +13:00
Milan Sreckovic
a6a3b6984a Bug 946907: Make sure GLContext reads preferences through gfxPrefs which means it's done on the main thread. Rename the macro to DECL_GFX_PREF before it gets used in a lot of places. r=bjacob 2014-02-22 18:53:04 -05:00
Ryan VanderMeulen
1a0c77dcbf Backed out changeset 18183f6ef0d8 (bug 910860) for xpcshell and reftest failures. 2014-02-21 12:35:35 -05:00
Milan Sreckovic
ea2805327e Bug 910860 - Use gfxPrefs to make sure preferences are evaluated on the main thread. This still leaves the preference re-evaluated. r=BenWa 2014-02-18 19:55:48 -05:00
Oleg Romashin
e5c33da3e3 Bug 974335 - Refactor Qt Widget Backend implementation. Qt Only changes NPDB. r=romaxa
--HG--
rename : dom/system/unix/Makefile.in => dom/system/qt/Makefile.in
rename : dom/system/unix/QTMLocationProvider.cpp => dom/system/qt/QTMLocationProvider.cpp
rename : dom/system/unix/QTMLocationProvider.h => dom/system/qt/QTMLocationProvider.h
rename : dom/system/unix/nsHapticFeedback.cpp => dom/system/qt/QtHapticFeedback.cpp
rename : dom/system/unix/nsHapticFeedback.h => dom/system/qt/QtHapticFeedback.h
rename : dom/system/unix/moz.build => dom/system/qt/moz.build
2014-02-20 18:09:02 -08:00
Bill McCloskey
61c692b5b4 Bug 974007 - Change OMTC behavior when browser.tabs.remote is set (r=mattwoodrow,felipe) 2014-02-20 17:26:41 -08:00
Wes Kocher
09174e398b Backed out changeset cf6a31bca4e0 (bug 939276) for webgl reftest crash
--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-20 15:23:52 -08:00
James Willcox
1715424e2c Bug 939276 - Use a single GLContext for all SkiaGL canvases r=vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
extra : rebase_source : 8e85dd34a67c2e193480e9f1f5baf68a898790fe
2014-02-20 16:20:28 -06:00
Ryan VanderMeulen
41ed3ca169 Backed out changesets a6831c02d8cf, 5ab4f97a3220, 2784838dbc94, and 6364146ddb19 (bug 973892) for B2G bustage.
CLOSED TREE
2014-02-19 14:28:05 -05:00
Nicolas Silva
49e89a77d5 Bug 973892 - Part 1) Choose the backend in ImageDataSerializer::GetAsDrawTarget. r=mattwoodrow 2014-02-19 18:17:40 +01:00
Jonathan Kew
a73992ed18 bug 973682 - ensure emHeight is initialized even if no 'head' table is available. r=karlt 2014-02-17 23:01:00 +00:00
Masatoshi Kimura
dfb3f0e76b Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc 2014-02-18 07:32:52 +09:00
Jonathan Kew
f4c52a42e7 bug 969504 - avoid using Segoe UI Light or Semibold for U+25B6 due to bad glyph on Win7. r=jdaggett 2014-02-17 11:23:57 +00:00
Jonathan Kew
870b11b46e bug 973380 - fix font metrics initialization for non-scalable fonts in the gfxFT2Fonts backend. r=karlt 2014-02-17 07:45:57 +00:00
Ehsan Akhgari
de8052b706 Backed out 2 changesets (bug 939276) because of build bustage
Backed out changeset 1cedc759f877 (bug 939276)
Backed out changeset 61cef3b533ba (bug 939276)

--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-14 18:48:05 -05:00
James Willcox
48175fc2e0 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=bjacob,gwright,dglastonbury
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-02-14 15:55:58 -06:00
Milan Sreckovic
76cb521333 Bug 971817 - GetLog statics are initialized too late. r=jdaggett 2014-02-14 10:27:47 -05:00
Milan Sreckovic
c349839321 Bug 912794 - Setup a place where graphics preferences can live, safe from multi-threading issues. r=bjacob 2014-02-13 12:38:40 -05:00
Tor Arvid Lund
b272755e2d Bug 948765 - Add a LayerUtils file in gfx/layers. r=nical
This file is currently just a helper for doing PremultiplySurface in
Moz2D. It corresponds to an existing Thebes one in the gfxUtils class.

An upcoming patch will require this PremultiplySurface method. The
existing one in gfxUtils has been renamed internally to
DeprecatedPremultiplyTables.
2014-02-12 10:07:46 -05:00
Masatoshi Kimura
e5fc47840c Bug 970483 - Fix the logic to determine the pre-RTM Windows 7. r=bbondy 2014-02-12 23:49:06 +09:00
Masatoshi Kimura
24b3683776 Bug 970483 - Part 2: Blackliist pre-RTM Windows 7 again. r=jfkthame 2014-02-12 06:01:30 +09:00
Ali Akhtarzada
f5a3044a06 Bug 970327 - Add PNG dump utils for SourceSurface. r=nical 2014-02-11 13:41:09 -05:00
Benoit Girard
828b60ea42 Bug 963821 - Port FPS counter to the Compositor API. r=bas
--HG--
rename : gfx/layers/opengl/FPSCounter.h => gfx/layers/composite/FPSCounter.h
2014-02-10 17:14:11 -05:00
Ali Akhtarzada
62cda5ac7c Bug 970331 - Make sure moz pattern is not set on cairo context. r=nical 2014-02-11 09:22:46 -05:00
Ehsan Akhgari
b870bb3fe9 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Jacek Caban
629992152d Bug 962440 - Fixed char16_t/wchar_t mismatch. 2014-02-10 12:05:36 +01:00
Ehsan Akhgari
72560b4770 Bug 970041 - Use fallible allocation in Windows font code; r=jfkthame 2014-02-09 11:34:22 -05:00
Robert O'Callahan
51238f35b6 Bug 947588. Part 2: Add gfxTextRunFactory::TEXT_HIDE_CONTROL_CHARACTERS to guard usage of IsInvalidControlChar. r=jfkthame
--HG--
extra : rebase_source : 2ce426ebf3ad1643038954bcb18553dec27153c9
2014-02-05 23:08:58 +13:00
Ms2ger
479e9f45c5 Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc 2014-02-09 09:04:38 +01:00
Bas Schouten
67fdd41586 Bug 969580 - Part 2: Discard everything in the surfacecache when Direct2D malfunctions. r=seth 2014-02-08 19:37:39 +00:00
Ehsan Akhgari
ef4e513fd2 Bug 969866 - Use fallible allocations in some places in our font/text shaping code; r=jfkthame
It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.
2014-02-08 13:10:07 -05:00
Milan Sreckovic
6c80c7a849 Bug 967794 - Pick up the low resolution preference during the session, not just at start. r=Cwiiis 2014-02-05 14:42:15 -05:00
Matt Woodrow
2587a356d2 Bug 952011 - Add gfx3DMatrix API for untransformed rects and points. r=bjacob 2014-02-04 12:25:22 +13:00
Michael Wu
08d08edcdd Bug 962667 - Don't optimize quartz image surfaces if there is nothing to do, r=jrmuizel 2014-01-31 17:57:14 -05:00
James Willcox
861f625b28 Bug 966344 - Use correct JNI call to invoke SurfaceTexture::updateTexImage() r=jchen 2014-01-31 11:41:43 -06:00
Frédéric Wang
831688287c Part 5 - Remove MOZ_OTS_REPORT_ERRORS, whitelist Graphite/SVG tables and use SetMessageCallback. b=941019, r=jfkthame. 2014-01-31 15:09:20 +00:00
Nicolas Silva
b554aa4651 Bug 965844 - Remove the pref "layers.prefer-memory-over-shmem". r=gal 2014-01-31 14:22:25 +01:00
Nicolas Silva
4faefc6f78 Bug 965804 - Ignore the deprecated texture pref except on Windows. r=Bas,Vlad 2014-01-31 14:17:11 +01:00
Phil Ringnalda
ca40ef84b6 Backed out 4 changesets (bug 952011)
CLOSED TREE

Backed out changeset da7b3853cbfd (bug 952011)
Backed out changeset 413375909458 (bug 952011)
Backed out changeset 577290ff145d (bug 952011)
Backed out changeset 89491b5d0af8 (bug 952011)
2014-01-30 21:44:41 -08:00
Matt Woodrow
075dc50551 Bug 952011 - Don't restrict Untransform points/rects to the child bounds if we're not a projective matrix. r=bjacob 2014-01-31 16:58:26 +13:00
Matt Woodrow
9779a44542 Bug 952011 - Add gfx3DMatrix API for untransformed rects and points. r=bjacob 2014-01-29 13:10:35 +13:00
Birunthan Mohanathas
e81a8f702d Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
James Kitchener
4c8c250776 Bug 953385 - Set math script where applicable in /gfx. r=jfkthame 2014-01-30 10:59:16 -05:00
Oleg Romashin
d253ed932f Bug 840874 - Get Skia backend working on Qt port. r=bas 2014-01-29 23:01:16 -08:00
Benoit Girard
b352a57e15 Bug 956263 - Add a preference to control the compositor frame-rate. r=mstange 2014-01-29 18:26:38 -05:00
Mats Palmgren
d5721ade20 Bug 957128 - Idempotent change to simplify the code a bit. r=smontagu 2014-01-29 14:45:23 +00:00
Mats Palmgren
4ec71bdcab Bug 957128 - Report hyphen breaks also for word-wrap:break-word (to display soft-hyphens). r=smontagu 2014-01-29 14:45:23 +00:00
John Daggett
c120c76d49 Bug 962440 - load font info for GDI font list. r=bas 2014-01-29 16:39:01 +09:00
John Daggett
6d0df5ae6d Bug 962440 - load font info for DirectWrite font list. r=bas 2014-01-29 16:39:01 +09:00
John Daggett
c9e2d7ffe4 Bug 962440 - async font info loader infrastructure with OSX implementation. r=bas 2014-01-29 16:39:01 +09:00
John Daggett
42902c1c20 Bug 962440 - move gfxFontInfoLoader into separate file. r=bas 2014-01-29 16:39:01 +09:00
John Daggett
c4bc34d1c5 Bug 962440 - refactor methods used for loading fontinfo data. r=bas 2014-01-29 16:39:00 +09:00
John Daggett
531be48b2d Bug 962440 - use CTFontManager to get the list of available font families. r=bas 2014-01-29 16:39:00 +09:00
Phil Ringnalda
b28c502af5 Backed out 5 changesets (bug 962786, bug 952011) for svg test_text_selection.html bustage
CLOSED TREE

Backed out changeset d7a6a64b42f0 (bug 962786)
Backed out changeset e50ced4f4040 (bug 952011)
Backed out changeset c9e6fd6d5a03 (bug 952011)
Backed out changeset 406540ed9da0 (bug 952011)
Backed out changeset d6f164b6421a (bug 962786)
2014-01-28 19:37:54 -08:00
Matt Woodrow
5b5e8d92fe Bug 952011 - Add gfx3DMatrix API for untransformed rects and points. r=bjacob 2014-01-29 13:10:35 +13:00
David Zbarsky
cbdd71e0f8 Bug 952977: Convert SnapTransforms to gfx::Matrix r=nical 2014-01-27 10:27:20 -05:00
David Zbarsky
39799d8dbd Bug 952977: Convert GetTextureTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:02 -08:00
Benoit Jacob
837160a1ff Bug 959380 - 5/5 - Make gfxMemoryLocation a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_MEMORY_\(IN_PROCESS_HEAP\|IN_PROCESS_NONHEAP\|OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1gfxMemoryLocation::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
93826fc6b0 Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
3846defaec Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
3369ca8bb6 Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
046f19e630 Bug 959380 - 1/5 - Make gfxBreakPriority a typed enum - r=jrmuizel 2014-01-23 13:26:39 -05:00
Nicholas Cameron
e32b7e7c65 Bug 962216. Assert the correct backend in gfxPlatform::CreateDrawTargetForData. r=mattwoodrow 2014-01-22 11:15:48 +13:00
guozhu cheng
ad7c57c25d Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar 2013-11-07 18:20:08 +08:00
David Zbarsky
8be21dc688 Bug 952977: Convert CreateMatrix to gfx::Matrix r=nical 2014-01-20 16:52:04 -05:00
Nicholas Cameron
93a47a9245 Bug 958363. Turn an error into a warning in gfxBlur. r=mattwoodrow 2014-01-21 10:46:27 +13:00
Jeff Muizelaar
1ccac80941 Bug 961783. Remove unneeded DDB optimization. r=vlad
As far as I can tell we always draw images to dc's that are in system memory.
In this case there's no upside to having ddb and a potential downside because
we have to do a readback from gpu into system memory.

--HG--
extra : rebase_source : e536721adc1de2bcff3300ee29c2d1c4b8c15ac0
2014-01-20 12:02:34 -05:00
Jim Chen
8cf891bd76 Bug 959237 - Define GetVM, GetJNIEnv, and GetJNIForThread as infallible; r=blassey
Currently when either of these methods fail, we log something and rely on the calling code to null check. Since these failures are serious and likely unrecoverable, it's better to define these methods as infallible and just crash if they do fail.
2014-01-17 23:32:24 -06:00
Michael Wu
38ab39f16e Bug 958008 - Avoid copying images on Android/Gonk when there's nothing to optimize, r=jrmuizel 2014-01-14 11:12:36 +08:00
Nicholas Cameron
6630c7c1c6 Bug 956967. Don't use direct2d if we forcing d3d9. r=Bas
--HG--
extra : rebase_source : 5a4505f9fe043cce965b11a0d1c33815d2b0be3e
2014-01-12 17:02:30 +13:00
Nicholas Cameron
07571f1ffe Bug 956967. If we have to fallback to our default Azure backend, we must support that backend. r=nical
--HG--
extra : rebase_source : 2cc8d34078df6db64353cf5236572f085c2be72e
2014-01-12 17:02:18 +13:00
Benoit Jacob
06f7a9c4a2 Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
3a7886f0e9 Bug 958375 - 7/9 - Make Font-related enums typed - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
2d5774ca0a Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
55e7c24065 Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
6cdb25269c Bug 958368 - Remove the code paths to load a custom Mesa/llvmpipe build instead of system OpenGL (sadface) - r=jgilbert 2014-01-10 13:55:23 -05:00
Ali Akhtarzada
59a512b675 Bug 958086 - Adjust matrix in gfxPattern::GetPattern for Moz2D. r=bas
The pattern transform was not taking in to account the transform
that was set on the draw target.
2014-01-10 08:48:56 -05:00
Jonathan Kew
556db08b34 bug 955957 - pt 1 - reimplement gfxSkipChars and gfxSkipCharsIterator to perform better with huge text runs. r=roc 2014-01-10 09:42:05 +00:00
Carsten "Tomcat" Book
acedd32ca7 Backed out changeset 4b54755de2a7 (bug 955957) for Build Bustage on a CLOSED TREE 2014-01-10 09:30:28 +01:00
Jonathan Kew
48bf0ba949 bug 955957 - pt 1 - reimplement gfxSkipChars and gfxSkipCharsIterator to perform better with huge text runs. r=roc 2014-01-10 07:48:01 +00:00
Milan Sreckovic
c92d614b7b Bug 956796 - A bad assertion and a typo in the pref name cancelled each other. Fix, and create #defines for the pref names in this file to avoid problems like this. r=BenWa 2014-01-09 13:17:29 -05:00
Wes Kocher
8af7a4b53c Backed out changeset 010f5faed9cf (bug 956796) for build bustage 2014-01-08 15:03:23 -08:00
Milan Sreckovic
aa95ffdfe9 Bug 956796 - A bad assertion and a typo in the pref name cancelled each other. Fix, and create #defines for the pref names in this file to avoid problems like this. r=bgirard 2014-01-06 14:14:39 -05:00
Nicholas Cameron
0c8a244237 Bug 933549. Change PaintState to use a DrawTarget instead of a gfxContext. r=mattwoodrow 2014-01-08 10:09:34 +13:00
Nicholas Cameron
2b06b385d4 backed out bug 933549 on a CLOSED TREE 2014-01-08 10:27:14 +13:00
Nicholas Cameron
b88a44ffc8 Bug 933549. Change PaintState to use a DrawTarget instead of a gfxContext. r=mattwoodrow 2014-01-08 10:09:34 +13:00
Matt Woodrow
e011cb2cda Bug 952235 - Handle device offset when applying pattern transform. r=bas 2014-01-07 10:25:05 +09:00
Birunthan Mohanathas
c293ca84b8 Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nicholas Nethercote
82b05b710d Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Nicholas Nethercote
9505172caf Bug 955942 (part 1) - Remove unnecessary nsIMemoryReporter qualifiers from UNITS_* and KIND_* constants. r=mccr8.
--HG--
extra : rebase_source : f760568c08af03d9fec316bf95e7d4388078a03d
2013-12-11 11:59:39 -08:00
Henri Sivonen
2fabf9a684 Bug 213517 part 2 - Remove the x-user-def language group. r=jfkthame. 2014-01-02 09:18:20 +02:00
Nicholas Cameron
5c4b9e35d8 Bug 898828. Don't even try async video on Windows. r=nical 2013-12-21 10:37:07 +13:00
Tor Arvid Lund
0f9fdd2d39 Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical 2013-12-20 11:46:29 -05:00
Jonathan Kew
89efbb065c bug 950590 - part 2 - make SetUserFontSet support updating a gfxFontGroup's user font set on the fly, and use this in canvas rendering context. r=roc 2013-12-19 20:21:11 +00:00
Jonathan Kew
80258a1f9d bug 950590 - part 1 - use nsRefPtr instead of manual addref/release calls for gfxFontGroup's reference to the user font set. r=roc 2013-12-19 20:20:57 +00:00
Isura Edirisinghe
1542439ab5 Bug 676907 - Refactor (replace) calls to Gestalt because it is deprecated in OS X 10.8 and will not work in after 10.9. r=BenWa 2013-12-19 11:42:19 -05:00
Vladimir Vukicevic
88f2cc2ac7 b=929508; implement gfxWindowsPlatform::GetScreenDepth; r=jrmuizel 2013-12-18 13:09:10 -05:00
Jeff Muizelaar
4fa43a6bda Bug 951216. Avoid unnecessary Snapshot() copies by clearing the pattern. r=Bas
gfxSurfaceDrawable::Draw() sets a gfxPattern(Snapshot()) to the gfxContext's
pattern. If the gfxSurfaceDrawable is created by
CreateSamplingRestrictedDrawable it will be destroyed before the Snapshot().
This causes the Snapshot to be copied unnecessarily.

If we set the pattern to something else we'll destroy the snapshot before the
gfxSurfaceDrawable and save a copy.

--HG--
extra : rebase_source : 03864e8a0fe021940747cf691df30ec51e4d8b2d
2013-12-17 13:33:34 -05:00
Chris Lord
2fab05a2c9 Bug 950696 - Cache the 'enable tiles' layers pref. r=bgirard
Rename layers.force-tiles to layers.enable-tiles and cache it with the other
layers prefs in gfxPlatform.
2013-12-17 14:02:16 +00:00
Trevor Saunders
907dfc4528 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Nicholas Cameron
09d8e541fe Bug 950504. Remove MatrixForThebesMatrix. r=mattwoodrow
--HG--
extra : rebase_source : 77103221abbb55d23f9d399d4973ef0b8f269079
2013-12-16 11:17:58 +13:00
Jim Mathies
d85f619b11 Bug 941774 - Centralize various dpi related queries on Windows. r=bbondy 2013-12-14 14:40:55 -06:00
Kevin Simons
306ee6f1e6 Bug 944646 - Check the DrawTarget type before downcasting PathBuilders. r=mattwoodrow
Previously the ScaledFontBase::CopyGlyphsToBuilder methods in the
various ScaledFont subclasses static_cast-ed the passed in PathBuilder
objects without checking which sort of DrawSurface they were created by.
2013-12-12 17:37:00 -05:00
Bill McCloskey
c4c1d8233a Bug 948238 - Read browser.tabs.remote once at startup and never again (r=bsmedberg) 2013-12-12 14:13:20 -08:00
John Daggett
ad51a7094b Bug 947812 - bracket log calls with #ifdef PR_LOGGING. r=heycam 2013-12-12 09:28:40 +09:00
Matt Woodrow
d9683d5ba3 Bug 948221 - Part 6: Make UnpremultiplyImageSurface work on surfaces that don't have matching strides. r=roc 2013-12-12 10:05:26 +13:00
Matt Woodrow
9602bddb2a Bug 948221 - Part 5: Make GetSourceSurfaceForSurface use the screen reference draw target if one isn't specified. r=Bas 2013-12-12 10:05:26 +13:00
Matt Woodrow
0cfc75c3ec Bug 948221 - Part 4: Add a gfxSurfaceDrawable constructor that takes a SourceSurface. r=roc 2013-11-27 14:05:03 +13:00
Matt Woodrow
6133167fe4 Bug 948221 - Part 3: Fix a bug where a SurfacePattern created by gfxPattern didn't respect the requested filter mode. r=Bas 2013-12-12 10:05:26 +13:00
Jacek Caban
66134a8c07 Bug 945230 - Fixed char16_t/wchar_t mismatch in gfx/thebes/. r=bas.schouten 2013-12-11 10:46:41 +01:00
John Daggett
e494c89c89 Bug 947812 - log font name loading times. r=bas 2013-12-11 09:58:27 +09:00
John Daggett
24ab4b6feb Bug 947812 - use DirectWrite API for fullname/psname lookup. r=bas 2013-12-11 09:58:19 +09:00
Ehsan Akhgari
d4490ee3c7 Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg 2013-12-10 18:10:01 -05:00
Martin Stransky
2b7ca13346 Bug 941595 - Build with system-cairo is broken. r=glandium 2013-12-10 10:37:03 -05:00
Jeff Muizelaar
4264e2fab0 Bug 947379. Remove MOZ_PANGO. r=jfkthame
We haven't been able to build with this since
2008. Time for it to go.

--HG--
extra : rebase_source : 0e25f91e2a4308d3873ca2c240347b25d70d69c5
2013-12-09 10:03:28 -05:00
Nicholas Nethercote
bdfbbf7bcd Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote
0b9a804eb0 Bug 947798 (part 1) - Rename NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN as MOZ_DEFINE_MALLOC_SIZE_OF. r=mccr8.
--HG--
extra : rebase_source : ec09d4c31264c15befb020375bf001a1ad1df6b8
2013-12-07 21:38:32 -08:00
Nicholas Cameron
a96fda05ae Bug 945088. Use the correct device offset in gfxContext. r=mattwoodrow 2013-12-09 21:04:44 +13:00
Birunthan Mohanathas
759ab69b0a Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
2a97f4dc0d Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
John Daggett
9e57c63a3a Bug 947025 - Limit the time spent in RunLoader to avoid chrome hang. r=roc 2013-12-06 12:47:46 +09:00
Carsten "Tomcat" Book
94c2c4b9cf merge b2g-inbound to m-c 2013-12-05 12:57:24 +01:00
Andreas Gal
e6549702a5 Bug 946541 - Fix Skia cache purging. r=gw280 2013-12-04 23:52:03 -05:00
Nicholas Nethercote
803d8a5bcc Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Benoit Jacob
521560ae0f Bug 944703 - Part 2: make gfxReusableSharedImageSurfaceWrapper hold a strong reference to its ISurfaceAllocator - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Girard
b0230895bb Bug 944866 - Part 2: Add layers.scroll-graph. r=gal
--HG--
extra : rebase_source : b517f110b09056b3037f9bfae609ff14e6af3859
2013-12-03 10:49:46 -05:00
Ehsan Akhgari
44f80d0787 Bug 945509 - Include 2D.h in gfxFont.h because it uses ScaledFont; r=glandium 2013-12-02 18:53:14 -05:00
Robert O'Callahan
8cdc635912 Bug 942672. When a gfxContext has a DrawTarget there's an extra device transform that we need to take account of here. r=mattwoodrow
--HG--
extra : rebase_source : 0b4c182ea6b1934b3136623539e4b8482de1481f
2013-12-02 10:10:50 +13:00
Benoit Jacob
fdc0726361 Bug 944571 - Fix the non-unified build of gfxBlur.cpp - no review, trivial compilation fix 2013-11-30 21:21:03 -05:00
Matt Woodrow
527be3cbdd Bug 944571 - Part 1: Convert gfxAlphaBoxBlur to use Moz2D surfaces instead of Thebes. r=Bas 2013-10-02 17:20:47 +13:00
Ms2ger
a129edb4cb Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger
a88cf8354a Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal 2013-11-28 15:10:38 +01:00
Mike Hommey
9245936f8b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Andreas Pehrson
a23a0b64b6 Bug 943293 - Add CopyTo in gfxImageSurface to copy to a DataSourceSurface 2013-11-27 11:03:36 +01:00
Nicholas Nethercote
77419f6a47 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Mike Hommey
d210f8ff00 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Ehsan Akhgari
c3970a73fb Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
78e4d6490d Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
02adcaf06e Bug 939585 - Build gfx/thebes in unified mode; r=BenWa 2013-11-27 08:03:04 -05:00
Jonathan Kew
5b3c0d8453 bug 943319 - use our standard ArrayLength() instead of a custom macro. r=jdaggett 2013-11-27 11:03:43 +00:00
Jonathan Kew
b5f670b8dd bug 943270 - use EncodingUtils::DecoderForEncoding instead of nsICharsetConverterManager::GetUnicodeDecoderRaw when decoding font names. r=jdaggett 2013-11-27 11:03:02 +00:00
Markus Stange
dd94318c9b Bug 943041 - Don't delay compositing on the compositor thread in ASAP mode (layout.frame_rate == 0). r=BenWa 2013-11-27 08:33:39 +01:00
Nicholas Cameron
beebee9b09 Bug 924403. Linux users who had previously opted in to OpenGL get OMTC OpenGL. r=mattwoodrow 2013-11-27 11:15:17 +13:00
Matt Woodrow
b602f68120 Bug 940845 - Follow-up to add comments that got missed when rebasing. 2013-11-26 12:29:20 +13:00
Matt Woodrow
80fd92fefb Bug 940845 - Part 5: Propogate the blur standard deviation up instead of the blur radius. r=roc 2013-11-26 12:09:04 +13:00
Matt Woodrow
c49de95f30 Bug 940845 - Part 4: Add BlurRectangle to gfxAlphaBoxBlur and use it. r=roc 2013-11-26 12:08:29 +13:00
Matt Woodrow
f5a56ec574 Bug 940845 - Part 1: Remove unused offset parameter from gfxAlphaBoxBlur. r=roc 2013-11-26 12:05:36 +13:00
John Daggett
d1eb2f6076 Bug 934710 - add various text performance metrics and a log to handle these. r=jfkthame 2013-11-25 13:59:56 +09:00
Phil Ringnalda
62cb41d82e Back out d280a1c64f76 (bug 939585) for Mac build bustage
CLOSED TREE
2013-11-24 18:02:14 -08:00
Benoit Girard
f5ea9b323a Bug 939585 - Build gfx/thebes in unified mode. r=ehsan,bjacob 2013-11-21 14:22:45 -05:00
Benoit Girard
f8fd653be7 Bug 942483 - Port paint-dumping to android/b2g. r=gal 2013-11-23 17:44:18 -05:00
Mike Hommey
b39418250a Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Jonathan Kew
464d663376 bug 941940 - don't render stray <CR> characters (&#13; entities) in the DOM as hexboxes, just leave them invisible. r=roc 2013-11-22 21:43:36 +00:00
Trevor Saunders
280dc2e3ce bug 938025 - part 1 - get rid of some static constructors r=bz r=bjacob 2013-11-22 14:45:50 -05:00
Ed Morley
0e1036028c Backed out changeset c30371a66429 (bug 941450) 2013-11-22 15:59:22 +00:00
Mike Hommey
f6b8ef93a4 Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Masatoshi Kimura
e9fd9eacad Bug 925599 - Replace gfxWindowsPlatform::WindowsOSVersion(). r=Bas 2013-11-22 12:35:40 +09:00
Wes Kocher
e634acaaaf Merge m-c to inbound 2013-11-21 19:18:18 -08:00
Nicholas Cameron
d4dfd11e67 Bug 900248. Better handling of device reset and recreation. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
891ad37444 Bug 900248. Only create d3d9 device on the main thread. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
a2c46dbd46 Bug 900248. Rebuild the d3d9 device. r=Bas 2013-11-22 11:07:56 +13:00
Jonathan Kew
99f58ee59f bug 941638 - cache hyphen width in the gfxFontGroup, to improve layout performance for auto-hyphenated text. r=roc 2013-11-21 21:31:53 +00:00
Chris Kitching
7144e8c767 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
John Daggett
dfda06fba9 Bug 913264 - add none value to font-variant-ligatures. r=dbaron 2013-11-19 13:30:25 +09:00
Mike Hommey
8ceb917350 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Jonathan Watt
02b6ec05f8 Bug 939589 - Gut gfxPath. r=Bas 2013-11-18 09:42:51 +00:00
Matt Woodrow
1647157c5c Bug 923341 - Part 3: Use azure for CreateSamplingRestrictedDrawable. r=seth 2013-11-13 17:32:48 +13:00
Matt Woodrow
441ac6af40 Bug 923341 - Part 1: Add a gfxSurfaceDrawable constructor for a DrawTarget. r=seth 2013-11-13 17:31:12 +13:00
Benoit Jacob
ac3ababc4b Bug 938970 - 3/5. Some d3d tweaks needed to build with UNIFIED_SOURCES - r=Bas 2013-11-17 21:06:23 -05:00
Benoit Girard
87d3e1cc22 Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Benoit Jacob
5425966dac Bug 937204 - 1/3. Simplify the D3D9_LAYERS gfxinfo check and only run it on Windows - r=jrmuizel 2013-11-15 11:28:40 -05:00
Nicholas Cameron
eb5956cf6d Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow This might even help diagnose the problems causing a CLOSED TREE. 2013-11-15 10:54:25 +13:00
Joshua Cranmer
a63b835a52 Bug 935789, part 2: Implement RotateLeft/RotateRight in MFBT and use them, r=Waldo.
--HG--
extra : rebase_source : efda8cfde4ec1b8cee007f528d682830f43f9111
2013-11-12 18:24:56 -06:00
Jonathan Kew
766f4916d1 bug 909344 - treat U+007F as a control, not a printable character. r=roc 2013-11-12 23:53:07 +00:00
Jonathan Kew
74941dd0c6 bug 909344 - render stray control characters as hexboxes instead of invisible. r=roc 2013-08-26 16:32:55 -07:00
Jonathan Kew
37ef36ed13 backout 739edf98ca0b (bug 909344) for reftest failure in layout/reftests/bugs/388367-1.html. 2013-11-12 10:13:10 +00:00
Jonathan Kew
45314d379f bug 909344 - render stray control characters as hexboxes instead of invisible. r=roc 2013-08-26 16:32:55 -07:00
Jaroslav Kopecký
e59b789a54 Bug 936196 - Explicitly include unistd.h for getpid() on XP_UNIX. r=BenWa 2013-11-08 09:04:30 -05:00
Andreas Gal
75a4efaf58 Bug 930451 - Part 3: Use the gradient cache for SVG gradients as well. r=roc 2013-11-08 17:50:39 +13:00
Andreas Gal
5a78770a61 Bug 930451 - Part 1: Factor out CSS gradient cache into a new class gfxGradientCache. r=roc 2013-11-08 17:50:39 +13:00
Peter Chang
01c98328c7 Bug 934886 - Fix incorrect color format of GetThebesSurfaceForDrawTarget when use SKIA as backend. r=gw280 2013-11-07 09:20:58 -05:00
Matt Woodrow
db2e778910 Bug 934674 - Store the correct transform (with device offset applied) for the pattern. r=Bas 2013-11-07 22:08:56 +13:00
Benoit Girard
bd14e30e47 Bug 935701 - Fix bustage on CLOSED TREE. r=bustage
--HG--
extra : rebase_source : b7586d185b814dcaa63a50a7ca932abb9759baea
2013-11-06 22:18:23 -05:00
Benoit Girard
03845423d9 Bug 935701 - Get drawing recording working on b2g. r=bas
--HG--
extra : rebase_source : 783627519f291d187552b464689315ce2697df95
2013-11-06 18:11:18 -05:00
Nicholas Nethercote
d8a3b0f0bb Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Nicholas Nethercote
ca9a2f4f6f Bug 917496 - Disable GPUAdapterReporter because its values are frequently bogus. r=Hughman.
--HG--
extra : rebase_source : ae3bbbc142dfcf7101aaac94acc52e67e68e97fd
2013-11-05 14:01:24 -08:00
Matt Woodrow
360b91b5b1 Bug 934533 - Remove the azure content enabled pref since we require it to be enabled for all platforms now. r=nrc
--HG--
extra : rebase_source : f5152dd3c088009c80cda2844589967ed047e888
2013-11-06 08:54:12 +13:00
Chris Lord
e2045c9ef9 Bug 932278 - Remove the long-defunct gfxPlatform::UseReusableTileStore. r=BenWa 2013-10-31 15:53:51 +00:00
Jonathan Kew
bf9b0664b1 bug 833087 - stop background font info loading when quit-application notification is observed. r=BenWa 2013-11-05 00:53:47 +00:00
Chris Peterson
0984494569 Bug 934261 - Use PostScript font name "LucidaGrande" for CoreText fallback. r=jdaggett 2013-11-02 12:51:48 -07:00
Matt Woodrow
60bb7765a1 Bug 922942 - Avoid crashes with PointInFill. r=Bas
--HG--
extra : rebase_source : cf209258a71342590c3d3488912d85df86a14b8b
2013-11-04 14:47:18 +13:00
Matt Woodrow
a75a520319 Bug 922515 - Don't apply a skew matrix to the DT when it's cairo, since we use the cairo font with it already applied. r=Bas
--HG--
extra : rebase_source : 289ed3a9e02bd5499b49aa1181dd35bf16eba5d3
2013-11-04 14:47:18 +13:00
Jonathan Watt
98f421784a Bug 931915, part 2 - Make gfxContext::RoundedRectangle use Moz2D's AppendRoundedRectToPath helper. r=Bas 2013-11-01 13:29:53 +00:00
Ed Morley
e4a3dca788 Backed out changeset 9eeddb8dc383 (bug 931915) 2013-11-01 14:34:51 +00:00
James Willcox
37a537638d Bug 927254 - Purge SkiaGL texture cache on memory pressure r=gwright
--HG--
extra : rebase_source : 960582a88532e752c2bcc4bbcdf0899eb0cbe3b8
2013-11-01 08:52:06 -05:00
Jonathan Watt
bc7ec9b50c Bug 931915, part 2 - Make gfxContext::RoundedRectangle use Moz2D's AppendRoundedRectToPath helper. r=Bas
--HG--
extra : rebase_source : e42577c112c2154b13e7e91cb4d7e54a30a411ce
2013-11-01 13:29:53 +00:00
Ryan VanderMeulen
1e3f5ba856 Merge m-c to inbound on a CLOSED TREE. 2013-10-31 16:10:29 -04:00
Jonathan Kew
c49dacf591 bug 894798 - disable word-cache expiration timer on release builds. r=roc 2013-10-29 14:02:36 +00:00
Jonathan Watt
79e2d6518f Bug 931769, part 1 - Make gfxPattern::GetPattern use its mExtend member. r=Bas 2013-10-29 08:14:39 +00:00
Milan Sreckovic
e29225b204 Bug 922600 - Avoid integer overflow. r=bjacob 2013-10-16 16:49:27 -04:00
Robert O'Callahan
cbf4406fc0 Bug 924679. Part 7: Remove gfxAlphaRecovery::Analysis since no-one uses it. r=mattwoodrow
--HG--
extra : rebase_source : f0481abfa3e5c4855f71cec66eea5c4501fd8565
2013-10-25 23:25:40 +02:00
Robert O'Callahan
279c501458 Bug 924679. Part 6: Remove gfxXlibNativeRender::DrawOutput and convert tmpXlibSurface from gfxXlibSurface to cairo_surface_t. r=karlt
--HG--
extra : rebase_source : 724e9b7881949c868ba528250de6ce9d24eb2752
2013-10-25 23:25:40 +02:00
Robert O'Callahan
e64a18df82 Bug 924679. Part 5: Add gfxXlibSurface::CreateCairo. r=karlt
Factor out code from gfxXlibSurface::Create so it can be used to create a
cairo_surface_t instead of gfxXlibSurface. Except we leave the existing code
alone since it's really simple.

--HG--
extra : rebase_source : 1c3c0b9fd9997010d80240606c9fa4964361fc87
2013-10-25 23:25:40 +02:00
Robert O'Callahan
90f112061c Bug 924679. Part 3: Make gfxXlibNativeRenderer::DrawWithXlib callback take a cairo_surface_t instead of a gfxXlibSurface. r=karlt
--HG--
extra : rebase_source : 75bb23badb1f7a65cc7e82efca1ddb92e49d7e13
2013-10-25 23:25:40 +02:00
Robert O'Callahan
bc89174cde Bug 924679. Part 2: Create static gfxXlibSurface::GetColormapAndVisual so it can be used without a gfxXlibSurface. r=karlt
--HG--
extra : rebase_source : 10599d49077114cd214ceafd811bfea3135bb9ff
2013-10-25 23:25:40 +02:00
Robert O'Callahan
ead38893c1 Bug 924679. Part 1: Band-aid robustness fix. r=mattwoodrow
--HG--
extra : rebase_source : fee33a1412e123adb2fbd91221684c1ece8d8b86
2013-10-25 23:25:39 +02:00
Brendan Dahl
45780df00e Bug 811002 - Part 2: Never create a DIB when printing. r=bas 2013-10-25 14:50:29 +00:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00