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
Nathan Froyd
974d8120f2
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Sotaro Ikeda
1461279916
Bug 1176945 - Remove unnecessary hwc reference from gl r=jgilbert
2015-06-24 15:44:47 -07:00
Andrew Comminos
1013161996
Bug 1167356
- Handle return value of DataSourceSurface::Map wherever possible. r=Bas
...
--HG--
extra : rebase_source : fe4fcb9c3a89e2573e6fde423ed8d96f31e00f14
2015-06-11 13:06:23 -04:00
Dan Glastonbury
036ef86398
Bug 1170855 - Part C: Move _WEBGL GLenums from GLConsts.h to WebGLContext.h. r=jgilbert
2015-06-11 15:12:16 +10:00
Dan Glastonbury
e4e894d15e
Bug 1170855 - Part 7: Implement MAX_CLIENT_WAIT_TIMEOUT_WEBGL. r=jgilbert, r=smaug
2015-06-11 15:12:12 +10: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
2dd2de985a
Bug 1170855 - Part C: Move _WEBGL GLenums from GLConsts.h to WebGLContext.h. r=jgilbert
2015-06-11 12:26:31 +10:00
Dan Glastonbury
23c27a31d7
Bug 1170855 - Part 7: Implement MAX_CLIENT_WAIT_TIMEOUT_WEBGL. r=jgilbert, r=smaug
...
This is a special addition for WebGL 2. I've updated webidl to match the
spec.
I've set the value to be 0 to match Chrome. If I query the underlying
GL, I get -1 back. (On OSX). We can discuss what a better value would
be.
2015-06-11 12:26:28 +10: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
Shelly Lin
fba7c0fcc2
Bug 1138287 - Part 2: Support multi-screen on Gonk platform. r=mwu, r=sotaro, r=jgilbert, r=mattwoodrow
...
--HG--
extra : histedit_source : 02c96bba0e933c85d9af2566d1c9c8d04d120a31
2015-06-05 11:29:30 +08:00