Commit Graph

833 Commits

Author SHA1 Message Date
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
Markus Stange
5e73252a64 Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-07-08 21:21:05 -07:00
Joey Armstrong
a6b9800cfb bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
George Wright
5f25d4e7f8 Bug 889969 - Inform Skia whether we support GL_OES_rgb8_rgba8 or not r=mattwoodrow
---
 gfx/gl/GLContextSkia.cpp | 4 ++++
 1 file changed, 4 insertions(+)
2013-07-03 14:34:33 -04:00
Andreas Gal ext:(%2C%20Milan%20Sreckovic%20%3Cmilan%40mozilla.com%3E)
0ffb387490 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
Ryan VanderMeulen
8bf46962c6 Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes. 2013-07-03 10:14:11 -04:00
Benoit Jacob
2f0f679880 Bug 875218 - Make sGLContext thread-local r=mattwoodrow 2013-06-17 15:45:56 -04:00
Benoit Jacob
019e7f80e4 Bug 875218 - Refactor the ownership model under DrawTargetSkia, so that DrawTargetSkia now owns a GLContext, and the only reference that the Skia GrGLInterface gets to the non-Skia world is a pointer back to the DrawTargetSkia r=mattwoodrow 2013-06-16 22:07:18 -04:00
Benoit Jacob
d67458aae1 Bug 875218 - Make GLContext inherit GenericRefCounted, to allow moz2d to have strong references to GLContexts r=mattwoodrow 2013-06-16 22:05:56 -04:00
Matt Woodrow
d426585dce Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-06-13 17:15:15 +12:00
Phil Ringnalda
025e79eace Backed out 43e688b70d84 (bug 843667) for compilation failures
CLOSED TREE
2013-07-02 14:30:20 -07:00
Guillaume Abadie
a35dc300f3 bug 843667 - update WebGL EXT_draw_buffers to fix a potential crash on mobile - r=bjacob 2013-07-02 16:50:31 -04:00
Joey Armstrong
2e19c976cc bug 870407: move CMMSRCS to mozbuild (file batch #2) r=mshal 2013-07-01 12:32:40 -04:00
Milan Sreckovic
5344e59b51 Bug 807096 - Lower the limit on the Intel+Mac to 2048, but only on <10.8. Leave the limit at 4096 otherwise. r=bjacob 2013-06-26 13:53:23 -04:00
Justin Lebar
6c46d0633d Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
75c400493b Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Guillaume Abadie ext:(%20and%20James%20King%20%3Cjames%40agentultra.com%3E)
9d4c93ad7a bug 738869 - implement OES_vertex_array_object webgl extension - r=bjacob 2013-06-27 17:07:21 -04:00
Vladimir Vukicevic
df07bf588d b=705022; make GL layers work on Windows; r=bjacob 2013-06-21 14:22:18 -04:00
Benoit Jacob
d905c8352f Bug 884057 - Fix a memory leak in GLContextProviderGLX: was not destroying pixmaps used for offscreen contexts - r=jgilbert 2013-06-16 22:03:12 -04:00
Ehsan Akhgari
5827b2e86b 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
a7c3879a87 Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe 2013-06-24 13:05:13 -04:00
Guillaume Abadie
b5251e2b36 bug 843667 - implement WEBGL_draw_buffers and add the user preference webgl.enable-draft-extensions - r=bjacob 2013-06-21 19:44:17 -04:00
James King
595a78c82d Bug 738869 - Implement OES_vertex_array_object. r=jgilbert 2013-06-17 16:17:59 -04:00
Matt Woodrow
8fea304dcb Bug 882590 - Fix invalid assertion when creating a SharedSurface_GLTexture without a consumer GLContext. r=jgilbert 2013-06-17 14:48:41 +12:00
Matt Woodrow
b28bde11a2 Bug 877949 - Restrict maximum texture size on nvidia cards on OSX 10.6 and 10.7 to 4096. r=bjacob 2013-06-17 14:46:53 +12:00
Martin Stransky
a32d506ac3 Bug 877626 - Port GTK2 to GTK3 - build config, gfx dir. r=karlt 2013-06-11 13:40:27 -04:00
Guillaume Abadie
b86d0dd632 Bug 879954 - Implement OES_texture_float_linear - r=bjacob 2013-06-10 16:00:52 -04:00
Thomas Zimmermann
404ae4689c Bug 838995: Improve component swapping when reading texture in RGBA format r=vlad
The function SwapRAndBComponents spends a lot of time in the loops while
walking over the image data. This patch reworks the looping such that the
function only takes 75% of its original time.
2013-06-10 16:00:58 +02:00
Jeff Gilbert
1f854cb413 Bug 876721 - Allow for failing during creation of ANGLE ShSurf. - r=bjbas 2013-06-06 13:56:15 -07:00
Jeff Gilbert
60923ee14b Bug 878365 - Fallback to Basic ShSurf as needed, not permanently. - r=bjacob 2013-06-06 13:56:12 -07:00
Vladimir Vukicevic
903320a647 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Jeff Gilbert
d6a23b5cdc Bug 874823 - Support unknown consumer for ShSurf_GLTex. - r=mattwoodrow 2013-06-04 17:05:28 -07:00
Jeff Gilbert
c8881f9564 Bug 875696 - Disable oes_standard_derivatives for Adreno 320 for being broken. - r=bjacob 2013-06-04 15:23:40 -07:00
Kyle Huey
3cc4ccd2f5 Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz 2013-05-30 11:15:31 +08:00
Jeff Gilbert
ea987c7dd2 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Aryeh Gregor
18866d81dc Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Jeff Gilbert
e05a3d5cbe Bug 859608 - Flush GL on overdraw on Tegra devices. - r=bjacob 2013-05-22 00:05:38 -07:00
Chris Lord
b93f736f6d Bug 869696 - Add AdrenoTM205 to renderer enum. r=bjacob
Add the 'Adreno (TM) 205' renderer string to the renderer enum in GLContext.
2013-05-15 16:43:22 +01:00
Gregory Szorc
e0fa1f0276 Bug 863069 - Part 4: Reorder lists to be alphabetical; r=ted
--HG--
extra : rebase_source : 87ed9d862bc32824d518438b0be74b47a77c198a
2013-05-16 15:37:18 -07:00
Ryan VanderMeulen
94deccd7c8 Backed out changeset 94978dab7186 (bug 863069) for build bustage.
CLOSED TREE
2013-05-16 13:22:02 -04:00
Gregory Szorc
714eb479c3 Bug 863069 - Part 4: More sorting of existing lists; r=ted 2013-05-16 09:53:27 -07:00
Ted Mielczarek
110919af49 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Matt Woodrow
2e55317bf5 Bug 870211 - Always save and restore the current framebuffer during BlitTextureImage. r=jgilbert 2013-05-16 15:45:42 +12:00
Michael Wu
dd29609b36 Bug 870198 - Support basic display functions on gonk-JB, r=vlad 2013-05-07 23:58:22 -04:00
Jon Buckley
b62514df6f Bug 738867 - Implement WebGL OES_element_index_uint extension. r=bjacob 2013-05-13 09:22:30 -04:00
Ed Morley
36fb30076b Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Matt Woodrow
15a9d23473 Bug 870211 - Revert to using BasicTextureImage on CGL. r=roc 2013-05-13 16:52:55 +12:00
Mike Shal
02469b68e2 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Matt Woodrow
6516c11eb3 Bug 756601 - Use TextureImageCGL again, and used TiledTexturedImage for large textures. r=BenWa 2013-05-10 09:02:48 +12:00
Benoit Jacob
8b434b8dcd Bug 848481 - ♫ Don't say ClientWaitSync unless FOREVER ♫ - r=jgilbert
This fixes a flickering bug with some NVIDIA drivers. From the comment:

Wait FOREVER, primarily because some NVIDIA (at least Tegra) drivers
have ClientWaitSync returning immediately if the timeout delay is anything
else than FOREVER.

FIXME: should we try to use a finite timeout delay where possible?
2013-05-07 16:09:09 -04:00
Nicolas Silva
b04698c746 Bug 869026 - Fix GLContext::GetTexImage crash when GLContext::mScreen is null. r=jgibert 2013-05-07 02:23:40 -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
Nicholas Cameron
8319e74183 Bug 788319, fixups to make EGL work with gtk. r=bjacob 2013-04-30 15:16:04 +12:00
James Willcox
b668808b85 Bug 862448 - Fix the fast fencing path for GL when drawing buffer is preserved r=jgilbert 2013-04-25 16:27:43 -04:00
Jeff Gilbert
1eda226668 Bug 863477 - Use SurfaceCaps::Any() for CreateOffscreen for GLContexts for NPAPI plugins. r=cpeterson 2013-04-25 09:35:50 -07:00
Ryan VanderMeulen
115fd0d0a5 Backed out changeset ba934ac9fc6b (bug 862448) for B2G reftest crashes.
CLOSED TREE
2013-04-25 11:00:58 -04:00
James Willcox
c9e5458838 Bug 862448 - Fix the fast fencing path for GL when drawing buffer is preserved r=jgilbert 2013-04-25 09:28:04 -04:00
Makoto Kato
d75d999182 Bug 857957 - Use Endian.h for byte swap. f=nfroyd, r=jfkthame, r/sr=bsmedberg 2013-04-24 16:40:33 +09:00
Benoit Jacob
68736ae7ee Bug 863397 - remove a couple more unused static functions - r=nical 2013-04-20 10:08:18 -04:00
Benoit Jacob
d476fb5896 Bug 863397 - remove more dead B2G paths, mostly in TextureImage - r=nical 2013-04-20 10:08:18 -04:00
Benoit Jacob
a3ce59d5af Bug 863397 - kill BindExternalBuffer and UnbindExternalBuffer with FIRE - r=jgilbert 2013-04-20 10:08:18 -04:00
Benoit Jacob
1642db8783 Bug 863397 - Remove all the eglLockSurface-using code; leave the GL symbols in - r=jgilbert 2013-04-20 10:08:18 -04:00
Benoit Jacob
b6de88b280 Bug 860441 - Camera preview update is not smooth on gonk - r=nsilva 2013-04-17 16:56:03 -04:00
Matt Woodrow
5f39aac0c3 Bug 860615 - Add SharedTextureHandle support to GLContextCGL. r=jgilbert 2013-04-17 14:21:06 +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
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Bas Schouten
341383c413 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Douglas Crosher
fb3a88e2f7 Bug 858039 - Initialize the correct mType for SurfaceStream_TripleBuffer_Async. r=snorp 2013-04-07 23:35:21 +10:00
James Willcox
f687aa1b13 Bug 858039 - Make SurfaceStream_TripleBuffer_Async use the correct SurfaceStreamType. r=jgilbert 2013-04-05 07:30:00 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Jeff Muizelaar
0dc99e5dab Bug 855178. Use WaitSync instead of ClientWaitSync in SharedSurfaceGL. r=jgilbert
This is better than waiting/spinning. WaitSync will make the GPU do the
waiting for us and we can continue on.

Banana bench before:
gameplay: 98.554 total seconds
gameplay: 70.097 JS seconds

after:
gameplay: 77.188 total seconds
gameplay: 70.33 JS seconds

--HG--
extra : rebase_source : 6eca32668d828a9f312500cfb900c53b107357a1
2013-03-26 22:29:07 -07:00
Phil Ringnalda
ea49d38f23 Back out 8b8db1d07846 (bug 855178) for asserting 2013-03-27 00:03:49 -07:00
Jeff Muizelaar
4cab3ff54c Bug 855178. Use WaitSync instead of ClientWaitSync in SharedSurfaceGL. r=jgilbert
This is better than waiting/spinning. WaitSync will make the GPU do the
waiting for us and we can continue on.
2013-03-26 22:29:07 -07:00
Benoit Girard
9cab1fc296 Bug 851611 - Part 4: Split out GeckoProfilerFunc.h & PseudoStack.h. r=jrmuizel
--HG--
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 929cd0d6227dd12f6654b61077e63e4d86036dc0
2013-03-15 20:48:56 -04:00
Benoit Girard
fc10a7cfe4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
George Wright
bbbab52ed9 Bug 849253 - Make SkiaGL a build-time option independent of Skia, and disable it on PPC[64] r=mattwoodrow 2013-03-13 19:29:47 -04:00
James Willcox
73b16c259e Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert 2013-03-22 15:22:20 -04:00
Ed Morley
29e1999869 Backed out changeset b43bbab312e7 (bug 829747) for ABORTs on Android 2.2; CLOSED TREE 2013-03-22 19:10:24 +00:00
James Willcox
706ba55f37 Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert
--HG--
extra : rebase_source : ba0f95badd9b5d7e537b3c83e0057665bd5ced86
2013-03-22 12:13:21 -04:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ed Morley
b2109c458f Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Ms2ger
c4380f4933 Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Jacek Caban
d708ac8932 Bug 849207 - Use __declspec(dllexport) for exporting skia C++ symbols. r=gwright
--HG--
extra : rebase_source : 333c7fcc334db6f6969995f0ff5fac8bb9607e74
2013-03-12 11:33:36 +01:00