Commit Graph

9361 Commits

Author SHA1 Message Date
Benoit Girard
6a537286af Bug 956263 - Add a preference to control the compositor frame-rate. r=mstange 2014-01-29 18:26:38 -05:00
Vladimir Vukicevic
63cb3e650f b=738872, implement WebGL OES_texture_half_float; part 2 - core impl; r=jgilbert 2014-01-23 16:47:37 -05:00
Vladimir Vukicevic
ed20989167 b=738872, implement WebGL OES_texture_half_float; part 1 - GLContext; r=jgilbert 2014-01-23 12:47:56 -05:00
Vladimir Vukicevic
99fe1819f0 b=951799, cache uniforms in OGLShaderProgram, part 3 - inline; r=bjacob 2014-01-29 17:53:38 -05:00
Vladimir Vukicevic
5a9f9c3174 b=951799, cache uniforms in OGLShaderProgram, part 2 - fix LayerProgramProjectionMatrix; r=bjacob 2014-01-29 17:53:38 -05:00
Vladimir Vukicevic
0fec1fd861 b=951799, cache uniforms in OGLShaderProgram, part 1; r=bjacob 2014-01-29 17:53:37 -05:00
Nicolas Silva
9bfe1542f1 Bug 965250 - Fix TextureHostD3D9. r=Bas 2014-01-29 17:27:01 +01:00
Nicolas Silva
7db5e38e47 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
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
Karl Tomlinson
239287c0b9 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
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
Doug Sherk
f21220320e Bug 937343: Remove pan start logic on pinch end from APZC r=botond 2014-01-24 22:13:12 +00:00
Doug Sherk
7db6e5eb05 Bug 937343: Spoof a touch start event on pinch end in GestureEventListener r=botond 2014-01-24 22:13:10 +00:00
Ali Akhtarzada
dc2def3d55 Bug 964745 - GetAsSourceSurface in SharedTextureImage and DeprecatedSharedRGBImage. r=nical 2014-01-28 10:27:36 -05:00
Ali Akhtarzada
1abf911f03 Bug 961715 - Implement D3D9SurfaceImage::GetAsSourceSurface. r=nical 2014-01-28 09:14:10 -05:00
Ali Akhtarzada
7370bd6e93 Bug 961713 - Implement GrallocImage::GetAsSourceSurface. r=nical 2014-01-28 09:13:58 -05:00
Dan Glastonbury
b38b5e6a76 Bug 953221 - GLenum to C string helper. r=bjacob 2014-01-22 19:21:19 +10:00
Ali Akhtarzada
c25cc9fe69 Bug 961714 - Implement RemoteDXGITextureImage::GetAsSourceSurface. r=nical 2014-01-28 09:00:10 -05:00
Milan Sreckovic
aa5444a711 Bug 946860 - Move the preference evaluation to main thread. r=gwright 2014-01-24 17:19:34 -05:00
Nicholas Cameron
5a4d989e54 Bug 944087. Missing comment change addressing reviewer comment. r=Bas DONTBUILD (comment only) 2014-01-28 21:44:15 +13:00
Kartikaya Gupta
56a807b8aa 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
19bde4952b Bug 952977: Convert AsyncCompositionManager to gfx::Matrix4x4 r=nical 2014-01-27 15:25:21 -05:00
David Zbarsky
0a9d965999 Bug 952977: Convert AutoMaskData to gfx::Matrix4x4 r=nical 2014-01-27 15:25:21 -05:00
David Zbarsky
92ffaedc75 Bug 952977: Convert CompositingRenderTargetOGL to gfx::Matrix4x4 r=nical 2014-01-27 15:25:21 -05:00
David Zbarsky
8cfe88a6c2 Bug 952977: Convert DrawTo to gfx::Matrix4x4 r=nical 2014-01-27 15:25:20 -05:00
David Zbarsky
ac7a35fed2 Bug 952977: Convert PrepareViewport to gfx::Matrix4x4 r=nical 2014-01-27 15:25:20 -05:00
David Zbarsky
0a543106f3 Bug 952977: Convert OGLShaderProgram to gfx::Matrix r=nical 2014-01-27 15:25:20 -05:00
David Zbarsky
9bac52255b Bug 952977: Perform some cleanup r=nical 2014-01-27 15:25:19 -05:00
Jacek Caban
d1f7379026 Bug 945292 - Fixed ANGLE compilation on mingw. r=jgilbert
--HG--
extra : rebase_source : 84a48e83aab4a71d7be05d38874942ec89721d4d
2014-01-27 19:37:56 +01:00
David Zbarsky
23dbba7ec5 Bug 952977: Convert shadow transforms to gfx::Matrix4x4 r=nical 2014-01-27 10:29:27 -05:00
David Zbarsky
c2b5692c64 Bug 952977: Convert Layer's mTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:29:06 -05:00
David Zbarsky
76b8ef2eb7 Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:47 -05:00
David Zbarsky
77535232c8 Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:33 -05:00
David Zbarsky
07f34ba029 Bug 952977: Convert GetLocalTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:18 -05:00
David Zbarsky
77f928fb9b Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical 2014-01-27 10:28:04 -05:00
David Zbarsky
1e46ffbe23 Bug 952977: Convert SnapTransforms to gfx::Matrix r=nical 2014-01-27 10:27:20 -05:00
Ali Akhtarzada
d7d3926de8 Bug 963491 - Implement MacIOSurface::GetAsSourceSurface. r=nical 2014-01-27 08:25:50 -05:00
Marcin Juszkiewicz
8641c84714 Bug 963031 - AArch support for Graphics. r=doublec 2014-01-27 08:18:27 -05:00
Nicholas Cameron
130f86ef7c Bug 944087. Fix main thread unlocking and tidy up. r=Bas 2014-01-27 17:10:40 +13:00
David Zbarsky
1a8648fa9e Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:19 -08:00
David Zbarsky
482b98b33e Bug 952977: Convert GetTextureTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:02 -08:00
Doug Sherk
8bc2ba8957 Bug 963270: Use first and second touches for pinch gesture detection r=kats 2014-01-23 18:42:49 -05:00
Vivien Nicolas
6ee4294c86 Bug 963555 - Remove unused mMemoryPressureObserver variable in CompositorChild.h. r=nical 2014-01-24 19:29:04 +01:00
Nicolas Silva
53a4585145 Bug 952507 - Fix locking in double buffered ContentClient. r=nrc 2014-01-24 15:25:04 +01:00
Ali Akhtarzada
43a832d438 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
b2a19661db Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical 2014-01-24 08:30:41 -05:00
Nicholas Cameron
207399c36e Bug 959842. Rename ContentClient::ReturnDrawTarget. r=mattwoodrow 2014-01-24 19:58:33 +13:00
Nicholas Cameron
a0164d2145 Bug 959842. Fix PGO only crash calling ReturnDrawTarget. r=mattwoodrow 2014-01-24 19:58:29 +13:00
Doug Sherk
350d820834 Bug 962278 - Adjust default APZ DPI and settings that depend on it. r=kats 2014-01-23 16:34:31 -05:00
Ryan VanderMeulen
8dc9129e87 Merge m-c to inbound. 2014-01-23 15:58:06 -05:00
Ryan VanderMeulen
7aa1d694bd Merge b2g-inbound to m-c. 2014-01-23 15:39:44 -05:00
Benoit Girard
e33446ad97 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
92f1bf9210 Bug 962978 - TextureHost leaking mBuffer with OMTC on Linux. r=nical 2014-01-23 07:26:59 -08:00
Carsten "Tomcat" Book
bc815aa84d 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
627e8e82f4 Bug 952507 - Fix locking in double buffered ContentClient. r=nrc 2014-01-23 15:27:06 +01:00
Nicolas Silva
aed6304aab Bug 952507 - Fix locking in ContentClient. r=nrc 2014-01-23 15:26:59 +01:00
Nicolas Silva
8c88c3c058 Bug 962041 - Fix component apha with the new ContentClient/Host. r=mattwoodrow 2014-01-23 15:14:58 +01:00
Nicolas Silva
8c52c7ff36 Bug 947213 - Fix an e10s with basic layers crash. r=bjacob 2014-01-23 15:11:36 +01:00
Carsten "Tomcat" Book
cd9d04e1a2 merge fx-team to mozilla-central 2014-01-23 10:19:26 +01:00
Ryan VanderMeulen
82dcea57d9 Merge m-c to fx-team. 2014-01-22 15:57:40 -05:00
Jim Mathies
9f2a09b95d Bug 960692 - Avoid crashing in CompositorD3D11::BeginFrame if the ID3D11RenderTargetView is null. r=Bas 2014-01-22 14:12:11 -06:00
Jim Mathies
cb930f5a5b Bug 759749 - Bail if fallback CreateBitmap call in SourceSurfaceD2DTarget::GetBitmap fails. r=Bas 2014-01-22 14:12:08 -06:00
Wes Kocher
8dc107fef4 Backed out changeset e0f69ad55edf (bug 962288) under suspicion of leaking on a CLOSED TREE 2014-01-22 14:18:13 -08:00
Ali Akhtarzada
1051e4fa02 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
e3038b5dcb Bug 916813 - Fix a crash during a layer dump. r=nical 2014-01-21 16:27:01 -05:00
Kartikaya Gupta
dc0975cb37 Bug 947337 - Update APZC tests to exercise the newly introduced transform. r=botond 2014-01-22 13:37:30 -05:00
Kartikaya Gupta
f99d562c53 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
59ead70e3c 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
5b9147ec9b Bug 947337 - Small refactoring to reduce an unnecessary codepath. r=botond 2014-01-21 16:24:18 -05:00
Sotaro Ikeda
0941fe3c91 Bug 951732 - Keep TextureClient until Transaction complete. r=nical 2014-01-23 09:31:12 -05:00
Botond Ballo
ed519843f7 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
8959b81753 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
c6eb5d18d8 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
9529bc1b10 Bug 962216. Assert the correct backend in gfxPlatform::CreateDrawTargetForData. r=mattwoodrow 2014-01-22 11:15:48 +13:00
Nicolas Silva
6122c73e61 Bug 959615 - Initialize the TextureChild/Parent at creation time. r= bjacob 2014-01-21 23:06:18 +01:00
Kartikaya Gupta
f7de0e7e48 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
697939ce56 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
7379651eb7 Bug 947337 - Small refactoring to reduce an unnecessary codepath. r=botond 2014-01-21 16:24:18 -05:00
Ryan VanderMeulen
f0a60f3d85 Backed out changeset 60698fb6579b (bug 959171) for B2G mochitest-3 crashes. 2014-01-21 15:07:48 -05:00
Sotaro Ikeda
11014e1136 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
edfd0e3e4d 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
64b7d94348 Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical 2014-01-21 11:49:38 -05:00
Dan Glastonbury
c21ce07663 Bug 879663 - Check for GL Context validity in Pause()/Resume(). r=bjacob 2014-01-22 08:45:35 +10:00
Dmitry Rozhkov
1aa8b3f123 Bug 960565 - Reset touch counter with every touch start event. r=kats 2014-01-22 16:06:35 +02:00
Chris Lord
d42102847c 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
6fa0f3b3dd 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
a215c8932d 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
15ef84b8b5 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
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