Commit Graph

401 Commits

Author SHA1 Message Date
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
Benoit Girard
13e20df894 Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
Bas Schouten
ee64d142c2 Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc 2012-03-13 01:41:29 +00:00
Jeff Gilbert
53e3a3954c Bug 729702 - Use ReadPixelsIntoImageSurface in CopyToTarget instead of duplicating functionality - r=BenWa 2012-03-12 18:42:02 -07:00
Benoit Girard
921124c30e Bug 733184 - Remove more logging from widget. r=pcwalton 2012-03-05 19:58:18 -05:00
Benoit Girard
60aaf487bb Bug 733113 - Maple: Remove debug logging. r=ajuma 2012-03-05 16:10:43 -05:00
Benoit Girard
6c0dc872f0 Bug 717958 - Always read FPS pref on the main thread with OMTC. r=ajuma 2012-03-05 14:02:22 -05:00
Benoit Girard
d3dd25a616 Merge latest green changeset from mozilla-central to maple
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
2012-03-05 13:41:15 -05:00
Benoit Girard
6345ad9c43 Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Benoit Girard
02e577f6ff Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard
72da51e037 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Joe Drew
08279cfe47 Bug 728625 - Add support for vertically flipping textured quads generated with RectTriangles and DecomposeIntoNoRepeatTriangles. r=bjacob,gw280
--HG--
extra : rebase_source : f42bd3c951651339d2ecb1286a6ac5c9e65ddd7d
2012-02-29 14:15:12 -08:00
Kartikaya Gupta
8fd5e0c78c Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Daniel Holbert
d8d7782972 Backout 4b46f6eff8f4 (Bug 732988) for linux Cipc orange 2012-03-11 16:43:12 -07:00
Bas Schouten
a1cb5a3d28 Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc 2012-03-11 22:33:22 +00:00
George Wright
5e20a8f8fc Bug 721489 - Older Adreno 200 drivers intermittently crash when uploading RGB565 textures with glTexImage2D - r=jrmuizel 2012-02-18 21:23:06 -05:00
Kartikaya Gupta
31c5b5c646 Put back some things left out of dougt's merge 2012-02-17 01:36:49 -05:00
Doug Turner
222fba130c Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Benoit Girard
beb027e7b1 Bug 732552 - Remove void return in ColorLayerOGL. r=ajuma 2012-03-02 15:36:30 -05:00
Matt Woodrow
74eb609391 Bug 725209 - Mark TextureImage as valid when self copying, and correctly mark the region needing to be redrawn. r=joe 2012-02-15 16:03:05 -05:00