Commit Graph

506 Commits

Author SHA1 Message Date
Vladimir Vukicevic
e035d93cec b=705022; make GL layers work on Windows; r=bjacob 2013-06-21 14:22:18 -04:00
Benoit Jacob
a592b59f7b 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
2906766499 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
363a64ab55 Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe 2013-06-24 13:05:13 -04:00
Guillaume Abadie
8a763cff74 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
6a510d7e7b Bug 738869 - Implement OES_vertex_array_object. r=jgilbert 2013-06-17 16:17:59 -04:00
Matt Woodrow
9547a3712c 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
66a85c4495 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
577cf4c6d4 Bug 877626 - Port GTK2 to GTK3 - build config, gfx dir. r=karlt 2013-06-11 13:40:27 -04:00
Guillaume Abadie
73226a51be Bug 879954 - Implement OES_texture_float_linear - r=bjacob 2013-06-10 16:00:52 -04:00
Thomas Zimmermann
ca96fee1d1 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
47b1338caf Bug 876721 - Allow for failing during creation of ANGLE ShSurf. - r=bjbas 2013-06-06 13:56:15 -07:00
Jeff Gilbert
4d089fb324 Bug 878365 - Fallback to Basic ShSurf as needed, not permanently. - r=bjacob 2013-06-06 13:56:12 -07:00
Vladimir Vukicevic
ef8707b5f0 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Jeff Gilbert
24cf997b90 Bug 874823 - Support unknown consumer for ShSurf_GLTex. - r=mattwoodrow 2013-06-04 17:05:28 -07:00
Jeff Gilbert
dea56bdef2 Bug 875696 - Disable oes_standard_derivatives for Adreno 320 for being broken. - r=bjacob 2013-06-04 15:23:40 -07:00
Kyle Huey
fb465d209c Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz 2013-05-30 11:15:31 +08:00
Jeff Gilbert
028ad03f99 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
Mike Shal
6f32ddf61c 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
b14c2cbab2 Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Jeff Gilbert
b7775449d9 Bug 859608 - Flush GL on overdraw on Tegra devices. - r=bjacob 2013-05-22 00:05:38 -07:00
Chris Lord
56a83632c5 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
44c73ec043 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
05933cccdf Backed out changeset 94978dab7186 (bug 863069) for build bustage.
CLOSED TREE
2013-05-16 13:22:02 -04:00
Gregory Szorc
c8d80b86ec Bug 863069 - Part 4: More sorting of existing lists; r=ted 2013-05-16 09:53:27 -07:00
Ted Mielczarek
47d7af59de 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
43a4d082e2 Bug 870211 - Always save and restore the current framebuffer during BlitTextureImage. r=jgilbert 2013-05-16 15:45:42 +12:00
Michael Wu
bce75998cc Bug 870198 - Support basic display functions on gonk-JB, r=vlad 2013-05-07 23:58:22 -04:00
Jon Buckley
3ce29ac29f Bug 738867 - Implement WebGL OES_element_index_uint extension. r=bjacob 2013-05-13 09:22:30 -04:00
Ed Morley
2710e5d6a9 Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Matt Woodrow
a3bf84f7df Bug 870211 - Revert to using BasicTextureImage on CGL. r=roc 2013-05-13 16:52:55 +12:00
Mike Shal
d2b29f4e87 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
f6a99ea56f Bug 756601 - Use TextureImageCGL again, and used TiledTexturedImage for large textures. r=BenWa 2013-05-10 09:02:48 +12:00
Benoit Jacob
d95ea70743 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
7568ebe499 Bug 869026 - Fix GLContext::GetTexImage crash when GLContext::mScreen is null. r=jgibert 2013-05-07 02:23:40 -04:00
Matt Woodrow
f7d12ccdaa Bug 864287 - Add back code to readback IOSurface plugins when using BasicLayers. r=BenWa 2013-05-01 17:03:27 +12:00
Nicholas Cameron
98fdef5930 Bug 788319, fixups to make EGL work with gtk. r=bjacob 2013-04-30 15:16:04 +12:00
James Willcox
6819dc296c 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
2c93e9b902 Bug 863477 - Use SurfaceCaps::Any() for CreateOffscreen for GLContexts for NPAPI plugins. r=cpeterson 2013-04-25 09:35:50 -07:00
Ryan VanderMeulen
5807924b81 Backed out changeset ba934ac9fc6b (bug 862448) for B2G reftest crashes.
CLOSED TREE
2013-04-25 11:00:58 -04:00
James Willcox
cf20d375ea 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
803532ef87 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
89887a1712 Bug 863397 - remove a couple more unused static functions - r=nical 2013-04-20 10:08:18 -04:00
Benoit Jacob
e48938d5e1 Bug 863397 - remove more dead B2G paths, mostly in TextureImage - r=nical 2013-04-20 10:08:18 -04:00
Benoit Jacob
e4f2a0f4e1 Bug 863397 - kill BindExternalBuffer and UnbindExternalBuffer with FIRE - r=jgilbert 2013-04-20 10:08:18 -04:00
Benoit Jacob
bb033f5949 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
44f85252bd Bug 860441 - Camera preview update is not smooth on gonk - r=nsilva 2013-04-17 16:56:03 -04:00
Matt Woodrow
81b06ba84f Bug 860615 - Add SharedTextureHandle support to GLContextCGL. r=jgilbert 2013-04-17 14:21:06 +12:00
Matt Woodrow
631e98fb1c 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
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Bas Schouten
7d182a2102 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
00b634431c Bug 858039 - Initialize the correct mType for SurfaceStream_TripleBuffer_Async. r=snorp 2013-04-07 23:35:21 +10:00
James Willcox
99b6492f65 Bug 858039 - Make SurfaceStream_TripleBuffer_Async use the correct SurfaceStreamType. r=jgilbert 2013-04-05 07:30:00 -04:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a 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
5663b98bc5 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
6f4a25af41 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
005aef7a2b Back out 8b8db1d07846 (bug 855178) for asserting 2013-03-27 00:03:49 -07:00
Jeff Muizelaar
1d4d7234b2 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
65b1d02183 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
6ed333dbb5 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
bbe4c3065e Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
George Wright
0940cffd4b 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
c5cc1a2876 Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert 2013-03-22 15:22:20 -04:00
Ed Morley
260f849645 Backed out changeset b43bbab312e7 (bug 829747) for ABORTs on Android 2.2; CLOSED TREE 2013-03-22 19:10:24 +00:00
James Willcox
7f1add90db Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert
--HG--
extra : rebase_source : ba0f95badd9b5d7e537b3c83e0057665bd5ced86
2013-03-22 12:13:21 -04:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ed Morley
4a0f5f39ca Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5 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
90f13c7e56 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
95a5b4c35f Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Ms2ger
ecaff4e0d2 Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Jacek Caban
98db3116eb 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
09292dc7dc Bug 676248 - Make the window GL context transparent on OSX. r=bgirard 2013-03-11 12:29:00 -04:00
Jeff Gilbert
0ba5e1b160 Bug 848023 - Backout 123989 for mistaken push on r- 2013-03-07 14:13:09 -08:00
Milan Sreckovic
fc0955994f Bug 848023 - Put back the override of fGetIntegerv for max texture sizes. r=bjacob 2013-03-06 09:34:35 -05:00
Milan Sreckovic
0e27eb596a Bug 848023 - Use the same adjusted max texture size everywhere. r=bjacob 2013-03-05 13:56:27 -05:00
George Wright
84976a0a1e [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
89bebda950 [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
a74b6b9a5e Bug 845482 - Init scissor box values on offscreen context init - r=bjacob 2013-03-04 16:44:31 -08:00
Oleg Romashin
a9c27fbebc 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
bd341fe084 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
803629b9c6 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
0f0c587cec Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger 2013-02-25 12:47:21 -08:00
Jacek Caban
ef51831bf6 Bug 716859 - Avoid jump crossing variable declaration (GCC bustage fix) 2013-02-26 12:06:43 +01:00
James Willcox
1e42a758c6 Bug 844468 - Work around missing GL_OES_EGL_sync in Adreno r=vlad 2013-02-23 12:14:11 -05:00
Nicholas Nethercote
454fc52e2b 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
78f00c0f31 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
23a70898de Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts 2013-02-21 19:54:25 +00:00
Jeff Gilbert
197c718e7b 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
b891b80fa0 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
2187525c49 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Karl Tomlinson
0b633b42e9 b=788935 remove unused no-op virtual GLContext::WindowDestroyed() r=vlad
CLOSED TREE
2013-02-20 11:04:00 +13:00
Matt Brubeck
e27a914398 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
e603f6fb3e 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
ba94268f7d Bug 841503 - Delete a bunch of non-OMTC android codepaths. r=BenWa,snorp 2013-02-19 12:35:38 -05:00
James Willcox
15b53c0251 Bug 837687 - Use a case-insensitive comparison for OpenGL extension names r=jgilbert 2013-02-05 13:02:17 -05:00
James Willcox
03fed64c1c backout caf13c3365f3 for Windows bustage CLOSED TREE 2013-02-05 12:38:02 -05:00
James Willcox
a462ad86dd 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
eb77d00bb0 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