Jeff Gilbert
41fcf39971
Bug 1149728. Move CreateXForOffscreen functions. r=jrmuizel
2015-09-28 23:35:46 -04:00
Jeff Gilbert
187dfafc29
Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel
2015-09-24 12:21:05 -07:00
Phil Ringnalda
449e9119b4
Back out f84aedf7a62d (bug 1191042) for b2g emulator test failures
...
CLOSED TREE
2015-09-22 19:26:13 -07:00
Jeff Gilbert
8d443901df
Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel
2015-09-22 16:49:25 -07:00
Jamie Nicol
f868aa65e7
Bug 1194923 - Call glFlush before glDeleteFramebuffers on Adreno 420 devices. r=snorp
...
There is an occasional driver crash on the nexus 6, and possibly other
Adreno 420 devices, which seems to occur in some circumstances after
calling glDeleteFramebuffers. Calling glFlush before
glDeleteFramebuffers prevents this. Add this workaround at least until
it is better known what is going on.
2015-09-17 04:41:00 +02:00
Chris Peterson
e7dc549743
Bug 1204400
- Fix -Wshadow warnings in gfx/thebes and suppress those from Skia headers. r=BenWa
2015-09-11 20:30:14 -07:00
Dan Glastonbury
18084ad811
Bug 1170842 - Part 2: Wrangle glGetInternalformativ symbols. r=jgilbert
2015-08-12 11:39:39 +10:00
Dan Glastonbury
752016181a
Bug 1170842 - Part 1: Sort out ARB_framebuffer_object symbol queries. r=jgilbert
...
Obsolete old patch.
Had to resort to using GLFeature detection to look for (EXT/OES)_framebuffer_object. I feel like this sucks.
Replace long list of && with ||. Grr.
2015-08-12 11:39:38 +10:00
Andrew Comminos
85092eb212
Bug 1184534 - Add support for target size retrieval to GLX backend. r=jgilbert
2015-07-30 12:39:26 -04:00
Kyle
08faa7ea9f
Bug 1167651 - Made EGL initialize its ANGLE display using WARP if the system is blacklisted from using HW acceleration for WebGL ANGLE or if WebGL WARP is forced through a pref. ClientCanvasLayer is changed so that it will use shared surfaces only if the compositing device and the WebGL device are both WARP or both not WARP. Added a mIsWARP field to GLLibraryEGL so that this condition can be checked. r=jgilbert
2015-07-23 13:11:04 -04:00
Dan Glastonbury
bbbfb4dfbf
Bug 1170455
- Part 3: Wrangle GetVertexAttribI symbols. r=jgilbert
2015-07-22 11:59:17 +10:00
Jeff Gilbert
2e4a1c88ee
Bug 1182371 - Misc WebGL cleanup. - r=kamidphish
2015-07-14 17:37:28 -07:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Ted Mielczarek
f35ad89891
bug 1174705 - add GLContext::GetDefaultFramebuffer. r=jgilbert
...
--HG--
extra : commitid : 6STxf0t6Ms0
extra : rebase_source : f1ea5351f66c79ebc717cc32bae8934f651802a6
2015-05-11 15:10:06 -04:00
Dan Glastonbury
f1117f4227
Bug 1170855 - Part 5: Correctly load glGetInteger64v. r=jgilbert
...
Correctly detect support for ARB_sync via GLFeature.
2015-06-11 15:12:09 +10:00
Phil Ringnalda
e9695717ce
Backed out 12 changesets (bug 1170855) for Windows build bustage
...
CLOSED TREE
Backed out changeset 47070f494c9e (bug 1170855)
Backed out changeset 86e3fb3a2295 (bug 1170855)
Backed out changeset 49284df5294e (bug 1170855)
Backed out changeset ae7c769cb78d (bug 1170855)
Backed out changeset 1fbb0ef29363 (bug 1170855)
Backed out changeset 1fd9140044be (bug 1170855)
Backed out changeset cca48a1bc6ef (bug 1170855)
Backed out changeset 835570bc63bf (bug 1170855)
Backed out changeset 4ee1883ffc65 (bug 1170855)
Backed out changeset c666d71f4899 (bug 1170855)
Backed out changeset 046422ea849f (bug 1170855)
Backed out changeset d38fb3aea20a (bug 1170855)
2015-06-10 20:47:07 -07:00
Dan Glastonbury
29de7ee6a1
Bug 1170855 - Part 5: Correctly load glGetInteger64v. r=jgilbert
...
Correctly detect support for ARB_sync via GLFeature.
2015-06-11 12:26:26 +10:00
Andrew Comminos
15df4af7a6
Bug 974832 - Implement necessary GL features to provide timer queries. r=dglastonbury
2015-05-28 07:15:00 -04:00
Dan Glastonbury
e6db7512d2
Bug 1159117 - Enable support for legacy formats. r=jgilbert
...
ALPHA, LUMINANCE, and LUMINANCE_ALPHA texture formats are removed in
OpenGL core profiles. Emulate these via RED, RG and texture swizzling.
2015-05-28 12:15:42 +10:00
Andrea Marchesini
ade2831035
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
Dan Glastonbury
024ef37958
Bug 1048745 - Query GL for glGetUniformuiv function. r=jgilbert
2015-04-20 12:29:29 +10:00
Jeff Gilbert
5643850512
Bug 1144889 - Do proper sRGB detection. - r=kamidphish
2015-03-24 00:11:10 -07:00
Dan Glastonbury
63a4eb24e5
Bug 896693 - Work around glCopyTexImage2D errors on framebuffers backed by IOSurface. r=jgilbert
2015-03-24 12:16:21 +10:00
Jeff Gilbert
75d555e953
Bug 1130616 - Support EXT_color_buffer_half_float on ANGLE. - r=jrmuizel,khuey
2015-02-24 14:09:09 -08:00
Jeff Gilbert
e9a175ca67
Bug 1094457 - Implement ReadBuffer and RenderbufferStorageMultisample. - r=kamidphish
2015-02-18 16:57:05 -08:00
James Willcox
c5944da516
Bug 1131793 - Disable SurfaceTexture detach on Mali r=jgilbert
2015-02-14 11:23:01 -06:00
Jeff Gilbert
d3813c406b
Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish
2015-02-12 19:00:41 -08:00
Jeff Gilbert
56b00391c3
Backout 80a88a3badba for causing bug 1130086.
2015-02-06 11:37:04 -08:00
Jeff Gilbert
680ae080b6
Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish
2015-02-04 16:34:55 -08:00
Birunthan Mohanathas
847dbb9825
Bug 1120796 - Part 1: Prepare code for explicit bool operators. r=Waldo
2015-02-03 18:52:28 +02:00
Wes Kocher
d7313c3320
Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE
2015-01-29 14:23:37 -08:00
Jeff Gilbert
95f269cb3f
Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish
2015-01-29 00:44:19 -08:00
Masatoshi Kimura
be535304d8
Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo
2015-01-26 07:22:07 +09:00
Jeff Gilbert
625fccbb86
Bug 1109945 - Rewrite shader/program handling. - r=kamidphish
2015-01-15 15:40:39 -08:00
Carsten "Tomcat" Book
ad7392f70a
Backed out changeset b5c6dd9423cf (bug 1109945) for gl2 test failures on a CLOSED TREE
2015-01-13 09:07:26 +01:00
Jeff Gilbert
20706f09c9
Bug 1109945 - Rewrite shader/program handling. - r=kamidphish
2015-01-12 19:51:20 -08:00
Wes Kocher
43fd1c9428
Backout ca411b1cf001 (bug 1109945) for shader editor failures
2015-01-09 21:03:54 -08:00
Jeff Gilbert
c0dd0d5346
Bug 1109945 - Rewrite shader/program handling. - r=kamidphish
2015-01-09 18:40:56 -08:00
Dan Glastonbury
dd19bb1f83
Bug 1097416 - [WebGL2] Enable WebGL 2 if all required features are available. r=jgilbert
...
--HG--
extra : rebase_source : 696e99670b8184593ea8ca9aa4becb1c4d86cad6
extra : source : e2ff0e2bcf21067b6a121e50e4f290227aedc6c6
2014-10-27 09:36:26 +10:00
Dan Glastonbury
baf3f4332f
Bug 1048724 - [WebGL2] Transform Feedback. r=jgilbert,smaug
...
--HG--
extra : rebase_source : 40fe3ec66b091ced40f5a773fdc23d06bf6abc11
2014-11-26 12:00:06 +10:00
Jeff Gilbert
37012e9ef6
Bug 1089018 - Centralize GLContext spew control. - r=jrmuizel
2014-10-24 18:26:41 -07:00
Jeff Muizelaar
f2786d3f9f
Bug 1097877. Move GLBlitTextureImageHelper from gfx/gl to gfx/layers/opengl. r=nical
...
The only user is in layers/opengl. This is needed to do better state tracking
in the compositor.
--HG--
rename : gfx/gl/GLBlitTextureImageHelper.cpp => gfx/layers/opengl/GLBlitTextureImageHelper.cpp
rename : gfx/gl/GLBlitTextureImageHelper.h => gfx/layers/opengl/GLBlitTextureImageHelper.h
extra : rebase_source : bba00cbfac9253ca933721659dadbda2bfbe65c5
2014-11-10 14:49:05 -05:00
Jeff Gilbert
a03b45d876
Bug 1088345 - Handle AA better. - r=kamidphish
2014-10-25 18:32:46 -07:00
Jeff Gilbert
8cffb89c2b
Bug 1088345 - Handle possibly-invalid enums for queries. - r=kamidphish
2014-10-23 18:55:49 -07:00
Jeff Gilbert
d41ee052e4
Bug 1088345 - Improve glGetError handling. - r=kamidphish
2014-10-24 16:52:35 -07:00
Benoit Jacob
08fbad97d7
Bug 1083936 - WebGL2: Add texImage3D - r=jgilbert,smaug
2014-10-16 22:03:34 -04:00
Chris Jones
cc1383c2fc
Bug 1082902 - Make it possible to have GL debugging in release builds. r=jgilbert
2014-10-14 18:24:53 -07:00
Jim Chen
60eb885c7d
Bug 1077662 - Label GL calls in profiler; r=snorp
2014-10-14 23:20:16 -04:00
David Anderson
47b288ee47
WebGL2: Implement invalidateFramebuffer and invalidateSubFramebuffer (bug 1076456
, r=jgilbert).
...
--HG--
extra : rebase_source : 5ce9c956475388896fe193ca37c9595978adf15c
2014-10-14 14:49:49 -07:00
jdashg
97fbd15434
Bug 1066280 - Fixes. - r=kamidphish,mattwoodrow
...
From 4e9f52ab105333e8b1120342e9583b2d833a4465 Mon Sep 17 00:00:00 2001
---
dom/canvas/WebGLContext.cpp | 10 +++++--
gfx/gl/GLContext.cpp | 20 --------------
gfx/gl/GLContext.h | 3 --
gfx/gl/GLReadTexImageHelper.cpp | 5 +++-
gfx/gl/GLScreenBuffer.cpp | 13 +++++++--
gfx/gl/GLUploadHelpers.cpp | 27 ++++++++++++++++++
gfx/gl/SharedSurfaceGralloc.cpp | 14 ++++------
gfx/gl/SharedSurfaceGralloc.h | 10 +++++--
gfx/gl/SurfaceTypes.cpp | 2 ++
gfx/gl/SurfaceTypes.h | 1 +
gfx/layers/client/CanvasClient.cpp | 44 ++++++++++++++++++------------
gfx/layers/client/CanvasClient.h | 8 +++---
gfx/layers/client/ClientCanvasLayer.cpp | 6 ++++
gfx/layers/client/ClientCanvasLayer.h | 2 +-
gfx/layers/client/TextureClient.cpp | 11 ++++----
gfx/layers/client/TextureClient.h | 6 ++--
gfx/layers/composite/TextureHost.cpp | 15 +++++-----
gfx/layers/composite/TextureHost.h | 10 +++----
gfx/layers/d3d10/CanvasLayerD3D10.cpp | 9 ++++--
gfx/layers/d3d9/CanvasLayerD3D9.cpp | 8 ++++--
gfx/layers/ipc/LayersSurfaces.ipdlh | 4 +--
gfx/layers/moz.build | 4 ++-
gfx/layers/opengl/GrallocTextureClient.cpp | 26 +++++++++++++++++-
gfx/layers/opengl/GrallocTextureClient.h | 3 ++
24 files changed, 171 insertions(+), 90 deletions(-)
2014-10-07 21:11:54 -07:00