Benoit Girard
400396fb82
Bug 900033 - Don't rely on the driver to detect a bad MakeCurrent. r=jrmuizel
2014-01-17 18:10:54 -05:00
Bas Schouten
fdb4be9e33
Bug 960254 - Part 2: Update some callers that write to DataSourceSurface. r=jrmuizel
2014-01-16 13:17:23 +01:00
Bas Schouten
6a885186bb
Backed out 5 changesets (bug 960254, bug 960354)
...
Backed out changeset 4441c32c724c (bug 960254)
Backed out changeset 4aecc5ca2a19 (bug 960254)
Backed out changeset 9f499e5f7954 (bug 960354)
Backed out changeset fd9b6b044a5a (bug 960354)
Backed out changeset c1f6fbc397bd (bug 960354)
2014-01-16 14:36:53 +01:00
Bas Schouten
faa7d6f7e2
Bug 960354 - Part 2: Update some callers that write to DataSourceSurfaces. r=jrmuizel
2014-01-16 13:17:23 +01:00
Markus Stange
83a5bad4dc
Bug 958550 - Use ScopedGLState for scissor test + blend state in two more places. r=bjacob
2014-01-13 15:29:10 +01:00
Benoit Jacob
7bdb8095bb
Bug 943925 - Fix the loading of the glDrawBuffers symbol - r=jgilbert
2014-01-10 22:14:17 -05:00
Benoit Jacob
af24b2af27
Bug 958256 - Mark standard_derivatives as unsupported on Vivante drivers - r=jgilbert,snorp
2014-01-10 14:50:25 -05:00
Benoit Jacob
ccaa35314d
Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
a1e7c32630
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
4374a80063
Bug 958369 - 5/5 - Make ContextType a typed enum - r=jgilbert
2014-01-10 13:55:24 -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
e89c4521fc
Bug 958369 - 3/5 - Make SharedTextureShareType and SharedTextureBufferType typed enums - r=jgilbert
2014-01-10 13:55:23 -05:00
Benoit Jacob
f02a9b87ea
Bug 958369 - 2/5 - Make GLVendor and GLRenderer typed enums - r=jgilbert
2014-01-10 13:55:23 -05:00
Benoit Jacob
b05e26dc69
Bug 958369 - 1/5 - Make GLFeature a typed enum - r=jgilbert
2014-01-10 13:55:23 -05:00
Benoit Jacob
bba51d87ca
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
Morris Tseng
f5d29ea6c7
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-10 08:06:06 -05:00
Andreas Pehrson
0955c3684b
Bug 877115 - Remove GetTexImage from GLContext helper. r=nical
2014-01-08 09:37:58 +01:00
Markus Stange
160a80b3d7
Bug 956266 - Don't rebuffer quad vertex + texture coordinates when drawing simple quads in CompositorOGL. r=nrc
2014-01-08 13:00:04 +01:00
Markus Stange
4379a54037
Backing out changeset 1ff04cca465b (bug 956266) due to compilation failures on Android.
2014-01-08 11:36:13 +01:00
Markus Stange
95f05c9276
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
7bf05f5074
Bug 956401 - 9/9 - Optimization: cache the scissor rect in GLContext - r=vladv
2014-01-07 15:02:19 -05:00
Benoit Jacob
6d0a696864
Bug 956401 - 8/9 - Remove GLContext's scissor stack - r=jgilbert
2014-01-07 15:02:19 -05:00
Benoit Jacob
89a33dce75
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
72a2bbe248
Bug 956401 - 2/9 - Add ScopedScissorRect helper - r=jgilbert
2014-01-07 15:02:18 -05:00
Benoit Jacob
36c0991352
Bug 956154 - 2/2 - Optimization: cache the viewport rect - r=vladv
2014-01-07 15:02:18 -05:00
Benoit Jacob
4d8fcc24c1
Bug 956154 - 1/2 - Remove GLContext's viewport stack - r=jgilbert
2014-01-07 15:02:18 -05:00
Benoit Jacob
bb2984e1eb
Bug 956141 - Move y-flipping feature out of GLContext, into CompositorOGL - r=jgilbert,nrc
2014-01-07 15:02:18 -05:00
Benoit Jacob
3b48c14b33
Bug 950903 - 7/8 - Simplifications around EGLSurface override - r=jgilbert
2014-01-07 15:02:18 -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
98ca33fe7f
Bug 950903 - 4/8 - Expose GLContextWGL publicly - 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
10f7effe52
Bug 950903 - 2/8 - Expose GLContextGLX publicly - r=jgilbert
2014-01-07 15:02:18 -05:00
Benoit Jacob
dc6702ddaf
Bug 950903 - 1/8 - Expose GLContextEGL publicly - r=jgilbert
2014-01-07 15:02:18 -05:00
Ryan VanderMeulen
50da738663
Backed out changeset 403ab3213879 (bug 893304) for bustage.
2014-01-07 10:07:32 -05:00
Morris Tseng
a62da0d2f4
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
91175eb896
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Benoit Jacob
1c4c105204
Bug 949819 - Move remaining ReadPixels and GetTexImage helpers out of GLContext - r=jgilbert
2014-01-02 10:17:29 -05:00
Benoit Jacob
277b7c507a
Bug 949816 - Move override-EGLSurface feature out of GLContext - r=jgilbert
2014-01-02 10:17:28 -05:00
Benoit Jacob
62c75299c9
Bug 949814 - Remove GetEGLContext and GetLibraryEGL from GLContext - r=jgilbert
2014-01-02 10:17:25 -05:00
Benoit Jacob
07db30e0d3
Bug 945586 - Fix a few things in GLReadTexImageHelper - r=jgilbert
2014-01-02 10:17:24 -05:00
Benoit Jacob
3526b0f910
Bug 945586 - Move GLReadTexImageHelper out of GLContext - r=jgilbert
2014-01-02 10:17:22 -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
5cfa83a3e4
Bug 877115 - [Moz2Dify] Part 6. Moz2Dify SharedSurface_EGLImage::GetPixels. r=nical
2013-12-16 15:50:53 -05:00
Andreas Pehrson
8884428616
Bug 877115 - [Moz2Dify] Part 5. Minimize gfxIntSize usage in GLContext. r=nical
2013-12-10 17:12:42 +01:00
Andreas Pehrson
ffaa83ae75
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
bbf9fe777c
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
2439a8eef5
Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical)
2013-12-10 17:11:11 +01:00
Andreas Pehrson
aef8f7cc05
Bug 877115 - [Moz2Dify] Part 1. Remove ImageFormat typedef from GLContext. (r=nical)
2013-12-10 17:10:41 +01:00
Ms2ger
fc0c5d7215
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Isura Edirisinghe
ffae418d41
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
56b333d0d2
b=949644; set mLibrary in WGL contexts before calling Init; r=bjacob
2013-12-18 13:09:11 -05:00
Vladimir Vukicevic
88d100acfb
b=929506; call wglMakeCurrent before Init to get lookup working; r=bjacob
2013-12-18 13:09:11 -05:00
Vladimir Vukicevic
bff1f38394
b=929511; fix WGL context sharing; r=bjacob
2013-12-18 13:09:10 -05: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
2d0ad0d42d
Bug 877115 - [Moz2Dify] Part 6. Moz2Dify SharedSurface_EGLImage::GetPixels. r=nical
2013-12-16 15:50:53 -05:00
Andreas Pehrson
96f82c49cb
Bug 877115 - [Moz2Dify] Part 5. Minimize gfxIntSize usage in GLContext. r=nical
2013-12-10 17:12:42 +01:00
Andreas Pehrson
4372b58d1c
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
2fdd39a52c
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
99e812a782
Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical)
2013-12-10 17:11:11 +01:00
Andreas Pehrson
a5a5fddae5
Bug 877115 - [Moz2Dify] Part 1. Remove ImageFormat typedef from GLContext. (r=nical)
2013-12-10 17:10:41 +01:00
Benoit Jacob
fad917b723
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
feefccfd0c
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
01884a573b
Bug 942506 - Remove ApplyFilterToBoundTexture from GLContext - r=bjacob
...
Move it to CompositorOGL.
2013-12-09 14:07:18 +10:00
Dan Glastonbury
eb13a35408
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
506b3d56e6
Bug 942502 - Remove dead GLContext code - r=bjacob
2013-12-06 14:19:15 +10:00
Martin Stransky
8832b57f9d
Bug 941595 - Build with system-cairo is broken. r=glandium
2013-12-10 10:37:03 -05:00
Birunthan Mohanathas
3440613a39
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
68b00083fd
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
David Keeler
6420b4588d
bug 946791 - remove unused GLContextGLX::mLibType (leaving GLXLibrary::mLibType alone) r=bjacob
2013-12-06 11:59:26 -08:00
Dan Glastonbury
aef4e1d147
Bug 945023 - Extract CreateTextureXXX and CreateRenderbufferXXX from GLContext. r=bjacob
2013-12-06 10:36:13 -05:00
Dan Glastonbury
1a74976806
Bug 942507 - GLContext doesn't need to have userdata. r=bjacob
2013-12-06 10:23:16 -05:00
Mike Hommey
47bcdc4d05
Bug 946579 - Fix non-unified build in gfx/gl after bug 942505. r=bjacob
2013-12-06 08:45:29 +09:00
Kyle Huey
a4bc193dab
Bug 910878 - Remove gl.blit-draw-not-copy preference. r=gal
2013-12-05 09:37:37 -05:00
Ryan VanderMeulen
8648eb6908
Backed out changeset 9d673e562fa6 (bug 945023) for OSX bustage.
2013-12-04 20:42:55 -05:00
Dan Glastonbury
6377363d81
Bug 945023 - Extract CreateTextureXXX and friends from GLContext. r=bjacob
2013-12-04 15:41:22 +10:00
Benoit Jacob
6ffd3ab0a6
Bug 942499 - Part 3: Move CanReadSRGBFromFBOTexture out of GLContext - r=gal,jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
6896c52e8a
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
30d72ed7e8
Bug 942499 - Part 1: Move CanUploadSubTextures and WantsSmallTiles out of GLContext - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
b56cec3f0a
Bug 942500 - Move GLContext::TexImage2D and friends out of GLContext - r=jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
884f878ce5
Bug 942509 - Move Upload* functions to new GLUploadHelpers files - r=gal,jgilbert
2013-12-03 13:44:38 -05: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
Benoit Jacob
4513257f15
Bug 942501 - Part 1: remove some dead code around TextureImage functions - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
04c02eb28e
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
41b5c423b1
Bug 942505 - Move everything SharedHandle-related out of GLContext - r=jgilbert
2013-12-03 13:44:38 -05:00
Dan Glastonbury
a7f3af433e
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
3b387245d0
Bug 929506 - fix context bug in BasicTextureImage. r=bjacob
2013-12-03 11:44:49 +01: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
Dan Glastonbury
7f73b68e55
Bug 830881 - Port layerscope GL changes to new layers. r=vlad
2013-11-29 14:11:49 +10:00
Dan Glastonbury
a940e05e20
Bug 830881 - Wrap debug functions in MOZ_ENABLE_GL_TRACKING define. r=vlad
2013-11-29 14:16:40 +10:00
Mike Hommey
8f35911c9c
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
d28efc79a6
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
9d06a0c27f
Merge mozilla-inbound to mozilla-central.
2013-11-29 09:54:12 +01:00
Ms2ger
4c502efb62
Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal
2013-11-28 15:10:38 +01:00
Mike Hommey
8fd06cf41b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Dan Glastonbury
47033c5692
Bug 942492 - Move ScopedGL* RAII helpers out of GLContext.* - r=bjacob
2013-11-26 13:25:25 +10:00
Benoit Jacob
1095b2aa48
Bug 942503 - Move BlitTextureImage out of GLContext - r=jgilbert
2013-11-28 15:57:19 -05:00
Benoit Jacob
cbc3e900a8
Bug 942503 - Move Blit* functions out of GLContext, except for BlitTextureImage - r=jgilbert
2013-11-28 15:57:19 -05:00