Commit Graph

770 Commits

Author SHA1 Message Date
Jeff Gilbert
18783419b6 Bug 615976 - Fixes layer compositing with AA on Mac - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
2a3da0403f Bug 615976 - Adds support for multisampled GLContexts, esp. EGL, WGL paths - r=bjacob 2011-10-19 15:09:57 -04:00
Benoit Jacob
4bbab81c93 Back out Jeff's patches because they lack a Bug number and/or a r= field. Sorry, should have checked that. Re-landing. 2011-10-19 15:31:33 -04:00
Jeff Gilbert
525da27872 Fixes layer compositing with AA on Mac 2011-10-19 15:09:57 -04:00
Jeff Gilbert
281abc1b80 Adds support for multisampled GLContexts, esp. EGL, WGL paths 2011-10-19 15:09:57 -04:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Benoit Girard
e84a828b1c Bug 691354 - Restore CanvasLayerOGL::RenderLayer apply filter. r=bustage 2011-10-16 22:31:15 -04:00
Benoit Girard
1daed01c41 Bug 691354 - Use NEAREST filter when OGL layers have no 3d transform/scaling. r=jmuizelaar 2011-10-14 13:16:19 -07:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Oleg Romashin
46a8580477 Bug 694140 - With GL layers, panning/zooming causes corruption and wrong colours on Fennec. r=ajuma 2011-10-15 21:07:10 +01:00
Matt Woodrow
67c757e3a4 Bug 693521 - Improve preserve-3d sorting behaviour by using line intersection points. r=roc 2011-10-15 09:45:01 +13:00
Matt Woodrow
903d47038f Bug 692968 - Check the return value of CreateTexture2D in ContainerLayerD3D10. r=Bas 2011-10-13 14:01:30 +13:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Benoit Girard
881b619cc6 Bug 626694 - Remove unused TextureImage::IsRGB(). r=mattwoodrow 2011-10-11 21:11:03 -04:00
Oleg Romashin
a969b2f6e7 Bug 693282 - BasicShadowableThebesLayer leaking backBuffers. r=cjones 2011-10-10 16:43:56 -07:00
Matt Brubeck
eb9465f1a3 Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE 2011-10-10 09:47:27 -07:00
Ehsan Akhgari
ee637e4944 Merge mozilla-central into mozilla-inbound 2011-10-10 11:30:21 -04:00
Brad Lassey
24e472b6ab merge 2011-10-10 11:01:34 -04:00
Brad Lassey
a80dbfc6f5 Backed out changeset 703df62e855b due to crashes reported in bug 693086 2011-10-10 11:00:16 -04:00
Oleg Romashin
a86f160f81 Bug 690469 - ShadowThebesLayer Init/Swap API rework. r=cjones
--HG--
extra : rebase_source : 92daf535bc48e1fa2a80d3ef1a6ed20855135eb4
2011-10-02 17:19:32 -04:00
timeless@mozdev.org
14354c0e59 Bug 620171 - [@ ImageContainerOGL::GetCurrentAsSurface] if GetFormat() can return anything other than PLANAR_YCBCR or CAIRO_SURFACE
r=bgirard
2011-10-10 15:27:05 +01:00
Benoit Girard
68a8c52603 Bug 692548 - Properly print OGL Shader compile errors on Android. r=jmuizelaar 2011-10-06 12:12:51 -07:00
Jeff Gilbert
ddbd79d20d Bug 692458 - Fix for GLContext currency error - r=bjacob 2011-10-07 15:16:48 -04:00
Matt Woodrow
f5bcaad772 Bug 689416 - Stop using intermediate layers to render 3d transforms. r=roc 2011-10-07 10:29:07 +13:00
Matt Woodrow
37b2a02d8f Bug 684759 - Part 4 - Add layer sorting support to the LayerManagers. r=roc 2011-10-07 10:24:32 +13:00
Matt Woodrow
5725b611f5 Bug 684759 - Part 3a - Sort preserve-3d layers using their z depth at points where they intersect in 2d space. r=roc 2011-10-07 10:23:18 +13:00
Matt Woodrow
5ca101cd1c Bug 684759 - Part 2 - Add DirectedGraph and gfxQuad classes. r=roc 2011-10-07 10:22:18 +13:00
Ali Juma
26e350dca1 Bug 690566 - Associate filters with texture images. r=jrmuizel 2011-10-05 14:20:33 -04:00
Matt Woodrow
e23cc710a1 Bug 689501 - Use an offscreen surface for rendering 3d transformed content instead of PushGroup in BasicLayers. r=roc 2011-09-30 14:13:50 +13:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Oleg Romashin
c4c535022d Bug 689045 - Canvas Shadow swap/Init API rework r=cjones
--HG--
extra : rebase_source : 7b2acb0ffededb54815d7222d79999d32506bee5
2011-09-27 15:19:28 -07:00
Oleg Romashin
ae53d5a0c3 Bug 687372 - ImageLayerOGL should not destroy surface given as argument. r=cjones
--HG--
extra : rebase_source : 00d0c49f320c0969570917a321b8a95a3357a943
2011-09-27 15:19:26 -07:00
Oleg Romashin
8ddd2bdc2f Bug 686742 - Move YUV conversion code into gfxUtil functions. r=derf
--HG--
extra : rebase_source : 0993d4fc7558c40fd6df97278919c01fc8e92918
2011-09-27 15:19:24 -07:00
Ali Juma
e85791a064 Bug 681033 - Prevent ShadowLayers::RecvUpdate from triggering an immediate repaint. r=cjones 2011-09-26 09:20:42 -04:00
Benoit Jacob
ac72c48614 Bug 662258 - GCC warning about BasicThebesLayerBuffer::CreateBuffer getting hidden by ShadowThebesLayerBuffer::CreateBuffer. r=roc 2011-09-24 21:01:18 +02:00
Florian Hänel
5b1dfe0a4d Bug 687458 - TimeStamp in FPSState uninitialized, leads to crash; r=romaxa 2011-09-22 00:16:12 -04:00
Oleg Romashin
2043d49e51 Bug 687373 - Provide mozilla::layers::SurfaceDescriptorX11 non xlib surface ctor. r=cjones 2011-09-20 17:20:51 +01:00
Oleg Romashin
4ead548122 Bug 685082 - Transparent plugins not cleared on Maemo; r=cjones 2011-09-14 08:51:24 +01:00
Benoit Girard
13e2f34b00 Bug 685694 - Don't use glDrawBuffer in GLES2. r=matt.woodrow 2011-09-08 14:21:36 -07:00
Benoit Girard
645ee9b6d4 Bug 683745 - Fix OGL FPS Counter on Android; r=jrmuizel 2011-08-31 15:58:19 -07:00
Matt Woodrow
3ec9b74079 Bug 682615 - Use fallible new for BasicPlanarYCbCrImage. r=roc 2011-08-31 14:03:34 +12:00
Joshua Cranmer
de2c647b2f Bug 681634 - Get m-c to build with static checking; NS_OVERRIDE failure in gfx. r=cjones 2011-08-29 12:29:51 -07:00
Benjamin Stover
d5d60db425 Bug 634759 Allow buffer rotation for mobile r=roc 2011-08-29 10:56:50 -07:00
Matt Woodrow
784208bb3e Bug 675837 - Add 3D transforms support to BasicLayers. r=roc 2011-08-27 12:04:06 +12:00
Alfred Kayser ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
944c74ce98 Bug 537223 - Cleanup gfxColor.h; r=jrmuizel 2011-08-25 10:46:01 +02:00
Chris Lord
eab558f3d1 Bug 611315 - Fix handling of rotated ShadowBufferOGL
Although we currently have buffer rotation disabled for shadow buffers when
using the GL layer manager, if you re-enable it, it will be broken. This is
because we don't take into account the rotation when handling updates.

This fixes that handling by offsetting the updated region by the rotation,
and if that new region crosses texture boundaries, splitting it into
multiple uploads.
2011-08-24 15:10:03 +01:00
Chris Lord
9f3d985c52 Fix drawing of GL Thebes layers with rotation when using tiled textures
Drawing of rotated buffers relies on texture-wrapping, but in the case of
tiled textures, this would cause each individual tile to wrap instead of
wrapping the compound texture.

Add a special case for tiled textures that manually does the wrapping.
2011-08-24 15:09:59 +01:00
Benoit Girard
7ea86c481d Backout changeset 07d34812bdee, b879d413ce2d, 0c59eeb18700 due to android opengl regression on chrome pages; r=backout 2011-08-23 17:12:15 -04:00
Justin Wood
3ef675a7ec Backout Bug 594876, Bug 675474, and Bug 675532, to fix OSX64 Reftest orange, and Linux perf regression. rs+=edmorly
changeset 0a920411e64c, changeset 58147380793b, and changeset 96e052b3e845
2011-08-20 15:07:06 -04:00