Commit Graph

9456 Commits

Author SHA1 Message Date
Jonathan Kew
10a99f426e backout 48b28facb0b8 for bustage 2014-02-05 11:07:05 +00:00
Jonathan Kew
071263abf0 bug 968026 - cherrypick upstream commit a9a5f453467d1494ebf9f31cba99c2c49b37fd52 to fix potential OTS crash. r=fredw 2014-02-05 10:49:35 +00:00
Nicolas Silva
ed0c8d838b Bug 966999 - Remove some deprecated GL textures code. r=vlad 2014-02-04 21:47:20 +01:00
Nicolas Silva
ab6c3237f1 Bug 952507 - Flush the back buffer after syncing with the front buffer in the buffered ContentClient. r=Bas 2014-02-04 21:35:22 +01:00
Nicolas Silva
79df86a0f4 Bug 967573 - Better document TextureClient. r=sotaro 2014-02-04 21:32:02 +01:00
Nicolas Silva
134849ee58 Bug 967473 - Fix layer diagnostics with tiling. r=BenWa 2014-02-04 17:18:10 +01:00
Markus Stange
57aa1c3ea0 Bug 950511 - Back out part 1 from bug 941095 (DrawTargetCG::SetPermitSubpixelAA) because it's unnecessary and causes bad text rendering in context menus. 2014-02-04 21:03:12 +01:00
Markus Stange
e7516af9d2 Bug 965914 - Don't crash when we can't allocate a new surface in CloneAligned. r=Bas 2014-02-04 21:03:12 +01:00
Ryan VanderMeulen
7196939775 Merge b2g-inbound to m-c. 2014-02-04 14:43:23 -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
Matt Woodrow
2258859236 Bug 966543 - Ensure that the MacIOSurfaceTextureHost has taken a ref to the surface before letting the client side object be destroyed. r=nical 2014-02-04 12:25:22 +13:00
Jonathan Kew
8b89967b1d bug 966021 - fix load_truetype_table in the cairo dwrite font backend. r=bas 2014-02-01 09:24:58 +00:00
Fabrice Desré
bee4276789 Bug 967098 - Expose settings to twiddle displayport prefs - followup r=me 2014-02-03 16:37:45 -08:00
Kartikaya Gupta
2ca9faf598 Bug 967098 - Add a couple of prefs to control displayport calculation behaviour at runtime. r=botond 2014-02-03 18:57:34 -05:00
Doug Sherk
df0b993f93 Bug 968112: Remove acceleration code from APZC r=kats 2014-02-05 15:15:05 +01:00
Mason Chang
f6aafc146f Bug 960673 - Improve scrollgraph to track layer transform. r=benwa 2014-01-31 21:50:06 -05: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
Dan Glastonbury
ff6cef2bb8 Bug 963455 - Fix the setting of viewport in GLReadTexImageHelper::ReadTexImage. r=BenWa 2014-01-31 09:18:15 +10:00
James Willcox
861f625b28 Bug 966344 - Use correct JNI call to invoke SurfaceTexture::updateTexImage() r=jchen 2014-01-31 11:41:43 -06:00
Jeff Muizelaar
33d1508c1d Bug 962721. Handle the flip for CopyTexImage2D. r=bjacob
This fixes a regression from b75d69931d4a. This call to CopyTexImage2D was
forgotten during the move to handling the flip in the compositor.
2014-01-31 10:59:14 -05: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
Frédéric Wang
508f9d2b94 Part 4 - Update README.mozilla, moz.build files and local patches. b=941019, r=jfkthame. 2014-01-31 15:09:09 +00:00
Frédéric Wang
90628931b8 Part 3 - Add #ifdef's to disable WOFF2 support. b=941019, r=jfkthame. 2014-01-31 15:08:52 +00:00
Frédéric Wang
dde1a6b2a5 Part 2 - Apply patch to make Process function externally visible for Windows DLL. b=941019, r=jfkthame. 2014-01-31 15:08:40 +00:00
Frédéric Wang
322fef8b48 Part 1 - Switch upstream source to khaledhosny/ots. b=941019, r=jfkthame. 2014-01-31 15:08:23 +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
Benoit Jacob
3991287fb7 Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel 2014-01-30 17:58:51 -05:00
Benoit Jacob
e6d46b061f Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(GRALLOC_PLANAR_YCBCR\|PLANAR_YCBCR\|SHARED_RGB\|CAIRO_SURFACE\|MAC_IOSURFACE\|REMOTE_IMAGE_BITMAP\|SHARED_TEXTURE\|REMOTE_IMAGE_DXGI_TEXTURE\|D3D9_RGB32_TEXTURE\)\($\|[^A-Za-z0-9_]\)/\1ImageFormat::\2\3/g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|ImageFormat\:\:ImageFormat|ImageFormat|g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)STEREO_MODE_\(MONO\|LEFT_RIGHT\|RIGHT_LEFT\|BOTTOM_TOP\|TOP_BOTTOM\)\($\|[^A-Za-z0-9_]\)/\1StereoMode::\2\3/g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|StereoMode\:\:StereoMode|StereoMode|g'
2014-01-30 17:58:49 -05:00
Kartikaya Gupta
01b69ed9b2 Bug 964997 - When scrolling is disabled, don't apply the velocity transformations to the displayport. r=botond 2014-01-30 13:37:06 -05:00
snigdha
39733b3b9c Bug 962826 - Return the product from GetTouchStartTolerance(). r=botond 2014-01-30 13:26:54 -05: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
Sotaro Ikeda
8039dc9590 Bug 964976 - Prevent crash of unsupported pixel format gralloc allocation. r=nical 2014-01-30 11:17:10 -05:00
Jeff Gilbert
999af5c8f5 Bug 960319 - Don't use GLTextures for non-ANGLE D3D WebGL layers. r=vlad 2014-01-30 10:59:16 -05:00
James Kitchener
4c8c250776 Bug 953385 - Set math script where applicable in /gfx. r=jfkthame 2014-01-30 10:59:16 -05:00
Jonathan Kew
cdc90d057e bug 964240 - update harfbuzz to pick up Hangul shaper improvements and other fixes. r=jdaggett 2014-01-30 09:48:20 +00:00
Nicholas Cameron
f1c44fc909 Bug 959781. Ensure we are using the correct content type in BeginPaint and BorrowDrawTargetForPainting. r=mattwoodrow 2014-01-30 22:39:11 +13: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
Vladimir Vukicevic
a988bc2a34 b=738872, implement WebGL OES_texture_half_float; part 2 - core impl; r=jgilbert 2014-01-23 16:47:37 -05:00
Vladimir Vukicevic
b6b7a87f86 b=738872, implement WebGL OES_texture_half_float; part 1 - GLContext; r=jgilbert 2014-01-23 12:47:56 -05:00
Vladimir Vukicevic
f5982a8788 b=951799, cache uniforms in OGLShaderProgram, part 3 - inline; r=bjacob 2014-01-29 17:53:38 -05:00
Vladimir Vukicevic
2862b29b17 b=951799, cache uniforms in OGLShaderProgram, part 2 - fix LayerProgramProjectionMatrix; r=bjacob 2014-01-29 17:53:38 -05:00
Vladimir Vukicevic
60cf58f1f2 b=951799, cache uniforms in OGLShaderProgram, part 1; r=bjacob 2014-01-29 17:53:37 -05:00
Nicolas Silva
cef0bf3210 Bug 965250 - Fix TextureHostD3D9. r=Bas 2014-01-29 17:27:01 +01:00
Nicolas Silva
298c0624fc Bug 964794 - Remove extra Lock and minimize DT creation/destruction in D3D11 TextureClient. r=Bas 2014-01-29 17:26:42 +01: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
Karl Tomlinson
c97641060a b=929451 don't use subpixel aa for ft fonts on surfaces that don't support it r=roc
Also:
* Prefer subpixel order provided by the surface over that from the font face.
* Allow font face options to turn off subpixel aa.

