Commit Graph

3519 Commits

Author SHA1 Message Date
Matt Woodrow
bad09e1466 Bug 973264 - If we wrap gfxImageSurface data when creating a SourceSurface, hold a reference to the original surface so the data stays alive. r=Bas
--HG--
extra : rebase_source : 91833db0c39af3984dc7e7a1965486916a9f47f8
2014-03-05 16:04:05 +13:00
Nicolas Silva
9ba64a87e8 Bug 977255 - Initialize the gralloc memory reporter in gfxPlatform. r=cwiiis 2014-03-28 18:20:57 +01:00
Nicolas Silva
965ae04855 Bug 977255 - Backout for build bustage on a CLOSED TREE 2014-03-28 17:01:52 +01:00
Nicolas Silva
0ea72fd9df Bug 977255 - Initialize the gralloc memory reporter in gfxPlatform. r=cwiiis 2014-03-28 15:40:30 +01:00
John Daggett
24906e6951 Bug 975460 - avoid CTFontCopyTable on OSX 10.6 to avoid crash. r=smichaud 2014-03-28 14:40:42 +09:00
James Willcox
d7f0ebf02a Bug 985773 - Destroy SkiaGLGlue in gfxPlatform::Shutdown() instead of relying on destructor r=gwright 2014-03-26 13:21:16 -05:00
Ed Morley
822836003a Backed out changeset 3d83a5202173 (bug 985773) 2014-03-26 15:14:50 +00:00
James Willcox
d676eb3668 Bug 985773 - Destroy SkiaGLGlue in gfxPlatform::Shutdown() instead of relying on destructor r=gwright 2014-03-26 09:12:19 -05:00
John Daggett
31ff8cb6de Bug 987408 - correct the default features space check pref name. r=mkato 2014-03-26 17:03:56 +09:00
George Wright
4b772bd2f4 Bug 987054 - If we can't create a valid DrawTarget in GetThebesSurfaceForDrawTarget, error out r=mettwoodrow 2014-03-25 23:00:27 -04:00
Nicolas Silva
8252fbc76b Bug 984338 - Add a pref to flash layer borders when they are created. r=jrmuizel 2014-03-25 17:54:39 +01:00
Jonathan Kew
dc9e79f28d bug 987357 - support .woff-format fonts installed in the system fonts directory on android/b2g devices. r=roc 2014-03-25 10:07:31 +00:00
Jonathan Kew
b7f4b5d6a0 bug 931426 - fix up font-weight values for some problematic faces on OS X. r=jdaggett 2014-03-20 09:46:42 +00:00
John Daggett
66696a145e Bug 921858 - whitelist font families to avoid space lookup check for default features. r=jfkthame 2014-03-20 14:43:31 +08:00
John Daggett
6f3296db00 Bug 921858 - check for spaces in textrun before skipping word cache. r=jfkthame 2014-03-20 14:43:30 +08:00
John Daggett
a4de3811b3 Bug 921858 - distinguish space features in default features from those in non-default features. r=jfkthame 2014-03-20 14:43:30 +08:00
Ehsan Akhgari
5ab76fe98e Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Ryan VanderMeulen
76514a9d58 Backed out changeset 9394e6901453 (bug 958008) for causing bug 960224. 2014-03-19 13:19:02 -04:00
Jonathan Kew
5df0aa644e bug 645124 - mismatched font-style should not cause a specified font-family to be skipped altogether. r=karlt 2014-03-19 16:06:04 +00:00
Eugen Sawin
ac7e37ba59 Bug 940087 - Remove double reset of Cairo font data. r=jrmuizel 2014-03-17 15:06:51 +01:00
Jonathan Watt
e7ba4e35fb Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow 2014-03-19 10:36:58 +08:00
Nicolas Silva
e90cccae80 Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas 2014-03-17 22:35:20 +01:00
Kartikaya Gupta
7457155d44 Bug 979720: Follow-up to fix stupid PTO-brain naming mistake. r=me 2014-03-14 15:55:07 -04:00
Kartikaya Gupta
11bd32947b Bug 979720 - Convert max velocity from px/ms to inches/ms. r=bkelly 2014-03-14 15:49:00 -04:00
Mats Palmgren
3660486bd6 Bug 983019 - Fix a typo in the aMetrics->maxDescent initialization when we failed to create the Cairo font. Also fix a typo so that aSpaceGlyph out-param is assigned as intended. And make the code easier to read. r=jfkthame 2014-03-14 10:37:41 -04:00
Oleg Romashin
030b5c8a06 Bug 982118 - Move ui.click_hold_context_menus.delay to gfxPrefs. r=kats
--HG--
extra : rebase_source : 18b7d36e512c8c1a6c0bc042a054aad5e7ee9801
2014-03-11 09:10:50 -07:00
Bas Schouten
c6f8e94303 Bug 982275 - Part 2: Add a pref for drawing layer-info inside layers. r=jrmuizel 2014-03-12 03:27:33 +01:00
Ryan VanderMeulen
8ff258f0a1 Backed out changeset 3697a043583b (bug 982118) for bustage.
CLOSED TREE
2014-03-11 11:48:30 -04:00
Oleg Romashin
050cdf3c0a Bug 982118 - Move ui.click_hold_context_menus.delay to gfxPrefs. r=kgupta 2014-03-11 08:24:12 -07:00
Vladimir Vukicevic
7f43187552 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Vladimir Vukicevic
ef13b892db backout of rev 1a52e0063440 b=979489 2014-03-10 21:03:02 -04:00
Vladimir Vukicevic
6f7082cd9f b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Bas Schouten
a0108bc8af Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary

