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
Markus Stange
7c0d42e1af
Bug 676248 - Make the window GL context transparent on OSX. r=bgirard
2013-03-11 12:29:00 -04:00
Jeff Gilbert
6c0312078d
Bug 848023 - Backout 123989 for mistaken push on r-
2013-03-07 14:13:09 -08:00
Milan Sreckovic
1a199e96f4
Bug 848023 - Put back the override of fGetIntegerv for max texture sizes. r=bjacob
2013-03-06 09:34:35 -05:00
Milan Sreckovic
9cff8595a2
Bug 848023 - Use the same adjusted max texture size everywhere. r=bjacob
2013-03-05 13:56:27 -05:00
George Wright
3a0697a27c
[PATCH 6/9] Bug 751418 - Add a GrGLInterface for Mozilla's GLContext r=mattwoodrow
...
From cfd2ab8845e4f1ae7e93d293662b9519346694d2 Mon Sep 17 00:00:00 2001
---
gfx/gl/GLContextSkia.cpp | 802 ++++++++++++++++++++++++++++++++++++++++++++
gfx/gl/GLContextSkia.h | 14 +
gfx/gl/Makefile.in | 5 +
layout/media/symbols.def.in | 7 +
4 files changed, 828 insertions(+)
create mode 100644 gfx/gl/GLContextSkia.cpp
create mode 100644 gfx/gl/GLContextSkia.h
2012-10-27 16:47:58 -04:00
George Wright
213bee6efd
[PATCH 5/9] Bug 807500 - Add a bunch of required GL wrapper methods to GLContext for use with Skia-GL r=mattwoodrow
...
From 280a6de21b11d92c287ec8d35daffd34179b6e94 Mon Sep 17 00:00:00 2001
---
gfx/gl/GLContext.cpp | 26 +++++++++++++++++
gfx/gl/GLContext.h | 73 +++++++++++++++++++++++++++++++++++++++++++++++
gfx/gl/GLContextSymbols.h | 20 +++++++++++++
3 files changed, 119 insertions(+)
2012-11-01 12:11:42 -04:00
Jeff Gilbert
a431f211d3
Bug 845482 - Init scissor box values on offscreen context init - r=bjacob
2013-03-04 16:44:31 -08:00
Oleg Romashin
df8622c1b3
Bug 844698 Make Qt EGL port working on X11 Maemo/Meego after bug 716859 landed. r=jgilbert
...
--HG--
extra : rebase_source : ecd6996396379823b9eec44cb0fd20e115fa8153
2013-02-27 20:56:29 -08:00
Kartikaya Gupta
2fe60aac17
Bug 844275 - Drive the layer manager creation from the GLController rather than GetLayerManager. r=Cwiiis
2013-02-28 13:28:23 -05:00
Gregory Szorc
f0b7e3972c
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
21460a71f3
Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger
2013-02-25 12:47:21 -08:00
Jacek Caban
feedcb752e
Bug 716859 - Avoid jump crossing variable declaration (GCC bustage fix)
2013-02-26 12:06:43 +01:00
James Willcox
c0a5ddb3a5
Bug 844468 - Work around missing GL_OES_EGL_sync in Adreno r=vlad
2013-02-23 12:14:11 -05:00
Nicholas Nethercote
91d03640eb
Bug 843490 - Fix a simple clang 3.2 compile error in gfx/gl/SurfaceStream.cpp. r=jgilbert.
2013-02-20 23:52:17 -08:00
Jeff Gilbert
4ed4901299
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
c878d63b6a
Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts
2013-02-21 19:54:25 +00:00
Jeff Gilbert
1da9dd6cd2
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
438b3ab061
Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE.
2013-02-20 10:01:20 -05:00
Jeff Gilbert
d348a03b58
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
2013-02-13 15:26:24 -08:00
Karl Tomlinson
d9371cd901
b=788935 remove unused no-op virtual GLContext::WindowDestroyed() r=vlad
...
CLOSED TREE
2013-02-20 11:04:00 +13:00
Matt Brubeck
78780585a0
Back out dd103ec4c44b through fba3a342a530 because of B2G test failures on a CLOSED TREE
...
--HG--
rename : toolkit/system/gnome/nsSystemAlertsService.cpp => toolkit/system/gnome/nsAlertsService.cpp
rename : toolkit/system/gnome/nsSystemAlertsService.h => toolkit/system/gnome/nsAlertsService.h
2013-02-19 17:06:18 -08:00
Karl Tomlinson
162aa92437
b=788935 remove unused no-op virtual GLContext::WindowDestroyed() r=vlad
...
--HG--
extra : rebase_source : ed6bfd166989e0547676916bdf423ca2f4ce7a38
2013-02-20 11:04:00 +13:00
Kartikaya Gupta
77228f863b
Bug 841503 - Delete a bunch of non-OMTC android codepaths. r=BenWa,snorp
2013-02-19 12:35:38 -05:00
James Willcox
354090e1d7
Bug 837687 - Use a case-insensitive comparison for OpenGL extension names r=jgilbert
2013-02-05 13:02:17 -05:00
James Willcox
c503bdbafe
backout caf13c3365f3 for Windows bustage CLOSED TREE
2013-02-05 12:38:02 -05:00
James Willcox
3b3c4f2d6e
Bug 837687 - Use a case-insensitive comparison for OpenGL extension names r=jgilbert
...
--HG--
extra : rebase_source : 465e1c9ca5491a32432f4fb85eb96de473598348
2013-02-05 11:45:31 -05:00
Jeff Muizelaar
4d09a01cab
Bug 808785. Stop shipping d3dx9_43.dll. r=bjacob
...
Since ANGLE revision 1314 / issue 311:
http://code.google.com/p/angleproject/issues/detail?id=311 d3dx9_43.dll is no
longer needed.
--HG--
extra : rebase_source : cb02a61730f4a24f807662269693be2dde673ff0
2013-01-28 11:52:06 -05:00
Benoit Girard
0bcedf360a
Bug 815602 - Fix invalid drawable error in console after starting Firefox. r=mattwoodrow
...
--HG--
extra : rebase_source : c24a03252404ac5d25d4fdb62c6f749ea34dab86
2013-01-28 16:57:33 -05:00
Chris Jones
06cffadc9b
Bug 792966: Don't try to gralloc small buffers. r=kanru
2013-01-28 23:49:38 -08:00
Daniel Holbert
6316217ab4
Bug 835625: Remove the MSVC exemption for FAIL_ON_WARNINGS in /gfx/gl. r=BenWa
2013-01-28 21:43:30 -08:00
Filippo Cristofoletti
7ade6041cf
Bug 755031 - Clear warnings in gfx/gl. r=jmuizelaar
2013-01-28 10:09:14 -05:00
Mats Palmgren
6c53161814
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Kartikaya Gupta
a752c5511f
Bug 826300 - Don't block on waiting for a valid surface when trying to resume the compositor; allow resuming to fail gracefully. r=snorp,BenWa
2013-01-10 11:21:10 -05:00
Nicholas Cameron
2b3c162ca3
Bug 825995; fix scissor rect logic in GLContext. r=jgilbert
2013-01-03 15:11:54 +13:00
Masatoshi Kimura
b5e27745c8
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
Jeff Gilbert
dbfe12439b
Bug 797664 - Don't spew wwhen optional functions aren't found - r=vlad
2012-12-18 23:16:02 -08:00
Jeff Gilbert
b6b3f09d5e
Bug 797664 - Add runtime asserts so calling null functions is more obvious - r=bjacob
2012-12-18 23:16:01 -08:00
Jeff Gilbert
0609cc3525
Bug 797664 - Pull logic out of all GLContex::raw_ functions - r=vlad
2012-12-18 23:16:01 -08:00
Milan Sreckovic
4d244803e3
Bug 814839 - Disable WebGL depth textures on Mac NVIDIA - r=jgilbert,bjacob, a=abillings
2012-12-18 16:23:40 -05:00
Jeff Gilbert
512e4dc536
Bug 821191 - Fix mysterious 5-space indent region in GLContext.h - r=bjacob
2012-12-17 17:58:44 -08:00
Jeff Gilbert
dbc30801f9
Bug 821191 - Switch recent files from accidental windows line endings to unix line endings - r=bjacob
2012-12-17 17:58:44 -08:00
Kartikaya Gupta
51d1e3218d
Bug 818060 - Add a memory reporter for graphics textures. r=BenWa,njn
2012-12-16 19:16:26 -05:00
Jeff Walden
7146c23e80
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Ed Morley
d6f5564918
Backout 09d66d9ccb2e (bug 818060) for build failures on Windows
2012-12-13 17:17:12 +00:00
Kartikaya Gupta
39f41efede
Bug 818060 - Add a memory reporter for graphics textures. r=njn,BenWa
2012-12-13 11:38:37 -05:00
Benoit Jacob
d95f4d2833
Bug 814716 - correct the way that we tweak max sizes - r=jgilbert
2012-12-11 16:57:30 -05:00
Bill Gianopoulos
db92c12587
Bug 814716 - Limit MaxCubeMapTextureSize for Nouveau to 2K - r=jgilbert
2012-11-26 18:21:39 -05:00
Chris Jones
22e24dcf2b
Bug 813372: Guard against TiledTextureImage with dimensions of 0. r=mattwoodrow a=blocking-basecamp
2012-12-04 00:39:21 -08:00
Jeff Gilbert
f650527ca3
Bug 811958 - Move TextureImage into its own files - r=bgirard
2012-11-26 14:23:27 -08:00
Jeff Gilbert
5ea164ca57
Bug 811958 - Fix and move ShateType type - r=bgirard
2012-11-26 14:23:27 -08:00
Jeff Gilbert
9c9ac2fca3
Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard
2012-11-26 14:23:27 -08:00
Jeff Gilbert
144687e59c
Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android
2012-11-26 13:48:20 -08:00
Jeff Gilbert
cdb418accb
Bug 811958 - Move TextureImage to its own files - r=bgirard
2012-11-26 12:51:58 -08:00
Jeff Gilbert
6db824094c
Bug 811958 - Fix and move ShareType type - r=bgirard
2012-11-26 12:51:57 -08:00
Jeff Gilbert
7cf8b80673
Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard
2012-11-26 12:51:57 -08:00
George Wright
4600de00a6
Bug 814171 - Intercept calls for maximum texture/framebuffer sizes in GLContext::fGetIntegerv r=jgilbert
2012-11-13 17:35:35 -05:00
Benoit Jacob
5924cc57db
Bug 814159 - disable the global context on EGL altogether - r=jrmuizel
...
Was already disabled on Windows, Android, B2G. Only EGL platform remaining was Meego. This simplifies code quite a bit. If this doesn't break things, we can do further dead code removal.
2012-11-22 13:53:11 -05:00
Benoit Jacob
c09b16d249
Bug 813783 - don't create a global context at all #ifdef ANDROID, including B2G - r=cjones
2012-11-20 21:45:13 -05:00
Chris Jones
8c1774d31e
Bug 804852: Support for the hwc implementation of Composer2D. r=mattwoodrow,mwu,roc sr=roc
...
This is a rollup of the following patches
part 0: Add a dynamic cast to ColorLayer*
part 1: Add a Composer2D interface to enable implementations to more efficiently compose layer trees
part 2: Let widgets expose Composer2Ds, if they have them
part 3: Expose a layers ogl "friend" API that Composer2D will consume
part 4: Hook Composer2D into the LayerManagerOGL rendering pipeline
part 5: Implement all the goop to let widget/gonk use a Composer2D (HwcComposer2D)
2012-11-19 09:58:38 -08:00
Nicolas Silva
0b59dd32e0
b=811115 - remove MOZ_EGL_XRENDER_COMPOSITE dead code. r=jgilbert
2012-11-18 16:47:57 +01:00
Jeff Gilbert
5434073b70
Bug 797120 - GLContext::CanUploadNonPowerOfTwo() should not call AddBoolVarCache() when off the main thread. r=bjacob
2012-11-07 11:39:38 +13:00
Jacek Caban
83588038c8
Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (gfx/gl part) r=bjacob
...
--HG--
extra : rebase_source : 1bbd8bff8a82d0c9dfb2adda52a46a43fdc6e284
2012-10-04 10:31:56 +02:00
Benoit Jacob
8088679e6b
Bug 779611 - part 4 - More WebGL extensions cleanup - r-jgilbert
2012-10-03 17:13:05 -04:00
Kan-Ru Chen (陳侃如)
f614c2fd85
Bug 788408 - Part 1. fReadPixels should also respect mFlipped. r=mattwoodrow
2012-10-02 10:42:09 +08:00
Benoit Girard
c8f1bc0779
Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey
2012-10-01 16:01:35 -04:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Benoit Jacob
2249060a44
Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert
2012-09-25 08:49:28 -04:00
Benoit Jacob
d4fa48d92a
Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert
2012-09-25 08:49:28 -04:00
Chris Peterson
8ddd1ac010
Bug 778980 - Part 1: Fix gcc -Wconversion-null warnings in gfx/gl. r=joedrew
2012-09-14 11:52:42 -07:00
Anthony Jones
50b33c52d2
Bug 789367 - Add content preference for GTK platform; r=nrc
2012-09-16 20:23:00 -07:00
Ehsan Akhgari
bf95568d0e
Merge IonMonkey into mozilla-inbound
2012-09-11 16:38:44 -04:00
David Anderson
24145fc9a1
Merge from mozilla-central.
2012-09-10 12:16:38 -07:00
Rafael Ávila de Espíndola
305b467282
Bug 789983 - remove unused field. r=bjacob.
2012-09-11 08:59:34 -04:00
David Anderson
b0a287cfcc
Merge from mozilla-central.
2012-09-07 15:17:11 -07:00
David Anderson
043ddae94a
Merge from mozilla-central.
...
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
6b403f94c2
Merge from mozilla-central.
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Andrew Quartey
f51538ccc9
Bug 761155 - Extend Mesa LLVMpipe Preference to GLX r=bjacob
2012-09-06 20:16:30 -04:00
Luqman Aden
46d1c6ded1
Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel
2012-09-06 01:31:29 -04:00
Ehsan Akhgari
08bfa558c1
Backout changeset 25fd2119c8e1 (bug 714937) for possible orange
2012-09-06 18:51:02 -04:00
Luqman Aden
8abf3c5145
Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel
2012-09-06 01:31:29 -04:00
David Anderson
188c88907e
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
David Anderson
1ef4c57410
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Jeff Gilbert
506191ac26
Bug 735932 - Fix no-alpha ReadPixels on Mac+nVidia - r=bjacob
2012-08-31 16:47:03 -07:00
Jeff Gilbert
e635ec0e37
Bug 784925 - Add MakeCurrent for OGL Layers Readback path - r=bjacob
2012-08-31 16:44:33 -07:00