Commit Graph

9762 Commits

Author SHA1 Message Date
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
Kartikaya Gupta
03c5e5c8ce Bug 965945 - Prevent the parent process from running out of memory if the child process requests a giant gralloc buffer. r=bjacob 2014-02-19 12:08:00 -05: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
Matt Woodrow
365afc3765 Bug 947227 - Remove SurfaceStream_TripleBuffer_Async since it no longer has any users. r=jgilbert 2014-02-21 11:08:36 +13:00
Matt Woodrow
87af70d830 Bug 947227 - Stop using SurfaceStream_TripleBuffer_Async since it can hang if the compositor fails to pull the latest surface. r=jgilbert 2014-02-21 11:08:05 +13:00
Benoit Jacob
fa38812d80 Bug 971695 - 2/2 - make YCbCrImageDataSerializer check data size - r=nical 2014-02-20 16:04:13 -05:00
Benoit Jacob
fb744ce009 Bug 971695 - 1/2 - make ImageDataSerializer check data size - r=nical 2014-02-20 16:04:11 -05:00
Benoit Jacob
b9dfe856c4 Bug 971678 - Validate the compositable type in SetCompositableHost - r=nical 2014-02-20 15:07:04 -05:00
Benoit Jacob
e025cb0982 Bug 969549 - Make PCompositableTransaction check actual layer types before casting - r=nical 2014-02-20 15:05:48 -05:00
Benoit Jacob
513b00930e Bug 968001 - In OpSetRoot, check that the new root is a root - r=nical 2014-02-20 15:05:08 -05:00
Benoit Jacob
0fad7ce678 Bug 963974 - Null mCurrentCompositeTask after calling Cancel() on it - r=mattwoodrow 2014-02-20 11:41:39 -05:00
Benoit Jacob
2452416427 Bug 968833 - 2/2 - ThebesLayerComposite should be TYPE_THEBES, not TYPE_SHADOW - r=nical 2014-02-20 11:41:04 -05:00
Benoit Jacob
9372f00a95 Bug 968833 - 1/2 - Make PLayerTransaction check actual layer types before casting - r=jrmuizel 2014-02-20 11:40:55 -05:00
Jan Beich
fa2fd2e470 Bug 974272 - Remove obsolete skia patch for BSDs. r=gw280 2014-02-20 09:36:10 -05:00
Jan Beich
ab53755dd8 Bug 974272 - Unbreak skia on tier3 platforms by dropping unused setProcessorAffinity() implementation. r=gw280 2014-02-20 09:35:58 -05:00
Benoit Jacob
04c3513b8a Bug 972682 - make UploadImageDataToTexture not pass uninitialized parameters to glTexImage2D - r=jgilbert 2014-02-20 08:05:34 -05:00
Benoit Jacob
833c2733e9 Bug 967330 - UpdateThebes should fail gracefully instead of aborting - r=nical 2014-02-20 08:05:32 -05:00
Benoit Jacob
58170e7e65 Bug 967824 - Make SetCompositableHost gracefully handle errors instead of just aborting - r=nical 2014-02-20 08:05:30 -05:00
George Wright
3357fe696d Bug 974360 - Disallow Skia's use of static global initialisers r=vlad 2014-02-19 17:26:45 -05:00
Kartikaya Gupta
344f74d28a Merge backout of bug 965945 from m-c 2014-02-19 17:26:48 -05:00
Kartikaya Gupta
41be014aae Back out 679e69e79fe2 (bug 965945) for causing C2 bustage on B2G emulator builds. r=backout 2014-02-19 17:21:09 -05:00
George Wright
a3a5b5f60b Bug 910754 - Add a header to moz.build indicating that it shouldn't be edited by mortals r=vlad DONTBUILD 2014-02-19 17:10:33 -05:00
George Wright
28fa21744b Bug 910754 - Ensure gonk is catered for in the mozbuild generator for FontMgr woes r=vlad DONTBUILD 2014-02-19 17:10:06 -05: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
0b9a742df4 Bug 973892 - Fix b2g bustage on a CLOSED TREE. 2014-02-19 20:00:50 +01:00
Nicolas Silva
d87bd76fa2 Bug 973892 - Fix gtest bustage on a CLOSED TREE. 2014-02-19 19:29:01 +01:00
Nicolas Silva
da82a09e89 Bug 973892 - part 2) Specify the moz2d backend when creating a TextureClient. r=Bas 2014-02-19 18:17:49 +01:00
Nicolas Silva
dc64acd28e Bug 973892 - Part 1) Choose the backend in ImageDataSerializer::GetAsDrawTarget. r=mattwoodrow 2014-02-19 18:17:40 +01:00
Kartikaya Gupta
4abb4c4bbb Bug 965945 - Prevent the parent process from running out of memory if the child process requests a giant gralloc buffer. r=bjacob 2014-02-19 12:08:00 -05:00
Ali Akhtarzada
095c305910 Bug 974314 - Fix memleak in CreateDrawTargetForData when backend is skia. r=gal 2014-02-19 11:37:26 -05:00
Morris Tseng
012a7d59e0 Bug 974189 - Black screen in content area during browser start with OMTC enabled. r=gal 2014-02-19 11:37:25 -05:00
Nicolas Silva
abf97b4300 Bug 969388 - Fix locking in textures gtest. r=kats 2014-02-19 17:34:49 +01:00
Nicolas Silva
1c837a4ea9 Bug 973875 - Make CanvasClient2D not keep a TextureClient's DrawTarget after unlocking its memory. r=bjacob 2014-02-19 16:53:26 +01:00
Nicolas Silva
31b55ad7c6 Bug 973869 - Make SharedPlanarYCbCrImage properly Lock its TextureClient. r=mattoodrow 2014-02-19 16:53:14 +01:00
Jan Beich
3bc3626b04 Bug 974272 - Unbreak skia/qt on tier3 as well. r=gw280 2014-02-24 09:41:55 -05:00
Chris Lewis
f22dc6ad70 Bug 974097 - AppendChild operation in LayersMessages.idplh should be called PrependChild. r=gal 2014-02-24 09:41:55 -05:00
Kartikaya Gupta
e4d4c9d29e Bug 976030 - Fix a typo in my patch for bug 898563. r=me and DONTBUILD because trivial
Thanks to Maks Naumov's eagle eyes for spotting it.
2014-02-24 08:31:58 -05:00
Ehsan Akhgari
5664081d99 Bug 935778 - Part 0.6: Add support for MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME and use it in moz2d
X-Git-Commit-ID: bc256ac44cbba52b04f8f0390965632ec4507608
2014-02-24 08:23:37 -05:00
Nicolas Silva
e6f2d98eed Bug 974841 - Fix TextureClientX11::Lock. r=jrmuizel 2014-02-24 11:42:54 +01:00
Ehsan Akhgari
fa370e4e9f Bug 973143 - Move some variables to moz.build; r=glandium
--HG--
extra : rebase_source : b767d6cb044efa50844129df80864b9e802b51bd
2014-02-18 02:02:00 -05:00
George Wright
1d99a6ee1a Bug 910754 - Ensure B2G builds don't use SkFontMgr r=snorp 2014-02-18 17:49:26 -05:00
George Wright
5c806ac290 Bug 910754 - Re-apply bug 921670 - Import the old Android FontHost to provide fonts for skia-npapi r=snorp 2014-02-14 16:10:48 -05:00
George Wright
a8632074d3 Bug 910754 - As we never build Skia statically, disable Skia's instance counting as it requires being built as a static library. r=snorp 2014-02-13 16:55:43 -05:00
George Wright
2bea7ef8b3 Bug 910754 - Update SkUserConfig to cater for SkMutex/SkAtomics header locations r=snorp 2014-02-13 02:07:10 -05:00
George Wright
5a5d0aa86b Bug 910754 - Update SkFontHost_cairo for the new Skia APIs r=snorp 2014-02-13 02:03:51 -05:00
George Wright
1eb404b7fc Bug 910754 - [Skia] Defer deletion of our shader objects until after linking the program r=upstream(bsalomon) 2014-02-13 01:19:51 -05:00
George Wright
fa5a870fa1 Bug 910754 - Stub out CreateTypeface*() for Mac r=snorp 2013-12-10 14:43:22 -05:00
George Wright
49aa28efd0 Bug 910754 - Update gfx/2d's Skia code to use the new Skia APIs r=snorp 2013-12-05 23:01:53 -05: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
Cameron McCormack
96ec7643ed Bug 976908 - Remove unncessary TelemetryHistogramEnums.h inclusion from Layers.cpp. r=mattwoodrow 2014-02-27 10:29:18 +11: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
Benoit Jacob
f9e3479a5c Bug 974629 - Make TextureChild hold on to its CompositableForwarder - r=nical 2014-02-26 16:23:51 -05:00
Benoit Jacob
228f2919b8 Bug 968001 - Missing null pointer check in TOpSetRoot - r=jrmuizel 2014-02-26 16:23:51 -05: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
Kartikaya Gupta
ceb4722d3a Bug 941995 - Disable double-tapping and click delay on pages that are device-width or narrower (B2G). r=mbrubeck,botond 2014-02-24 19:22:45 -05: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
Matt Woodrow
387770d792 Bug 974197 - Fire MozAfterPaint after the compositor runs. r=roc 2014-02-25 12:55:39 +13:00
James Willcox
dae6a7337b Bug 970096 - Try a 16 bit OpenGL context as a last result on Android r=bjacob 2014-02-24 16:17:34 -06:00
George Wright
8c401a23b7 Bug 910754 - Add a bunch more required OpenGL functions for SkiaGL when using desktop OpenGL r=vlad 2013-06-07 23:11:58 -04:00
George Wright
30e76f0796 Bug 910754 - Update Skia to r13424 r=upstream 2013-12-10 13:57:22 -05:00
George Wright
2b32dd27bb Back out changesets from bug 910754 due to build bustage 2014-02-18 17:54:04 -05:00
George Wright
94e8677de9 Bug 910754 - Re-apply bug 921670 - Import the old Android FontHost to provide fonts for skia-npapi r=snorp 2014-02-14 16:10:48 -05:00
George Wright
2a0ebe055f Bug 910754 - As we never build Skia statically, disable Skia's instance counting as it requires being built as a static library. r=snorp 2014-02-13 16:55:43 -05:00
George Wright
6436571427 Bug 910754 - Update SkUserConfig to cater for SkMutex/SkAtomics header locations r=snorp 2014-02-13 02:07:10 -05:00
George Wright
48e45aa8de Bug 910754 - Update SkFontHost_cairo for the new Skia APIs r=snorp 2014-02-13 02:03:51 -05:00
George Wright
c17f28a756 Bug 910754 - [Skia] Defer deletion of our shader objects until after linking the program r=upstream(bsalomon) 2014-02-13 01:19:51 -05:00
George Wright
9026d94fa5 Bug 910754 - Stub out CreateTypeface*() for Mac r=snorp 2013-12-10 14:43:22 -05:00
George Wright
71f60661f9 Bug 910754 - Update gfx/2d's Skia code to use the new Skia APIs r=snorp 2013-12-05 23:01:53 -05:00
George Wright
612ed9a7d5 Bug 910754 - Add a bunch more required OpenGL functions for SkiaGL when using desktop OpenGL r=vlad 2013-06-07 23:11:58 -04:00
George Wright
afb5f9a0ee Bug 910754 - Update Skia to r13424 r=upstream 2013-12-10 13:57:22 -05:00
Markus Stange
72f4431fe8 Bug 973308 - Don't let empty clip rects put infinities into the gradient calculations. r=jrmuizel 2014-02-18 23:18:29 +01:00
Kartikaya Gupta
e35dd07e1e Bug 969483 - Fix the RepositionChild function and add a test for it. r=BenWa 2014-02-18 16:38:30 -05:00
Kartikaya Gupta
ad5d620e67 Bug 969483 - Remove stub test code that is inferior to the real code. r=BenWa 2014-02-18 16:38:29 -05:00
Ryan VanderMeulen
e2d6196f12 Merge m-c to inbound. 2014-02-18 15:25:07 -05:00
Ryan VanderMeulen
bb75ebbe6a Merge inbound to m-c. 2014-02-18 15:18:19 -05:00
Ehsan Akhgari
f6787f583a Backed out changeset 5ecd0339a087 (bug 973143) because of a possible Talos regression 2014-02-18 14:27:51 -05:00
Sotaro Ikeda
2e29803c25 Bug 965440 - Try GRALLOC_PLANAR_YCBCR in VideoData::Create on gonk r=nical,doublec 2014-02-18 06:50:20 -08:00
Sotaro Ikeda
b23f7d7072 Bug 972494 - Use RefPtr to hold GrallocTextureClientOGL pointer r=nical 2014-02-18 06:46:13 -08:00
Ehsan Akhgari
5d49ab766c Bug 973143 - Move some variables to moz.build; r=glandium 2014-02-18 02:02:00 -05:00
Tom Schuster
ac951e8537 Bug 973227 - Add a new X11TextureSourceOGL for upload x11 pixmaps to textures. r=nical 2014-02-18 01:30:05 +01:00
Tom Schuster
4427acfe3d Bug 973227 - Split up TextureHostX11 into TextureSource and TextureHost file, make it backend independent. r=nical
--HG--
rename : gfx/layers/basic/TextureHostX11.cpp => gfx/layers/basic/X11TextureSourceBasic.cpp
rename : gfx/layers/basic/TextureHostX11.h => gfx/layers/basic/X11TextureSourceBasic.h
rename : gfx/layers/basic/TextureHostX11.cpp => gfx/layers/composite/X11TextureHost.cpp
rename : gfx/layers/basic/TextureHostX11.h => gfx/layers/composite/X11TextureHost.h
2014-02-18 01:30:05 +01:00
Tom Schuster
7180283dc9 Bug 973227 - Add GetBackendType to every Compositor class. r=nical 2014-02-18 01:30:05 +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
Matt Woodrow
58b1d4f48c Bug 966543 - Group implementations in MacIOSurfaceTextureHost. r=nical 2014-02-18 09:36:57 +13:00
Matt Woodrow
bccfc9bf4a Bug 966543 - null check mSurface in MacIOSurfaceTextureHostOGL. r=nical 2014-02-18 09:32:49 +13: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
Matt Woodrow
b5987bbf40 Bug 889959 - Don't clear compositor when detaching compositables. r=nical 2014-02-17 11:24:08 +13:00
Matt Woodrow
a6e0daab7c Bug 889959 - Implement GetTextureClient for CairoImage. r=nical 2014-02-17 11:23:39 +13:00
Phil Ringnalda
71b27f8c88 Backed out 3 changesets (bug 972703, bug 889959) for build failures and crashes
CLOSED TREE

