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

205 Коммитов

Автор SHA1 Сообщение Дата
Benoit Jacob a9873dfeea Bug 764578 - WebGL context creation keeps failing after D3D device has been lost - r=jgilbert 2012-06-14 11:59:40 -04:00
Cody Brocious dca7b78de1 Bug 745137: Direct texturing for Gonk through gralloc, pref'd off. r=cjones 2012-06-12 21:20:27 -07:00
Ed Morley 5e91e96ae5 Backout a55eea2c294d (bug 627699) for bustage 2012-06-13 16:07:22 +01:00
Martin Stransky 46bc6e3ec7 Bug 627699 - Port GTK2 to GTK3, gfx patch; r=vlad 2012-06-13 10:47:54 -04:00
Chris Jones 646327546d Backed out changeset beba1a053f5e 2012-06-12 21:40:40 -07:00
Cody Brocious b43bbe5424 Bug 745137: Direct texturing for Gonk through gralloc, pref'd off. r=cjones 2012-06-12 21:20:27 -07:00
Jeff Gilbert f2428628d4 Bug 762263 - Add EGLSync - r=bjacob 2012-06-12 14:39:43 -07:00
Jeff Gilbert 7437268b42 Bug 762265 - Modernize EGL extension detection, similar to GLContext - r=bjacob 2012-06-12 14:39:18 -07:00
Jeff Gilbert 734d40ca4f Bug 762259 - Drop vendor suffixes from EGLImage for internal uses - r=bjacob 2012-06-12 14:36:10 -07:00
Ali Juma 50551e14c0 Bug 763175 - Only create a new EGL surface when a new Android surface is created. r=BenWa 2012-06-12 10:24:31 -04:00
John Drinkwater 358fad8156 Bug 758844 - Disable debug output unless MOZ_GL_DEBUG is defined. r=jgilbert 2012-06-11 08:25:06 -07:00
Chris Jones 0f831b2029 Bug 761894: Band-aid bustage from bug 760675 when using WebGL on same thread as GL compositor. rs=jrmuizel 2012-06-05 20:33:59 -07:00
Geoff Lankow 5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Oleg Romashin 4fd335887e Bug 760834 - Fix mIterationCallback initialization order warning. r=Cwiis 2012-06-04 16:49:57 -07:00
Benoit Jacob b1836ff315 Bug 760675 - don't create a global context at all, on Android - r=jrmuizel
Indeed, it's currently unused except for Adreno blacklisting (see next commit) as
we don't do texture sharing just yet. We will soon do, though (bug 728524) and then
it is possible that on certain drivers we will have to use the global context as a
mean to share textures (if EGLImage can't be used). We'll see.
2012-06-02 16:28:16 -04:00
Andrew Quartey 6f4ba6438c Bug 731836 - Add preference to use Mesa LLVMpipe for software rendering - r=bjacob 2012-06-02 12:05:45 -04:00
Ali Juma 190ef80d31 Bug 759162 - Part 1: Remove unnecessary call to eglChooseConfig in GLContextProviderEGL::RenewSurface. r=bgirard 2012-05-29 13:46:37 -04:00
Takanori MATSUURA 92faf33a5c Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Kan-Ru Chen 52fc902deb Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew 2012-05-26 12:38:17 +08:00
Benoit Jacob 883cc398e6 Bug 758315 - Desktop GL implementation of glGetShaderPrecisionFormat should return precision 23, not 0 - r=jrmuizel 2012-05-24 15:10:49 -04:00
Jeff Muizelaar b0ad13b283 Bug 748816. Set the swap interval to 1 on OS X. r=bgirard
This fixes the tearing we get on OS X with OpenGL layers.
It does cause us to occasionally block waiting for vsync.
This isn't ideal but I think it's better than tearing.
OMTC should help us remove this wait.

--HG--
extra : rebase_source : 97739bb0a1a5094ff92e26f5513558ae389ae560
2012-05-24 00:40:40 -04:00
Nicholas Cameron 13553ad870 Bug 753784; add the ability to force a single tile. r=roc 2012-05-22 19:14:03 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg f00006a6a2 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 f5e1330f5c 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 0f7357a542 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 8b3b5670ab Bug 753854 - -[NSOpenGLPixelFormat initWithAttributes] should be passed a 0 terminated array. [r=joe] 2012-05-10 12:56:42 -07:00
Benoit Jacob 4d92553d61 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 eb1579639e Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ed Morley 93fca3e280 Backout ba7cf6fd10ae (bug 728017) for failing to compile 2012-05-08 18:50:45 +01:00
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