--HG--
extra : transplant_source : %02bD%22G%CE%95%C9%8D%86%8A%B9u%23_nHA%C4%11
2014-01-28 18:14:23 +13: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
Doug Sherk
448c66aeb3 Bug 937343: Remove pan start logic on pinch end from APZC r=botond 2014-01-24 22:13:12 +00:00
Doug Sherk
01131fb434 Bug 937343: Spoof a touch start event on pinch end in GestureEventListener r=botond 2014-01-24 22:13:10 +00:00
Ali Akhtarzada
95480d503e Bug 964745 - GetAsSourceSurface in SharedTextureImage and DeprecatedSharedRGBImage. r=nical 2014-01-28 10:27:36 -05:00
Ali Akhtarzada
d571d6ea36 Bug 961715 - Implement D3D9SurfaceImage::GetAsSourceSurface. r=nical 2014-01-28 09:14:10 -05:00
Ali Akhtarzada
638ef75fa6 Bug 961713 - Implement GrallocImage::GetAsSourceSurface. r=nical 2014-01-28 09:13:58 -05:00
Dan Glastonbury
560b4a58d8 Bug 953221 - GLenum to C string helper. r=bjacob 2014-01-22 19:21:19 +10:00
Ali Akhtarzada
c34462e5f5 Bug 961714 - Implement RemoteDXGITextureImage::GetAsSourceSurface. r=nical 2014-01-28 09:00:10 -05:00
Milan Sreckovic
856c9c79fe Bug 946860 - Move the preference evaluation to main thread. r=gwright 2014-01-24 17:19:34 -05:00
Nicholas Cameron
10f1fdf1a0 Bug 944087. Missing comment change addressing reviewer comment. r=Bas DONTBUILD (comment only) 2014-01-28 21:44:15 +13:00
Kartikaya Gupta
d2967684eb Bug 950301 - Add another assertion to detect scenarios where we botch the layer tree. r=BenWa 2014-01-27 23:36:57 -05:00
David Zbarsky
05bdc40a75 Bug 952977: Convert AsyncCompositionManager to gfx::Matrix4x4 r=nical 2014-01-27 15:25:21 -05:00
David Zbarsky
20476fcd10 Bug 952977: Convert AutoMaskData to gfx::Matrix4x4 r=nical 2014-01-27 15:25:21 -05:00
David Zbarsky
b03cdd7b39 Bug 952977: Convert CompositingRenderTargetOGL to gfx::Matrix4x4 r=nical 2014-01-27 15:25:21 -05:00
David Zbarsky
8c0287eca2 Bug 952977: Convert DrawTo to gfx::Matrix4x4 r=nical 2014-01-27 15:25:20 -05:00
David Zbarsky
0bbd7b8bd8 Bug 952977: Convert PrepareViewport to gfx::Matrix4x4 r=nical 2014-01-27 15:25:20 -05:00
David Zbarsky
c2e7c2cd0a Bug 952977: Convert OGLShaderProgram to gfx::Matrix r=nical 2014-01-27 15:25:20 -05:00
David Zbarsky
8a0b149ece Bug 952977: Perform some cleanup r=nical 2014-01-27 15:25:19 -05:00
Jacek Caban
657d18d1b2 Bug 945292 - Fixed ANGLE compilation on mingw. r=jgilbert
--HG--
extra : rebase_source : 84a48e83aab4a71d7be05d38874942ec89721d4d
2014-01-27 19:37:56 +01:00
David Zbarsky
287bef7020 Bug 952977: Convert shadow transforms to gfx::Matrix4x4 r=nical 2014-01-27 10:29:27 -05:00
David Zbarsky
bed5a418db Bug 952977: Convert Layer's mTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:29:06 -05:00
David Zbarsky
44eeb608e1 Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:47 -05:00
David Zbarsky
1e61d187aa Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:33 -05:00
David Zbarsky
2cef9a18e8 Bug 952977: Convert GetLocalTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:18 -05:00
David Zbarsky
4e68a5f47e Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical 2014-01-27 10:28:04 -05:00
David Zbarsky
cbdd71e0f8 Bug 952977: Convert SnapTransforms to gfx::Matrix r=nical 2014-01-27 10:27:20 -05:00
Ali Akhtarzada
6bbf31de9b Bug 963491 - Implement MacIOSurface::GetAsSourceSurface. r=nical 2014-01-27 08:25:50 -05:00
Marcin Juszkiewicz
5e7bc77292 Bug 963031 - AArch support for Graphics. r=doublec 2014-01-27 08:18:27 -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
Kartikaya Gupta
5fde241c65 Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm 2014-02-05 17:43:20 -05:00
David Anderson
2617e179a9 Bug 947045 - Use Xlib surfaces in basic compositor (r=mattwoodrow) 2014-02-05 08:39:02 -08:00
Nicolas Silva
dbc2384b5d Bug 950235 - Pick the TextureHost backend in function of the surface descriptor type. r=mattwoodrow 2014-02-05 14:34:16 +01:00
Nicholas Cameron
613fcb3cd7 Bug 944087. Fix main thread unlocking and tidy up. r=Bas 2014-01-27 17:10:40 +13:00
David Zbarsky
0b4e10c2b0 Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:19 -08:00
David Zbarsky
39799d8dbd Bug 952977: Convert GetTextureTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:02 -08:00
Doug Sherk
2950586b18 Bug 963270: Use first and second touches for pinch gesture detection r=kats 2014-01-23 18:42:49 -05:00
Vivien Nicolas
b634d8d7b0 Bug 963555 - Remove unused mMemoryPressureObserver variable in CompositorChild.h. r=nical 2014-01-24 19:29:04 +01:00
Nicolas Silva
f9d19b4183 Bug 952507 - Fix locking in double buffered ContentClient. r=nrc 2014-01-24 15:25:04 +01:00
Ali Akhtarzada
1dda9df3be Bug 962288 - Don't call DeprecatedGetAsSurface unless it's Cairo. r=mattwoodrow
Changeset from Bug 959123 caused a performance decrease because
DeprecatedGetAsSurface was being called on an image that may not
be a CAIRO_SURFACE.

