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

182 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Smedberg d70936f0e6 Bug 749459 - Load the EGL libraries correctly on Windows from the GRE path and the system location on other platforms (should be Android-only currently), r=bjacob
--HG--
extra : rebase_source : 12750d4c6dbcc5324256039b9f05b207ed7ec990
2012-05-15 14:55:50 -04:00
Benoit Jacob 68f1d0ed5c Bug 754426 - get screen depth from the main thread, expose it to other threads via gfxAndroidPlatform - r=joe 2012-05-15 15:41:20 -04:00
Benoit Jacob 956e74a803 Back out patches from bug 749678, except for the include guards - no review, fix regression (Bug 753350)
Unfortunately, in-process plugins using OpenGL break the assumption made by these patches, that the current GL context is only changed by GLContext::MakeCurrent. Another issue, regardless of in-process, is that our host-side code in nsCoreAnimationSupport.mm uses direct CGL calls, bypassing GLContext.
2012-05-12 19:23:56 -04:00
Paul O’Shannessy 4f5be99420 Bug 753854 - -[NSOpenGLPixelFormat initWithAttributes] should be passed a 0 terminated array. [r=joe] 2012-05-10 12:56:42 -07:00
Benoit Jacob 676d0559b4 Bug 739648 - add mFlags field to TextureImage; introduce GetSrcTileRect flipping tile y-coords as needed; use it in DirectUpdate() to fix WebGL compositing bug - r=bgirard 2012-05-09 16:55:31 -04:00
Jon Buckley 878265a2e8 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ed Morley 39725f8eb1 Backout ba7cf6fd10ae (bug 728017) for failing to compile 2012-05-08 18:50:45 +01:00
Jon Buckley 77c72c6618 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Benoit Jacob 0fddc12d6d Bug 749678 - 5/5 - fix dangling TLS pointer - r=jrmuizel 2012-05-08 09:47:34 -04:00
Benoit Jacob 10c494445a Bug 749678 - 4/5 - check owning thread in debug builds - r=bgirard 2012-05-08 09:47:34 -04:00
Benoit Jacob 5897a59936 Bug 749678 - 3/5 - stop calling platform-specific getCurrentContext functions - r=jrmuizel 2012-05-08 09:47:34 -04:00
Benoit Jacob f4490e4e10 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 334ebd490b Bug 751594 - s/ResizeOffscreenFBO/ResizeOffscreenFBOs. r=bgirard 2012-05-03 18:33:51 -04:00
Benoit Jacob e2a564af40 Backing out bug 739648 for linux build failure 2012-05-03 16:26:04 -04:00
Benoit Jacob 017e2dca21 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 8b32afa8f2 Bug 716439; changes to glContext. r=BenWa 2012-04-04 17:56:22 +12:00
Jeff Gilbert 83cacf3533 Bug 708136 - Don't teardown GL objects if teardown's makecurrent fails - r=bjacob 2012-04-30 19:05:59 -07:00
Oleg Romashin 3a64002598 Bug 748694 - Switch Maemo WebGL to FBO. r=jgilbert,bgirard 2012-04-30 17:03:08 -07:00
Nicolas Silva 7c2e58201e 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 17467d4f27 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 9911527a18 Bug 743314 - Force CanUploadSubtextures on Maemo6 harmattan. r=chrislord.net 2012-04-28 09:05:41 -04:00
Matt Woodrow 9c1d34a2ad 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 bd3b9a3fb3 Backout cc37cd8dac59 (bug 744303) for M1 orange 2012-04-25 16:15:11 +01:00
Jeff Gilbert 176c954dd7 Bug 739775 - Refactor ResizeOffscreenFBO - r=bjacob 2012-04-25 15:10:43 +01:00
Jeff Gilbert 6c68d720c4 Bug 744303 - Upload WebGL textures as BGRA when useful - r=bjacob 2012-04-25 15:05:35 +01:00
Jeff Gilbert d1a6f8a1b3 Bug 730417 - Add minimal PBuffer request case and use PBuffer request bit. r=bjacob 2012-04-24 19:49:59 -04:00
Benoit Jacob 97080a8c29 Bug 744888 - Work around a NVIDIA driver bug - r=jgilbert 2012-04-16 15:56:12 -04:00
Marco Bonardo 337ab6ecc5 Backout e20a19a790dd (bug 743830) for linux QT bustage. 2012-04-13 21:43:13 +02:00
Nicolas Silva 095208b85b 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 11187dadad 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 6e1f0507f8 Bug 736005 - Put GL config fallback back on Android, r=cjones 2012-03-29 19:47:22 -07:00
Ali Juma b806b57d30 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 aabaa2c453 Bug 741730 - Remove USE_GLES2 - r=romaxa 2012-04-10 11:49:21 -04:00
Benoit Jacob d83877bc22 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 93f40e9e5c Bug 621036 - Remove printfs from GLContextProviderCGL - r=bjacob 2012-04-09 19:51:29 -07:00
Jeff Gilbert ce690c004d Bug 739421 - Implement/expose ARB_sync in GLContext - r=bjacob 2012-04-06 16:57:55 -07:00
Jeff Gilbert 57ec1a7aa3 Bug 741689 - Disable poorly implemented GL extensions on load - r=bjacob 2012-04-04 18:44:55 -07:00
Oleg Romashin fd2b8b8f6d Bug 742544 - Don't change global shared context multiple times. r=jgilbert 2012-04-04 17:53:02 -07:00
Oleg Romashin edcef0087e Bug 742091 - Texture format detection broken by 740372. r=gwright 2012-04-04 14:32:21 -07:00
Ali Juma dd77497425 Bug 741984 - Prevent tiled texture upload from going into an infinite loop. r=Cwiiis 2012-04-04 10:26:05 -04:00
Ali Juma eeae5b2814 Bug 740313 - Initialize TextureImage::mFilter. r=bgirard 2012-03-29 17:44:11 -04:00
Jeff Gilbert cea47d7719 Bug 732765 - Fail gracefully when we lack GL functionality - r=bjacob 2012-03-29 13:47:20 -07:00
Ali Juma e95a97b025 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 b6e8332018 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 0714ed6312 Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
Benoit Jacob d89ef22e75 Bug 737182 - limit max texture size on Mac Intel driver - r=bgirard 2012-03-26 12:15:53 -04:00
Oleg Romashin e2439e77a8 Bug 738865 - Use Small Tiles should not be Android only. r=chrislord.net,bgirard 2012-03-24 18:08:06 -04:00
Oleg Romashin 85f84ac070 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 bc99271c90 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 9b15303221 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