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
02c94cf332
Bug 877115 - [Moz2Dify] Part 6. Moz2Dify SharedSurface_EGLImage::GetPixels. r=nical
2013-12-16 15:50:53 -05:00
Andreas Pehrson
ffb194632e
Bug 877115 - [Moz2Dify] Part 5. Minimize gfxIntSize usage in GLContext. r=nical
2013-12-10 17:12:42 +01:00
Andreas Pehrson
93a0fb835c
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
9c37200b9a
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
38010d4e7c
Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical)
2013-12-10 17:11:11 +01:00
Andreas Pehrson
c23b8e94f5
Bug 877115 - [Moz2Dify] Part 1. Remove ImageFormat typedef from GLContext. (r=nical)
2013-12-10 17:10:41 +01:00
Benoit Jacob
0e72ab2dd3
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
1fb97ff74a
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
defcd6a300
Bug 942506 - Remove ApplyFilterToBoundTexture from GLContext - r=bjacob
...
Move it to CompositorOGL.
2013-12-09 14:07:18 +10:00
Dan Glastonbury
c31338cb36
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
699b5b1669
Bug 942502 - Remove dead GLContext code - r=bjacob
2013-12-06 14:19:15 +10:00
Martin Stransky
2b7ca13346
Bug 941595 - Build with system-cairo is broken. r=glandium
2013-12-10 10:37:03 -05:00
Birunthan Mohanathas
759ab69b0a
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
2a97f4dc0d
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
David Keeler
991e77275b
bug 946791 - remove unused GLContextGLX::mLibType (leaving GLXLibrary::mLibType alone) r=bjacob
2013-12-06 11:59:26 -08:00
Dan Glastonbury
7fdecb4012
Bug 945023 - Extract CreateTextureXXX and CreateRenderbufferXXX from GLContext. r=bjacob
2013-12-06 10:36:13 -05:00
Dan Glastonbury
e794173f4c
Bug 942507 - GLContext doesn't need to have userdata. r=bjacob
2013-12-06 10:23:16 -05:00
Mike Hommey
31150400fd
Bug 946579 - Fix non-unified build in gfx/gl after bug 942505. r=bjacob
2013-12-06 08:45:29 +09:00
Kyle Huey
ce237a40df
Bug 910878 - Remove gl.blit-draw-not-copy preference. r=gal
2013-12-05 09:37:37 -05:00
Ryan VanderMeulen
fee893bac3
Backed out changeset 9d673e562fa6 (bug 945023) for OSX bustage.
2013-12-04 20:42:55 -05:00
Dan Glastonbury
782b9f8480
Bug 945023 - Extract CreateTextureXXX and friends from GLContext. r=bjacob
2013-12-04 15:41:22 +10:00
Benoit Jacob
5222a33e5b
Bug 942499 - Part 3: Move CanReadSRGBFromFBOTexture out of GLContext - r=gal,jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
b253073c22
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
1dea809c09
Bug 942499 - Part 1: Move CanUploadSubTextures and WantsSmallTiles out of GLContext - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
b21184fe54
Bug 942500 - Move GLContext::TexImage2D and friends out of GLContext - r=jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
aeba86a7b1
Bug 942509 - Move Upload* functions to new GLUploadHelpers files - r=gal,jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
ccea62e706
Bug 942501 - Part 3: move CreateTextureImage and TileGenFunc out of GLContext - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
e5428485e0
Bug 942501 - Part 2: move TextureImageCGL to separate files - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
38f49f84a9
Bug 942501 - Part 1: remove some dead code around TextureImage functions - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
51b9f31c46
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
f197bdfbfe
Bug 942505 - Move everything SharedHandle-related out of GLContext - r=jgilbert
2013-12-03 13:44:38 -05:00
Dan Glastonbury
8fcf8f2e03
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
16948fa98a
Bug 929506 - fix context bug in BasicTextureImage. r=bjacob
2013-12-03 11:44:49 +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
Dan Glastonbury
1d20a3aa09
Bug 830881 - Port layerscope GL changes to new layers. r=vlad
2013-11-29 14:11:49 +10:00
Dan Glastonbury
90aac9e9c4
Bug 830881 - Wrap debug functions in MOZ_ENABLE_GL_TRACKING define. r=vlad
2013-11-29 14:16:40 +10:00
Mike Hommey
19da4ce8f2
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
741ffb414e
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
a129edb4cb
Merge mozilla-inbound to mozilla-central.
2013-11-29 09:54:12 +01:00
Ms2ger
a88cf8354a
Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal
2013-11-28 15:10:38 +01:00
Mike Hommey
9245936f8b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Dan Glastonbury
0cc0720b2e
Bug 942492 - Move ScopedGL* RAII helpers out of GLContext.* - r=bjacob
2013-11-26 13:25:25 +10:00
Benoit Jacob
fad9e41e04
Bug 942503 - Move BlitTextureImage out of GLContext - r=jgilbert
2013-11-28 15:57:19 -05:00
Benoit Jacob
d656998a18
Bug 942503 - Move Blit* functions out of GLContext, except for BlitTextureImage - r=jgilbert
2013-11-28 15:57:19 -05:00
Benoit Jacob
7fd983a4b5
Bug 944172 - Move DecomposeIntoNoRepeatTriangles out of GLContext - r=BenWa
2013-11-28 15:57:19 -05:00
Mike Hommey
2b828323f2
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
02706dbc0a
Bug 943293 - Add ReadBackSurface helper in GLContextUtils
2013-11-27 15:04:33 +01:00
Nicholas Nethercote
77419f6a47
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
d210f8ff00
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Ehsan Akhgari
c3970a73fb
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
78e4d6490d
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
5f4cdeaa93
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
532313927f
Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc
2013-11-27 11:15:17 +13:00
Ryan VanderMeulen
bc4870bf0a
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
7031739d99
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
3625a1df43
Bug 834243 - Add fatal assertions in CreateForWindow to get better crash reports - r=BenWa
2013-11-25 21:48:27 -05:00
Chris Kitching
7144e8c767
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Benoit Jacob
e028c8e7a4
Bug 939758 - Build gfx/gl in unified mode - r=ehsan
2013-11-19 16:54:09 -05:00
Mike Hommey
a65383e1e9
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
8ceb917350
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761
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
7b7b1d8034
Bug 938489 - 1/3. Don't include glx.h in GLXLibrary.h - r=mattwoodrow
2013-11-18 08:08:24 -05:00
Benoit Jacob
bb3f8d22ce
Bug 919987 - pass surface as an EGLSurface, not a void* - r=jgilbert
2013-11-15 12:33:51 -05:00
Benoit Jacob
1d3a8d8fae
Bug 925608 - 7/8: rename ProvideEGLSurface to CreateEGLSurfaceForCompositor - r=kats
2013-11-15 11:28:59 -05:00
Benoit Jacob
d6ee05d835
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
f51c3ef95e
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
b64fc71295
Bug 937196 - Remove mPlatformContext from GLContextProviderEGL - r=jgilbert
2013-11-15 11:28:36 -05:00
Joshua Cranmer
08036d15e9
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
bb0dd83bc0
Bug 929471. Make CGLTexImageIOSurface2D take a CGLContextObj instead of a NSOpenGLContext. r=bgirard
2013-11-07 22:53:54 -05:00
Benoit Girard
ea410263fe
Bug 935476 - Remove OpenGL printf on mac startup. r=nical
2013-11-06 08:04:12 -05:00
Dan Glastonbury
607685cff8
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
d9ec8ef287
Bug 887791 - Remove a bunch of now-unused SharedTextureHandle code. r=roc
2013-11-01 14:54:15 +13:00
Benoit Jacob
2b3d64e4a0
Bug 914823 - Use a WeakPtr<ISurfaceAllocator> also in SharedSurface_Gralloc - r=sotaro
2013-10-31 11:25:54 -04:00
Jeff Gilbert
41d78e5c50
Bug 922368 - Check for features instead of framebuffer_blit extensions. r=bjacob
2013-10-31 09:51:47 -04:00
Peter Chang
bd68421c8b
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
1d566f7586
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Brian O'Keefe
4c98f61956
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
61124c1afc
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
e2ae65f67a
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Markus Stange
b5c797bb1b
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
ec836bccf2
b=927727; support OpenGL OMTC layers on Windows; r=bgirard
2013-10-17 00:16:40 -04:00
Ed Morley
d2181e5021
Backed out changeset f8e64e91e443 (bug 843668) for webgl test failures
2013-10-16 15:18:20 +01:00
Dan Glastonbury
5fef90e0a1
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
96f050438e
Bug 814159 - Part 4: Split TextureImageEGL into separate files - r=benwa
2013-10-11 09:16:44 -04:00
Benoit Jacob
b492cc1272
Bug 814159 - Part 3: remove the backing surface code from GLContextProviderEGL.cpp - r=benwa
2013-10-11 09:16:44 -04:00
Benoit Jacob
26db1bd70b
Bug 814159 - Part 2: remove the global context code from GLContextProviderEGL.cpp - r=benwa
2013-10-11 09:16:44 -04:00
Benoit Jacob
063f8d3ac4
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
7ae9b37393
Bug 922810 - Part 7: extend ScopedBindTexture to support cube maps - r=jgilbert
2013-10-11 09:16:43 -04:00
Sushil Chauhan
901afbe792
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
d9ea1eb4df
Bug 914823 - Use a WeakPtr to the SurfaceAllocator - r=jgilbert,nical
2013-10-09 08:47:32 -04:00
Carsten "Tomcat" Book
0679b3bf04
merge mozilla-inbound to mozilla-central
2013-10-09 10:09:07 +02:00
Jeff Gilbert
34903debba
Bug 910429 - Add KHR_debug support to GLContext. - r=bjacob
2013-10-08 16:20:24 -07:00
Ryan VanderMeulen
7965279d18
Backed out changeset e02e1b107db7 (bug 919676) for causing bug 924129.
2013-10-08 09:39:07 -04:00
Jeff Gilbert
6fe6c5ae2b
Bug 917160 - AssureBlitted before switching EGLSurfaces with MakeCurrent. - r=bjacob
2013-10-07 15:56:08 -07:00
Sushil Chauhan
dd40fe57b6
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
5bb7b716d5
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
7ffcd856c2
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
6c364e9615
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
2275eedfca
Bug 783914 - WEBGL_depth_texture doesn't work using ANGLE - r=jgilbert
2013-09-30 20:58:57 -04:00
Ehsan Akhgari
b6bef348c1
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
a7d36118a0
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
fb2d6dc1a4
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
b3fd693d20
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Kartikaya Gupta
7f22c5c405
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
96d931b9eb
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Nicholas Cameron
6d1b35bad7
Bug 882113. Azurification of compositor classes. r=mattwoodrow
2013-09-27 12:37:19 +12:00
Benoit Jacob
00c3b1fbec
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
6ac61cabdb
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
c1d7f88886
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
890a165b57
Bug 919219 - Split nsMainThreadSurfaceRef out of gfxASurface.h, into ImageContainer.h - r=jrmuizel
2013-09-24 16:45:13 -04:00
Jeff Gilbert
e62044056e
Bug 917046 - Add feature that allows non-array instanced drawing. r=bjacob
2013-09-19 15:33:11 -07:00
Jeff Gilbert
eb0b16f387
Bug 916816 - Disable broken ANGLE divisor support. - r=bjacob
2013-09-19 15:25:35 -07:00
Diego Wilson
090e7adacb
Bug 911391 - Add Jellybean support to HwcComposer2D. r=mwu
2013-09-11 15:10:33 +02:00
George Wright
4546d1dc9e
Bug 899672 - Change egltrace.so default location to /data/local/tmp r=kats
2013-07-30 14:16:49 -04:00
Nicholas Nethercote
9d1d4e73b0
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Benoit Jacob
4422726329
Bug 912974 - Add two missing include guards. r=bjacob
2013-09-10 21:10:47 -04:00
Benoit Jacob
4b58797235
Bug 912974 - Split two classes out of GLContext.h, and remove many #includes in GLContext.h - r=jrmuizel
2013-09-06 22:13:37 -04:00
Benoit Jacob
13a76f721d
Bug 905227 - On Android Emulator, assume that OES_rgb8_rgba8 is available even though it's not in the GL_EXTENSIONS string - r=nical
2013-09-06 08:03:08 -04:00
Robert O'Callahan
33cdb42706
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
ad36ee41a9
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
43ad5b4dcf
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09: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
Benoit Jacob
49cf8f1dc4
Bug 911853 - OpenGL types should be explicit-size integer types - r=jgilbert
2013-09-04 08:14:41 -04:00
Bill McCloskey
3484db98fc
Bug 910488 - XSync can hang indefinitely with OMTC enabled (r=bjacob)
2013-08-30 14:30:10 -07:00
Guillaume Abadie
f3371476dc
bug 911199 - Bug fix on GL version comparaison causing crash on devices supporting OpenGL ES 3.0 - r=bjacob
2013-08-30 14:17:43 -04:00
Doug Turner
805876c713
Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns
2013-08-25 16:56:53 -07:00
Ryan VanderMeulen
e2d9dddf6b
Backed out changeset 630b25ba7f69 (bug 910429) for build bustage on a CLOSED TREE.
2013-08-29 12:10:44 -04:00
Jeff Gilbert
f524fe5aa0
Bug 910429 - Implement KHR_debug in GLContext. r=bjacob
2013-08-29 11:41:08 -04:00
Guillaume Abadie
e2117e2247
bug 899855 - GLContext parse GL_VERSION - r=bjacob,jgilbert
2013-08-29 10:07:58 -04:00
Brian O'Keefe
4f68eb9b02
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Nicholas Nethercote
febbe1a12f
Bug 831193 (part 10) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in parts of gfx/. r=bjacob.
...
--HG--
extra : rebase_source : 433b12748c8562b384a02fbee6d98e3bc991802d
2013-01-17 16:45:11 -08:00
Jeff Gilbert
118513d78a
Bug 908905 - Reduce blocking of packed_depth_stencil on mac+nv. r=bjacob
2013-08-27 18:00:16 -04:00
George Wright
47b381cba3
Bug 899702 - Only attempt load of egltrace.so when a pref is set r=vlad
2013-07-30 14:54:29 -04:00
Guillaume Abadie
ec46ed3e56
bug 908841 - step 3 - Change the WebGL 2 validation mechanism - r=jgilbert
2013-08-26 17:12:54 -04:00
Guillaume Abadie
a61b5ac1aa
bug 905161 - Remove the return type of GLContext::MarkUnsupported - r=jgilbert
2013-08-23 19:33:42 -04:00
Guillaume Abadie
def9ab8d6a
bug 905161 - Cache OpenGL features in GLContext - r=jgilbert
2013-08-23 19:33:42 -04:00
Ryan VanderMeulen
a4221268e1
Merge m-c to b2g-inbound.
2013-08-23 10:52:20 -04:00
Andreas Gal
9bb471c0ec
Bug 905589 - Use VBO instead of client side rendering. r=bas
2013-08-22 15:04:55 -04:00
Guillaume Abadie
9edea3a246
bug 907946 - re-enable EXT_packed_depth_stencil on OS X 10.9 - r=bjacob,jgilbert
2013-08-22 20:13:59 -04:00
Guillaume Abadie
c91dad91c0
bug 904330 - step 05 - Rename GLContextExtensionGroupQueries.cpp to GLContextFeatures.cpp - r=jgilbert
...
--HG--
rename : gfx/gl/GLContextExtensionGroupQueries.cpp => gfx/gl/GLContextFeatures.cpp
2013-08-22 13:42:05 -04:00
Guillaume Abadie
64b517b084
bug 904330 - step 04 - Remove old extension group queries - r=jgilbert
2013-08-22 13:42:05 -04:00
Guillaume Abadie
341027053c
bug 904330 - step 03 - Uses mozilla::GLFeature instead of old extension group queries - r=jgilbert
2013-08-22 13:42:05 -04:00
Guillaume Abadie
141c330cd7
bug 904330 - step 02 - Changes GLContext's extension group query names - r=jgilbert
2013-08-22 13:42:05 -04:00
Guillaume Abadie
e7af8d81f3
bug 904330 - step 01 - Add mozilla::GLFeature - r=jgilbert
2013-08-22 13:42:04 -04:00
Ms2ger
4922ccbc0a
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
dba42e4001
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Ms2ger
8ccdba4aa0
Bug 906412 - Cleanup some random parts of the build system; r=mshal
2013-08-22 08:55:59 +02:00
Ms2ger
4d968c40e1
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Nicholas Cameron
b85b496768
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Guillaume Abadie
6d4c154cbf
bug 903481 - step 2 - [WebGL 2.0] transform feedback: add symbols in GLContext - r=jgilbert
2013-08-20 11:36:20 -04:00
Joseph Yasi
3ac06f8f86
Bug 896287 - NVIDIA specific GLX server vendor check for pixmap depth and fbConfig depth. r=karlt
2013-08-20 08:30:26 -04:00
Guillaume Abadie
76f8b24de5
bug 905853 - gfx/gl/GLConsts.h nits fix - r=jgilbert
2013-08-16 17:11:57 -04:00
Guillaume Abadie
d00425a189
bug 903455 - [WebGL 2.0] Implement transform feedback: RASTERIZER_DISCARD - r=jgilbert
2013-08-15 20:43:47 -04:00
Guillaume Abadie
3530bc7f3f
bug 902063 - GLContext complete extension group queries - r=bjacob,jgilbert
2013-08-15 15:58:20 -04:00
Guillaume Abadie
f4cc91c2a9
bug 900199 - Add OpenGL registry xml parser to generate constants - step 2 - r=bjacob,jgilbert,jrmuizel
2013-08-13 10:35:03 -04:00
Guillaume Abadie
e1b902c305
bug 900199 - Add OpenGL registry xml parser to generate constants - step 1 - r=bjacob,jgilbert,jrmuizel
2013-08-13 10:35:03 -04:00
Adrian May
89808cf57b
Bug 877115 - Moz2Dify GLContext and GLTextureImage. r=nical
2013-08-13 15:44:53 +02:00
Benoit Jacob
02497cdce0
Bug 901495 - GLintptr should be intptr_t, not ptrdiff_t - r=jrmuizel
2013-08-12 23:55:28 +02:00
Phil Ringnalda
be5f1b23e0
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
a23e8df091
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Edwin Flores
c80309e9c2
Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow
2013-08-08 10:38:21 +12:00
George Wright
657b9b1b9c
Bug 902483 - Expose missing GLES2 extensions to SkiaGL r=mattwoodrow
2013-07-31 20:10:55 -04:00
Guillaume Abadie
e4fe59d4e4
bug 893180 - [WebGL 2.0] gl.vertexAttribDivisor (GL_ARB_instanced_array) - r=jgilbert
2013-08-06 20:05:51 -04:00
Guillaume Abadie
5e549ecde2
bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert
2013-08-06 17:23:46 -04:00
Guillaume Abadie
198631ee3c
bug 901084 - remove deprecated GLContext extension group queries. - r=bjacob
2013-08-02 21:13:46 -04:00
Guillaume Abadie
bf9b5060d1
Bug 901131 - GLContext's extension group queries do a static assert on sExtensionGroupInfoArr - r=jgilbert
2013-08-02 21:04:16 -04:00
Guillaume Abadie
3428b1ac94
bug 900101 - build bustage fix on an CLOSED TREE - r=bjacob IRL
2013-08-02 18:26:09 -04:00
Guillaume Abadie
51a5a7c554
bug 900101 - GLContext let extension group queries XXX_* use mVersion and mProfile - r=jgilbert,bjacob
2013-08-02 17:30:58 -04:00
Guillaume Abadie
545570e176
bug 900964 - GLContext::GLErrorToString changed to a static function - r=bjacob
2013-08-02 17:08:55 -04:00
Avi Halachmi
ed3a4890f3
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
Ms2ger
5c2b63d2c7
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
db93468e84
Bug 898895 - Define MOZ_WEBGL globally; r=ted
2013-08-02 09:04:35 +02:00
Guillaume Abadie
d5c2e9336d
bug 899264 - Add OpenGL version and profile support in GLContext - r=jgilbert
2013-08-01 19:43:27 -04:00
Nicolas Silva
134b1e0673
Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa
2013-08-02 01:02:06 +02:00
Guillaume Abadie
b1118d01bf
bug 900702 - GLContext DrawArraysInstanced and DrawElementsInstanced doesn't call {Before,After}GLDrawCall() - r=bjacob
2013-08-01 18:27:54 -04:00
Guillaume Abadie
6a5443f0b6
bug 899811 - step 01 - gfx/gl/GLContext.h consolidation - r=bjacob,jgilbert
2013-07-31 19:18:06 -04:00
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Nicolas Silva
5ec3fda767
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
Guillaume Abadie
5fe5b14264
bug 892546 - [WebGL 2.0] Instanced Rendering (GL_ARB_draw_instanced) - r=jgilbert
2013-07-25 20:38:58 -04:00
Guillaume Abadie
e82d2a8363
Bug 896814 - GLContext add enum GLExtensionPackages. r=jgilbert
...
DONTBUILD
2013-07-23 17:33:51 -04:00
Ryan VanderMeulen
1716cf86d4
Backed out changeset 590fc39b6a1c (bug 892546) for landing with the wrong bug number.
2013-07-23 17:40:28 -04:00
Guillaume Abadie
e2d3ec9763
bug 892546 - GLContext add enum GLExtensionPackages - r=jgilbert
2013-07-23 17:33:51 -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
James Willcox
ca9e13ffe2
Bug 894405 - Ref GLContext before sending SurfaceStream to compositor r=jgilbert
2013-07-17 13:03:18 -04:00
James Willcox
951263c282
Bug 887318 - Fix SkiaGL readback when BGRA unavailable r=jgilbert
2013-06-27 10:20:21 -04:00
Guillaume Abadie
2f347c549e
Bug 890926 - WebGL2 Min/max blend equations. r=jgilbert
2013-07-18 11:24:23 -04:00
Guillaume Abadie
d85fccdc1d
Bug 892169 - [WebGL 2.0] Bypass ANGLE shader compilation (GL_EXT_gpu_shader4). r=jgilbert
2013-07-18 10:31:01 -04:00
Matt Woodrow
e23f4484e0
Bug 875232 - Workaround glReadPixels being broken with framebuffers backed by an IOSurface by copying to a temporary texture first. r=jgilbert
2013-07-17 23:24:15 -04:00
Matt Woodrow
c30d4b7957
Bug 875232 - Add SharedSurface_IOSurface for sharing textures on OSX. r=jgilbert
2013-07-17 23:24:15 -04:00
Matt Woodrow
c942347a2b
Bug 875232 - Make most of the GLContext helper functions take a texture target parameter so that we can support GL_TEXTURE_RECTANGLE. r=jgilbert
2013-07-17 23:24:15 -04:00
Matt Woodrow
749d37fb57
Bug 875232 - Make alpha channel optional for MacIOSurface. r=BenWa
2013-07-17 23:24:14 -04:00
Brian O'Keefe
a2b1403eb0
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Milan Sreckovic
a2dbae6d2c
Bug 879656 - Clamp the maximum texture size(s) on Nvidia Mac, even on 10.8+. r=jgilbert
...
8k too large, 8k-1 working. Same limit on the render buffer size. Note that <10.8 are already limited to 4k by the bug 877949.
2013-07-09 17:35:32 -04:00
Joe Drew
6e45a16596
Back out bug 807096 for causing bug 891568.
2013-07-11 17:07:11 -04:00
Avi Halachmi
80cb6231b8
Bug 888899: Allow fast iterations of the refresh driver on OS X. r=jrmuizel
2013-07-09 03:06:14 +03:00
Matt Woodrow
70d581c00d
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