Commit Graph

1233 Commits

Author SHA1 Message Date
Morris Tseng
7c548ee466 Bug 709490 - Part 9: Readback without blocking main thread, r=jgilbert 2015-09-29 11:51:25 +01:00
Morris Tseng
173c50c555 Bug 709490 - Part 8: Copy to a temp texture when readback from IOSurface, r=jgilbert 2015-09-29 11:51:25 +01:00
Morris Tseng
c5927f2dae Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer, r=roc 2015-09-29 11:51:25 +01:00
Morris Tseng
1d4157900a Bug 709490 - Part 2: Introduce OffscreenCanvas and let WebGL context work on workers., r=ehsan, r=jgilbert, r=nical 2015-09-29 11:51:24 +01:00
Morris Tseng
6c605d106d Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async, r=nical 2015-09-29 11:51:23 +01:00
Nicholas Nethercote
d0c4a9db1b Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
Hooray!

--HG--
extra : rebase_source : d691b55eef5a8655aa98b81b5398452a5ebe860d
2015-09-24 19:24:16 -07:00
Jeff Gilbert
bc525759f2 Bug 1209022 - Fix AA handling in EGL's CreateOffscreen. - r=jrmuizel 2015-09-28 15:53:37 -07:00
Andrew Comminos
b2668b2662 Bug 1193015 - Require MOZ_GLX_USE_SURFACE_SHARING to enable WebGL surface sharing on GLX. r=jgilbert 2015-09-24 15:21:36 -07:00
Jeff Gilbert
187dfafc29 Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel 2015-09-24 12:21:05 -07:00
Jamie Nicol
dddf06fe27 Bug 1207153 - Restore texture binding to correct target in GLBlitHelper. r=snorp 2015-09-22 06:49:00 +02:00
Chris Peterson
71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -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
Sotaro Ikeda
c58047810f Bug 1172719 - Fix SharedSurface fence handling on gonk r=jgilbert,nical 2015-09-21 07:21:52 -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
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Andrew Comminos
c3cdfadf07 Revert "Bug 1191042 - Establish correct EGLConfig at GLContext creation. r=jrmuizel" CLOSED TREE
This reverts commit 99120014586d20a2921b9157e5ec81b3605cd8bd.
2015-08-27 17:12:06 -04:00
Jeff Gilbert
7c5b24dcc5 Bug 1191042 - Establish correct EGLConfig at GLContext creation. r=jrmuizel 2015-08-27 16:55:45 -04:00
Andrew Comminos
f878f77b97 Bug 1197387 - Use glXGetProcAddress to link against GLX_ARB_create_context_robustness. r=jgilbert 2015-08-26 21:30:15 -04:00
Kartikaya Gupta
c10cfda0d4 Bug 1195401 - Use gfxPrefs (threadsafe) rather than crashing on debug builds for off-main-thread pref access. r=snorp
--HG--
extra : commitid : 5uavw49AOAg
2015-08-21 13:21:58 -04:00
David Anderson
c9c46b8efc Add driver crash guards to WebGL (bug 1190281 part 9, r=jgilbert,mattwoodrow) 2015-08-14 22:14:00 -07:00
Wes Kocher
d51b493b46 Backed out changeset 956b56977688 (bug 1190281) for gfx crashes 2015-08-14 15:26:34 -07:00
David Anderson
cdcd177df0 Add driver crash guards to WebGL. (bug 1190281 part 9, r=jgilbert) 2015-08-14 12:52:37 -07:00
Matt Woodrow
f9ad8060cc Bug 1191534 - Implement BlitImageToFramebuffer for IOSurface. r=jgilbert 2015-08-14 11:50:48 -04:00
Ryan VanderMeulen
29ab476d0d Backed out changeset c6c91bdf11c0 (bug 1191534) for Werror bustage.
CLOSED TREE
2015-08-13 16:13:10 -04:00
Matt Woodrow
9a45249814 Bug 1191534 - Implement BlitImageToFramebuffer for IOSurface. r=jgilbert 2015-08-13 15:57:59 -04:00
Jim Chen
d1f529698f Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin 2015-08-13 00:53:39 -04: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
Jeff Gilbert
f564deae5f Bug 1192466 - Prune header includes for SkiaGLGlue.h - r=bgirard 2015-08-07 19:27:14 -07:00
Matt Woodrow
cbcf9a014e Bug 1191527 - Fix the YCbCr shaders in BlitImageToFramebuffer. r=jgilbert
--HG--
extra : rebase_source : a5360145d7ade0f0d5ed4137bb30f9b7f2eaca51
2015-08-07 15:37:54 -04:00
Kyle
8d63b8b86a Bug 1136428 - Change implementation of WebGLContext::DrawBuffers such that it goes through GLScreenBuffer to change the draw buffer. Added a variable to GLScreenBuffer to cache the draw buffer mode. r=jgilbert 2015-07-31 15:56:32 -04:00
Ryan VanderMeulen
cf74a0c719 Backed out changeset 6ee70eb03b02 (bug 1183788) for Android crashes. 2015-08-05 10:24:55 -04:00
Dylan Roeh
f7ba5d71aa Bug 1183788 - Move all CanDetach/InitCanDetach logic into gfxPlatform.h/cpp. r=snorp 2015-08-04 17:02:18 -05:00
Jeff Muizelaar
5a4d300b4c Bug 1186431. Backout "Recreate the RenderTargetView on demand" r=jgilbert
This reverts commit 8d5da151b0df

--HG--
extra : rebase_source : 4925147d4793e2e1b4ce968a073af6791e732212
2015-07-29 10:44:05 -04:00
Lee Salzman
f15be30759 Bug 1188462 - Fix inclusion of skia headers to use correct directory prefixes. r=jrmuizel 2015-07-29 16:31:40 -04:00
Lee Salzman
cf2fe05f07 Bug 1188462 - Add SKIA_INCLUDES list for adding Skia to header search path. r=jrmuizel 2015-07-30 12:05:22 -04:00
Andrew Comminos
f8f6b355a9 Bug 1187440 - Implement GLX shared surfaces on the OpenGL compositor. r=jgilbert,nical 2015-07-30 12:40:56 -04: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
Matt Woodrow
a613b2b0b1 Bug 1150944 - Don't force the discrete GPU for skia gl. r=jrmuizel 2015-07-29 16:35:55 -04:00
Matt Woodrow
d2d5e5b9a3 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Wes Kocher
ec1078c65a Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow
04c916856f Bug 1150944 - Don't force the discrete GPU for skia gl. r=jrmuizel 2015-07-29 16:35:55 -04:00
Matt Woodrow
501c8bec02 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Ehsan Akhgari
23d68c5523 Bug 1188206 - Fix more constructors in gfx; r=jrmuizel 2015-07-28 08:53:26 -04:00
Kyle
06c3dd1246 Bug 1167651 - Passed the forceEnabled pref from function to function down to GLLibraryEGL::EnsureInitialized. r=jgilbert 2015-07-23 13:12:59 -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
Sotaro Ikeda
53a555bd72 Bug 1167799 part 2 - Add EGL_ANDROID_image_crop support r=nical,jgilbert 2015-07-19 16:03:10 -07:00