Commit Graph

807 Commits

Author SHA1 Message Date
Markus Stange
48ff985804 Bug 956266 - Don't rebuffer quad vertex + texture coordinates when drawing simple quads in CompositorOGL. r=nrc 2014-01-08 10:31:07 +01:00
Benoit Jacob
262c6719b9 Bug 956401 - 9/9 - Optimization: cache the scissor rect in GLContext - r=vladv 2014-01-07 15:02:19 -05:00
Benoit Jacob
011fc0dca7 Bug 956401 - 8/9 - Remove GLContext's scissor stack - r=jgilbert 2014-01-07 15:02:19 -05:00
Benoit Jacob
31532918d7 Bug 956401 - 4/9 - Add ScopedGLState ctor without value parameter, leaving state unchanged - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
4225ba5b82 Bug 956401 - 2/9 - Add ScopedScissorRect helper - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
7165a98955 Bug 956154 - 2/2 - Optimization: cache the viewport rect - r=vladv 2014-01-07 15:02:18 -05:00
Benoit Jacob
331773ccee Bug 956154 - 1/2 - Remove GLContext's viewport stack - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
5beca4573d Bug 956141 - Move y-flipping feature out of GLContext, into CompositorOGL - r=jgilbert,nrc 2014-01-07 15:02:18 -05:00
Benoit Jacob
7438273a3f Bug 950903 - 7/8 - Simplifications around EGLSurface override - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
c1f0c05cb0 Bug 950903 - 6/8 - Remove GLContext::GetNativeData - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
19409e921d 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
829edabdf3 Bug 950903 - 4/8 - Expose GLContextWGL publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
d3cc19513c Bug 950903 - 3/8 - Expose GLContextCGL publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
5ace57f451 Bug 950903 - 2/8 - Expose GLContextGLX publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
174b06912b Bug 950903 - 1/8 - Expose GLContextEGL publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Ryan VanderMeulen
a7ec0e89f6 Backed out changeset 403ab3213879 (bug 893304) for bustage. 2014-01-07 10:07:32 -05:00
Morris Tseng
af6ed80837 Bug 893304 - Convert CanvasClient to new TextureClint/Host and replace SurfaceDescriptors with TextureClients inside SharedSurfaces. r=nical, r=snorp, r=jgilbert, r=bjacob 2014-01-07 09:58:03 -05:00
Nicholas Nethercote
ed423fbdef Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Benoit Jacob
47e5f6dc26 Bug 949819 - Move remaining ReadPixels and GetTexImage helpers out of GLContext - r=jgilbert 2014-01-02 10:17:29 -05:00
Benoit Jacob
ffb2d08f4f Bug 949816 - Move override-EGLSurface feature out of GLContext - r=jgilbert 2014-01-02 10:17:28 -05:00
Benoit Jacob
044d7d1535 Bug 949814 - Remove GetEGLContext and GetLibraryEGL from GLContext - r=jgilbert 2014-01-02 10:17:25 -05:00
Benoit Jacob
ad05069143 Bug 945586 - Fix a few things in GLReadTexImageHelper - r=jgilbert 2014-01-02 10:17:24 -05:00
Benoit Jacob
2b8df35bc7 Bug 945586 - Move GLReadTexImageHelper out of GLContext - r=jgilbert 2014-01-02 10:17:22 -05:00
Benoit Jacob
bae7b0d8e2 Bug 949813 - Remove mIsGlobalSharedContext from GLContext - r=jgilbert 2014-01-02 10:17:20 -05:00
Benoit Jacob
9a53357c9c Bug 877115 - some compilation fixes - no review, trivial build fix 2014-01-01 14:47:19 -05:00
Andreas Pehrson
af91dfe323 Bug 877115 - [Moz2Dify] Part 6. Moz2Dify SharedSurface_EGLImage::GetPixels. r=nical 2013-12-16 15:50:53 -05:00
Andreas Pehrson
1c6ea38013 Bug 877115 - [Moz2Dify] Part 5. Minimize gfxIntSize usage in GLContext. r=nical 2013-12-10 17:12:42 +01:00
Andreas Pehrson
9f3925f915 Bug 877115 - [Moz2Dify] Part 4. Change gfxIntSize to gfx::IntSize in GLScreenBuffer and friends. (carries r=nical) 2013-12-10 17:12:18 +01:00
Andreas Pehrson
f3b2403568 Bug 877115 - [Moz2Dify] Part 3. Change gfxIntSize to gfx::IntSize in GLContext::OffscreenSize and dependendent classes. r=nical 2013-12-10 17:11:58 +01:00
Andreas Pehrson
72812546dc Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical) 2013-12-10 17:11:11 +01:00
Andreas Pehrson
86b0750f57 Bug 877115 - [Moz2Dify] Part 1. Remove ImageFormat typedef from GLContext. (r=nical) 2013-12-10 17:10:41 +01:00
Ms2ger
98586cdbc1 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Isura Edirisinghe
3eedf5ced4 Bug 676907 - Refactor (replace) calls to Gestalt because it is deprecated in OS X 10.8 and will not work in after 10.9. r=BenWa 2013-12-19 11:42:19 -05:00
Vladimir Vukicevic
454fedcff5 b=949644; set mLibrary in WGL contexts before calling Init; r=bjacob 2013-12-18 13:09:11 -05:00
Vladimir Vukicevic
5b56494025 b=929506; call wglMakeCurrent before Init to get lookup working; r=bjacob 2013-12-18 13:09:11 -05:00
Vladimir Vukicevic
0693013e34 b=929511; fix WGL context sharing; r=bjacob 2013-12-18 13:09:10 -05:00
Wes Kocher
546f98d63d 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
227a388390 Bug 877115 - [Moz2Dify] Part 6. Moz2Dify SharedSurface_EGLImage::GetPixels. r=nical 2013-12-16 15:50:53 -05:00
Andreas Pehrson
31eda55222 Bug 877115 - [Moz2Dify] Part 5. Minimize gfxIntSize usage in GLContext. r=nical 2013-12-10 17:12:42 +01:00
Andreas Pehrson
23f150a2b2 Bug 877115 - [Moz2Dify] Part 4. Change gfxIntSize to gfx::IntSize in GLScreenBuffer and friends. (carries r=nical) 2013-12-10 17:12:18 +01:00
Andreas Pehrson
3d28bdc5dd Bug 877115 - [Moz2Dify] Part 3. Change gfxIntSize to gfx::IntSize in GLContext::OffscreenSize and dependendent classes. r=nical 2013-12-10 17:11:58 +01:00
Andreas Pehrson
9fd6653afc Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical) 2013-12-10 17:11:11 +01:00
Andreas Pehrson
999c4c51c8 Bug 877115 - [Moz2Dify] Part 1. Remove ImageFormat typedef from GLContext. (r=nical) 2013-12-10 17:10:41 +01:00
Benoit Jacob
93b907d0c2 Bug 948406 - Append some zeros to EGL attrib lists to work around a bug in Android/B2G emulator - r=vladv 2013-12-13 15:15:07 -05:00
Tor Arvid Lund
be32bf6ad2 Bug 929513 - Replace gfxIntSize in layers/AutoOpenSurface.h r=nical
This rippled into other replacements in layers and in gfx/gl.
2013-12-13 18:32:06 +01:00
Dan Glastonbury
6c65252846 Bug 942506 - Remove ApplyFilterToBoundTexture from GLContext - r=bjacob
Move it to CompositorOGL.
2013-12-09 14:07:18 +10:00
Dan Glastonbury
43de65aff6 Bug 942502 - Move EGLImage/GraphicBuffer-specific helpers out of GLContext - r=bjacob
Extracted methods CreateEGLImageForNativeBuffer and DestroyEGLImage from
GLContext and moved to EGLImageHelpers.[h|cpp]. Renamed to
EGLImageCreateFromNativeBuffer and EGLImageDestroy.
2013-12-10 15:47:19 +10:00
Dan Glastonbury
852050b9d5 Bug 942502 - Remove dead GLContext code - r=bjacob 2013-12-06 14:19:15 +10:00
Martin Stransky
f09c774110 Bug 941595 - Build with system-cairo is broken. r=glandium 2013-12-10 10:37:03 -05:00
Birunthan Mohanathas
58325c73be Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
David Keeler
22dc668c19 bug 946791 - remove unused GLContextGLX::mLibType (leaving GLXLibrary::mLibType alone) r=bjacob 2013-12-06 11:59:26 -08:00
Dan Glastonbury
c419c71b21 Bug 945023 - Extract CreateTextureXXX and CreateRenderbufferXXX from GLContext. r=bjacob 2013-12-06 10:36:13 -05:00
Dan Glastonbury
9f3e0a0598 Bug 942507 - GLContext doesn't need to have userdata. r=bjacob 2013-12-06 10:23:16 -05:00
Mike Hommey
967869e5fb Bug 946579 - Fix non-unified build in gfx/gl after bug 942505. r=bjacob 2013-12-06 08:45:29 +09:00
Kyle Huey
a33eb2b4dc Bug 910878 - Remove gl.blit-draw-not-copy preference. r=gal 2013-12-05 09:37:37 -05:00
Ryan VanderMeulen
215eab7ec7 Backed out changeset 9d673e562fa6 (bug 945023) for OSX bustage. 2013-12-04 20:42:55 -05:00
Dan Glastonbury
771fd863ec Bug 945023 - Extract CreateTextureXXX and friends from GLContext. r=bjacob 2013-12-04 15:41:22 +10:00
Benoit Jacob
97a90dfa8b Bug 942499 - Part 3: Move CanReadSRGBFromFBOTexture out of GLContext - r=gal,jgilbert 2013-12-03 13:44:38 -05:00
Benoit Jacob
b384f45f52 Bug 942499 - Part 2: Move CanUploadNonPowerOfTwo out of GLContext; remove the gfx.textures.poweroftwo.force-enabled preference - r=gal,BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
16059bd0ed Bug 942499 - Part 1: Move CanUploadSubTextures and WantsSmallTiles out of GLContext - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
28152cdbf3 Bug 942500 - Move GLContext::TexImage2D and friends out of GLContext - r=jgilbert 2013-12-03 13:44:38 -05:00
Benoit Jacob
557445f231 Bug 942509 - Move Upload* functions to new GLUploadHelpers files - r=gal,jgilbert 2013-12-03 13:44:38 -05:00
Benoit Jacob
642b73e3ef Bug 942501 - Part 3: move CreateTextureImage and TileGenFunc out of GLContext - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
48f806ba5d Bug 942501 - Part 2: move TextureImageCGL to separate files - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
83397cfb49 Bug 942501 - Part 1: remove some dead code around TextureImage functions - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
44a5a30bc9 Bug 944703 - Part 1: make SurfaceCaps hold a strong reference to its ISurfaceAllocator - r=jgilbert 2013-12-03 13:44:38 -05:00
Benoit Jacob
3b2fcb7e51 Bug 942505 - Move everything SharedHandle-related out of GLContext - r=jgilbert 2013-12-03 13:44:38 -05:00
Dan Glastonbury
313d4247f8 Bug 921215 - Handle being passed NULL ptr for either surface or gl to SharedSurface_IOSurface::Create by returning NULL. r=mattwoodrow 2013-12-03 13:11:27 +10:00
Nicolas Silva
0b72fc8329 Bug 929506 - fix context bug in BasicTextureImage. r=bjacob 2013-12-03 11:44:49 +01:00
Nicolas Silva
7da987c39c Bug 929506 - Check that the GLContext is not destroyed in MakeCurrent. r=bjacob 2013-12-03 11:44:37 +01:00
Dan Glastonbury
0b98ce2b6a Bug 830881 - Port layerscope GL changes to new layers. r=vlad 2013-11-29 14:11:49 +10:00
Dan Glastonbury
2113fcf9db Bug 830881 - Wrap debug functions in MOZ_ENABLE_GL_TRACKING define. r=vlad 2013-11-29 14:16:40 +10:00
Mike Hommey
9a64081150 Bug 944830 - Fix non-unified build in gfx after bug 942492, bug 943293 and bug 944172. r=bjacob 2013-12-01 07:20:57 +09:00
Benoit Jacob
7e3480f6b4 Bug 942492 - Add a missing #include to a header that really needs it - no review, trivial compilation fix 2013-11-29 11:31:46 -05:00
Ms2ger
cf53814bbc Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger
b2a48b6753 Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal 2013-11-28 15:10:38 +01:00
Mike Hommey
fdd3247a81 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Dan Glastonbury
3fd4360014 Bug 942492 - Move ScopedGL* RAII helpers out of GLContext.* - r=bjacob 2013-11-26 13:25:25 +10:00
Benoit Jacob
b601ddf8b0 Bug 942503 - Move BlitTextureImage out of GLContext - r=jgilbert 2013-11-28 15:57:19 -05:00
Benoit Jacob
b09cd02eac Bug 942503 - Move Blit* functions out of GLContext, except for BlitTextureImage - r=jgilbert 2013-11-28 15:57:19 -05:00
Benoit Jacob
d702a7823d Bug 944172 - Move DecomposeIntoNoRepeatTriangles out of GLContext - r=BenWa 2013-11-28 15:57:19 -05:00
Mike Hommey
2f727b6d62 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Andreas Pehrson
aa8c55b911 Bug 943293 - Add ReadBackSurface helper in GLContextUtils 2013-11-27 15:04:33 +01:00
Nicholas Nethercote
c82c609ac3 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Mike Hommey
b038245b8d Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Ehsan Akhgari
6220f98ec6 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
74e6ffe050 Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Benoit Jacob
406f766862 Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical 2013-11-27 10:19:34 -05:00
Nicolas Silva
fd65e156ab Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc 2013-11-27 11:15:17 +13:00
Ryan VanderMeulen
9071a054e6 Backed out changesets 7caa8e80b06a, 1509f8be5df3, a249bd79e71a, and 9cc4a77561e8 (bug 933082) for mochitest asserts on a CLOSED TREE. 2013-11-26 14:58:09 -05:00
Benoit Jacob
6c51ca326b Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical 2013-11-26 14:00:29 -05:00
Benoit Jacob
fcdb015ca6 Bug 834243 - Add fatal assertions in CreateForWindow to get better crash reports - r=BenWa 2013-11-25 21:48:27 -05:00
Chris Kitching
43102ed4c2 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Benoit Jacob
3b00e503f4 Bug 939758 - Build gfx/gl in unified mode - r=ehsan 2013-11-19 16:54:09 -05:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Benoit Jacob
cc29adfdc8 Bug 938489 - 1/3. Don't include glx.h in GLXLibrary.h - r=mattwoodrow 2013-11-18 08:08:24 -05:00
Benoit Jacob
28a414fd93 Bug 919987 - pass surface as an EGLSurface, not a void* - r=jgilbert 2013-11-15 12:33:51 -05:00
Benoit Jacob
15b3f49236 Bug 925608 - 7/8: rename ProvideEGLSurface to CreateEGLSurfaceForCompositor - r=kats 2013-11-15 11:28:59 -05:00
Benoit Jacob
c7ed367a33 Bug 925608 - 4/8: Consistently manage the client surface on the GLContext side. Java only provides the function to create a surface - r=kats,jgilbert
Also folded in the originally separate patch on bug 936968 because it didn't work on its own.
2013-11-15 11:28:54 -05:00
Benoit Jacob
d6cbadbfb1 Bug 919987 - Replace mCurSurface, which was redundant state, by a saner mSurfaceOverride that does nothing when it's EGL_NO_SURFACE - r=jgilbert 2013-11-15 11:28:38 -05:00
Benoit Jacob
715cbe8461 Bug 937196 - Remove mPlatformContext from GLContextProviderEGL - r=jgilbert 2013-11-15 11:28:36 -05:00
Joshua Cranmer
4568b8f835 Bug 935789, part 1: Kill most uses of prbit.h, r=ehsan
--HG--
extra : rebase_source : 4c44e60c72e0ece3cea7ed1cf79079bd2a1b6487
2013-11-12 18:22:38 -06:00
Jeff Muizelaar
9344e3053c Bug 929471. Make CGLTexImageIOSurface2D take a CGLContextObj instead of a NSOpenGLContext. r=bgirard 2013-11-07 22:53:54 -05:00
Benoit Girard
be34eefebe Bug 935476 - Remove OpenGL printf on mac startup. r=nical 2013-11-06 08:04:12 -05:00
Dan Glastonbury
442a70f72a Bug 843668 - Implement WebGL -draft- extension EXT_sRGB. r=jgilbert
https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/
See content/canvas/test/webgl/conformance/extensions/ext-sRGB.html for example
usage.

