Граф коммитов

1226 Коммитов

Автор SHA1 Сообщение Дата
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
Jeff Gilbert 2e4a1c88ee Bug 1182371 - Misc WebGL cleanup. - r=kamidphish 2015-07-14 17:37:28 -07:00
Kyle 902feca0b9 Bug 1182547 - Replace InitExtensions() with InitExtensionsFromDisplay() so that queries can be made with specific displays and add symbol loading for GetPlatformDisplayEXT so that the ANGLE_platform_angle_d3d extension can be used. r=jgilbert 2015-07-10 14:47:48 -04: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
Lee Salzman f79b8c9c9a Bug 1170390 - Use Optimal2DFormatForContent over OptimalFormatForContent to avoid enum conversions. r=jrmuizel 2015-07-06 22:27:19 -04:00
Dylan Roeh bd9ca6bb1d Bug 1153848 - Add pref to disable SurfaceTexture attach/detach. r=snorp 2015-07-06 16:43:45 -05:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -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