Commit Graph

401 Commits

Author SHA1 Message Date
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
Nicolas Silva
5657910425 Bug 957560 - Clear the newly allocated d3d TextureClient if the allocation flags says so. r=nrc 2014-01-20 14:52:12 +01:00
Ali Akhtarzada
09cc9a436c Bug 959123 - Implement CairoImage::GetAsSourceSurface. r=nical
Deprecate CairoImage::Data::mSurface and add an mSourceSurface.
Also change all the callers of CairoImage::SetData to set the
SourceSurface as well.

Also change scope of CairoImage::mSource to private
2014-01-17 11:22:09 -05:00
David Zbarsky
7474ed0454 Bug 952977: Switch GL world transform to gfx::Matrix r=nical 2014-01-16 02:22:19 -05:00
Andreas Pehrson
07bfb2b3d0 Bug 877115 - Moz2Dify CanvasLayerD3D9 drawing shared surface into D3DLOCKED_RECT. r=nical 2014-01-13 20:05:24 +01:00
Ryan VanderMeulen
7c98a0a107 Backed out changesets bfd0864f189d and dba042cbc381 (bug 877115) for Windows bustage.
CLOSED TREE
2014-01-13 10:46:09 -05:00
Andreas Pehrson
6b3d768916 Bug 877115 - Moz2Dify CanvasLayerD3D9 drawing shared surface into D3DLOCKED_RECT. r=nical 2014-01-13 13:59:02 +01: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
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
Nicolas Silva
909730f4fa Bug 900244 - Implement the D3D9 specific TextureClients. r=nrc 2014-01-07 17:20:40 +01:00
Matt Woodrow
b6d62a28f6 Bug 900244 - Implement a shared D3D9 TextureClient. r=nical 2014-01-07 17:20:22 +01:00
Nicolas Silva
ad476e2176 Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc 2014-01-07 17:20:11 +01:00
Nicolas Silva
db6939af11 Bug 900244 - New D3D9 Textures for BufferTextures. r=nrc 2014-01-07 17:20:03 +01:00
Birunthan Mohanathas
dfbad43639 Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Andreas Pehrson
f3b2403568 Bug 877115 - [Moz2Dify] Part 3. Change gfxIntSize to gfx::IntSize in GLContext::OffscreenSize and dependendent classes. r=nical 2013-12-10 17:11:58 +01:00
Ms2ger
98586cdbc1 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Tor Arvid Lund
bbfc9d5dc7 Bug 950677 - Change all remaining gfxIntSize -> IntSize refs. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund
03a5dadfb2 Bug 950677 - gfxIntSize -> IntSize in ThebesLayer* classes. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund
5aafe907f1 Bug 950677 - gfxIntSize -> IntSize for Texture* classes. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund
19ca402f3f Bug 950677 - More gfxIntSize -> IntSize changes in Layer* classes. r=nical 2013-12-20 11:46:29 -05:00
Tor Arvid Lund
48371ada8e Bug 950677 - Change gfxIntSize to gfx::IntSize in DirectX files. r=nical 2013-12-20 11:46:29 -05:00
Wes Kocher
546f98d63d Backed out 6 changesets (bug 877115) for mochitest-1 and reftest orange on this CLOSED TREE
Backed out changeset 65ad9d8860d6 (bug 877115)
Backed out changeset bf8095c168fb (bug 877115)
Backed out changeset 290ad5863615 (bug 877115)
Backed out changeset 4488ec28910e (bug 877115)
Backed out changeset 45f8859c6fd6 (bug 877115)
Backed out changeset 111cc426fa9e (bug 877115)
2013-12-16 16:33:07 -08:00
Andreas Pehrson
3d28bdc5dd Bug 877115 - [Moz2Dify] Part 3. Change gfxIntSize to gfx::IntSize in GLContext::OffscreenSize and dependendent classes. r=nical 2013-12-10 17:11:58 +01:00
Tor Arvid Lund
217a12d499 Bug 929513 - Fix compile errors on Windows/Android r=nical
Forgot an include in the ImageLayerD3D9.cpp file (though I am unable to
reproduce the issue on my own windows installation).

Also seems in my previous attempt to fix the build, I introduced a
breakage for Android. Hopefully this will fix things.
2013-12-13 18:32:10 +01:00
Tor Arvid Lund
944f0d6f3b Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
Nicholas Cameron
b8cb20debc Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Birunthan Mohanathas
58325c73be Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Phil Ringnalda
a1bcd56fe8 Backed out 7 changesets (bug 946958, bug 865033)
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
748b779dd2 Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Jacek Caban
c4f126f124 Bug 900248 - Removed extra qualification of IsInTextureHostList.
--HG--
extra : rebase_source : 8e0cdc445810aad2f3f4332462df69b07a6eac02
2013-12-02 12:25:51 +01:00
Andreas Pehrson
79a5d7be7d Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al 2013-11-27 10:59:01 +01:00
Markus Stange
66dccf3af2 Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow 2013-11-27 08:32:19 +01:00
Nicholas Cameron
d4f7e3a57b Bug 942819. Check the return value of GetD3D9DeviceManager. r=mattwoodrow 2013-11-26 10:54:13 +13:00
Nicholas Cameron
e0c9c3571b No bug. Add a missing include to fix bustage in the previous patches. r=me 2013-11-22 11:07:58 +13:00
Nicholas Cameron
a94b3297b7 Bug 900248. Handle the add/remove monitor case. r=Bas 2013-11-22 11:07:58 +13:00
Nicholas Cameron
39f315cb76 Bug 900248. An extra safety check in TextureD3D9 plus some refactoring around it. r=Bas 2013-11-22 11:07:58 +13:00
Nicholas Cameron
b2aa6e53cd Bug 900248. Move logic for device checking to Ready() and check it at the start of transactions. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
aa767195a9 Bug 900248. Better handling of device reset and recreation. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
319f9ffb3c Bug 900248. Remove managed pool d3d9 texture use. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
e92709ffbc Bug 900248. Reinstate some removed code and don't composite immediately after resetting the device. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
4e826ed7fd Bug 900248. Only create d3d9 device on the main thread. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
c66f56b5ba Bug 900248. Don't return a d3d9 device from device() if we can't composite. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
f93ee05073 Bug 900248. Rebuild the d3d9 device. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
beeacc6b62 Bug 900248. ReleaseTextureResources. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
d946444b25 Bug 900248. Don't assume ThebesLayerBufer will get the buffers it wants. r=mattwoodrow 2013-11-22 11:07:55 +13:00
David Anderson
51ca221b03 Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Nicolas Silva
ede1cf13e7 Bug 940959 - Compiled shaders. r=generated code 2013-11-21 17:42:10 +01:00
Nicolas Silva
028e95eb05 Bug 940959 - Use alpha textures for YCbCr planes with D3D9. r=nrc 2013-11-21 17:40:55 +01:00