Commit Graph

127 Commits

Author SHA1 Message Date
Jeff Muizelaar
73b17dfe33 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
Hessam Salehi
7d69570885 Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Michael Wu
81e7f68936 Bug 736902 - Remove support for unused SetSwapRectangleANDROID symbol, r=gal 2012-03-18 22:49:37 -04:00
Dão Gottwald
feaf15543e Backed out changeset 57d368003eb8 2012-03-20 13:13:24 +01:00
Oleg Romashin
24dca68145 Bug 733562 - Offscreen FBO must not be created for Global Shared context. r=bjacob 2012-03-20 12:23:14 +01:00
Chris Lord
018b526b78 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
42c647aeae 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
ba2b96d27a 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
01dbfa3c85 Backed out changeset aad5bc8b3433 2012-03-16 15:02:01 -04:00
George Wright
817530eb8d Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe 2012-03-16 14:30:09 -04:00
Phil Ringnalda
807c91234e 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
26f5681f0b Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
Benoit Girard
32745d1cc3 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Ehsan Akhgari
dfa138382a Backout changeset b52bae0250f7 because of test failures 2012-03-12 18:51:17 -04:00
Benoit Girard
803f0eba61 Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
Kartikaya Gupta
12d4a57946 Merge m-c to maple 2012-03-12 10:41:42 -04:00
Oleg Romashin
72f8c34f42 Bug 734667 - Compilation fail on some toolchains due extra semicolon in EGL Provider. r=joe 2012-03-11 22:41:03 +01:00
Jeff Gilbert
1c94bfeca7 Bug 729702 - Use ReadPixelsIntoImageSurface in CopyToTarget instead of duplicating functionality - r=BenWa 2012-03-12 18:42:02 -07:00
Benoit Girard
c8515d0999 Merge mc->maple 2012-03-09 18:16:26 -05:00
Benoit Girard
fb79343e79 Merge mc->Maple 2012-03-09 11:13:30 -05:00
Chris Lord
45c6424900 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
0f0612ce47 Merge mc->Maple 2012-03-07 11:10:45 -05:00
Benoit Girard
7de784afd9 Bug 733113 - Maple: Remove debug logging. r=ajuma 2012-03-05 16:10:43 -05:00
Benoit Girard
392ef78337 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
18b1521f00 Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
George Wright
74f1d29f5d Bug 674753 - Ensure that sApitraceLibrary is static so that we only load the library once - r=bjacob 2012-03-04 21:43:51 -05:00
Michael Wu
d82046881d Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 19:01:12 -05:00
Ryan VanderMeulen
4d57056b4d Back out 2175db811fad (bug 734081) due to Android reftest failures. 2012-03-08 18:41:28 -05:00
Michael Wu
d78d9dfe0a Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 17:06:54 -05:00
Matt Woodrow
80365647a2 Bug 732598 - Optionally load glGetTexLevelParameteriv - r=bjacob 2012-03-03 13:12:57 +13:00
Benoit Girard
b24e1949c2 Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard
77a9a7b782 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Benoit Girard
08f33710af Merge mc->maple 2012-03-01 10:44:44 -05:00
Joe Drew
180a1da805 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
George Wright
ed99bd0ed3 Bug 674753 - Add support for loading apitrace explicitly on Android - r=jrmuizel,bjacob 2012-02-29 16:55:46 -05:00
Benoit Jacob
adca3ded7f Bug 713305 - Force staying on discrete GPU while any WebGL context is live - r=jrmuizel 2012-02-29 15:49:55 -05:00
Benoit Girard
1038211c5c Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=joe 2012-02-24 18:17:27 -05:00
Joe Drew
78cc4e1443 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
George Wright
b8ae25fc32 Bug 728041 - Only release the surface and not the context. r=ajuma 2012-02-24 16:20:15 -05:00
Doug Turner
df4f53ea90 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Benoit Girard
852a5157de Backout f8b7cca3297f, our leaktool can't handle statics :( 2012-02-23 20:10:23 -05:00
Benoit Girard
7f155d2527 Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma 2012-02-23 17:51:57 -05:00
Benoit Girard
1370d60bff backout 6ae546e8bc55 2012-02-23 17:53:40 -05:00
Benoit Girard
0d3e4904d9 Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma 2012-02-23 16:04:38 -05:00
Florian Boesch
ada0d9ea9e 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
0aea58f84d merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Oleg Romashin
bbcbbad700 Bug 733506 - WebGL FBO offscreen texture not initialized properly. r=bjacob 2012-03-06 23:29:38 +01:00
Daniel Holbert
035a95b9cf backout 29ee49bff6a1 (Bug 726396) due to webgl test failures 2012-02-22 16:37:36 -08:00
Jeff Gilbert
657e792781 Bug 726396 - Repair ANGLE d3d share handle fetching an PBuffer creation behavior - r=bjacob 2012-02-22 14:08:24 -08:00
Joe Drew
f0820375b8 Bug 728631 - remove a bunch of accidentally-committed debug code. 2012-02-21 13:15:39 -08:00