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

90 Коммитов

Автор SHA1 Сообщение Дата
Amanda Sambath 4a4ca60aed Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/gl part 1. r=nical 2015-05-28 11:45:33 +02:00
Jeff Gilbert 2e871e9c53 Bug 1150767 - Add pref for requiring hardware-backed GL. - r=jrmuizel 2015-04-02 17:59:47 -07:00
Nicolas Silva 0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Jeff Gilbert d3813c406b Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Jeff Gilbert 56b00391c3 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Jeff Gilbert 680ae080b6 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
Wes Kocher d7313c3320 Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE 2015-01-29 14:23:37 -08:00
Jeff Gilbert 95f269cb3f Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish 2015-01-29 00:44:19 -08:00
Jeff Gilbert 9451a4fa01 Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob 2014-08-27 16:16:22 -07:00
Carsten "Tomcat" Book b2d1c25a26 Backed out changeset 6bcda9f223b3 (bug 996266) for bustage on a CLOSED TREE 2014-08-27 11:15:40 +02:00
Jeff Gilbert bee2e24b94 Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob 2014-08-27 01:31:14 -07:00
Victor Porof 9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Nicolas Silva 69c73e6b6b Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats 2014-05-22 12:11:45 +02:00
Tatiana Meshkova 0dbaa9d653 Bug 994856 - Add support for Gecko rendering via GLScreenBuffer into external GL Context. r=bjacob,jgilbert 2014-04-15 07:57:26 -07:00
Jonathan Watt 200e95e9eb Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
Jeff Gilbert 3a7ff29a22 Bug 978414 - GLContextCGL::IsDoubleBuffered should be const at definition. - r=bustage on a CLOSED TREE 2014-03-03 19:13:34 -08:00
Jeff Gilbert ecac7faae3 Bug 978414 - Mark GLContext virtuals const and MOZ_OVERRIDE where appropriate. - r=bjacob 2014-03-03 18:47:43 -08:00
Milan Sreckovic 95619c8d0d Bug 971942: 2. layout.frame_rate, layers.offmainthreadcomposition.frame-rate, layers.orientation.sync.timeout moved to gfxPrefs. The layers.offmainthreadcomposition.frame-rate is also changed to be a live preference so it does not need a restart. r=bgirard 2014-02-26 21:52:54 -05:00
Benoit Jacob f2062e25d7 Bug 958369 - 4/5 - remove the ContextFlags enum - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob ba93ad0ec2 Bug 950903 - 6/8 - Remove GLContext::GetNativeData - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob df17e73e7c 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 46c30d835d Bug 950903 - 3/8 - Expose GLContextCGL publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob 4d5ddfd5df Bug 949813 - Remove mIsGlobalSharedContext from GLContext - r=jgilbert 2014-01-02 10:17:20 -05:00
Benoit Jacob bd21578d7f Bug 877115 - some compilation fixes - no review, trivial build fix 2014-01-01 14:47:19 -05:00
Andreas Pehrson 2439a8eef5 Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical) 2013-12-10 17:11:11 +01:00
Wes Kocher df8b1437b6 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 99e812a782 Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical) 2013-12-10 17:11:11 +01:00
Benoit Jacob 988099a6e9 Bug 942501 - Part 3: move CreateTextureImage and TileGenFunc out of GLContext - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob 6e3c0e9b4b Bug 942501 - Part 2: move TextureImageCGL to separate files - r=BenWa 2013-12-03 13:44:38 -05:00
Nicolas Silva da4c52ba6c Bug 929506 - Check that the GLContext is not destroyed in MakeCurrent. r=bjacob 2013-12-03 11:44:37 +01:00
Jeff Muizelaar 128a356ee1 Bug 929471. Make CGLTexImageIOSurface2D take a CGLContextObj instead of a NSOpenGLContext. r=bgirard 2013-11-07 22:53:54 -05:00
Matt Woodrow c3b05bed48 Bug 887791 - Remove a bunch of now-unused SharedTextureHandle code. r=roc 2013-11-01 14:54:15 +13:00
Markus Stange 2eeda8377b Bug 923114 - Clear the current GL context when we're about to destroy it. r=mattwoodrow 2013-10-09 10:39:22 -04:00
Ryan VanderMeulen 623bf74951 Backed out 8 changesets (bug 914437, bug 886999, bug 890997, bug 923114, bug 923133) for suspicion of causing frequent OSX mochitest-2 timeouts on a CLOSED TREE.
Backed out changeset e934fda24887 (bug 890997)
Backed out changeset 058c2432bff5 (bug 886999)
Backed out changeset 34d9056bf553 (bug 886999)
Backed out changeset 3f053c13cf4e (bug 914437)
Backed out changeset 1f436fd67cdb (bug 886999)
Backed out changeset 7c914b3e8d27 (bug 923133)
Backed out changeset e6fdf5fd28c5 (bug 923114)
Backed out changeset b0700255080c (bug 914437)
2013-10-09 14:33:01 -04:00
Markus Stange 98264d1653 Bug 923114 - Clear the current GL context when we're about to destroy it. r=mattwoodrow
--HG--
extra : rebase_source : 6cb49ed36b4ca3196b047de3b929abbf0e323e84
2013-10-09 10:39:22 -04:00
Matt Woodrow 82adec2a6b Bug 903296 - Copy the entire device pixel size of MacIOSurface when reading back to an image surface. r=BenWa 2013-09-30 12:21:44 +13:00
Benoit Jacob 55d6cf1e20 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Benoit Jacob 8ec75b058c Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel 2013-09-04 08:14:52 -04:00
Edwin Flores 803c0fbe47 Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow 2013-08-08 10:38:21 +12:00
Avi Halachmi 91d31fafd1 Bug 888899 - Part 2 - Uses layout.frame_rate=0 for ASAP mode instead of 10k. r=jrmuizel 2013-08-02 23:29:57 +03:00
Guillaume Abadie d951e1339f bug 899264 - Add OpenGL version and profile support in GLContext - r=jgilbert 2013-08-01 19:43:27 -04:00
Matt Woodrow 588f5a77ec Bug 875232 - Make alpha channel optional for MacIOSurface. r=BenWa 2013-07-17 23:24:14 -04:00
Avi Halachmi 5d2c672668 Bug 888899: Allow fast iterations of the refresh driver on OS X. r=jrmuizel 2013-07-09 03:06:14 +03:00
Matt Woodrow aaba06e7d1 Bug 890950 - Tell OpenGL that our texture upload data is in BGRA format on OSX. r=jrmuizel
This matches the format used internally and prevents the driver from having to do a conversion. We then add a swizzle to the shaders so that we get the correct colors drawn.
2013-07-09 10:13:33 -04:00
Andreas Gal ext:(%2C%20Milan%20Sreckovic%20%3Cmilan%40mozilla.com%3E) 4c463d2865 Bug 867460: remove notion of ShaderProgramTypes from gfx/gl. Carry r=bas. r=bgirard for the changes. 2013-07-04 13:25:50 -04:00
Ehsan Akhgari 688d6881b1 Backed out changeset 1bf0cdeacb22 (bug 867460) for assertions in various test suites
Landed on a CLOSED TREE
2013-06-25 21:39:07 -04:00
Andreas Gal 4b4d3d8e70 Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe 2013-06-24 13:05:13 -04:00
Matt Woodrow af5ecaa626 Bug 870211 - Revert to using BasicTextureImage on CGL. r=roc 2013-05-13 16:52:55 +12:00
Matt Woodrow 25cd3e4e03 Bug 756601 - Use TextureImageCGL again, and used TiledTexturedImage for large textures. r=BenWa 2013-05-10 09:02:48 +12:00
Matt Woodrow 1eab6c9792 Bug 864287 - Add back code to readback IOSurface plugins when using BasicLayers. r=BenWa 2013-05-01 17:03:27 +12:00