This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.

Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>

In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Jonathan Kew
cab8d41180 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
0636b6fe12 Backed out changesets e7c4304d45d7 and 75d3146ac0d3 (bug 970891) for Android reftest failures.
CLOSED TREE
2014-03-06 11:00:26 -05:00
Jonathan Kew
ee16a48ded 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
39bceadc21 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
9953e94be2 Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-03-05 15:48:58 -06:00
Milan Sreckovic
6cffe8ba37 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
ee17c700e4 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
03ba3d97f5 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
6ac01d1925 Backed out changeset fe2afc55a0d1 (bug 950368) for shutdown crashes on B2G 2014-03-05 17:10:38 +00:00
Jonathan Watt
5fa483d9dc 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
88ac28dca2 Backed out changeset 6f05267b4afc (bug 798033) for Android bustage. 2014-03-05 09:55:52 -05:00
snigdha
dde15b4b7a 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
cfe0774568 Bug 978274: Initialize gfxPrefs earlier, rename some methods, delete MigratePrefs from gfxPlatform. r=bgirard. 2014-03-04 12:26:33 -05:00
Ehsan Akhgari
f5dd4e8ef8 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
8abbaf6943 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
d719a6c5a4 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
5819a672f3 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
909593b568 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
a703a305b8 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
556f3ad69b bug 978129 - don't assert when decoding empty 'name' table strings. r=jdaggett 2014-03-02 14:52:12 +00:00
Milan Sreckovic
d10a7bc160 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
0b746a394e Bug 971943: 3. gfx.apitrace.enabled (ANDROID only) preference moved to gfxPrefs. r=gwright 2014-02-28 12:59:38 -05:00
Milan Sreckovic
588797fcdf Bug 971943: 2. webgl.force-layers-readback preference moved to gfxPrefs. r=gw280 2014-02-28 12:59:37 -05:00
Matt Woodrow
541e0d0cbf 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
c479f2a541 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
ddf1b72ddf 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
f30fcd9095 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
e2c417842a 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
b2051f6d2f 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
aebaca5cae 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
03e58f0c76 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
b2ee1cb13b 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
a2aaa61c62 Merge m-c to inbound on a CLOSED TREE 2014-02-26 18:31:11 -08:00
Vivien Nicolas
3bcab20aab Bug 977207 - The fps counter requires a restart to be displayed. r=bgirard 2014-02-26 23:12:35 +01:00
L. David Baron
dfb9ad9186 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
d372330f86 Bug 975460 - check for null CTFontRef after creation. r=jfkthame 2014-02-25 16:37:26 +09:00
Jonathan Watt
1bff7ee358 Bug 975900 follow-up to fix unified build failures. r=me on CLOSED TREE 2014-02-25 01:30:48 +00:00
Jonathan Watt
e51d5225c2 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
937c007de1 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
cb708a45b9 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
2ca1b199db Backed out changeset 18183f6ef0d8 (bug 910860) for xpcshell and reftest failures. 2014-02-21 12:35:35 -05:00
Milan Sreckovic
3923aa0c9b 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
79dd3f3972 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
b9eee1d1e8 Bug 974007 - Change OMTC behavior when browser.tabs.remote is set (r=mattwoodrow,felipe) 2014-02-20 17:26:41 -08:00
Wes Kocher
a774349143 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
df0c006a7c 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
49bf33920f 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
dc64acd28e Bug 973892 - Part 1) Choose the backend in ImageDataSerializer::GetAsDrawTarget. r=mattwoodrow 2014-02-19 18:17:40 +01:00
Jonathan Kew
af7148f18a 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
9f0004eb6e 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
741f3599f9 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
b25d42a6eb 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
dc28f1ce88 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
7b82ee95c1 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
e2c9e99ba6 Bug 971817 - GetLog statics are initialized too late. r=jdaggett 2014-02-14 10:27:47 -05:00
Milan Sreckovic
27abf0ad4d 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
3b6d00b226 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
e64f747483 Bug 970483 - Fix the logic to determine the pre-RTM Windows 7. r=bbondy 2014-02-12 23:49:06 +09:00
Masatoshi Kimura
3cdb8254e4 Bug 970483 - Part 2: Blackliist pre-RTM Windows 7 again. r=jfkthame 2014-02-12 06:01:30 +09:00
Ali Akhtarzada
ef197a24c4 Bug 970327 - Add PNG dump utils for SourceSurface. r=nical 2014-02-11 13:41:09 -05:00
Benoit Girard
fd8eb83796 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
a3118d7b92 Bug 970331 - Make sure moz pattern is not set on cairo context. r=nical 2014-02-11 09:22:46 -05:00
Ehsan Akhgari
82ebdc883f 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
0232ff3210 Bug 962440 - Fixed char16_t/wchar_t mismatch. 2014-02-10 12:05:36 +01:00
Ehsan Akhgari
bd774dda66 Bug 970041 - Use fallible allocation in Windows font code; r=jfkthame 2014-02-09 11:34:22 -05:00
Robert O'Callahan
62a0ca7c1b 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
b995cb3325 Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc 2014-02-09 09:04:38 +01:00
Bas Schouten
f19a9efe0c Bug 969580 - Part 2: Discard everything in the surfacecache when Direct2D malfunctions. r=seth 2014-02-08 19:37:39 +00:00
Ehsan Akhgari
60d117e5ba 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
4fbd2c3580 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
097682ac6a Bug 952011 - Add gfx3DMatrix API for untransformed rects and points. r=bjacob 2014-02-04 12:25:22 +13:00
Michael Wu
e9d47d20d6 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
133cb4a551 Bug 966344 - Use correct JNI call to invoke SurfaceTexture::updateTexImage() r=jchen 2014-01-31 11:41:43 -06:00
Frédéric Wang
b8266f16d6 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
2114a8e224 Bug 965844 - Remove the pref "layers.prefer-memory-over-shmem". r=gal 2014-01-31 14:22:25 +01:00
Nicolas Silva
8c0da24e87 Bug 965804 - Ignore the deprecated texture pref except on Windows. r=Bas,Vlad 2014-01-31 14:17:11 +01:00
Phil Ringnalda
3357fd6969 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
c56b56442e 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
e42d6dabd3 Bug 952011 - Add gfx3DMatrix API for untransformed rects and points. r=bjacob 2014-01-29 13:10:35 +13:00
Birunthan Mohanathas
89f96b243e Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
James Kitchener
73fcb48bd9 Bug 953385 - Set math script where applicable in /gfx. r=jfkthame 2014-01-30 10:59:16 -05:00
Oleg Romashin
aa6e063fcf Bug 840874 - Get Skia backend working on Qt port. r=bas 2014-01-29 23:01:16 -08:00
Benoit Girard
6a537286af Bug 956263 - Add a preference to control the compositor frame-rate. r=mstange 2014-01-29 18:26:38 -05:00
Mats Palmgren
d5566a40dd Bug 957128 - Idempotent change to simplify the code a bit. r=smontagu 2014-01-29 14:45:23 +00:00
Mats Palmgren
742a95a4f5 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
fd42311872 Bug 962440 - load font info for GDI font list. r=bas 2014-01-29 16:39:01 +09:00
John Daggett
eb0dd68f38 Bug 962440 - load font info for DirectWrite font list. r=bas 2014-01-29 16:39:01 +09:00
John Daggett
5ae2daf279 Bug 962440 - async font info loader infrastructure with OSX implementation. r=bas 2014-01-29 16:39:01 +09:00
John Daggett
88bc3ce902 Bug 962440 - move gfxFontInfoLoader into separate file. r=bas 2014-01-29 16:39:01 +09:00
John Daggett
da9c49b67e Bug 962440 - refactor methods used for loading fontinfo data. r=bas 2014-01-29 16:39:00 +09:00
John Daggett
91e9209824 Bug 962440 - use CTFontManager to get the list of available font families. r=bas 2014-01-29 16:39:00 +09:00
Phil Ringnalda
f6238bafc1 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
deebdeb68e Bug 952011 - Add gfx3DMatrix API for untransformed rects and points. r=bjacob 2014-01-29 13:10:35 +13:00
David Zbarsky
1e46ffbe23 Bug 952977: Convert SnapTransforms to gfx::Matrix r=nical 2014-01-27 10:27:20 -05:00
David Zbarsky
482b98b33e Bug 952977: Convert GetTextureTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:02 -08:00
Benoit Jacob
dac63324d2 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
28ff3ad25f 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
638dd1b5c9 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
981c6431d3 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
d136b8327b Bug 959380 - 1/5 - Make gfxBreakPriority a typed enum - r=jrmuizel 2014-01-23 13:26:39 -05:00
Nicholas Cameron
9529bc1b10 Bug 962216. Assert the correct backend in gfxPlatform::CreateDrawTargetForData. r=mattwoodrow 2014-01-22 11:15:48 +13:00
guozhu cheng
bd2c6ee1e0 Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar 2013-11-07 18:20:08 +08:00
David Zbarsky
d26395dbc2 Bug 952977: Convert CreateMatrix to gfx::Matrix r=nical 2014-01-20 16:52:04 -05:00
Nicholas Cameron
f07e89528d Bug 958363. Turn an error into a warning in gfxBlur. r=mattwoodrow 2014-01-21 10:46:27 +13:00
Jeff Muizelaar
3c184eea41 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
1946205e7c 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
bd9e29b468 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
ca5667544b 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
956cec3e3b 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
873406e3f0 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
d73dfad4ba 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
300f4ba3a9 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
535a216635 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
685a9f25c6 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
57d53010e4 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
54f21ce0a4 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
e30f5ec866 Backed out changeset 4b54755de2a7 (bug 955957) for Build Bustage on a CLOSED TREE 2014-01-10 09:30:28 +01:00