Benoit Girard
6d3e7a6e17
Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow
2011-10-26 14:36:18 -07:00
Benoit Girard
6845db85b2
Bug 680082 - [backout] Add GetMaxTextureImageSize to correct size support for TiledTextureImage.
2011-10-27 10:17:40 -04:00
Benoit Girard
042f28e1ce
Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow
2011-10-26 14:36:18 -07:00
Ehsan Akhgari
478ad1a412
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
396e3ad95b
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
7d613942b0
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
2011-10-10 22:50:08 -07:00
Oleg Romashin
d6de6f7589
Bug 694140 - With GL layers, panning/zooming causes corruption and wrong colours on Fennec. r=ajuma
2011-10-15 21:07:10 +01:00
Jeff Walden
c5e5f873d1
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
2011-10-10 22:50:08 -07:00
Benoit Girard
5bd32fa6b9
Bug 626694 - Remove unused TextureImage::IsRGB(). r=mattwoodrow
2011-10-11 21:11:03 -04:00
Oleg Romashin
441dce8f04
Bug 690469 - ShadowThebesLayer Init/Swap API rework. r=cjones
2011-10-02 17:19:32 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Benjamin Stover
b611fd3519
Bug 634759 Allow buffer rotation for mobile r=roc
2011-08-29 10:56:50 -07:00
Chris Lord
0b99c2068c
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
df0e58d5c8
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
9ecdd54291
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
7d8d6b3f0c
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
Matt Woodrow
49d109d9bd
Bug 675474 - Draw all ThebesLayer content before compositing and synchronize with glXWaitX on GLX. r=bjacob,roc
2011-08-20 14:04:24 +12:00
Chris Lord
a5f993733b
Bug 611315 - Fix handling of rotated ShadowBufferOGL. r=mattwoodrow
...
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 uploads.
This fixes that handling by offsetting the updated region by the rotation and
adds an assertion if the updated region crosses a rotation boundary (which
should never happen).
2011-08-19 09:36:18 +01:00
Chris Lord
fd8c7e9e21
Bug 611315 - Fix drawing of tiled GL Thebes layers with rotation. r=mattwoodrow
...
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-19 09:36:08 +01:00
Florian Haenel
1d1d91f1d5
Bug 669602 - Fennec/OGL: Paint Artifacts on chrome pages background after scrolling. r=joe,roc
2011-08-09 11:38:05 -04:00
Florian Haenel
5a1007a604
Bug 607687 - Fennec should take care about Texture MAX size HW limitation r=jmuizelaar
2011-07-06 11:00:47 -07:00
Matt Woodrow
3acebea752
Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe
2011-07-05 14:50:38 +12:00
Matt Woodrow
da5429fd82
Back out bug 656185 due to windows compile failures
2011-06-27 15:21:22 +12:00
Matt Woodrow
66390a0e9e
Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe
2011-06-27 14:32:06 +12:00
Robert O'Callahan
bfa11ce4a7
Bug 637852. Part 9: Remove resolution support from BasicLayers, ShadowLayers and GL layers. r=mattwoodrow
...
This is not needed anymore.
2011-06-23 00:11:28 +12:00
Florian Hänel
3ba560dd6e
Bug 628566 - Implement basic tiling of ImageLayerOGL. r=joe
2011-05-19 12:53:02 +02:00
Robert O'Callahan
3bb8bad7c2
Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones
2011-04-19 15:07:23 +12:00
Robert O'Callahan
ffd5268cd1
Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe
2011-04-19 15:07:21 +12:00
Matt Woodrow
e519fc951b
Bug 648741 - Correctly bind pixmaps to textures during the draw call on X11 accelerated layers. r=bjacob
2011-04-19 10:50:54 +12:00
Matt Woodrow
6cec5b4c8b
Bug 640082 - Part 4 - Create TextureImageGLX which uses texture_from_pixmap. r=joe
2011-04-07 16:58:08 -07:00
Matt Woodrow
a0da4f7023
Bug 640082 - Part 3 - Add BindTexture functions to TextureImage. r=joe
2011-04-07 16:58:08 -07:00
Robert O'Callahan
3656028b78
Bug 647315. Update ThebesLayerOGL with the same fix. r=mattwoodrow
2011-04-06 16:38:01 -07:00
Matheus Kerschbaum
9014e25ac7
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Robert O'Callahan
4533fb6e57
Bug 635373. When resampling a ThebesLayer, ensure that D3D9 and OpenGL layers paint the entire layer as one quad to avoid unnecessary aliasing. r=bas
2011-04-01 10:33:46 +13:00
Robert O'Callahan
c2e086fd3f
Bug 635373. ThebesLayerOGL needs to make sure we only sample valid pixels too. r=mattwoodrow
2011-04-01 10:33:46 +13:00
Robert O'Callahan
1ddeb63cfc
Bug 635373. Disable ThebesLayerBuffer rotation for non-identity resolutions, and add API to disable rotation explicitly. r=cjones a=beltzner
2011-03-01 14:30:16 -06:00
Matt Woodrow
fd957cd97f
Bug 637040 - Set the correct active texture unit for plugin layers. r=roc a=blocking2.0
2011-03-01 16:05:20 +13:00
Ehsan Akhgari
d07d2c1e85
Bug 622942 - Set the antialiasing flag on OpenGL layers with component alpha content.
...
r+a=roc
2011-02-26 13:40:47 +01:00
Matt Woodrow
65a86a8212
Bug 636609 - Remove DEBUG_GL_ERROR_CHECK. r+a=joe
2011-02-25 20:05:31 +13:00
Matt Woodrow
1877a612af
Bug 634132 - Reset the current GL context after drawing thebes layers. r=joe a=blocking2.0
2011-02-24 09:31:49 +13:00
Matt Woodrow
cad55dc49b
Bug 634784 - Fix scaling being applied twice on component alpha surfaces. r=joe a=blocking2.0
2011-02-18 11:47:04 +13:00
Matt Woodrow
20f50f8548
Bug 586683 - Part 2b - Add resolution handling to ThebesLayerOGL. r=joe a=blocking2.0
2011-02-09 09:37:47 +13:00
Robert O'Callahan
b53570d250
Bug 626962. Implement empty transactions for GL. r=bas,a=blocking
2011-01-25 21:45:17 +13:00
Oleg Romashin
5dc3f710d2
Bug 627661 - RGBA surface clear was broken in 593733 r=roc,mattwoodrow a=approval2.0
2011-01-24 21:31:35 +02:00
Matt Woodrow
4bc7ff44e9
Bug 593733 - Support component alpha with GL layers. r=roc, r=joe, a=betaN
2011-01-18 08:22:25 +01:00
Matt Woodrow
d9ebb4ac44
Bug 593733 - Make TextureImage::BeginUpdate return a surface, not a context. r=joe, a=betaN
2011-01-18 08:21:12 +01:00
Matt Woodrow
8e3c715d40
Bug 622165 - Don't try to draw ThebesLayerOGL's that are greater than the max texture size. r=joe a=blocking2.0
2011-01-18 14:32:40 +13:00
Matt Woodrow
92fd15b2eb
Bug 620799 - Fallback to normal surface allocation if creating a PBO fails. r=joe a=blocking2.0
2011-01-18 10:47:18 +13:00
Robert O'Callahan
499d5983a0
Bug 594253. Update mValidRegion by OR-ing with the visible region after repainting, instead of OR-ing with the redrawn region, since this leads to simpler region structures. r=cjones,a=blocking
2011-01-16 23:38:45 +13:00