Milan Sreckovic
db9fac5147
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
a5edb8e493
Back out bug 807096 for causing bug 891568.
2013-07-11 17:07:11 -04:00
Avi Halachmi
33f8c51e08
Bug 888899: Allow fast iterations of the refresh driver on OS X. r=jrmuizel
2013-07-09 03:06:14 +03:00
Matt Woodrow
6c47d7391d
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
a43c75493b
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
df6123b0bc
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
George Wright
09e0ff6d4f
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)
139c9584fb
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
38a9d6f38d
Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes.
2013-07-03 10:14:11 -04:00
Benoit Jacob
f429d28a81
Bug 875218 - Make sGLContext thread-local r=mattwoodrow
2013-06-17 15:45:56 -04:00
Benoit Jacob
f0a1c91ea8
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
2b5bfc6902
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
d34edcb95b
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
82c46bbf46
Backed out 43e688b70d84 (bug 843667) for compilation failures
...
CLOSED TREE
2013-07-02 14:30:20 -07:00
Guillaume Abadie
b1f85af139
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
f183040ef5
bug 870407: move CMMSRCS to mozbuild (file batch #2 ) r=mshal
2013-07-01 12:32:40 -04:00
Milan Sreckovic
01289b10e1
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
09d2312322
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
cab87a0cce
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)
310f9b591a
bug 738869 - implement OES_vertex_array_object webgl extension - r=bjacob
2013-06-27 17:07:21 -04:00
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