Reverted CairoImage surface members to public access as they were
before the patch from bug 959123.
2014-01-24 08:42:12 -05:00
Sotaro Ikeda
b3cfeb5636 Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical 2014-01-24 08:30:41 -05:00
Nicholas Cameron
02f536a1b9 Bug 959842. Rename ContentClient::ReturnDrawTarget. r=mattwoodrow 2014-01-24 19:58:33 +13:00
Nicholas Cameron
fa1c128e24 Bug 959842. Fix PGO only crash calling ReturnDrawTarget. r=mattwoodrow 2014-01-24 19:58:29 +13:00
Doug Sherk
11807931df Bug 962278 - Adjust default APZ DPI and settings that depend on it. r=kats 2014-01-23 16:34:31 -05:00
Ryan VanderMeulen
faf802a81e Merge m-c to inbound. 2014-01-23 15:58:06 -05:00
Ryan VanderMeulen
a528d76af2 Merge b2g-inbound to m-c. 2014-01-23 15:39:44 -05:00
Benoit Girard
fc222ad8db Bug 962881 - Fix regression to y scrolling with x overflow:hidden. r=botond
--HG--
extra : rebase_source : 32cc1c9f4abdb8d9f32319d4b718637e93691155
2014-01-23 11:57:40 -05:00
Oleg Romashin
d5c99bc60c Bug 962978 - TextureHost leaking mBuffer with OMTC on Linux. r=nical 2014-01-23 07:26:59 -08:00
Carsten "Tomcat" Book
9b33885e9c Backed out changeset 24668220c9a4 (bug 952507) for OS X Build Bustage on a CLOSED TREE 2014-01-23 15:50:14 +01:00
Nicolas Silva
8ffc85202e Bug 952507 - Fix locking in double buffered ContentClient. r=nrc 2014-01-23 15:27:06 +01:00
Nicolas Silva
c74f0ea24a Bug 952507 - Fix locking in ContentClient. r=nrc 2014-01-23 15:26:59 +01:00
Nicolas Silva
e2d0872a60 Bug 962041 - Fix component apha with the new ContentClient/Host. r=mattwoodrow 2014-01-23 15:14:58 +01:00
Nicolas Silva
3db8b58478 Bug 947213 - Fix an e10s with basic layers crash. r=bjacob 2014-01-23 15:11:36 +01:00
Carsten "Tomcat" Book
f88e37b02e merge fx-team to mozilla-central 2014-01-23 10:19:26 +01:00
Ryan VanderMeulen
bf58190bf3 Merge m-c to fx-team. 2014-01-22 15:57:40 -05:00
Jim Mathies
01d3a37821 Bug 960692 - Avoid crashing in CompositorD3D11::BeginFrame if the ID3D11RenderTargetView is null. r=Bas 2014-01-22 14:12:11 -06:00
Jim Mathies
491055f172 Bug 759749 - Bail if fallback CreateBitmap call in SourceSurfaceD2DTarget::GetBitmap fails. r=Bas 2014-01-22 14:12:08 -06:00
Wes Kocher
f1db135ee7 Backed out changeset e0f69ad55edf (bug 962288) under suspicion of leaking on a CLOSED TREE 2014-01-22 14:18:13 -08:00
Ali Akhtarzada
cedb0ffb4b Bug 962288 - Don't call DeprecatedGetAsSurface unless it's Cairo. r=mattwoodrow
Changeset from Bug 959123 caused a performance decrease because
DeprecatedGetAsSurface was being called on an image that may not
be a CAIRO_SURFACE.
2014-01-22 14:12:02 -05:00
Botond Ballo
96cff6c7d4 Bug 916813 - Fix a crash during a layer dump. r=nical 2014-01-21 16:27:01 -05:00
Kartikaya Gupta
3f3757a2fb Bug 947337 - Update APZC tests to exercise the newly introduced transform. r=botond 2014-01-22 13:37:30 -05:00
Kartikaya Gupta
56b0e4e0df Bug 947337 - Ensure the transform of input to Gecko space accounts for inflight paint requests. r=botond 2014-01-21 16:27:20 -05:00
Kartikaya Gupta
942438d756 Bug 947337 - Track the last metrics actually sent to Gecko after coming out of the throttler. r=botond 2014-01-21 16:26:57 -05:00
Kartikaya Gupta
d1075d4513 Bug 947337 - Small refactoring to reduce an unnecessary codepath. r=botond 2014-01-21 16:24:18 -05:00
Sotaro Ikeda
f903a20e0d Bug 951732 - Keep TextureClient until Transaction complete. r=nical 2014-01-23 09:31:12 -05:00
Botond Ballo
55cc299986 Bug 950488 - Disallow zooming for overflow:hidden frames. r=kats
--HG--
extra : rebase_source : eec649c7f5406d6781c4d703fb7bb1055c112d9e
2014-01-21 11:51:46 -05:00
Benoit Girard
49072be9c6 Bug 950488 - Overhaul APZ handling of overflow:hidden. r=botond
--HG--
extra : rebase_source : 6ba93899e5ac446b5c4a4cacb18574dd05c54c62
2014-01-21 12:33:52 -05:00
Wes Kocher
76a04cfa54 Backed out 3 changesets (bug 947337) for build test errors
Backed out changeset 6ade48b8b9d7 (bug 947337)
Backed out changeset f3095f92e1c3 (bug 947337)
Backed out changeset 5becc07d9dac (bug 947337)
2014-01-21 15:04:22 -08:00
Nicholas Cameron
e32b7e7c65 Bug 962216. Assert the correct backend in gfxPlatform::CreateDrawTargetForData. r=mattwoodrow 2014-01-22 11:15:48 +13:00
Nicolas Silva
2302a77289 Bug 959615 - Initialize the TextureChild/Parent at creation time. r= bjacob 2014-01-21 23:06:18 +01:00
Kartikaya Gupta
5e1d2a2137 Bug 947337 - Ensure the transform of input to Gecko space accounts for inflight paint requests. r=botond 2014-01-21 16:27:20 -05:00
Kartikaya Gupta
1d05968005 Bug 947337 - Track the last metrics actually sent to Gecko after coming out of the throttler. r=botond 2014-01-21 16:26:57 -05:00
Kartikaya Gupta
bdffe911ee Bug 947337 - Small refactoring to reduce an unnecessary codepath. r=botond 2014-01-21 16:24:18 -05:00
Ryan VanderMeulen
ad33ff9d95 Backed out changeset 60698fb6579b (bug 959171) for B2G mochitest-3 crashes. 2014-01-21 15:07:48 -05:00
Sotaro Ikeda
3393c67ef8 Bug 961405 - Change GraphicBufferLocked as to use AtomicRefCountedWithFinalize. r=nical, r=pchang, r=doublec, r=mikeh 2014-01-21 13:53:48 -05:00
Ali Akhtarzada
c8d408d444 Bug 959526 - Implement PlanarYCrCbImage and derived classes GetAsSourceSurface. r=nical
Implement GetAsSourceSurface in:
* PlanarYCrCbImage
* BasicPlanarYCrCbImage
* SharedPlanarYCrCbImage
2014-01-21 11:49:53 -05:00
Sotaro Ikeda
aea11e910c Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical 2014-01-21 11:49:38 -05:00
Dan Glastonbury
16a54e4041 Bug 879663 - Check for GL Context validity in Pause()/Resume(). r=bjacob 2014-01-22 08:45:35 +10:00
Dmitry Rozhkov
c0166194d3 Bug 960565 - Reset touch counter with every touch start event. r=kats 2014-01-22 16:06:35 +02:00
Chris Lord
381ed51e56 Bug 958549 - Don't move scroll indicators for empty container layers. r=kats
If we've applied an async transform to an empty container layer (e.g. a layer
that corresponds to an nsDisplayScrollInfo display item), don't use that
transform on the corresponding scrollbar.
2014-01-22 14:25:44 +00:00
Benoit Jacob
123083a93d Bug 959380 - Fix a mismatched enum bug revealed by the conversion of gfxImageFormat into a typed enum - no review, trivial build fix 2014-01-23 15:02:23 -05:00
Kartikaya Gupta
a99d3870a7 Bug 961408 - Partial rollback of an incorrect change. No 'this' in static functions. r=me DONTBUILD 2014-01-23 13:50:17 -05:00
Benoit Jacob
67a17b1047 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05: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
guozhu cheng
ad7c57c25d Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar 2013-11-07 18:20:08 +08:00
Nathan Froyd
f1a47e9ba9 Bug 961734 - reorder nsFont fields for slightly better packing; r=jfkthame 2014-01-20 09:50:14 -05:00
George Wright
ac433d5d59 Bug 921670 - Forward port the old Android fonthost to current Skia r=snorp 2014-01-15 22:29:46 -05:00
David Zbarsky
8be21dc688 Bug 952977: Convert CreateMatrix to gfx::Matrix r=nical 2014-01-20 16:52:04 -05:00