Backed out changeset ef3d90780478 (bug 972703)
Backed out changeset 34c95e937671 (bug 889959)
Backed out changeset 5e25912d6696 (bug 889959)
2014-02-16 15:17:01 -08:00
Matt Woodrow
5c5e3de5e8 Bug 889959 - Don't clear compositor when detaching compositables. r=nical 2014-02-17 11:24:08 +13:00
Matt Woodrow
551fc01152 Bug 889959 - Implement GetTextureClient for CairoImage. r=nical 2014-02-17 11:23:39 +13:00
Phil Ringnalda
60e2b87afe Merge b-i to m-c 2014-02-16 08:47:59 -08:00
Jeff Muizelaar
93bba86964 Bug 973257. GL: Fix broken printf string. r=vlad
--HG--
extra : rebase_source : 4e2381555b7b1a49cb05cb438f63b4fe8f2fe0ed
2014-02-15 23:44:05 -05:00
Phil Ringnalda
c9b3faaef2 Merge m-c to b-i 2014-02-15 18:35:10 -08:00
Sotaro Ikeda
abff10a46a Bug 972623 - Call SetCompositableBackendSpecificData() in ImageHost::Composite() r=nical 2014-02-15 17:00:16 -08:00
Jeff Muizelaar
b09c5a8340 Bug 821475. Moz2D: Remove flip when drawing gradient. r=mstange
We muck with the matrix before we draw the text. We need to set it back after.

