Nicholas Cameron
189d6e2368
Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc
2012-05-22 19:15:16 -04:00
Nicholas Cameron
4ffe1932d5
Bug 753784; add the ability to force a single tile. r=roc
2012-05-22 19:14:03 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Kartikaya Gupta
1bd6b7dc5d
Bug 756555 - Intersect the upload region with the valid region. r=ajuma
2012-05-18 21:19:43 -04:00
David Zbarsky
6f8cd2e311
Bug 756171 - Fix warning in LayerManagerOGLProgram.h. r=bgirard
2012-05-18 11:42:04 -04:00
Benoit Girard
1e62549457
Bug 754233 - Handle negative layer coordinate in Tiled layers. r=ajuma
2012-05-17 15:47:53 -04:00
Nicolas Silva
41ae397e6b
Bug 751163 - Release ShadowImageLayerOGL's YUV textures in ShadowImageLayerOGL::CleanupResources. r=bgirard
2012-05-15 15:17:33 -04:00
Benoit Jacob
74cf999921
Bug 754056 - call ReadUnlock() before replacing tiles - r=bgirard
2012-05-12 16:56:55 -04:00
Benoit Jacob
1b053c4340
Bug 739648 - add mFlags field to TextureImage; introduce GetSrcTileRect flipping tile y-coords as needed; use it in DirectUpdate() to fix WebGL compositing bug - r=bgirard
2012-05-09 16:55:31 -04:00
Joe Drew
c8a5edd1af
Bug 725105 - Fix the single-buffered (i.e., not default) case in LayerManagerOGL. r=bjacob
2012-05-07 17:46:25 -04:00
Benoit Girard
d2025c66fd
Bug 748649 - Shallow copy BasicTiledLayerBuffer to work around bug 747811. r=ajuma
2012-05-01 15:59:41 -04:00
Chris Lord
d74e9d0fdb
Bug 750535 - Fix invalidation of retained tiles. r=ajuma a=blocking-fennec
...
When the layer size changed, reused tiles that then fell out of the layer area
would be incorrectly rendered. Fix this by deriving the rendered content area
from set display-ports and correctly invalidating when harvesting tiles, and
clipping when drawing them.
2012-05-03 20:55:08 -04:00
Benoit Jacob
5dab049fbd
Backing out bug 739648 for linux build failure
2012-05-03 16:26:04 -04:00
Benoit Jacob
9e3a5c65b9
Bug 739648 - WebGL rendering is broken on Android due to tiles being rendered at y-flipped coordinates - r=bgirard
2012-05-03 15:59:19 -04:00
Nicholas Cameron
416582450b
Bug 716439; compile OGL shaders lazily. r=BenWa
2012-05-02 14:54:40 +12:00
Nicholas Cameron
48de5e73f8
Bug 716439; shadow layer support. r=BenWa
2012-03-19 12:02:38 +13:00
Nicholas Cameron
123e17e7d6
Bug 716439; change build process to genshaders statically. r=BenWa
2012-03-27 11:13:34 +13:00
Nicholas Cameron
02609626e6
Bug 716439; using mask layers in OGL. r=BenWa
2012-03-19 09:08:53 +13:00
Nicholas Cameron
7d0c43e3f3
Bug 716439; load a mask texture in the OGL backend. r=BenWa
2012-03-19 09:08:49 +13:00
Nicholas Cameron
e536f861d2
Bug 716439; managing mask layer shaders in OpenGL. r=BenWa
2012-03-19 09:07:25 +13:00
Nicholas Cameron
82d24b7283
Bug 716439; shaders for OpenGL mask layers. r=BenWa
2012-03-19 09:07:25 +13:00
Nicholas Cameron
7a5a512340
Bug 733894; changing the framework for representing shaders in the OGL
...
layers backend. r=BenWa
2012-03-19 09:07:25 +13:00
Daniel Holbert
9bddd7645e
Bug 750356: fix signed/unsigned comparison build warnings in ReusableTileStoreOGL.cpp. r=chrislord
2012-04-30 15:47:42 -07:00
Benoit Girard
1af1af4c9f
Bug 749107 - Set the texture unit before binding the tile texture and change the texture ordering in ImageLayer to leave texture unit 0 bound. r=jmuizelaar
2012-04-30 14:51:05 -04:00
Benoit Girard
d7f6002a6f
Bug 749357 - TiledThebesLayerOGL can draw un-rendered areas of tiles. r=chrislord
2012-04-30 10:19:17 -04:00
Chris Lord
6a45ec3b08
Bug 749630 - Fix single-colour checkerboard and masking. r=kats
...
Bug 748718 tried to fix masking of the checkerboard layer, but incorrectly
calculated the values for the right and bottom sides of the page, causing
less masking to occur than should happen.
It also possibly broke single-colour layer drawing (though I'm not sure this
worked previously), which this fixes by clearing to the page colour instead of
generating and drawing a texture for it.
2012-04-27 12:54:18 -04:00
Chris Lord
48996e4909
Bug 749143 - Don't draw retained tiles outside of layer bounds. r=bgirard
...
It is possible for the content that layers represent to change size, causing
tiles to be reused where they shouldn't. Make sure that tiles that are outside
of content bounds are not drawn, and that they get evicted when harvesting
tiles.
2012-04-26 12:53:14 -04:00
Benoit Girard
ee1f25542f
Bug 748645 - Upload TiledThebesLayerOGL outside the transaction. r=chrislord
2012-04-25 11:32:10 -04:00
Chris Lord
55f1e641b1
Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
...
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Matt Brubeck
9a9be14a5e
Back out 4114c654f5d0 (bug 745177) because of Mac build errors
2012-04-24 20:18:50 -07:00
Chris Lord
452929bad6
Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
...
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Benoit Girard
1f85612d82
Bug 739679 - Part 6: Fix unlocking gfxReusableSurface. r=pcwalton
2012-04-23 20:08:18 -04:00
Benoit Girard
b143fe3171
Bug 739679 - Part 4: TiledLayerBufferOGL. r=mwoodrow,roc
2012-04-16 19:04:24 -04:00
Ali Juma
cd6dda579d
Bug 733596 - Tell the compositor about the new surface size on surface change. r=bgirard a=blocking-fennec
2012-04-20 11:46:30 -04:00
George Wright
539af9ce58
Bug 744543 - LayerManagerOGL doesn't build on Linux/clang. r=bjacob
2012-04-11 15:50:45 -04:00
Ali Juma
074cef2a87
Bug 741319 - Delete textures using the same context used to create them, on the thread that owns that context. r=joe
2012-04-10 16:20:02 -04:00
Benoit Jacob
d4877a7dae
Bug 686735 - 2/2 - Implement no-gfx-driver-workarounds mode - r=joe
...
Part 2: In no-workarounds mode, also don't work around NPOT FBO bug
2012-04-10 11:49:32 -04:00
Benoit Jacob
e28cb37e46
Bug 741730 - Remove USE_GLES2 - r=romaxa
2012-04-10 11:49:21 -04:00
Oleg Romashin
95ede2771e
Bug 739095 - Offscreen context without offscreen texture does not need YFlip. r=jgilbert
2012-03-26 12:56:10 -04:00
Jeff Gilbert
95d6adf82a
Bug 735378 - Cache temporary composite surfaces - r=bgirard
2012-03-25 12:50:26 -07:00
Matt Brubeck
9aa41e9560
Back out 636349fa2e09 because of robocop failures
2012-03-22 19:07:42 -07:00
Jeff Gilbert
035f06a5b3
Bug 735378 - Cache temporary composite surfaces - r=bgirard
2012-03-22 15:04:25 -07:00
Chris Jones
346d98f63e
Bug 738158, part 2: Set the wrap mode for cairo images. r=ajuma
2012-03-22 01:02:59 -07:00
Chris Jones
dc6d33d94c
Bug 738158, part 1: Remove unnecessary settings from InitTexture(). UploadSurfaceToTexture() and SetFilter/ApplyFilter() do these now. r=ajuma
2012-03-22 01:02:29 -07:00
Chris Jones
40e43061e1
Bug 737071: Remove LayerManagerOGL::glForResources() because it's not needed and causes performance degradtion sometimes. r=Bas
2012-03-21 22:48:41 -07:00
Chris Lord
7c31d5ca8e
Bug 736850 - Cancel progressive upload task on buffer destruction. r=bgirard
...
Make sure to cancel the progressive upload task when destroying the
front-buffer. This also changes the Destroy method to call DestroyFrontbuffer
instead of just assigning nsnull to mBuffer.
2012-03-19 14:38:34 +00:00
Andreas Gal
65ba347b1f
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:22:22 -07:00
Andreas Gal
1af45fa278
Backout bug 736716.
2012-03-17 15:20:01 -07:00
Andreas Gal
852fd857ba
Follow-up fix for bug 736716 (fix bad style fix).
2012-03-17 15:07:22 -07:00
Andreas Gal
7a590364de
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:02:02 -07:00