Commit Graph

99 Commits

Author SHA1 Message Date
Jeff Gilbert
f5e35d3064 Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel 2015-09-24 12:21:05 -07:00
Phil Ringnalda
978242ee5b Back out f84aedf7a62d (bug 1191042) for b2g emulator test failures
CLOSED TREE
2015-09-22 19:26:13 -07:00
Jeff Gilbert
87aac68e44 Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel 2015-09-22 16:49:25 -07:00
Andreas Pehrson
193016035c Bug 1161913 - Part 1 - Add invalidation state for CaptureStream to Canvas and Contexts. r=mt 2015-09-17 11:37:05 +08:00
Andrew Comminos
23c8633c16 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
ed99f27541 Bug 1191042 - Establish correct EGLConfig at GLContext creation. r=jrmuizel 2015-08-27 16:55:45 -04:00
Andrew Comminos
4c685795db Bug 1194472 - Correctly fetch compositor backend in WebGLContext. r=jgilbert 2015-08-17 15:10:12 -07:00
Dan Glastonbury
f1604e10cc Bug 1170842 - Part 4: Implement FramebufferTextureLayer. r=jgilbert 2015-08-12 11:51:34 +10:00
Kyle
c16da66f48 Bug 1136428 - Create a different set and restore path of the draw buffer state in WebGLContext::ForceClearFramebufferWithDefaultValues depending on whether or not the default framebuffer is being used. r=jgilbert 2015-07-29 15:01:26 -04:00
Birunthan Mohanathas
a0f7c73250 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Andrew Comminos
c66c6a82de Bug 1189903 - Don't use RGBA surfaces on GLX if surface sharing is not used. r=jgilbert 2015-08-04 07:12:00 -04:00
Jeff Gilbert
2d43600bc6 Bug 1188540 - Forward texture-related functions to WebGLTexture. - r=kamidphish 2015-08-03 14:34:46 -07:00
Andrew Comminos
f8f6e8f2c8 Bug 1187440 - Implement GLX shared surfaces on the OpenGL compositor. r=jgilbert,nical 2015-07-30 12:40:56 -04:00
Wes Kocher
3520b576de Bug 1150944 - Fix typo on a CLOSED TREE 2015-07-29 15:53:40 -07:00
Matt Woodrow
0eecc9bbd2 Bug 1150944 - Fix windows build bustage. CLOSED TREE 2015-07-29 18:08:07 -04:00
Matt Woodrow
f2668193dc 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
47eb6fb630 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
ade701f6b4 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Kyle
42655f64bf Bug 1175931 - TexImageFromVideoElement uses GL_HALF_FLOAT if it does not support GL_HALF_FLOAT_OES which would be the case on non-ANGLE systems. Using GL_HALF_FLOAT_OES on a non OES system would result in an error when using TexImage2D. r=jgilbert 2015-07-24 13:55:46 -04:00
Kyle
6ac0a52d8b Bug 1167651 - Passed the forceEnabled pref from function to function down to GLLibraryEGL::EnsureInitialized. r=jgilbert 2015-07-23 13:12:59 -04:00
Dan Glastonbury
9e8d98c888 Bug 1185815 - Hoist generation increment. r=jgilbert
So 'default' WebGL objects are in the same generation as the current context.
2015-07-22 11:37:40 +10:00
Kyle
21ae48919b Bug 1106138 - Remove the early unpremultiply in WebGLContext::SurfaceFromElementResultToImageSurface, and let the texel conversion code handle it instead. r=jgilbert 2015-07-16 17:23:11 -04:00
Jeff Muizelaar
0f374d3614 Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd 2015-07-08 16:51:09 -04:00
Jeff Gilbert
b1f1e1a811 Bug 1182371 - Misc WebGL cleanup. - r=kamidphish 2015-07-14 17:37:28 -07:00
Robert O'Callahan
74bf60da8a Bug 1143575. Replace ImageContainer Lock methods with simplified AutoLockImage. r=nical 2015-03-27 12:07:53 +13:00
Kyle
08a4f0a739 Bug 1137494 - Change the type given to type validation check. r=jgilbert 2015-06-23 17:25:13 -07:00
Wes Kocher
6c264bd80d Backed out changeset 66096f511050 (bug 1178999) for gl bustage CLOSED TREE 2015-07-01 16:19:09 -07:00
Wes Kocher
1ad3130ac4 Backed out changeset 288fee06d8aa (bug 1178999) 2015-07-01 16:18:59 -07:00
Jeff Gilbert
ae06549340 Bug 1178999 - Switch to backbuffer as needed. 2015-07-01 15:21:43 -07:00
Jeff Gilbert
0553739b14 Bug 1178999 - Do initial backbuffer clear lazily. - r=kamidphish 2015-07-01 14:28:32 -07:00
Nathan Froyd
92a8124fef 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
Benoit Girard
311ebbed52 Bug 1171682 - Disable WebGL in safemode. r=jgilbert 2015-06-15 17:05:02 -04:00
Dan Glastonbury
0f89c9e8dd Bug 1170855 - Part 6: Implement Sampler binding tracking. r=jgilbert 2015-06-11 15:12:10 +10:00
Phil Ringnalda
98e0a4358f 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
04f3c9ba4f Bug 1170855 - Part 6: Implement Sampler binding tracking. r=jgilbert 2015-06-11 12:26:27 +10:00
Dan Glastonbury
c8fe1f498a Bug 1167504 - Part 4: Remove BindableName - Texture. r=jgilbert 2015-06-10 13:24:18 +10:00
Lee Salzman
4374ca11f8 Bug 1167176 - Only premultiply webgl snapshot pixels if alpha is used. r=jgilbert 2015-05-29 19:27:58 -04:00
Kyle Fung
d37341fbbb Bug 1164970 - Implement failIfMajorPerformanceCaveat. r=jgilbert, r=ehsan 2015-05-21 11:51:49 -04:00
Jeff Gilbert
5d26eae68a Bug 1159034 - Only fake no-alpha for the backbuffer. - r=kamidphish 2015-04-30 17:30:26 -07:00
Jeff Gilbert
f444fdce6c Bug 1127336 - Label HW-decoded frames with correct origin. - r=vlad 2015-04-20 17:49:25 -07:00
Jeff Gilbert
990011a1f6 Bug 1142975 - Check for Present()-caused context loss. - r=kamidphish 2015-03-18 19:55:44 -07:00
Dan Glastonbury
fc7edc189e Bug 1110120 - Remove use of UniquePtr for XFB and UB tracking.; r=smaug 2015-02-09 00:13:00 +10:00
Wes Kocher
7a10f5ebe9 Backed out changeset b3589228e8b1 (bug 1142975) for gl failures 2015-03-16 17:25:30 -07:00
Jeff Gilbert
e7e3c40408 Bug 1142975 - Check for Present()-caused context loss. - r=kamidphish 2015-03-16 16:33:44 -07:00
Jeff Gilbert
d19c51ac04 Bug 1128019 - Init SCISSOR_BOX with initial width and height. - r=kamidphish 2015-03-11 20:08:41 -07:00
Jeff Gilbert
47fb80b5f2 Bug 1128001 - Workaround ANGLE DEPTH16 being DEPTH24_STENCIL8. - r=kamidphish 2015-03-11 18:23:56 -07:00
Jeff Gilbert
6d0bffcb21 Bug 1130616 - Support EXT_color_buffer_half_float on ANGLE. - r=jrmuizel,khuey 2015-02-24 14:09:09 -08:00
Jeff Gilbert
1cb925f4fb Bug 1094457 - Implement ReadBuffer and RenderbufferStorageMultisample. - r=kamidphish 2015-02-18 16:57:05 -08:00
Jeff Gilbert
4f9c932a23 Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Jeff Gilbert
9fb0acb86f Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00