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
46768022a6
Bug 741730 - Remove USE_GLES2 - r=romaxa
2012-04-10 11:49:21 -04:00
Benoit Jacob
574847287b
Bug 686735 - 1/2 - Implement no-gfx-driver-workarounds mode - r=joe,ajuma,jgilbert
...
Part 1: introduce the gfx.work-around-driver-bugs preference and handle most existing workarounds
2012-04-10 11:49:10 -04:00
Jeff Gilbert
7d33dde9d8
Bug 739421 - Implement/expose ARB_sync in GLContext - r=bjacob
2012-04-06 16:57:55 -07:00
Jeff Gilbert
309a688dea
Bug 741689 - Disable poorly implemented GL extensions on load - r=bjacob
2012-04-04 18:44:55 -07:00
Ali Juma
44bb4bb484
Bug 741984 - Prevent tiled texture upload from going into an infinite loop. r=Cwiiis
2012-04-04 10:26:05 -04:00
Jeff Gilbert
9fe0e7def9
Bug 732765 - Fail gracefully when we lack GL functionality - r=bjacob
2012-03-29 13:47:20 -07:00
Chris Lord
24ec18f899
Bug 739604 - Don't leave mCurrentImage in an inconsistent state. r=ajuma
...
Setting MOZ_DUMP_PAINT_LIST when using tiled textures was causing crashes, one
of which was due to TextureImage function calls happening outside of tile
iteration and accessing invalid memory.
Fix this crash by reverting NextTile behaviour to never leave mCurrentImage
point to an invalid tile, as was the case prior to bug 732917.
2012-03-28 19:10:10 +01:00
Benoit Jacob
3ee00f35ed
Bug 737182 - limit max texture size on Mac Intel driver - r=bgirard
2012-03-26 12:15:53 -04:00
Oleg Romashin
8b91f70e77
Bug 738865 - Use Small Tiles should not be Android only. r=chrislord.net,bgirard
2012-03-24 18:08:06 -04:00
Chris Lord
3b90179676
Bug 738740 - Fix handling of parameters in nsTArray::ReplaceElementAt. r=bz
...
Handle the parameters given to ReplaceElementAt the same way as those given to
other methods in the class. This allows removal of the & in GLContext.cpp that
was taking the address of a temporary, and causing a build error when using
clang, or when using GCC with particular parameters.
2012-03-23 19:27:25 +00:00
Chris Lord
15d21e7d38
Bug 737434 - Reuse tiles when resizing tiled textures. r=bgirard
...
Instead of scrapping all tiles when a tiled texture is resized, reuse as many
tiles as possible. Strictly speaking, more tiles could be reused, but the
selected reuse strategy maintains the spacial structure of the texture, and we
don't often resize in such a way as to make this inefficient.
2012-03-23 11:30:57 +00:00
Jeff Muizelaar
ac3b70e489
Bug 737686. Avoid glTexSubImage2D on PowerVR hardware. r=gwright
...
glTexSubImage causes a readback on PowerVR hardware if the texture
has already been uploaded. Disabling CanUploadSubTextures() brings
the median upload speed from 26ms to 10ms.
2012-03-20 19:13:50 -04:00
Chris Lord
7fb495f3bd
Bug 732917 - Use tile iteration functions in DirectUpdate. r=ajuma
...
So that the tile iteration callback remains useful, use the public iteration
functions when iterating over tiles in TiledTextureImage::DirectUpdate.
2012-03-17 12:06:29 +00:00
Chris Lord
68fd5151c9
Bug 732917 - Add a callback function for tile iteration. r=ajuma
...
Add the ability to set a callback function to be called on tile iteration.
2012-03-17 12:06:29 +00:00
George Wright
1ec77ce75f
Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe
...
--HG--
extra : rebase_source : f4f057f354772ff38d37fbc6e179f3cde9e218d1
2012-03-16 18:24:12 -04:00
George Wright
aaef82ac19
Backed out changeset aad5bc8b3433
2012-03-16 15:02:01 -04:00
George Wright
342337ca94
Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe
2012-03-16 14:30:09 -04:00
Benoit Girard
188ca471f6
Merge mc->Maple
2012-03-13 11:05:28 -04: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
5950b72a1a
Merge mc->maple
2012-03-09 18:16:26 -05:00
Chris Lord
e3be8a819f
Bug 734175 - Fix uploading all tiles when subtextures are unsupported. r=bgirard
...
The check for sub-texture support happens before iterating over tiles in
TiledTextureImage, and forces the bounds to the boundaries of the
TiledTextureImage. This causes any upload on a TiledTextureImage to re-upload
every single tile, regardless of whether it intersects with the upload region.
Fix this by moving this check inside of the tile iteration loop, and expanding
individual tile upload regions to tile boundaries.
2012-03-09 10:22:59 +00:00
Benoit Girard
479f0b2fb1
Merge mc->Maple
2012-03-07 11:10:45 -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
Matt Woodrow
d13a203bc1
Bug 732598 - Optionally load glGetTexLevelParameteriv - r=bjacob
2012-03-03 13:12:57 +13: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
Benoit Girard
0520ad5343
Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=joe
2012-02-24 18:17:27 -05:00
Joe Drew
c8a4b31d1d
Bug 729132 - Correctly handle the case that we try to draw a texture with x = width. r=mattwoodrow
...
--HG--
extra : rebase_source : 02d84bf78ef60d84dfb96832cd39267f5d99aa38
2012-02-24 15:08:31 -08:00
Doug Turner
63f2081ca1
Merge with mozilla-central
2012-02-24 11:57:27 -08:00
Benoit Girard
be7fc15f8a
Backout f8b7cca3297f, our leaktool can't handle statics :(
2012-02-23 20:10:23 -05:00
Benoit Girard
2586625748
Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma
2012-02-23 17:51:57 -05:00
Benoit Girard
70ec83200b
backout 6ae546e8bc55
2012-02-23 17:53:40 -05:00
Benoit Girard
e8a9b6ac25
Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma
2012-02-23 16:04:38 -05:00
Florian Boesch
fc9e33241d
Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
...
The spec proposal for this extension is at
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html
This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Doug Turner
476b362925
merge with mozilla-central:
2012-02-22 09:30:09 -08:00
Oleg Romashin
31770ebccb
Bug 733506 - WebGL FBO offscreen texture not initialized properly. r=bjacob
2012-03-06 23:29:38 +01:00
Joe Drew
8fd2db46fd
Bug 728631 - remove a bunch of accidentally-committed debug code.
2012-02-21 13:15:39 -08:00
Joe Drew
fd29de011a
Bug 728631 - Don't disable blending inside our Java rendering code, because we rely on it remaining set from LayerManagerOGL. r=dougt
...
--HG--
extra : rebase_source : 9fe18ddb4582455fe428f14acb8a931e1b1e4661
2012-02-20 14:48:36 -08: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
Joe Drew
94d3065dc6
Bug 727311 - Disable BGRA readback support in GLES 2. r=bjacob
2012-02-18 18:12:33 -08:00
Brad Lassey
34aa551009
merge from mozilla-central
2012-02-18 17:29:33 -05:00
Ehsan Akhgari
a80aff9d02
Remove the warning because it's not useful, r=joe
...
--HG--
extra : rebase_source : 43086e16e842a602479e69d983107cedb8649aea
2012-02-17 15:12:06 -05:00
Patrick Walton
fb9ea0b3c7
Bug 727688 - Disable tiles on SGX 540 to fix tearing
2012-02-17 13:33:37 -08:00
Doug Turner
222fba130c
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Benoit Girard
3d94f16f20
Change tilesize to 256x256 for progressive upload and adreno POT uploads
2012-02-14 13:19:46 -05:00
Mike Hommey
25fb9ac832
Bug 728656 - Avoid crashing when there are no GL extensions reported by the GL implementation. r=bjacob
2012-02-20 08:04:38 +01:00
Benoit Girard
04ccae8d41
Bug 721489 - Backout changeset 0cb6641ab21a for a more desirable fix.
...
--HG--
extra : rebase_source : b8100a07f626c3cc51e019911a3b023b482d23b9
2012-02-10 15:12:35 -05:00