--HG--
rename : mobile/android/base/FilePicker.java => mobile/android/base/ActivityHandlerHelper.java
extra : rebase_source : 4f937b0b2779ee6c771e030a7ae0894f14a7b211
2014-02-15 18:21:43 -05:00
Kartikaya Gupta
34db632e35 Bug 967671 - Insure apzc always acknowledges scroll offset updates. r=botond 2014-02-15 07:06:27 -06:00
L. David Baron
2fe5b8ce55 Backed out changeset 31bc303caa56 (bug 970578) for failing to compile on many platforms, on a CLOSED TREE. 2014-02-14 20:55:41 -08:00
Doug Sherk
e2e0fdc70e Bug 970578: Add tests for preventDefault and long tap behavior to gtest. r=kats 2014-02-13 11:24:53 -05:00
Doug Sherk
a4528d730c Bug 970578: Add tests for preventDefault and long tap behavior to gtest. r=kats 2014-02-13 11:24:53 -05: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
60e2d46f24 Bug 939276 - build bustage 2014-02-14 16:12:10 -06: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
Bill McCloskey
337d1fec3b Back out assertion in bug 963952 for crashes 2014-02-14 13:35:49 -08:00
Andreas Pehrson
2672903901 Bug 959154 - Part 8: Moz2Dify GLUploadHelpers. r=nical 2014-02-13 17:28:48 +01:00
Andreas Pehrson
aa54c7c34f Bug 959154 - Part 7: Moz2Dify GLTextureImage::BeginUpdate/EndUpdate. r=nical 2014-02-13 19:00:01 +01:00
Andreas Pehrson
920f9c11d5 Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson
43e9ea8f99 Bug 959154 - Part 5: Create Moz2D version of TextureImage::DirectUpdate. r=nical 2014-02-13 17:25:55 +01:00
Andreas Pehrson
7969de45f2 Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Andreas Pehrson
78c073378b Bug 959154 - Part 3: Deprecate naming of gl::UploadTextureForSurface for thebes. r=nical 2014-02-13 17:22:31 +01:00
Andreas Pehrson
562b3efc09 Bug 959154 - Part 2: Remove local ImageFormatForSurfaceFormat. r=nical 2014-02-13 17:20:43 +01:00
Andreas Pehrson
7391b4eaeb Bug 959154 - Part 1: Moz2Dify gl::UploadImageData. r=nical 2014-02-14 12:40:26 +01:00
Ryan VanderMeulen
87113f5765 Backed out 8 changesets (bug 959154) for various oranges.
Backed out changeset 00e465be0552 (bug 959154)
Backed out changeset 0f9be8d2caaf (bug 959154)
Backed out changeset 6ca9ba706c94 (bug 959154)
Backed out changeset c6ec9df2d729 (bug 959154)
Backed out changeset 53da6aef5629 (bug 959154)
Backed out changeset 88a6337fc8fb (bug 959154)
Backed out changeset b2535f63d78e (bug 959154)
Backed out changeset fffb200a94bc (bug 959154)
2014-02-14 13:30:39 -05:00
Ehsan Akhgari
f6735f6300 Bug 969865 - Fix the allocation handling of frame time recording; r=avih
The size of these arrays can be controlled by a pref, but the max size
is bound to 216k, therefore we do not need to do a fallible allocation
for them.
2014-02-14 12:56:35 -05:00
Milan Sreckovic
e2c9e99ba6 Bug 971817 - GetLog statics are initialized too late. r=jdaggett 2014-02-14 10:27:47 -05:00
Andreas Pehrson
84c5043847 Bug 959154 - Part 8: Moz2Dify GLUploadHelpers. r=nical 2014-02-13 17:28:48 +01:00
Andreas Pehrson
84b470ecac Bug 959154 - Part 7: Moz2Dify GLTextureImage::BeginUpdate/EndUpdate. r=nical 2014-02-13 19:00:01 +01:00
Andreas Pehrson
1eada6baf8 Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson
0b08d9c134 Bug 959154 - Part 5: Create Moz2D version of TextureImage::DirectUpdate. r=nical 2014-02-13 17:25:55 +01:00
Andreas Pehrson
919b8e3183 Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Andreas Pehrson
a2c1104c14 Bug 959154 - Part 3: Deprecate naming of gl::UploadTextureForSurface for thebes. r=nical 2014-02-13 17:22:31 +01:00
Andreas Pehrson
ecb87ff2ce Bug 959154 - Part 2: Remove local ImageFormatForSurfaceFormat. r=nical 2014-02-13 17:20:43 +01:00
Andreas Pehrson
b220f378d6 Bug 959154 - Part 1: Moz2Dify gl::UploadImageData. r=nical 2014-02-14 12:40:26 +01:00
Morris Tseng
3680515b7f Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical, r=gal 2013-11-07 22:22:05 -08:00
Ali Akhtarzada
00b1ca84d3 Bug 972843 - Make Image::GetAsSourceSurface pure virtual. r=nical 2014-02-18 08:59:34 -05:00
Nicolas Silva
1589113786 Bug 972397 - Fix BufferTextureClient::Lock. r=jrmuizel 2014-02-14 10:20:41 +01:00
Wes Kocher
cb9ae2a2b7 Merge m-c to inbound on a CLOSED TREE 2014-02-13 18:50:08 -08:00
Wes Kocher
57a27d0812 Merge b2g-inbound to m-c 2014-02-13 17:02:58 -08:00
Ryan VanderMeulen
0e311b4331 Merge m-c to b2g-inbound. 2014-02-13 10:32:21 -05:00
Sotaro Ikeda
ccd1c78ece Bug 946720 - Enable new textures at ContentClient/ContentHost classes on gonk. r=nical 2014-02-13 09:46:59 -05:00
Nicolas Silva
27d133cd82 Bug 971744 - Move checks from GetAsDrawTarget to Lock in D3D9 TextureClient. r=mattwoodrow 2014-02-13 11:45:13 +01:00
Ryan VanderMeulen
37a64da0e4 Merge inbound to m-c. 2014-02-12 15:48:01 -05:00
Ali Akhtarzada
cf5f5c5cfa Bug 959121 - Moz2Dify ImageClientSingle::UpdateImage. r=nical 2014-02-12 10:24:21 -05:00
Ali Akhtarzada
8779b97143 Bug 959120 - Moz2Dify AutoLockImage contructor. r=nical
Changed the AutoLockImage constructor to take a SourceSurface
instead of a gfxASurface
2014-02-12 10:24:21 -05:00
Mason Chang
d92f7844bd Bug 958727 - Thebes textures leak memory if visible region shrinks. r=mattwoodrow 2014-02-12 10:24:20 -05:00
Sotaro Ikeda
c11af41305 Bug 968872 - Remove TEXTURE_DEALLOCATE_DEFERRED flag. r=nical 2014-02-12 09:54:23 -05:00
Masatoshi Kimura
3cdb8254e4 Bug 970483 - Part 2: Blackliist pre-RTM Windows 7 again. r=jfkthame 2014-02-12 06:01:30 +09: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
Bill McCloskey
414cc1efff Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow) 2014-02-13 08:53:50 -08:00
Jeff Gilbert
f300bc1aab Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish 2014-02-13 09:53:53 -05:00
Dmitry Rozhkov
2c9373d718 Bug 968222 - Update zoom scale and devPixelsPerPx in APZC upon orientation change. r=kats,botond 2014-02-12 21:27:45 +02:00
Markus Stange
bb055b7334 Bug 966996 - The computed gradient stops need not cover the origin, so don't start at zero. r=jrmuizel
--HG--
extra : rebase_source : cc8afae8083129aee8765855037fc89ea1280b1c
2014-02-13 12:11:16 +01:00
Markus Stange
80443d62bf Bug 966996 - Clamp the gradient extents to the current clip extents so that we don't compute unseen gradient stops. r=jrmuizel
--HG--
extra : rebase_source : 5ccf62603305ff2d88c98512e795fed87badc2c8
2014-02-13 12:10:43 +01:00
Markus Stange
44c7c2835d Bug 960017 - Make the surfaces big enough. r=Bas
--HG--
extra : rebase_source : fc7cafcc7f39bd1f05478230292816d874a7b035
2014-02-13 12:09:11 +01:00
Markus Stange
7a8f365ba0 Bug 960017 - Add some debug-only checks. r=Bas
--HG--
extra : rebase_source : 7618902f2cb1d21e402e6fee251c967af518aaf1
2014-02-13 12:07:35 +01:00
Jeff Gilbert
f68d00bf9a Bug 960378 - Allow Reading into non-tightly-packed surfaces. - r=bjacob 2014-02-13 15:38:53 -08:00
Jeff Gilbert
c296158df3 Bug 969632 - More const cleanup in gfx/gl. - r=bjacob 2014-02-13 15:02:03 -08:00
Jeff Gilbert
fb236555b8 Bug 823454 - Implement EXT_frag_depth for WebGL. - r=kamidphish 2014-02-13 15:00:12 -08:00
Benoit Girard
5630e118c1 Bug 971154 - Implement APPLE_texture_range. r=jrmuizel 2013-12-12 13:27:10 -05:00
Tor Arvid Lund
471e8c6b58 Bug 948765 - Simplify (and fix issue) with CanvasLayerD3D9. r=nical
There seemed to be some duplication of code in the UpdateSurface method,
as well as an issue with updating that caused some reftests to fail.

