John Daggett
c95694883f
merge
2013-12-12 10:50:57 +09:00
John Daggett
0cd4d4edb3
Bug 947812 - bracket log calls with #ifdef PR_LOGGING. r=heycam
2013-12-12 09:28:40 +09:00
Matt Woodrow
69b425e751
Bug 946475 - Avoid using AutoSaveRestoreClippedOut for ClearRect when the cumulative clip can be represented as a single axis aligned rectangle. r=Bas
2013-12-12 10:11:37 +13:00
Matt Woodrow
d7f207c94a
Bug 946475 - Clip to the clear area in DrawTargetD2D::ClearRect so that we don't accidentally restore pixels that weren't drawn. r=Bas
2013-12-12 10:11:07 +13:00
Matt Woodrow
816e9ebd04
Bug 948221 - Part 6: Make UnpremultiplyImageSurface work on surfaces that don't have matching strides. r=roc
2013-12-12 10:05:26 +13:00
Matt Woodrow
c40c4b1a78
Bug 948221 - Part 5: Make GetSourceSurfaceForSurface use the screen reference draw target if one isn't specified. r=Bas
2013-12-12 10:05:26 +13:00
Dan Glastonbury
12a898ec8b
Bug 942506 - Remove Bind method from AutoBindTexture - r=bjacob
...
Refactored the places where AutoBindTexture::Bind was used. Replaced with a
simplier class that just saves the texture id bound to a texture unit. The
texture is bound directly instead of via the helper.
I didn't eliminate all occurences of AutoBindTexture because I a few places it
was cleaner than using AutoSaveTexture + TextureSourceOGL->BindTexture.
I extracted the cut'n'paste code that bound the mask texture to program into
BindMaskTextureForProgram. I dislike cut'n'paste code in multiple spots.
2013-12-10 16:50:52 +10:00
Dan Glastonbury
01884a573b
Bug 942506 - Remove ApplyFilterToBoundTexture from GLContext - r=bjacob
...
Move it to CompositorOGL.
2013-12-09 14:07:18 +10:00
Dan Glastonbury
eb13a35408
Bug 942502 - Move EGLImage/GraphicBuffer-specific helpers out of GLContext - r=bjacob
...
Extracted methods CreateEGLImageForNativeBuffer and DestroyEGLImage from
GLContext and moved to EGLImageHelpers.[h|cpp]. Renamed to
EGLImageCreateFromNativeBuffer and EGLImageDestroy.
2013-12-10 15:47:19 +10:00
Dan Glastonbury
506b3d56e6
Bug 942502 - Remove dead GLContext code - r=bjacob
2013-12-06 14:19:15 +10:00
Benoit Jacob
9f063375a9
Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical
2013-12-11 20:45:11 -05:00
Benoit Jacob
662b111d2c
Bug 897452 - Part 14 - Implement CompositableChild::ActorDestroy clearing the back-reference to it - r=nical
2013-12-11 20:45:09 -05:00
Benoit Jacob
01bec9054e
Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc
2013-12-11 20:45:07 -05:00
Benoit Jacob
bffd04bbcc
Bug 897452 - Part 12 - remove CompositableClient::OnActorDestroy - r=nrc
2013-12-11 20:45:05 -05:00
Benoit Jacob
ddd558c190
Bug 897452 - Part 11 - remove TextureClient::OnActorDestroy - r=nrc
2013-12-11 20:45:03 -05:00
Benoit Jacob
94263041e6
Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc
2013-12-11 20:45:01 -05:00
Benoit Jacob
67fcd5e48f
Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical
2013-12-11 20:44:59 -05:00
Benoit Jacob
0d718a571c
Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical
2013-12-11 20:44:57 -05:00
Benoit Jacob
c590710a23
Bug 897452 - Part 7 - Implement TextureChild::ActorDestroy to notify its TextureClient - r=nical
2013-12-11 20:44:55 -05:00
Benoit Jacob
9e7e683c5a
Bug 897452 - Part 6 - assert that the forwarder we're initializing our TextureChild with is non null - r=nical
2013-12-11 20:44:53 -05:00
Nicolas Silva
067ae770a6
Bug 897452 - Part 5 - Fix a TextureClient gtest crash - r=BenWa
2013-12-11 20:44:51 -05:00
Nicolas Silva
bffd72633e
Bug 897452 - Part 4 - Make sure we release all GL resources asap when shutting down the communication channel - r=bjacob
2013-12-11 20:44:49 -05:00
Nicolas Silva
3629fbc964
Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow
2013-12-11 20:44:47 -05:00
Nicolas Silva
21bd46b628
Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob
2013-12-11 20:44:45 -05:00
Nicolas Silva
6d4b3e3b43
Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow
2013-12-11 20:44:44 -05:00
Nicolas Silva
bf82b9d838
Bug 897452 - Part 0.2 - Make sure the texture host has a compositor - r=mattwoodrow
2013-12-11 20:44:41 -05:00
Nicolas Silva
1f2be47e2a
Bug 897452 - Part 0.1 - Make it possible for TextureClient to call virtual methods just before its destructor. r=bjacob
2013-12-11 20:44:40 -05:00
Matt Woodrow
d5e6569ce5
Bug 948221 - Part 4: Add a gfxSurfaceDrawable constructor that takes a SourceSurface. r=roc
2013-11-27 14:05:03 +13:00
Matt Woodrow
15fdc45ed3
Bug 948221 - Part 3: Fix a bug where a SurfacePattern created by gfxPattern didn't respect the requested filter mode. r=Bas
2013-12-12 10:05:26 +13:00
Ryan VanderMeulen
c269bf8ea6
Backed out 17 changesets (bug 897452) for OSX crashes on a CLOSED TREE.
...
Backed out changeset 11ad8608bc27 (bug 897452)
Backed out changeset 6bcc629e76f9 (bug 897452)
Backed out changeset b91c858a43f5 (bug 897452)
Backed out changeset 38ba49ee3e97 (bug 897452)
Backed out changeset ea184ef84762 (bug 897452)
Backed out changeset 686cc5122149 (bug 897452)
Backed out changeset 3685a8018e49 (bug 897452)
Backed out changeset be7ef6240068 (bug 897452)
Backed out changeset f95c20e70947 (bug 897452)
Backed out changeset 4a370d2a1c62 (bug 897452)
Backed out changeset 1222f6ab66d2 (bug 897452)
Backed out changeset 5e9d3c681ee9 (bug 897452)
Backed out changeset 3b9ddce12b7a (bug 897452)
Backed out changeset 7aec6387f3e9 (bug 897452)
Backed out changeset eb1fe464fdaf (bug 897452)
Backed out changeset 07deaa53b6fd (bug 897452)
Backed out changeset ddab7d071d69 (bug 897452)
2013-12-11 14:52:50 -05:00
Benoit Jacob
42e7c9fc5a
Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical
2013-12-11 13:05:37 -05:00
Benoit Jacob
89e20e13a1
Bug 897452 - Part 14 - Implement CompositableChild::ActorDestroy clearing the back-reference to it - r=nical
2013-12-11 13:05:35 -05:00
Benoit Jacob
e0cf389a4b
Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc
2013-12-11 13:05:34 -05:00
Benoit Jacob
ad578d9a57
Bug 897452 - Part 12 - remove CompositableClient::OnActorDestroy - r=nrc
2013-12-11 13:05:32 -05:00
Benoit Jacob
448c42bafe
Bug 897452 - Part 11 - remove TextureClient::OnActorDestroy - r=nrc
2013-12-11 13:05:29 -05:00
Benoit Jacob
2c56c71b5c
Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc
2013-12-11 13:05:27 -05:00
Benoit Jacob
3f6accaff7
Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical
2013-12-11 13:05:25 -05:00
Benoit Jacob
c99996909d
Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical
2013-12-11 13:05:23 -05:00
Benoit Jacob
513ae59f87
Bug 897452 - Part 7 - Implement TextureChild::ActorDestroy to notify its TextureClient - r=nical
2013-12-11 13:05:21 -05:00
Benoit Jacob
124e78fd76
Bug 897452 - Part 6 - assert that the forwarder we're initializing our TextureChild with is non null - r=nical
2013-12-11 13:05:19 -05:00
Nicolas Silva
f87e0fdc23
Bug 897452 - Part 5 - Fix a TextureClient gtest crash - r=BenWa
2013-12-11 13:05:17 -05:00
Nicolas Silva
c546c5862a
Bug 897452 - Part 4 - Make sure we release all GL resources asap when shutting down the communication channel - r=bjacob
2013-12-11 13:05:15 -05:00
Nicolas Silva
e3132d6da3
Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow
2013-12-11 13:05:13 -05:00
Nicolas Silva
d624f90dd5
Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob
2013-12-11 13:05:11 -05:00
Nicolas Silva
01cd073429
Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow
2013-12-11 13:05:09 -05:00
Nicolas Silva
171c6f13c2
Bug 897452 - Part 0.2 - Make sure the texture host has a compositor - r=mattwoodrow
2013-12-11 13:05:07 -05:00
Nicolas Silva
85c56fc061
Bug 897452 - Part 0.1 - Make it possible for TextureClient to call virtual methods just before its destructor. r=bjacob
2013-12-11 13:05:05 -05:00
Nicolas Silva
7841da0a81
Bug 948955 - AddMaskEffect handles locking failure. r=bjacob
2013-12-11 18:32:41 +01:00
Edwin Flores
0920b6c4c8
Bug 934412 - Pass surface image format into CreateTextureImage r=nical
2013-12-11 15:14:16 +01:00
Jacek Caban
34f795c6b7
Bug 945230 - Fixed char16_t/wchar_t mismatch in gfx/thebes/. r=bas.schouten
2013-12-11 10:46:41 +01:00