Joe Drew
a74effcbd2
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
b87c85ed4e
Bug 748649 - Shallow copy BasicTiledLayerBuffer to work around bug 747811. r=ajuma
...
--HG--
extra : rebase_source : 914f0602e64557481f91f96bd78fb9c6ed2dc4b5
2012-05-01 15:59:41 -04:00
Chris Lord
f55a32191b
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.
--HG--
extra : rebase_source : 6427be89b9cfb1e54feb0582fb64fa97d7d42bde
2012-05-03 20:55:08 -04:00
Benoit Jacob
37788a6a83
Backing out bug 739648 for linux build failure
2012-05-03 16:26:04 -04:00
Benoit Jacob
b5690cc915
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
f17d7b7065
Bug 716439; compile OGL shaders lazily. r=BenWa
2012-05-02 14:54:40 +12:00
Nicholas Cameron
9b7506b604
Bug 716439; shadow layer support. r=BenWa
2012-03-19 12:02:38 +13:00
Nicholas Cameron
fa10a91faf
Bug 716439; change build process to genshaders statically. r=BenWa
2012-03-27 11:13:34 +13:00
Nicholas Cameron
ece642df25
Bug 716439; using mask layers in OGL. r=BenWa
2012-03-19 09:08:53 +13:00
Nicholas Cameron
925f7ef466
Bug 716439; load a mask texture in the OGL backend. r=BenWa
2012-03-19 09:08:49 +13:00
Nicholas Cameron
55a1863333
Bug 716439; managing mask layer shaders in OpenGL. r=BenWa
2012-03-19 09:07:25 +13:00
Nicholas Cameron
4e849c3e85
Bug 716439; shaders for OpenGL mask layers. r=BenWa
2012-03-19 09:07:25 +13:00
Nicholas Cameron
44c6d07ba4
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
2dade77e16
Bug 750356: fix signed/unsigned comparison build warnings in ReusableTileStoreOGL.cpp. r=chrislord
2012-04-30 15:47:42 -07:00
Benoit Girard
db592d1ce0
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
9177b22315
Bug 749357 - TiledThebesLayerOGL can draw un-rendered areas of tiles. r=chrislord
2012-04-30 10:19:17 -04:00
Chris Lord
077e78ae9e
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
a7e24267f0
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
ca9934cd5d
Bug 748645 - Upload TiledThebesLayerOGL outside the transaction. r=chrislord
...
--HG--
rename : mozglue/linker/Elfxx.h => mozglue/linker/CustomElf.h
rename : toolkit/devtools/debugger/server/dbg-server.js => toolkit/devtools/debugger/server/dbg-server.jsm
extra : rebase_source : 547cc2fb5871ba58b1c133824a06eab9d4027524
2012-04-25 11:32:10 -04:00
Chris Lord
8f9b90984f
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
68fdd39a98
Back out 4114c654f5d0 (bug 745177) because of Mac build errors
2012-04-24 20:18:50 -07:00
Chris Lord
7f2c8c3737
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
c62428467c
Bug 739679 - Part 6: Fix unlocking gfxReusableSurface. r=pcwalton
2012-04-23 20:08:18 -04:00
Benoit Girard
51549b38f1
Bug 739679 - Part 4: TiledLayerBufferOGL. r=mwoodrow,roc
2012-04-16 19:04:24 -04:00
Ali Juma
45b0527065
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
0b33bc95cf
Bug 744543 - LayerManagerOGL doesn't build on Linux/clang. r=bjacob
2012-04-11 15:50:45 -04:00
Ali Juma
02c5a8de49
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
c2c3c22cb4
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
46768022a6
Bug 741730 - Remove USE_GLES2 - r=romaxa
2012-04-10 11:49:21 -04:00
Oleg Romashin
c6605360b3
Bug 739095 - Offscreen context without offscreen texture does not need YFlip. r=jgilbert
2012-03-26 12:56:10 -04:00
Jeff Gilbert
ab6e9099ad
Bug 735378 - Cache temporary composite surfaces - r=bgirard
2012-03-25 12:50:26 -07:00
Matt Brubeck
2866761d14
Back out 636349fa2e09 because of robocop failures
2012-03-22 19:07:42 -07:00
Jeff Gilbert
8e1705e107
Bug 735378 - Cache temporary composite surfaces - r=bgirard
2012-03-22 15:04:25 -07:00
Chris Jones
e0b9a354c2
Bug 738158, part 2: Set the wrap mode for cairo images. r=ajuma
2012-03-22 01:02:59 -07:00
Chris Jones
c3ce3d333d
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
80c67b1ddc
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
e5a870b5b0
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
726b80aae8
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:22:22 -07:00
Andreas Gal
e5235c2601
Backout bug 736716.
2012-03-17 15:20:01 -07:00
Andreas Gal
4166d84daf
Follow-up fix for bug 736716 (fix bad style fix).
2012-03-17 15:07:22 -07:00
Andreas Gal
4e2055256d
Remove unused and broken tiling code (bug 736716, r=cjones).
2012-03-17 15:02:02 -07:00
Benoit Girard
bb93bde972
Bug 736743 - Fix LayerManagerOGL Description. r=ajuma
2012-03-17 12:44:45 -04:00
Chris Lord
80fb273e5d
Bug 732917 - Upload textures progressively. r=bgirard
...
When using double-buffering in ShadowThebesLayerOGL, upload texture data
progressively.
2012-03-17 12:07:02 +00:00
Chris Lord
43189d6c13
Bug 732917 - Upload to texture on demand. r=bgirard,mattwoodrow
...
Add functions to do progressive texture upload and only upload to texture on
draw-demand. This is a building block towards asynchronous texture upload.
2012-03-17 12:07:02 +00:00
Chris Lord
0c11c7ad0c
Bug 732917 - Enable double-buffering on Android. r=ajuma
...
Add support for double-buffering to ThebesLayerOGL, and enable it on Android.
Double-buffering should allow us to more easily implement progressive texture
upload.
2012-03-17 12:07:02 +00:00
Phil Ringnalda
f505cb2ab5
Back out 243cd4db5edd and 4175fc853e16 (bug 712716) for OS X 10.6 and 10.7 assertions
2012-03-15 23:21:54 -07:00
Benoit Girard
13c7ec12a0
Bug 712716 - Add conditional shaders and a Copy2DExternalProgramType for gralloc. r=jrmuizelaar
2012-03-14 15:10:36 -04:00
Benoit Girard
44891d8e82
Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar
2012-03-12 16:28:02 -04:00
Benoit Girard
188ca471f6
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Ehsan Akhgari
66cc3b5fa9
Backout changeset b52bae0250f7 because of test failures
2012-03-12 18:51:17 -04:00