OSX 10.6 has a failure when reading back the results from an sRGB format
texture attached to an FBO. Blacklist MacOSX 10.6 and all lower versions.
2013-11-04 16:05:04 -05:00
Matt Woodrow
9c51cbb0f8 Bug 887791 - Remove a bunch of now-unused SharedTextureHandle code. r=roc 2013-11-01 14:54:15 +13:00
Benoit Jacob
6c32b05cf1 Bug 914823 - Use a WeakPtr<ISurfaceAllocator> also in SharedSurface_Gralloc - r=sotaro 2013-10-31 11:25:54 -04:00
Jeff Gilbert
9e3d90f072 Bug 922368 - Check for features instead of framebuffer_blit extensions. r=bjacob 2013-10-31 09:51:47 -04:00
Peter Chang
f67eec308b Bug 915783 - [B2G][Browser][PDF]Graphical fragmentation occurs when viewing a pdf via browser. r=jgilbert 2013-10-30 15:21:22 -04:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Brian O'Keefe
0cbcd904c7 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Markus Stange
7ec597ca25 Bug 923114 - Clear the current GL context when we're about to destroy it. r=mattwoodrow 2013-10-09 10:39:22 -04:00
Vladimir Vukicevic
d2538a4815 b=927727; support OpenGL OMTC layers on Windows; r=bgirard 2013-10-17 00:16:40 -04:00
Ed Morley
78777d624f Backed out changeset f8e64e91e443 (bug 843668) for webgl test failures 2013-10-16 15:18:20 +01:00
Dan Glastonbury
560bce12ae Bug 843668 - Implement WebGL -draft- extension EXT_sRGB. r=jgilbert
https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/
See content/canvas/test/webgl/conformance/extensions/ext-sRGB.html for example
usage.
2013-10-16 08:27:59 -04:00
Benoit Jacob
286cb09f7b Bug 814159 - Part 4: Split TextureImageEGL into separate files - r=benwa 2013-10-11 09:16:44 -04:00
Benoit Jacob
343745dead Bug 814159 - Part 3: remove the backing surface code from GLContextProviderEGL.cpp - r=benwa 2013-10-11 09:16:44 -04:00
Benoit Jacob
ad163989cd Bug 814159 - Part 2: remove the global context code from GLContextProviderEGL.cpp - r=benwa 2013-10-11 09:16:44 -04:00
Benoit Jacob
4ce8a28e25 Bug 814159 - Part 1: remove X11, Qt, and unused Gonk code from GLContextProviderEGL.cpp - r=benwa 2013-10-11 09:16:44 -04:00
Benoit Jacob
9b4f7263f1 Bug 922810 - Part 7: extend ScopedBindTexture to support cube maps - r=jgilbert 2013-10-11 09:16:43 -04:00
Sushil Chauhan
756b0a7897 Bug 919676 - Fix multiple hwc prepare calls with different layer lists. r=mwu, r=dwilson 2013-10-08 08:29:35 -07:00
Benoit Jacob
0114c00bd8 Bug 914823 - Use a WeakPtr to the SurfaceAllocator - r=jgilbert,nical 2013-10-09 08:47:32 -04:00
Carsten "Tomcat" Book
9234ee1a99 merge mozilla-inbound to mozilla-central 2013-10-09 10:09:07 +02:00
Jeff Gilbert
5591502d99 Bug 910429 - Add KHR_debug support to GLContext. - r=bjacob 2013-10-08 16:20:24 -07:00
Ryan VanderMeulen
cf37f08716 Backed out changeset e02e1b107db7 (bug 919676) for causing bug 924129. 2013-10-08 09:39:07 -04:00
Jeff Gilbert
a4398dc7ad Bug 917160 - AssureBlitted before switching EGLSurfaces with MakeCurrent. - r=bjacob 2013-10-07 15:56:08 -07:00
Sushil Chauhan
06cfc1d663 Bug 919676 - Fix multiple hwc prepare calls with different layer lists. r=mwu, r=dwilson 2013-10-04 11:01:22 -07:00
Robert O'Callahan
d7e61cc28c Bug 923194. Make GLContext::InitWithPrefix not fatally assert when the GL version is too low. r=bjacob
--HG--
extra : rebase_source : 50af716547bbfb7cd25a828d708b2a9553e91c56
2013-10-03 07:40:28 -04:00
Ms2ger
df62fb8b0f Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ehsan Akhgari
18ef76b0d7 Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Benoit Jacob
6ecd6b5eaa Bug 783914 - WEBGL_depth_texture doesn't work using ANGLE - r=jgilbert 2013-09-30 20:58:57 -04:00
Ehsan Akhgari
a23cd291d5 Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Matt Woodrow
445aba4953 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
Ryan VanderMeulen
0cfa34ad65 Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)

--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Chris Kitching
9eed6c7f16 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Kartikaya Gupta
9a58f0b9f9 Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching
0d37cfdd60 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Nicholas Cameron
a8a95dc820 Bug 882113. Azurification of compositor classes. r=mattwoodrow 2013-09-27 12:37:19 +12:00
Benoit Jacob
26fc36c36f Bug 914823 - Reorder the ScreenBuffer teardown so that the SurfaceFactory is destroyed last - r=jgilbert 2013-09-25 20:18:30 -04:00
Benoit Jacob
5a16c8030b Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel 2013-09-24 16:45:14 -04:00
Benoit Jacob
0f90257361 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
89bfa53c22 Bug 919219 - Split nsMainThreadSurfaceRef out of gfxASurface.h, into ImageContainer.h - r=jrmuizel 2013-09-24 16:45:13 -04:00
Jeff Gilbert
cfdbae7842 Bug 917046 - Add feature that allows non-array instanced drawing. r=bjacob 2013-09-19 15:33:11 -07:00
Jeff Gilbert
2883ee0db6 Bug 916816 - Disable broken ANGLE divisor support. - r=bjacob 2013-09-19 15:25:35 -07:00