In this patch, I remove the mSurface member variable from
CanvasLayerD3D9.h, and instead call mDrawTarget->Snapshot() as needed.

I also reuse the code to draw into the D3DLOCKED_RECT so that we don't
duplicate that portion anymore. It seems now to be more similar to the way
CanvasLayerD3D10 works.

The reftests now pass.
2014-02-12 10:07:47 -05:00
Tor Arvid Lund
19730a14f2 Bug 948765 - Implement BasicImageLayer::Paint. r=nical 2014-02-12 10:07:47 -05:00
Tor Arvid Lund
ea7fb02614 Bug 948765 - Implement BasicColorLayer::Paint. r=nical 2014-02-12 10:07:47 -05:00
Tor Arvid Lund
edf342c191 Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical
This patch deprecates the UpdateSurface and PaintWithOpacity methods in the
CCL class. To do this, many other changes were made in the process.

BasicImplData::Paint was deprecated, and its mOperator was ported to Moz2D.
This caused changes in several *Layer subclasses.

GLScreenBuffer::Readback was deprecated.

I want to change the usages of the (now) deprecated functions, so that they
use the new Moz2D ones: CanvasClient::Update has been updated, but the big
one (BasicLayerManager::PaintSelfOrChildren) will have to be its own
project.
2014-02-12 10:07:46 -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
Kartikaya Gupta
773eff20ab Bug 970070 - Update the last-dispatched-paint metrics when we get a scroll update from layout. r=botond 2014-02-12 09:04:38 -05:00
Jon Coppeard
25c1a75044 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Jacek Caban
d58401494a Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan 2014-02-12 10:59:05 +01:00
Phil Ringnalda
d6216c9ade Back out bcaadd45b905 (bug 972161) for adding (fatal) warnings on Windows
CLOSED TREE
2014-02-12 23:27:40 -08:00
Bas Schouten
e8ed6e1f20 Bug 972161: Add ability to output font data for freetype fonts. r=jrmuizel 2014-02-13 07:31:51 +01:00
Ryan VanderMeulen
7549943bac Merge m-c to inbound. 2014-02-12 15:58:22 -05:00
Benoit Girard
8ee5fc432a Bug 971875 - Fix regression to HWC on b2g. r=sotaro
--HG--
extra : rebase_source : 8aaa3818d1dbfe1e07137010a7734a2da8dc3379
2014-02-12 15:25:52 -05:00
Ali Akhtarzada
ef197a24c4 Bug 970327 - Add PNG dump utils for SourceSurface. r=nical 2014-02-11 13:41:09 -05:00
Ehsan Akhgari
d1964b92f6 Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Nicolas Silva
a98bb5a45e Bug 957560 - Fix some issues with CairoTextureClientD3D9 and DataTextureSourceD3D. r=Bas 2014-02-11 17:13:14 +01:00
Kartikaya Gupta
40bb6ba9dc Bug 965381 - Delay the single tap notification until after the touchdown is handled. r=daleharvey 2014-02-11 10:42:42 -05:00
Masatoshi Kimura
9411ded657 Bug 957002. Stop including prtypes.h for endian macros. r=jrmuizel
We don't need these anymore.

