Kearwood "Kip" Gilbert
7558427b07
Bug 1400407 - Part 1: Cleanup WebVR dead code,r=daoshengmu,r=jgilbert
...
- VRManagerChild no longer needs to be a TextureForwarder
- VRManagerParent no longer descends from HostIPCAllocator or ShmemAllocator
- PVRManager no longer manages PTexture's
- VRLayerParent::mSize was not used and has been removed
MozReview-Commit-ID: 3bNN5FR5j7M
2017-09-14 17:10:15 -07:00
Daosheng Mu
f211da8b40
Bug 1404518 - Return when OpenSharedTexture is false; r=jgilbert
...
MozReview-Commit-ID: EIChMhAt5Hk
2017-10-02 14:32:07 +08:00
Jeff Gilbert
44efc3ec60
Bug 1403798 - Fix EXT_sRGB activation, particularly on Windows+ANGLE+ES2. - r=daoshengmu
...
MozReview-Commit-ID: 9gC3B1jsX5I
2017-09-28 10:29:01 -07:00
sotaro
c21d04474e
Bug 1403049 - Remove EGLImageImage r=snorp
2017-09-27 09:56:38 +09:00
Wes Kocher
b6811197bd
Merge autoland to central, a=merge
...
MozReview-Commit-ID: 8B7y2ULc04
2017-09-26 17:11:14 -07:00
Tom Ritter
85cf7af053
Bug 1402370 _uuidof is a Microsoft specific extension while IID_* is a portable solution that will fix the MinGW build of GLBlitHelperD3D.cpp r=jrmuizel
...
MozReview-Commit-ID: 1FfQRZ5e5XG
2017-09-22 11:10:43 -05:00
Tom Ritter
173e00d727
Bug 1402370 nullptr cannot be cast to bool, so return false instead of nullptr in GLBlitHelperD3D.cpp r=jrmuizel
...
MozReview-Commit-ID: EeboZBGD0Es
2017-09-22 11:10:04 -05:00
sotaro
170dd7af42
Bug 1402767 - Enable accleleration of GLScreenBuffer when WebRender is enabled r=jgilbert
2017-09-26 13:15:36 +09:00
sotaro
bbfc9770cc
Bug 1366700 - Remove MOZ_CRASH in GLContextEGLFactory::Create r=jgilbert
2017-09-19 11:26:31 +09:00
Jeff Gilbert
d576314c10
Bug 1396704 - Remove assert, which was the whole point of this bug.
...
MozReview-Commit-ID: HB5p6Kt0zTb
2017-09-18 14:40:22 -07:00
Jeff Gilbert
e25388226c
Bug 1396521 - Check that we have ANGLE exts for blitting from d3d. - r=daoshengmu
...
MozReview-Commit-ID: 3eto0R2Cjwa
2017-09-05 20:27:16 -07:00
Jeff Gilbert
2849ddf7ba
Bug 1396704 - Support GLBlitHelper without VAOs. - r=daoshengmu
...
MozReview-Commit-ID: HB5p6Kt0zTb
2017-09-05 19:05:23 -07:00
Jeff Gilbert
298d86eee0
Bug 1322746 - Fix android blitting. - r=daoshengmu
...
MozReview-Commit-ID: F9qm5XtPUoE
2017-09-02 21:52:28 -07:00
Jeff Gilbert
8f6788e0e5
Bug 1322746 - Explicitly reject D3D9_RGB32_TEXTURE for fast blitting.
...
MozReview-Commit-ID: JA683emuAzX
2017-09-02 21:52:25 -07:00
Jeff Gilbert
73dd30ccbd
Bug 1322746 - Add extern decls for DrawBlitProg::Key. - r=daoshengmu
...
MozReview-Commit-ID: CZSOmThJSbj
2017-09-02 21:52:22 -07:00
Jeff Gilbert
5607b476c7
Bug 1322746 - Support blit from IOSurfaces. - r=mattwoodrow
...
MozReview-Commit-ID: K4aHyOjQXfP
2017-09-02 21:52:19 -07:00
Jeff Gilbert
e8ec6e7769
Bug 1322746 - Support PLANAR_YCBCR, GPU_VIDEO, and D3D11_YCBCR_IMAGE in GLBlitHelper. - r=jerry
...
MozReview-Commit-ID: FNsmq0RPvYB
2017-09-02 21:52:16 -07:00
Phil Ringnalda
99cb4d1b9f
Backed out 14 changesets (bug 1322746) for unexpected passes on Win8
...
Backed out changeset a10fcb139377 (bug 1322746)
Backed out changeset 992b2173bda7 (bug 1322746)
Backed out changeset 88a28c4ebc6b (bug 1322746)
Backed out changeset c5bd6bbf5653 (bug 1322746)
Backed out changeset 882cd05b7064 (bug 1322746)
Backed out changeset 87e7f25a089c (bug 1322746)
Backed out changeset 2ed5b75a6f5e (bug 1322746)
Backed out changeset 6d1dd5775850 (bug 1322746)
Backed out changeset b97bb7a2e555 (bug 1322746)
Backed out changeset ab8352ffd2ca (bug 1322746)
Backed out changeset a4901ec3c327 (bug 1322746)
Backed out changeset 61c7478af98c (bug 1322746)
Backed out changeset b202e9377e24 (bug 1322746)
Backed out changeset cf739e7c76b8 (bug 1322746)
MozReview-Commit-ID: CesCbY4ABvS
2017-09-01 22:28:49 -07:00
Jeff Gilbert
09a5d1a786
Bug 1394265 - Don't allow GL version <200. - r=daoshengmu
...
MozReview-Commit-ID: 8wD8uHFc5kY
2017-09-01 14:30:04 -07:00
Jeff Gilbert
781e56c99a
Bug 1322746 - Fix android blitting. - r=daoshengmu
...
MozReview-Commit-ID: F9qm5XtPUoE
2017-09-01 13:58:18 -07:00
Jeff Gilbert
e128054c7a
Bug 1322746 - Explicitly reject D3D9_RGB32_TEXTURE for fast blitting.
...
MozReview-Commit-ID: JA683emuAzX
2017-09-01 13:58:15 -07:00
Jeff Gilbert
37f92a4d2f
Bug 1322746 - Add extern decls for DrawBlitProg::Key. - r=daoshengmu
...
MozReview-Commit-ID: CZSOmThJSbj
2017-09-01 13:58:12 -07:00
Jeff Gilbert
dd3eb98080
Bug 1322746 - Support blit from IOSurfaces. - r=mattwoodrow
...
MozReview-Commit-ID: K4aHyOjQXfP
2017-09-01 13:58:10 -07:00
Jeff Gilbert
fa3c993e41
Bug 1322746 - Support PLANAR_YCBCR, GPU_VIDEO, and D3D11_YCBCR_IMAGE in GLBlitHelper. - r=jerry
...
MozReview-Commit-ID: FNsmq0RPvYB
2017-09-01 13:58:07 -07:00
sotaro
813ad98311
Bug 1395417 - Fix as star against type r=jgilbert
2017-08-31 16:25:48 +09:00
sotaro
b32ed2ecc1
Bug 1395417 - Expose eglCreateDeviceANGLE and eglReleaseDeviceANGLE r=jgilbert
2017-08-31 15:57:45 +09:00
Randall Barker
fc90bc832e
Bug 1382292 - Revert PLANAR_YCBCR case in GLBlitHelper.cpp on Android so that when a canvas uses a video frame as source, it is not flipped r=kvark
...
MozReview-Commit-ID: 1RZ5G1vkB7U
2017-08-17 12:02:17 -07:00
Ami
56747a959d
Bug 1388531 - Remove stubbed out B2G only functions. r=jgilbert
2017-08-13 23:14:00 -04:00
Jeff Gilbert
8e26d31200
Bug 1388565 - shader_texture_lod is core in GL3 and ES3. - r=daoshengmu
...
MozReview-Commit-ID: IbqRF4MdK2l
2017-08-15 16:52:38 -07:00
Jeff Gilbert
53c45ca8f7
Bug 1388565 - Fix WEBGL_compressed_texture_s3tc_srgb driver requirements. - r=daoshengmu
...
MozReview-Commit-ID: 5k7m1ebzlCx
2017-08-15 16:52:35 -07:00
Milan Sreckovic
fe9daf64d1
Bug 1387514: Upgrade BaseRect (derived classes) width and height direct member variable use to instead use Width()/SetWidth() and Height()/SetHeight() in .cpp files in gfx/*. r=milan
...
MozReview-Commit-ID: 1jESowJKdyp
2017-08-14 08:29:28 -04:00
Sylvestre Ledru
99fab44808
Bug 1387002 - Replace .size() by .empty() when applicable in gfx/ r=nical
...
MozReview-Commit-ID: BIrMZHj6BBZ
2017-08-03 12:02:35 +02:00
Eric Rahm
b5b0a9c37e
Bug 1386825 - Part 4: Remove remaining instances of MOZ_B2G. r=froydnj
...
MozReview-Commit-ID: 8r4eMwiZ4Vg
2017-08-08 14:41:09 -07:00
JerryShih
341232ffaa
Bug 1357299 - P1-1: Fix the wrong return value for DestroyStreamKHR(). r=jgilbert
...
MozReview-Commit-ID: 4OMHJka03Kd
2017-08-07 18:15:21 +08:00
JerryShih
5b423208c5
Bug 1357299 - P1: Fix the wrong ext string for QueryDisplayAttribEXT. v2. r=jgilbert
...
MozReview-Commit-ID: 3lZG2GrxXHF
2017-08-07 18:15:21 +08:00
Randall Barker
72b306e257
Bug 1380843 - Add gfx preference so GLScreenBuffer may be toggled between SurfaceFactory_EGLImage and SurfaceFactory_SurfaceTexture r=jgilbert
...
MozReview-Commit-ID: E6YOeIqo4UK
2017-08-02 17:09:38 -07:00
Randall Barker
37c66eaddb
Bug 1370544 - Ensure EGLSurface is created with the same EGLConfig as the context r=jgilbert
...
MozReview-Commit-ID: 1cN7VzCa2lV
2017-08-02 17:09:37 -07:00
Nicholas Nethercote
09493fcbcf
Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
2017-07-31 14:28:48 +10:00
Nicolas Silva
5c193c5e25
Bug 13821850 - Return false in GLContext::Readback if MakeCurrent failed. r=jgilbert
2017-07-24 12:24:18 +02:00
Nicolas Silva
8689fe40c5
Bug 1382185 - Check the status of MakeCurrent in GLContext.cpp. r=jgilbert
2017-07-24 12:24:14 +02:00
Sylvestre Ledru
576cac5ec7
Bug 1381253 - Remove redundant control flow declarations rs=ehsan
...
MozReview-Commit-ID: FFxP4aMCbOL
2017-07-15 19:03:04 +02:00
Samuel Vargas
5305ab7ccd
Bug 1367613 - Track and spew synchronous/blocking GL call counts. r=jgilbert
2017-07-13 14:26:00 -04:00
Samuel Vargas
8cf1ae6ff9
Bug 1378571 - Avoid unnecessary MakeCurrentImpl calls when GL context is already current - r=jgilbert
2017-07-07 16:16:00 +02:00
Nicholas Nethercote
a58025002f
Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange.
...
This patch makes the following changes to the macros.
- Removes PROFILER_LABEL_FUNC. It's only suitable for use in functions outside
classes, due to PROFILER_FUNCTION_NAME not getting class names, and it was
mostly misused.
- Removes PROFILER_FUNCTION_NAME. It's no longer used, and __func__ is
universally available now anyway.
- Combines the first two string literal arguments of PROFILER_LABEL and
PROFILER_LABEL_DYNAMIC into a single argument. There was no good reason for
them to be separate, and it forced a '::' in the label, which isn't always
appropriate. Also, the meaning of the "name_space" argument was interpreted
in an interesting variety of ways.
- Adds an "AUTO_" prefix to PROFILER_LABEL and PROFILER_LABEL_DYNAMIC, to make
it clearer they construct RAII objects rather than just being function calls.
(I myself have screwed up the scoping because of this in the past.)
- Fills in the 'js::ProfileEntry::Category::' qualifier within the macro, so
the caller doesn't need to. This makes a *lot* more of the uses fit onto a
single line.
The patch also makes the following changes to the macro uses (beyond those
required by the changes described above).
- Fixes a bunch of labels that had gotten out of sync with the name of the
class and/or function that encloses them.
- Removes a useless PROFILER_LABEL use within a trivial scope in
EventStateManager::DispatchMouseOrPointerEvent(). It clearly wasn't serving
any useful purpose. It also serves as extra evidence that the AUTO_ prefix is
a good idea.
- Tweaks DecodePool::SyncRunIf{Preferred,Possible} so that the labelling is
done within them, instead of at their callsites, because that's a more
standard way of doing things.
2017-06-22 17:08:53 +10:00
James Willcox
6634486672
Bug 1370308 - Don't crash when using SkiaGL with SurfaceTexture on Android r=jgilbert
...
MozReview-Commit-ID: EKxBaU6SfdB
2017-06-15 10:59:01 -05:00
JerryShih
6ede03db83
Bug 1372489 - Update GLConsts.h and GLDefs.h. r=jgilbert.
...
Get the latest gl.xml, egl.xml, wgl.xml and glx.xml.
Then, execute the |GLParseRegistryXML.py|. Please check the details in |GLParseRegistryXML.py|.
The ANGLE_stream_producer_d3d_texture_nv12 and ANGLE_keyed_mutex extension are not exist in egl.xml,
so add the "LOCAL_EGL_DXGI_KEYED_MUTEX_ANGLE" and "LOCAL_EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE" manually in GLDefs.h.
egl:
https://github.com/KhronosGroup/EGL-Registry/commit/2e6e7ff7bf91d0ffcd7ca297aa2b18977b5e9492
gl, glx and wgl:
https://github.com/KhronosGroup/OpenGL-Registry/commit/23a3a95673921d4bf99001a0c50ef2ac2850dcf1
2017-06-15 14:43:53 +08:00
sotaro
9c0d99dc8c
Bug 1371557 - Enable depth buffer on GLContextProviderEGL for webrender r=nical
2017-06-14 19:32:04 +09:00
Bill McCloskey
0fd724b379
Bug 1365099 - Convert NS_GetCurrentThread uses in gfx (r=dvander)
...
MozReview-Commit-ID: 9I4eXsBl2s8
2017-06-12 20:20:08 -07:00
Jeff Muizelaar
a6931dfb85
Bug 1371434. Use LOCAL_GLX_CONTEXT_PROFILE_MASK_ARB instead of LOCAL_GLX_CONTEXT_FLAGS_ARB. r=kvark
...
I'm not sure why I originally used GLX_CONTEXT_FLAGS_ARB but the spec at
https://www.khronos.org/registry/OpenGL/extensions/ARB/GLX_ARB_create_context.txt
strongly suggests using GLX_CONTEXT_PROFILE_MASK_ARB
2017-06-12 16:15:08 -04:00
[email protected]
f78bcf501c
Bug 1366941 - Checking LayersIPCChannel type when using recycled textureClient; r=nical
...
MozReview-Commit-ID: 94PQA67fvoJ
2017-05-24 11:01:45 +00:00