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
Matt Woodrow
2db91dc2ea
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
c785511059
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
0aedc7dacb
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
c543f5d68b
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
32ba480e5b
Bug 607687 - Fennec should take care about Texture MAX size HW limitation r=jmuizelaar
2011-07-06 11:00:47 -07:00
Matt Woodrow
7ab3748569
Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe
2011-07-05 14:50:38 +12:00
Matt Woodrow
cc66446a05
Back out bug 656185 due to windows compile failures
2011-06-27 15:21:22 +12:00
Matt Woodrow
9376e72c7e
Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe
2011-06-27 14:32:06 +12:00
Robert O'Callahan
0cc6be313b
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
8e0d9ab286
Bug 628566 - Implement basic tiling of ImageLayerOGL. r=joe
2011-05-19 12:53:02 +02:00
Robert O'Callahan
c957ae039e
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
73b97e72c4
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
c43047b608
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
c2d0ad4ae4
Bug 640082 - Part 4 - Create TextureImageGLX which uses texture_from_pixmap. r=joe
2011-04-07 16:58:08 -07:00
Matt Woodrow
30e6da146a
Bug 640082 - Part 3 - Add BindTexture functions to TextureImage. r=joe
2011-04-07 16:58:08 -07:00
Robert O'Callahan
acc1dd656b
Bug 647315. Update ThebesLayerOGL with the same fix. r=mattwoodrow
2011-04-06 16:38:01 -07:00
Matheus Kerschbaum
93480c6366
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
750234b3f1
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
4b58755a9e
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
5fb4e9f52c
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
7f306f9fcc
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
0b71287da9
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
852f3221c8
Bug 636609 - Remove DEBUG_GL_ERROR_CHECK. r+a=joe
2011-02-25 20:05:31 +13:00
Matt Woodrow
780ff82ea8
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
cebc8097cd
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
20867e8f85
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
7551593e3e
Bug 626962. Implement empty transactions for GL. r=bas,a=blocking
2011-01-25 21:45:17 +13:00
Oleg Romashin
6ad82781f7
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
b4e55ae952
Bug 593733 - Support component alpha with GL layers. r=roc, r=joe, a=betaN
2011-01-18 08:22:25 +01:00
Matt Woodrow
1752246ab3
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
a567dd6b52
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
9301918144
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
0c3dfcf61b
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
Chris Jones
3a29ee3337
Bug 622838: Use the right rect-rounding mode to avoid accidentally resampling resolution-scaled ThebesLayer textures. r=jrmuizel a=b
2011-01-08 00:05:35 -05:00
Chris Jones
3e974a81a0
Bug 623255: Ensure LayerOGL::Destroy is called for "orphaned" shadow OGL layers before the GLContext is deleted. r=vlad a=b
2011-01-05 22:54:47 -06:00
Oleg Romashin
ee28ea14ea
Bug 621227 - Optimize thebes layer render function. r=vladimir a=approval2.0
...
--HG--
extra : rebase_source : e03927f5f491385725b8dc629060cc688cc299aa
2011-01-04 17:37:22 +02:00
Oleg Romashin
dd6224b8dd
Bug 619490 - Don't use double-buffered shadowed layers with OGL compositing r=cjones a=b-f
2010-12-31 09:40:31 +02:00
Matt Woodrow
a2e7cac831
Bug 604101 - Part 6 - Add TextureImage::DirectUpload for faster texture uploads. r=jrmuizel a=blocking2.0
2010-12-16 23:50:26 -08:00
Matt Woodrow
bdcc087748
Bug 604101 - Part 4 - Use UploadSurfaceToTexture in TextureImage. r=joe a=blocking2.0
2010-12-16 23:29:23 -08:00
Chris Jones
6434c45265
Bug 613000: Updates to thebes-layer textures must account for resolution. r=jrmuizel a=b
2010-12-09 16:26:13 -06:00
Vladimir Vukicevic
4b44267bda
b=609195; use GL_REPEAT for non-power-of-two textures if we have support for them; r=jrmuizel, a=b
2010-11-12 12:02:20 -08:00
Vladimir Vukicevic
18c7818ede
b=609195; don't use GL_REPEAT for non-power-of-two textures; r=jrmuizel
2010-11-12 12:02:17 -08:00
Oleg Romashin
5b01c5e03f
Bug 609838 - Fennec double-tap zoom is broken with HW acceleration enabled. r=jones.chris.g a=b-f
2010-11-11 07:44:42 +02:00
Robert O'Callahan
669ff953e8
Bug 602200. Share code to compute effective transforms and opacity, and snap effective transforms. r=bas,sr=vlad,a=blocker
2010-11-08 22:06:15 +13:00
Matt Woodrow
eb10edeff3
Bug 599507. Propagate opacity and transform from single-child ContainerLayerOGL to child. r=joe, a=blocker
2010-11-08 22:06:14 +13:00
Chris Jones
ec4a82019e
Bug 603885, part 2: Set up the framework for swap-and-readback. r=roc sr=vlad
2010-11-05 02:17:07 -05:00