Benoit Jacob
8105421de9
Bug 958369 - 4/5 - remove the ContextFlags enum - r=jgilbert
2014-01-10 13:55:23 -05:00
Benoit Jacob
6cdb25269c
Bug 958368 - Remove the code paths to load a custom Mesa/llvmpipe build instead of system OpenGL (sadface) - r=jgilbert
2014-01-10 13:55:23 -05:00
Benoit Jacob
f820c67cd0
Bug 950903 - 6/8 - Remove GLContext::GetNativeData - r=jgilbert
2014-01-07 15:02:18 -05:00
Benoit Jacob
90b7be87b5
Bug 950903 - 5/8 - Add static Cast methods to allow getting the backend-specific object from a GLContext - r=jgilbert
2014-01-07 15:02:18 -05:00
Benoit Jacob
5bbca615f9
Bug 950903 - 4/8 - Expose GLContextWGL publicly - r=jgilbert
2014-01-07 15:02:18 -05:00
Benoit Jacob
f81ac69a04
Bug 949813 - Remove mIsGlobalSharedContext from GLContext - r=jgilbert
2014-01-02 10:17:20 -05:00
Benoit Jacob
48a6fd4ae9
Bug 877115 - some compilation fixes - no review, trivial build fix
2014-01-01 14:47:19 -05:00
Andreas Pehrson
21cee31a8a
Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical)
2013-12-10 17:11:11 +01:00
Vladimir Vukicevic
fa869cb516
b=949644; set mLibrary in WGL contexts before calling Init; r=bjacob
2013-12-18 13:09:11 -05:00
Vladimir Vukicevic
8783581652
b=929506; call wglMakeCurrent before Init to get lookup working; r=bjacob
2013-12-18 13:09:11 -05:00
Vladimir Vukicevic
2c027b274a
b=929511; fix WGL context sharing; r=bjacob
2013-12-18 13:09:10 -05:00
Wes Kocher
8f849d9d65
Backed out 6 changesets (bug 877115) for mochitest-1 and reftest orange on this CLOSED TREE
...
Backed out changeset 65ad9d8860d6 (bug 877115)
Backed out changeset bf8095c168fb (bug 877115)
Backed out changeset 290ad5863615 (bug 877115)
Backed out changeset 4488ec28910e (bug 877115)
Backed out changeset 45f8859c6fd6 (bug 877115)
Backed out changeset 111cc426fa9e (bug 877115)
2013-12-16 16:33:07 -08:00
Andreas Pehrson
38010d4e7c
Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical)
2013-12-10 17:11:11 +01:00
Nicolas Silva
095eb9bbc7
Bug 929506 - Check that the GLContext is not destroyed in MakeCurrent. r=bjacob
2013-12-03 11:44:37 +01:00
Matt Woodrow
d9ec8ef287
Bug 887791 - Remove a bunch of now-unused SharedTextureHandle code. r=roc
2013-11-01 14:54:15 +13:00
Vladimir Vukicevic
ec836bccf2
b=927727; support OpenGL OMTC layers on Windows; r=bgirard
2013-10-17 00:16:40 -04:00
Benoit Jacob
590564045c
Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel
2013-09-04 08:14:52 -04:00
Guillaume Abadie
d5c2e9336d
bug 899264 - Add OpenGL version and profile support in GLContext - r=jgilbert
2013-08-01 19:43:27 -04:00
Birunthan Mohanathas
fce40fe022
Bug 784739 - Switch from NULL to nullptr in gfx/gl/; r=ehsan
...
--HG--
extra : rebase_source : 236322c2d0e4d5c8917d900f768852139b0abc80
2013-07-20 11:48:55 +03:00
Vladimir Vukicevic
df07bf588d
b=705022; make GL layers work on Windows; r=bjacob
2013-06-21 14:22:18 -04:00
Matt Woodrow
d5272650f7
Bug 864287 - Add back code to readback IOSurface plugins when using BasicLayers. r=BenWa
2013-05-01 17:03:27 +12:00
Matt Woodrow
c5e0409372
Bug 860615 - Add CreateSharedHandle to GLContextProvider so we can create one without a GLContext. r=jgilbert
2013-04-17 14:21:06 +12:00
Jeff Gilbert
a431f211d3
Bug 845482 - Init scissor box values on offscreen context init - r=bjacob
2013-03-04 16:44:31 -08:00
Jeff Gilbert
4ed4901299
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
c878d63b6a
Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts
2013-02-21 19:54:25 +00:00
Jeff Gilbert
1da9dd6cd2
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
438b3ab061
Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE.
2013-02-20 10:01:20 -05:00
Jeff Gilbert
d348a03b58
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
2013-02-13 15:26:24 -08:00
Jacek Caban
83588038c8
Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (gfx/gl part) r=bjacob
...
--HG--
extra : rebase_source : 1bbd8bff8a82d0c9dfb2adda52a46a43fdc6e284
2012-10-04 10:31:56 +02:00
David Anderson
188c88907e
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
Jeff Gilbert
9179ec36a5
Bug 766366 - Add GLContext::BlitTextureToTexture - r=bjacob
2012-08-21 20:30:20 -07:00
David Anderson
644c651c3e
Merge from mozilla-central.
2012-07-30 13:15:39 -07:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jeff Gilbert
a7225d7ed8
Bug 736298 - Remove unused CreateForNativePixmapSurface - r=bjacob
2012-07-27 14:30:38 -07:00
Andrew Quartey
2760bcfb43
Bug 731836 - Add preference to use Mesa LLVMpipe for software rendering - r=bjacob
2012-06-02 12:05:45 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benoit Jacob
0e96bf2ae1
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
Benoit Jacob
62e96f6fcf
Bug 749678 - 3/5 - stop calling platform-specific getCurrentContext functions - r=jrmuizel
2012-05-08 09:47:34 -04:00
Jeff Gilbert
0a18d7d12e
Bug 739775 - Refactor ResizeOffscreenFBO - r=bjacob
2012-04-25 15:10:43 +01:00
Oleg Romashin
233e3b3dce
Bug 733562 - Offscreen FBO must not be created for Global Shared context. r=bjacob
2012-03-21 16:13:59 -07:00
George Wright
1ec77ce75f
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
aaef82ac19
Backed out changeset aad5bc8b3433
2012-03-16 15:02:01 -04:00
George Wright
342337ca94
Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe
2012-03-16 14:30:09 -04:00
Jeff Gilbert
39f724d177
Bug 726396 - Repair ANGLE d3d share handle fetching an PBuffer creation behavior - r=bjacob
2012-03-12 15:10:38 -07:00
Doug Sherk
4260d87a27
Bug 711579: fix WGL context creation without robustness r=Bas
2011-12-16 13:12:02 -08:00
Doug Sherk
0dbceda5a6
Bug 70348: implement ARB_robustness with WGL r=bjacob
...
WGL has its own ARB_robustness implementation which we support with this patch.
I was able to confirm that it was correctly being activated and was polling
status correctly (i.e. the framework is running), but WGL itself doesn't
actually seem to stop the DoS correctly when a robust context is created.
2011-12-02 23:50:11 -08:00
Doug Sherk
ae918111a2
Bug 656824: changed WebGL robustness timer to not get reset after each draw operation r=bjacob
...
This patch should improve performance of the robustness timer by not resetting
it each time a draw operation happens. It still checks if there's any activity
and, if not, it will stop firing it. It includes a single extra timer firing
after activity dies to make sure we don't miss anything. Also includes a fix for
robustness being marked as existing when it really isn't.
2011-11-18 22:57:29 -05:00
Matt Woodrow
f1acc41494
Bug 703516 - Move GLContext code into a separate folder. r=jrmuizel
...
--HG--
rename : gfx/thebes/EGLUtils.h => gfx/gl/EGLUtils.h
rename : gfx/thebes/GLContext.cpp => gfx/gl/GLContext.cpp
rename : gfx/thebes/GLContext.h => gfx/gl/GLContext.h
rename : gfx/thebes/GLContextProvider.h => gfx/gl/GLContextProvider.h
rename : gfx/thebes/GLContextProviderCGL.mm => gfx/gl/GLContextProviderCGL.mm
rename : gfx/thebes/GLContextProviderEGL.cpp => gfx/gl/GLContextProviderEGL.cpp
rename : gfx/thebes/GLContextProviderGLX.cpp => gfx/gl/GLContextProviderGLX.cpp
rename : gfx/thebes/GLContextProviderImpl.h => gfx/gl/GLContextProviderImpl.h
rename : gfx/thebes/GLContextProviderNull.cpp => gfx/gl/GLContextProviderNull.cpp
rename : gfx/thebes/GLContextProviderOSMesa.cpp => gfx/gl/GLContextProviderOSMesa.cpp
rename : gfx/thebes/GLContextProviderWGL.cpp => gfx/gl/GLContextProviderWGL.cpp
rename : gfx/thebes/GLContextSymbols.h => gfx/gl/GLContextSymbols.h
rename : gfx/thebes/GLDefs.h => gfx/gl/GLDefs.h
rename : gfx/thebes/GLXLibrary.h => gfx/gl/GLXLibrary.h
rename : gfx/thebes/WGLLibrary.h => gfx/gl/WGLLibrary.h
2011-11-18 22:07:49 +13:00