--HG--
rename : config/autoconf-js.mk.in => config/autoconf.mk.in
rename : config/emptyvars-js.mk.in => config/emptyvars.mk.in
rename : dom/events/test/test_bug967796.html => dom/events/test/test_bug432698.html
extra : rebase_source : e9879157bb3efa8c1834c9d57ecfca8ddb9567a8
2014-02-10 18:45:43 -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
Doug Sherk
247f79eba5 Bug 969860: Set GEL's state back to GESTURE_NONE after spoofing a touch start on pinch end r=kats 2014-02-10 12:43:12 -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
Jacek Caban
2a9babd0d5 Bug 970364 - Fix conversions between enum classes and ints in gfx/2d/. r=bas.schouten 2014-02-11 13:44:17 +01:00
Matt Woodrow
ede8359603 Bug 966679 - Follow-up to fix bustage on gcc 4.4, split Compose() into separate functions. CLOSED TREE 2014-02-11 17:58:01 +13:00
Matt Woodrow
aefec0df73 Bug 966679 - Mark Layers as Mutated if they have an invalid region. r=roc 2014-02-11 17:01:49 +13:00
Matt Woodrow
5179f9a16e Bug 966679 - Resolve RefLayers during IPDL transactions. r=nical 2014-02-11 17:01:20 +13:00
Matt Woodrow
21ada525f1 Bug 966679 - Make LayerProperties aware of RefLayers. r=roc 2014-02-11 17:00:46 +13:00
Matt Woodrow
1b9e2a7317 Bug 966679 - Make sure all RefLayers are resolved before calling BeginTransaction. r=nical 2014-02-11 17:00:16 +13:00
Matt Woodrow
2a1194062e Bug 966679 - Implement widget paint flashing for BasicCompositor. r=roc 2014-02-11 16:59:39 +13:00
Bill McCloskey
f98d7e2332 Bug 970736 - Make basic compositor handle texture wrapping correctly (r=mattwoodrow) 2014-02-10 18:46:34 -08:00
Bill McCloskey
9dc45e266e Bug 970711 - Fix typo in MemoryTextureClientData destructor (r=mattwoodrow) 2014-02-10 18:46:27 -08:00
Bill McCloskey
f9915544fb Bug 970711 - Make basic compositor respect TexturedEffect filter (r=mattwoodrow) 2014-02-10 18:45:11 -08:00
L. David Baron
fb212fb7fe Bug 969898: Make gfx/heap-textures memory reporter support 64-bit numbers on 64-bit platforms. r=njn 2014-02-10 17:03:24 -08:00
Bill McCloskey
2fde094e5b Bug 970496 - Make sure software compositor's invalid region is sane (r=mattwoodrow) 2014-02-10 16:43:32 -08:00
Wes Kocher
9ac352879f Backed out changeset bde8b5894490 (bug 965381) for APZC failures 2014-02-10 16:02:06 -08:00
Jeff Gilbert
119f9a779d Bug 968469 - Add check for ARB_half_float_pixel to GLFeature::texture_half_float. r=kamidphish 2014-02-10 18:03:12 -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
Kartikaya Gupta
4fcbfd56c8 Bug 965381 - Delay the single tap notification until after the touchdown is handled. r=daleharvey 2014-02-10 17:34:24 -05:00
Sotaro Ikeda
95e52e8e66 Bug 962101 - Handle Remove Texture in Compositable level. r=nical 2014-02-10 15:52:35 -05:00
Ryan VanderMeulen
0e3dc9eb1e Merge m-c to inbound. 2014-02-10 15:43:52 -05:00
Ryan VanderMeulen
c608b2f60f Merge inbound to m-c. 2014-02-10 15:42:58 -05:00