Граф коммитов

225 Коммитов

Автор SHA1 Сообщение Дата
Jon Buckley 1720b18a60 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Benoit Jacob 119f8d175f Bug 749678 - 5/5 - fix dangling TLS pointer - r=jrmuizel 2012-05-08 09:47:34 -04:00
Benoit Jacob fed31003d5 Bug 749678 - 4/5 - check owning thread in debug builds - r=bgirard 2012-05-08 09:47:34 -04:00
Benoit Jacob f3194c19c8 Bug 749678 - 3/5 - stop calling platform-specific getCurrentContext functions - r=jrmuizel 2012-05-08 09:47:34 -04:00
Benoit Jacob cb6c0c6172 Bug 749678 - 1/5 - Switch GLContext to use mozilla::tls for current context - r=jrmuizel
See comment above class GLContextTLSStorage
2012-05-08 09:47:34 -04:00
Oleg Romashin 8dae948140 Bug 751594 - s/ResizeOffscreenFBO/ResizeOffscreenFBOs. r=bgirard 2012-05-03 18:33:51 -04:00
Benoit Jacob 1519eb1059 Backing out bug 739648 for linux build failure 2012-05-03 16:26:04 -04:00
Benoit Jacob 657df782fe 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 f94ad36d3c Bug 716439; changes to glContext. r=BenWa 2012-04-04 17:56:22 +12:00
Jeff Gilbert 2b71769566 Bug 708136 - Don't teardown GL objects if teardown's makecurrent fails - r=bjacob 2012-04-30 19:05:59 -07:00
Oleg Romashin dfdca5c416 Bug 748694 - Switch Maemo WebGL to FBO. r=jgilbert,bgirard 2012-04-30 17:03:08 -07:00
Nicolas Silva 448bfb52b5 Bug 743830 - Added 'gfx.xrender.enabled' pref (true by default). The pref is fetched in gfPlatformGtk.cpp and can be accessed through gfxPlatformGtk::UseXRender(). UseXRender is used in GLContextProviderGLX to set mUseTextureFromPixmap. r=jmuizelaar
--HG--
extra : rebase_source : 805947a2164aeb2dc71cc33086ac0bd201df3583
2012-04-18 10:27:32 -04:00
Benoit Jacob d3e93afe93 Bug 736123 - kill GetVendor() and EGLUtils.h - r=jrmuizel
Was only returning "Android" instead of something useful.
2012-04-30 17:43:12 -04:00
Oleg Romashin cbab0e0682 Bug 743314 - Force CanUploadSubtextures on Maemo6 harmattan. r=chrislord.net 2012-04-28 09:05:41 -04:00
Matt Woodrow 5de1dcf843 Bug 739490 - Pad OpenGL temporary surfaces to avoid bug with incorrect border drawing. r=roc 2012-04-27 12:24:53 +12:00
Ed Morley c01b046b59 Backout cc37cd8dac59 (bug 744303) for M1 orange 2012-04-25 16:15:11 +01:00
Jeff Gilbert fd1836bca0 Bug 739775 - Refactor ResizeOffscreenFBO - r=bjacob 2012-04-25 15:10:43 +01:00
Jeff Gilbert 56b2df3e35 Bug 744303 - Upload WebGL textures as BGRA when useful - r=bjacob 2012-04-25 15:05:35 +01:00
Jeff Gilbert 9a44c2562d Bug 730417 - Add minimal PBuffer request case and use PBuffer request bit. r=bjacob 2012-04-24 19:49:59 -04:00
Benoit Jacob a75320f68f Bug 744888 - Work around a NVIDIA driver bug - r=jgilbert 2012-04-16 15:56:12 -04:00
Marco Bonardo 0a0adaecbc Backout e20a19a790dd (bug 743830) for linux QT bustage. 2012-04-13 21:43:13 +02:00
Nicolas Silva 071d0a2967 Bug 743830: Added 'gfx.xrender.enableded' pref (true by default). The pref is fetched in gfPlatformGtk.cpp and can be accessed through gfxPlatformGtk::UseXRender(). UseXRender is used in GLContextProviderGLX to set mUseTextureFromPixmap. r=jrmuizel,gw280 2012-04-11 14:04:54 -04:00
Oleg Romashin 28e15f2c03 Bug 744564 - Allow to create EGL context from Widget provided GL context (embedding approach). r=roc,jgilbert 2012-04-12 00:18:35 -04:00
Michael Wu 93b9694f41 Bug 736005 - Put GL config fallback back on Android, r=cjones 2012-03-29 19:47:22 -07:00
Ali Juma 65e2dc5b45 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 3ec34c8a72 Bug 741730 - Remove USE_GLES2 - r=romaxa 2012-04-10 11:49:21 -04:00
Benoit Jacob b1ec60fb23 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 c8a7f0a341 Bug 621036 - Remove printfs from GLContextProviderCGL - r=bjacob 2012-04-09 19:51:29 -07:00
Jeff Gilbert b0890f526a Bug 739421 - Implement/expose ARB_sync in GLContext - r=bjacob 2012-04-06 16:57:55 -07:00
Jeff Gilbert 2b76e47d57 Bug 741689 - Disable poorly implemented GL extensions on load - r=bjacob 2012-04-04 18:44:55 -07:00
Oleg Romashin 85eb6e3b49 Bug 742544 - Don't change global shared context multiple times. r=jgilbert 2012-04-04 17:53:02 -07:00
Oleg Romashin 4a7033ba37 Bug 742091 - Texture format detection broken by 740372. r=gwright 2012-04-04 14:32:21 -07:00
Ali Juma 23b8ec9661 Bug 741984 - Prevent tiled texture upload from going into an infinite loop. r=Cwiiis 2012-04-04 10:26:05 -04:00
Ali Juma 9b115e5825 Bug 740313 - Initialize TextureImage::mFilter. r=bgirard 2012-03-29 17:44:11 -04:00
Jeff Gilbert fa108e99eb Bug 732765 - Fail gracefully when we lack GL functionality - r=bjacob 2012-03-29 13:47:20 -07:00
Ali Juma 3918b9d6e4 Bug 735230 - Part 4: Don't call MakeCurrent with a context and without a surface. r=gw280 2012-03-28 18:00:41 -04:00
Chris Lord 1ada800e6e 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
Oleg Romashin 84a412fcae Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
Benoit Jacob 8734931b0f Bug 737182 - limit max texture size on Mac Intel driver - r=bgirard 2012-03-26 12:15:53 -04:00
Oleg Romashin b37b81ea3d Bug 738865 - Use Small Tiles should not be Android only. r=chrislord.net,bgirard 2012-03-24 18:08:06 -04:00
Oleg Romashin 21ff89904a Bug 735602 - Add possibility to choose EGL backend on Non-Maemo Linux/Qt/Gtk builds instead ofo GLX. r=jgilbert 2012-03-23 14:43:52 -04:00
Chris Lord aa2bb6dae0 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 7c32133736 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
Oleg Romashin 5daa4e239e Bug 738137 - Try to create PBuffer offscreen context on NON-X11 builds always. r=jgilbert 2012-03-22 13:25:03 -07:00
Andreas Gal f4ce7cd7f7 Use BGRX shader for RGB24 image surfaces (bug 738178, r=joe). 2012-03-22 11:37:47 -07:00
Oleg Romashin 51da007a77 Bug 735164 - Handle properly WebGL offscreen context in Platform context environment. r=jgilbert 2012-03-21 17:16:31 -07:00
Oleg Romashin a5b22049b1 Bug 736802 - Qt EGL Maemo compilation broken. r=joe 2012-03-21 16:14:14 -07:00
Oleg Romashin ed773f9c8b Bug 733562 - Offscreen FBO must not be created for Global Shared context. r=bjacob 2012-03-21 16:13:59 -07:00
Jeff Muizelaar ee408a9143 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 2bda7efc98 Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Michael Wu fa8d4e142e Bug 736902 - Remove support for unused SetSwapRectangleANDROID symbol, r=gal 2012-03-18 22:49:37 -04:00
Dão Gottwald edf0457046 Backed out changeset 57d368003eb8 2012-03-20 13:13:24 +01:00
Oleg Romashin 011eae2b5a Bug 733562 - Offscreen FBO must not be created for Global Shared context. r=bjacob 2012-03-20 12:23:14 +01:00
Chris Lord f3502559f6 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 61344e45e3 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 8f4052f8a0 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 a75edfb828 Backed out changeset aad5bc8b3433 2012-03-16 15:02:01 -04:00
George Wright 96d0e2fd38 Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe 2012-03-16 14:30:09 -04:00
Phil Ringnalda c80d1bb60a 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 42c404e37f Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
Benoit Girard dc6ea71b7e Merge mc->Maple 2012-03-13 11:05:28 -04:00
Ehsan Akhgari 43f6c7a351 Backout changeset b52bae0250f7 because of test failures 2012-03-12 18:51:17 -04:00
Benoit Girard 8ecdfd895f Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
Kartikaya Gupta 60f5962bb6 Merge m-c to maple 2012-03-12 10:41:42 -04:00
Oleg Romashin 48344bb427 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 f2bbb8f93e Bug 729702 - Use ReadPixelsIntoImageSurface in CopyToTarget instead of duplicating functionality - r=BenWa 2012-03-12 18:42:02 -07:00
Benoit Girard 876fa332bc Merge mc->maple 2012-03-09 18:16:26 -05:00
Benoit Girard 9612045323 Merge mc->Maple 2012-03-09 11:13:30 -05:00
Chris Lord a5475a4e9c 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 1d55c5f593 Merge mc->Maple 2012-03-07 11:10:45 -05:00
Benoit Girard 677ccfe9c3 Bug 733113 - Maple: Remove debug logging. r=ajuma 2012-03-05 16:10:43 -05:00
Benoit Girard 997a81e71b 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 73a287f0ea Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
George Wright fbad42468a 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 d25c224c40 Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 19:01:12 -05:00
Ryan VanderMeulen 7b54dcd2ff Back out 2175db811fad (bug 734081) due to Android reftest failures. 2012-03-08 18:41:28 -05:00
Michael Wu 6c9437b47a Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 17:06:54 -05:00
Matt Woodrow 22950a7371 Bug 732598 - Optionally load glGetTexLevelParameteriv - r=bjacob 2012-03-03 13:12:57 +13:00
Benoit Girard a4a3883264 Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard 7e6f558d70 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Benoit Girard 76425a9557 Merge mc->maple 2012-03-01 10:44:44 -05:00
Joe Drew 419f5ec1a4 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 1b0eda7141 Bug 674753 - Add support for loading apitrace explicitly on Android - r=jrmuizel,bjacob 2012-02-29 16:55:46 -05:00
Benoit Jacob ae146ef230 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 f7caef0932 Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=joe 2012-02-24 18:17:27 -05:00
Joe Drew 72d3d42dc9 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 63a3bbdbb3 Bug 728041 - Only release the surface and not the context. r=ajuma 2012-02-24 16:20:15 -05:00
Doug Turner 809efed1a1 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Benoit Girard 9e04faad35 Backout f8b7cca3297f, our leaktool can't handle statics :( 2012-02-23 20:10:23 -05:00
Benoit Girard 6ef478ff48 Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma 2012-02-23 17:51:57 -05:00
Benoit Girard 9e30bd44f5 backout 6ae546e8bc55 2012-02-23 17:53:40 -05:00
Benoit Girard 9916a55c1c Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma 2012-02-23 16:04:38 -05:00
Florian Boesch 401b77d113 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 754c5d2cbb merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Oleg Romashin 4ed0326156 Bug 733506 - WebGL FBO offscreen texture not initialized properly. r=bjacob 2012-03-06 23:29:38 +01:00
Daniel Holbert a66edabba0 backout 29ee49bff6a1 (Bug 726396) due to webgl test failures 2012-02-22 16:37:36 -08:00
Jeff Gilbert 630e09b9ce Bug 726396 - Repair ANGLE d3d share handle fetching an PBuffer creation behavior - r=bjacob 2012-02-22 14:08:24 -08:00
Joe Drew 4686626a0b Bug 728631 - remove a bunch of accidentally-committed debug code. 2012-02-21 13:15:39 -08:00
Joe Drew 9d423073c5 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 fa376f2332 Bug 721489 - Older Adreno 200 drivers intermittently crash when uploading RGB565 textures with glTexImage2D - r=jrmuizel 2012-02-18 21:23:06 -05:00