Doug Sherk
63e6006511
Bug 656824: Implemented ARB_robustness to detect driver resets in WebGL, only on GLX for now - r=bjacob
...
This patch implements ARB_robustness on GLX and allows scripts to handle driver resets
through events. The changes in this patch are very sweeping; they hit almost
every NS_IMETHODIMP function within WebGLContextGL.cpp and WebGLContext.cpp.
More work must be done on this to support EGL_CONTEXT_LOST.
2011-10-26 16:00:44 -04:00
Jeff Gilbert
34bac37946
Bug 615976 - Post-patch cleanup for WebGL antialiasing - r=bjacob
2011-10-26 16:00:44 -04:00
Landry Breuil
4c1dc453b3
Bug 687320 - On OpenBSD, libGL.so.1 doesn't exist - r=bjacob
...
Opening libGL.so will work regardless of the version, which changes over time.
2011-10-25 08:48:39 -04:00
Jeff Gilbert
3ab26a8701
Bug 615976 - Fixes for support for multisampled Linux/GLX GLContexts - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
d8f97c2d0d
Bug 615976 - Adds support for samples in ContextFormat, pref 'webgl.max-samples' - r=bjacob
2011-10-19 15:09:57 -04:00
Benoit Jacob
4bbab81c93
Back out Jeff's patches because they lack a Bug number and/or a r= field. Sorry, should have checked that. Re-landing.
2011-10-19 15:31:33 -04:00
Jeff Gilbert
942ec59cc2
Fixes for support for multisampled Linux/GLX GLContexts
2011-10-19 15:09:57 -04:00
Jeff Gilbert
cc847aa544
Adds support for samples in ContextFormat, pref 'webgl.max-samples'
2011-10-19 15:09:57 -04:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Ali Juma
26e350dca1
Bug 690566 - Associate filters with texture images. r=jrmuizel
2011-10-05 14:20:33 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ehsan Akhgari
b542efd4e6
Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg
2011-09-16 16:22:44 -04:00
Matt Woodrow
5188be7c9c
Bug 675474 - Use glXWaitX to synchronize X and OpenGL. r=bjacob
2011-08-24 13:56:30 +12:00
Matt Woodrow
dc9ab97c70
Bug 675532 - Add GLX debug mode. r=bjacob
2011-08-24 13:55:43 +12:00
Matt Woodrow
b154d14e64
Bug 670106 - Check the surface type before attempting to create a GLXPixmap. r=joe
2011-07-15 08:45:33 +12:00
Rob Bradford
a3a670fa80
Bug 670645 - Lookup texture_from_pixmap symbols using glXGetProcAddress. r=mattwoodrow
2011-07-11 14:07:49 +01:00
Florian Haenel
32ba480e5b
Bug 607687 - Fennec should take care about Texture MAX size HW limitation r=jmuizelaar
2011-07-06 11:00:47 -07:00
Benoit Jacob
4285792db3
Bug 659842 comment 86 - accidentally removed a glXDestroyContext call + fix a warning in opt build - r=trivial-fix
2011-06-17 21:42:31 -04:00
Benoit Jacob
8dbe82a76f
Bug 659842 - [topcrash] release the GL context before calling glXDestroyContext - r=karlt
...
See the glXDestroyContext man page:
If GLX rendering context ctx is not current to any thread,
glXDestroyContext destroys it immediately. Otherwise, ctx is destroyed
when it becomes not current to any thread. In either case, the resource ID
referenced by ctx is freed immediately.
In other words, if we want glXDestroyContext to have the well-defined semantics
of destroying the context before future X commands take effect, we must first
release the GL context before calling it. We were failing to do that, but we
were destroying the drawable immediately after that call, and as a result, the
context was outliving its underlying drawable. This eventually resulted in
X_GLXMakeCurrent: GLXBadContextTag X errors on subsequent glXMakeCurrent calls.
2011-06-17 11:49:27 -04:00
Matt Woodrow
b386255490
Bug 606855 - Re-enable checking of GLX extensions. r=bjacob
2011-05-23 11:04:22 +12:00
Benoit Jacob
2efacff0c8
Bug 645407 - remove useless GLX checks - r=karlt
2011-05-03 16:07:17 -04:00
Benoit Jacob
d8a3b2e314
Bug 645407 - remove old blacklisting - r=karlt
2011-05-03 16:07:17 -04:00
Matt Woodrow
c43047b608
Bug 648741 - Correctly bind pixmaps to textures during the draw call on X11 accelerated layers. r=bjacob
2011-04-19 10:50:54 +12:00
Matt Woodrow
38a5c34624
Bug 640082 followup - Fix typo that caused all black rendering with accelerated layers on X. r=bjacob
...
--HG--
extra : rebase_source : 38479709267224557c0e619a71430a3505806e40
2011-04-12 00:36:13 -07:00
Ms2ger
1528a3aa42
Bug 647552 - Uninitialized variables in GLXLibrary::EnsureInitialized; r=bjacob
2011-04-07 21:55:10 -07:00
Matt Woodrow
c2d0ad4ae4
Bug 640082 - Part 4 - Create TextureImageGLX which uses texture_from_pixmap. r=joe
2011-04-07 16:58:08 -07:00
Matt Woodrow
0ff89b8752
Bug 640082 - Part 1 - Add texture_from pixmap support to GLContextProviderGLX. r=joe
2011-04-07 16:58:07 -07:00
Karl Tomlinson
00d3f613f1
b=626192 blacklist ATI libGL due to seg faults on querying server info r=bjacob
...
--HG--
extra : transplant_source : %15Ay%22pB%8B%7D%B2%5Eph%12%18%17%91G%FC%D7%10
2011-03-25 16:38:59 +13:00
Benoit Jacob
7f1f831a27
Bug 627464 - Annotate crash reports if the forced-enabled prefs are set - r=jrmuizel, a=joe
2011-03-02 15:50:36 -05:00
Benoit Jacob
8cffd874ec
Bug 635401 - Segfault when checking name of graphics driver vendor - r=bas, a=joe
2011-02-24 17:17:34 -05:00
Benoit Jacob
7045bfa4fc
Bug 632867 - Mesa versions up to 7.10 cause a BadLength error during the first GLX call when the server GLX version < 1.3. - r=karlt, a=hardblocker
2011-02-11 18:11:30 -05:00
Benoit Jacob
1658160279
Bug 632969 - 4/4 - logic change - r=karlt, a=blocker
2011-02-11 18:11:30 -05:00
Benoit Jacob
dc69425fb9
Bug 632969 - 3/4 - message wording change - r=karlt, a=blocker
2011-02-11 18:11:30 -05:00
Karl Tomlinson
e6082aa43d
Bug 632969 - 2/4 - reset error variable before trying again with no sharing - r=bjacob, a=blocker
2011-02-11 18:11:30 -05:00
Kyle Huey
9132ccf4bc
Backout
2011-02-11 23:08:16 -05:00
Benoit Jacob
af3ae9119a
Bug 632867 - Mesa versions up to 7.10 cause a BadLength error during the first GLX call when the server GLX version < 1.3. - r=karlt, a=hardblocker
2011-02-11 18:11:30 -05:00
Benoit Jacob
bef311f4d5
Bug 632969 - 4/4 - logic change - r=karlt, a=blocker
2011-02-11 18:11:30 -05:00
Benoit Jacob
526aea3020
Bug 632969 - 3/4 - message wording change - r=karlt, a=blocker
2011-02-11 18:11:30 -05:00
Karl Tomlinson
27a3a859e1
Bug 632969 - 2/4 - reset error variable before trying again with no sharing - r=bjacob, a=blocker
2011-02-11 18:11:30 -05:00
Benoit Jacob
2a11249a6e
CLOSED TREE - Bug 624390 - With GLX, blacklist everything but NVIDIA proprietary driver - r=jmuizelaar, a=joe
2011-01-10 16:14:14 -05:00
Ms2ger
309dea2808
Bug 620356 - Fix uninitialized variable warning in CreateOffscreenPixmapContext; r=bjacob a=joedrew
2011-01-07 11:54:19 +01:00
Matt Woodrow
47294e7de3
Bug 604101 - Part 5 - Use Pixel Buffer Objects in TextureImageCGL. r=joe,jrmuizel a=blocking2.0
2010-12-16 23:49:42 -08:00
Matt Woodrow
bdcc087748
Bug 604101 - Part 4 - Use UploadSurfaceToTexture in TextureImage. r=joe a=blocking2.0
2010-12-16 23:29:23 -08:00
Benoit Jacob
f3d3a4229e
Bug 613079 - WebGL crash [@mozilla::gl::GLContextProviderGLX::CreateOffscreen] - r=mattwoodrow, a=blocking-betaN
2010-12-06 06:34:34 -05:00
Ms2ger
3ec44ade0c
Bug 605179 - Fix build warnings in gfx/; r=roc a=bsmedberg
...
--HG--
extra : rebase_source : f9bd24d5f4bc6124b431ce22e6ac72bd218dc208
2010-12-05 18:38:12 +00:00
Vladimir Vukicevic
4b44267bda
b=609195; use GL_REPEAT for non-power-of-two textures if we have support for them; r=jrmuizel, a=b
2010-11-12 12:02:20 -08:00
L. David Baron
27a87fad7a
Fix GLX version check so it won't break when the version hits 1.10. (Bug 605992) r=bjacob a2.0=joedrew
2010-11-10 07:49:52 -08:00
L. David Baron
a9ab99d440
Use extension alternatives for GLX 1.3 features when GLX 1.3 is not available but equivalent extensions are. (Bug 605992) r=bjacob a2.0=joedrew
2010-11-10 07:49:52 -08:00
L. David Baron
2917f2551e
Don't repeatedly try to initialize GLXLibrary. (Bug 605992) r=bjacob a2.0=joedrew
2010-11-10 07:49:52 -08:00
L. David Baron
2c661ecb3f
Add glXQueryExtensionsString to GLXLibrary. (Bug 605992) r=bjacob a2.0=joedrew
2010-11-10 07:49:52 -08:00