Sotaro Ikeda
1a785adc42
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-12 11:23:46 -07:00
Jeff Muizelaar
347a7df060
Bug 1153381. Add a D3D11 ANGLE blacklist. r=mstange
...
This blocks the Intel 4500 style GPUs so that Google Maps
works properly
--HG--
extra : rebase_source : eb9669f5502c02024e6d33852a74a724a2f2d156
2015-04-10 16:17:27 -04:00
Sotaro Ikeda
9ff8e58781
Bug 1151936 - Update GLContextEGL's EGLSurface override handling r=jgilbert
2015-04-08 08:35:54 -07:00
Jeff Gilbert
2e871e9c53
Bug 1150767 - Add pref for requiring hardware-backed GL. - r=jrmuizel
2015-04-02 17:59:47 -07:00
Jeff Gilbert
b34efbdbd7
Bug 1150760 - Don't call workaround unless necessary. - r=kamidphish
2015-04-02 17:50:27 -07:00
Nicolas Silva
0b1f75bea0
Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas
2015-04-07 16:08:57 +02:00
Ted Mielczarek
7f42ff59ac
bug 1147490 - fix GLContextProviderNull. r=benwa
...
--HG--
extra : rebase_source : 1a888fdce76fdb5d8646cfa5ded3e1bcdb56651f
extra : source : 240e4a99078c16fe0fec662572c3d818d0e9f9af
2015-01-28 15:10:23 -05:00
Nicolas Silva
52be9f47b5
Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas
2015-03-29 16:59:15 +02:00
Nicolas Silva
e3eaf89e3f
Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc
2015-03-29 16:59:08 +02:00
Jeff Gilbert
5643850512
Bug 1144889 - Do proper sRGB detection. - r=kamidphish
2015-03-24 00:11:10 -07:00
Dan Glastonbury
63a4eb24e5
Bug 896693 - Work around glCopyTexImage2D errors on framebuffers backed by IOSurface. r=jgilbert
2015-03-24 12:16:21 +10:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Daniel Holbert
082fd9cd7f
Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
...
This patch was generated by a script. Here's the source of the script for
future reference:
find . \( -iname "*.cpp" -o -iname "*.h" \) | \
xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Dan Glastonbury
95dd0ae4f3
Bug 1124996 - Block S3TC on OSX 10.10 & HD3000. r=jgilbert
...
--HG--
extra : rebase_source : 2716431af5c3c11d05ac63fa12e904221f0e1ac7
2015-02-18 14:34:28 +10:00
Jeff Gilbert
d8509a9780
Bug 927995 - Handle antialias+preserveDrawingBuffer properly. - r=kamidphish
2015-03-16 12:16:50 -07:00
Carsten "Tomcat" Book
574c589b5a
Backed out changeset 71966b47b3f9 (bug 1124996) for perma orange in test_conformance__extensions__webgl-compressed-texture-s3tc.html
2015-03-16 11:58:30 +01:00
Carsten "Tomcat" Book
9724ca2e3a
Backed out changeset c7d73cfc59cb (bug 927995)
2015-03-16 11:28:46 +01:00
Jeff Gilbert
6f162d3f77
Bug 927995 - Handle antialias+preserveDrawingBuffer properly. - r=kamidphish
2015-03-16 00:31:33 -07:00
Dan Glastonbury
7929fb116d
Bug 1124996 - Block S3TC on OSX 10.10 & HD3000. r=jgilbert
...
--HG--
extra : rebase_source : 60be1f10ad59b1d4a96d92512480fc346af5787d
2015-02-18 14:34:28 +10:00
Sotaro Ikeda
114f04dcd9
Bug 1142071 - Re-add WaitForBufferOwnership() r=jgilbert
2015-03-11 14:10:24 -07:00
Jeff Muizelaar
9c783e8ed0
Bug 1136242. Make sure we acquire the mutexes when copying the surfaces. r=jgilbert
...
This was causing badness when using preserveDrawingBuffers = true
--HG--
extra : rebase_source : 96338c4ef8ef3afd9541bde3158b915b8e62551f
2015-02-27 14:17:55 -05:00
Milan Sreckovic
e3e474039d
Bug 1019209 - Allow GL initialization without Android bridge, delay some GL string initialization, clean up some AndroidBridge code. r=snorp
2015-02-18 16:50:31 -05:00
Jeff Gilbert
75d555e953
Bug 1130616 - Support EXT_color_buffer_half_float on ANGLE. - r=jrmuizel,khuey
2015-02-24 14:09:09 -08:00
Ms2ger
2649263bed
Bug 1135138 - Remove UNICODE from DEFINES in moz.build rather than Makefile.in; r=mshal
...
This was made possible by bug 928709.
2015-02-23 18:46:55 +01:00
Jeff Gilbert
e9a175ca67
Bug 1094457 - Implement ReadBuffer and RenderbufferStorageMultisample. - r=kamidphish
2015-02-18 16:57:05 -08:00
James Willcox
c5944da516
Bug 1131793 - Disable SurfaceTexture detach on Mali r=jgilbert
2015-02-14 11:23:01 -06:00
Jeff Gilbert
d3813c406b
Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish
2015-02-12 19:00:41 -08:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Jeff Gilbert
56b00391c3
Backout 80a88a3badba for causing bug 1130086.
2015-02-06 11:37:04 -08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Jeff Gilbert
680ae080b6
Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish
2015-02-04 16:34:55 -08:00
Birunthan Mohanathas
847dbb9825
Bug 1120796 - Part 1: Prepare code for explicit bool operators. r=Waldo
2015-02-03 18:52:28 +02:00
James Willcox
93c7379e82
Bug 1100126 - Don't allow detaching a SurfaceTexture on PowerVR devices due to fencing issues r=jgilbert
2015-02-02 15:25:22 -06:00
Wes Kocher
d7313c3320
Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE
2015-01-29 14:23:37 -08:00
Jeff Gilbert
95f269cb3f
Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish
2015-01-29 00:44:19 -08:00
Daniel Holbert
9dc413ef38
Bug 1118419 followup: Annotate macro-defined typeName functions as MOZ_OVERRIDE for remaining GLContext subclasses.
2015-01-27 11:45:57 -08:00
Wes Kocher
dd7ff05753
Backed out changeset 783d0fe2770b (bug 1124394) for test bustage on a CLOSED TREE
2015-01-26 18:57:36 -08:00
Jeff Gilbert
ebb432b53c
Bug 1124394 - Allow Core Profile GL contexts. - r=kamidphish
2015-01-26 17:18:45 -08:00
Masatoshi Kimura
6cc5dabbee
Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo
2015-01-26 07:22:11 +09:00
Masatoshi Kimura
be535304d8
Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo
2015-01-26 07:22:07 +09:00
Jeff Gilbert
625fccbb86
Bug 1109945 - Rewrite shader/program handling. - r=kamidphish
2015-01-15 15:40:39 -08:00
Jeff Gilbert
0c1b1063c8
Bug 1089981 - Reftest both initial and steady-state frame. - r=kamidphish
2015-01-14 18:04:50 -08:00
Carsten "Tomcat" Book
ad7392f70a
Backed out changeset b5c6dd9423cf (bug 1109945) for gl2 test failures on a CLOSED TREE
2015-01-13 09:07:26 +01:00
Jeff Gilbert
20706f09c9
Bug 1109945 - Rewrite shader/program handling. - r=kamidphish
2015-01-12 19:51:20 -08:00
Jeff Gilbert
2806be23fd
Bug 1093967 - Implement BlitFramebuffer. r=kamidphish
2015-01-12 15:05:21 -08:00
Bas Schouten
79bc434a3c
Bug 1119854 - Followup: Correct one missed conversion of timeout to a finite number. r=jrmuizel
2015-01-10 19:43:15 +01:00
Wes Kocher
43fd1c9428
Backout ca411b1cf001 (bug 1109945) for shader editor failures
2015-01-09 21:03:54 -08:00
Bas Schouten
4983028737
Bug 1119854: Crash when AcquireSync takes more than 10 seconds. r=jrmuizel
2015-01-10 04:50:02 +01:00
Wes Kocher
94c8f2fb4f
Backed out changeset 88cf7f2fe48f for build bustage
2015-01-09 19:15:54 -08:00
Jeff Gilbert
dc1d886801
Bug 1093967 - Implement BlitFramebuffer. r=kamidphish
2015-01-09 18:51:20 -08:00
Jeff Gilbert
c0dd0d5346
Bug 1109945 - Rewrite shader/program handling. - r=kamidphish
2015-01-09 18:40:56 -08:00
Jim Chen
db34c64f29
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00
Ehsan Akhgari
4354953b4f
Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari
ffb386847f
Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel
2015-01-07 10:09:17 -05:00
Jeff Muizelaar
a0b39046de
Bug 1118100. Remove unused SharedSurfaceIO code. r=jgilbert
...
--HG--
extra : rebase_source : 9bdd90db5755903fcffdce1f7b95687844c6dfad
2015-01-05 21:57:30 -05:00
Jeff Muizelaar
8d7113b14e
Bug 1116190. Make sure we grab the keyed mutex when we read from the surface. r=jgilbert
...
If we don't do this D3D won't let us get at the contents of the surface.
2015-01-05 17:40:23 -05:00
Jeff Gilbert
a76e617dd0
Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp
2014-11-17 17:02:19 -08:00
Jeff Muizelaar
7401eee88e
Bug 1112780. Recreate the RenderTargetView on demand. r=jgilbert
...
This avoids reusing the RenderTargetView across AcquireSync/ReleaseSync pairs
and fixes bug 1109718. It adds a ReleaseSync call to ANGLE
that causes it to invalidate the RenderTargetView.
--HG--
extra : rebase_source : 993a437f5d1e1bfda32ef995b09f216930f174e1
2014-12-28 00:01:02 -05:00
Ehsan Akhgari
ca5c6ca575
Bug 1109699 - Fix more bad implicit constructors in gfx and image; r=jrmuizel
2014-12-10 17:48:11 -05:00
Dan Glastonbury
dd19bb1f83
Bug 1097416 - [WebGL2] Enable WebGL 2 if all required features are available. r=jgilbert
...
--HG--
extra : rebase_source : 696e99670b8184593ea8ca9aa4becb1c4d86cad6
extra : source : e2ff0e2bcf21067b6a121e50e4f290227aedc6c6
2014-10-27 09:36:26 +10:00
Dan Glastonbury
baf3f4332f
Bug 1048724 - [WebGL2] Transform Feedback. r=jgilbert,smaug
...
--HG--
extra : rebase_source : 40fe3ec66b091ced40f5a773fdc23d06bf6abc11
2014-11-26 12:00:06 +10:00
James Willcox
4baca31f84
Bug 1097116 - More build bustage r=me
...
--HG--
extra : rebase_source : 74dce437c198a17280d1fdf459d4e87a64808b21
2014-11-26 16:22:41 -06:00
James Willcox
54b19cef89
Bug 1097116 - Fix readback for EGLImageImage r=jgilbert
...
--HG--
extra : rebase_source : 038ddc25801541512a4e8231e4a6b586ed02c02b
2014-11-26 15:16:08 -06:00
Dan Glastonbury
115f45be7d
Bug 1097413 - Symbolic constants kGLESVersion2 and kGLESVersion3. r=jgilbert
...
--HG--
extra : rebase_source : 4d82f144bf9b713b50d995cf4db9340098b8f346
extra : source : 2204f9511fc39f27da83f32dfb9596558e67f83a
2014-10-27 09:31:57 +10:00
James Willcox
f409f2a92b
Back out bug 1097116
2014-11-21 09:47:03 -06:00
James Willcox
1664129cd2
Bug 1097116 - Fix readback for EGLImageImage r=jgilbert
2014-11-21 09:28:21 -06:00
Milan Sreckovic
e879ad97c7
Bug 1094338 - Allow depth texture on OS X 10.8.3 and higher. Clean up some OS X versioning tracking in the process. r=jgilbert
2014-11-10 22:15:22 -05:00
Jeff Gilbert
37012e9ef6
Bug 1089018 - Centralize GLContext spew control. - r=jrmuizel
2014-10-24 18:26:41 -07:00
Jeff Muizelaar
f2786d3f9f
Bug 1097877. Move GLBlitTextureImageHelper from gfx/gl to gfx/layers/opengl. r=nical
...
The only user is in layers/opengl. This is needed to do better state tracking
in the compositor.
--HG--
rename : gfx/gl/GLBlitTextureImageHelper.cpp => gfx/layers/opengl/GLBlitTextureImageHelper.cpp
rename : gfx/gl/GLBlitTextureImageHelper.h => gfx/layers/opengl/GLBlitTextureImageHelper.h
extra : rebase_source : bba00cbfac9253ca933721659dadbda2bfbe65c5
2014-11-10 14:49:05 -05:00
James Willcox
27c08cecb8
Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp
2014-11-13 12:47:24 -06:00
Milan Sreckovic
eb3ea89bec
Bug 1092191 - Do not warn about failure to load _Z35eglQueryStringImplementationANDROIDPvi. r=dglastonbury
2014-11-11 11:18:44 -05:00
Jeff Gilbert
d024308a8d
Bug 1096634 - Treat ANGLE default FB as RGB(A). - r=kamidphish
2014-11-05 15:04:55 -08:00
Jeff Muizelaar
e8dc880ddb
Bug 1066312. Use IDXGIKeyedMutex for synchronization with D3D11 angle. r=jgilbert
...
This currently does nothing because the ANGLE we're using doesn't have keyed mutex
support.
--HG--
extra : rebase_source : 9ab74710c22c5330809206f1bb16677af5944bad
2014-10-31 10:57:32 -04:00
Jeff Gilbert
83be6816e7
Bug 1088345 - Misc cleanup. - r=kamidphish
2014-10-27 18:58:03 -07:00
Jeff Gilbert
a03b45d876
Bug 1088345 - Handle AA better. - r=kamidphish
2014-10-25 18:32:46 -07:00
Jeff Gilbert
8cffb89c2b
Bug 1088345 - Handle possibly-invalid enums for queries. - r=kamidphish
2014-10-23 18:55:49 -07:00
Jeff Gilbert
d41ee052e4
Bug 1088345 - Improve glGetError handling. - r=kamidphish
2014-10-24 16:52:35 -07:00
Jeff Gilbert
3f421c31e9
Bug 912196 - Fixes for D3D11 ANGLE. - r=kamidphish
2014-10-08 16:32:50 -07:00
Jeff Gilbert
dd05af349c
Bug 912196 - Workaround no-alpha-with-ANGLE in WebGL, not GLContext. - r=kamidphish
2014-10-08 16:30:01 -07:00
James Willcox
d02dc369ff
Bug 1014614
- Add GLBlitHelper::BlitImageToFramebuffer and support SurfaceTexture images r=jgilbert
...
--HG--
extra : rebase_source : e823897f3ff6593af7286432903618dc483877dd
2014-10-21 08:53:02 -05:00
James Willcox
9790bce151
Bug 1014614
- Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : f8ac8c505b5f9a4f307044b932aef50b99d38d4f
2014-10-21 08:53:01 -05:00
James Willcox
070c8814c3
Bug 1014614
- Expose Android native window via AndroidNativeWindow wrapper r=blassey
...
--HG--
extra : rebase_source : e8fef05b2fdc3ef2b7c43a01655f2c7bf3789208
2014-10-21 08:53:00 -05:00
James Willcox
d1763714e0
Bug 1014614
- Expose more SurfaceTexture API in AndroidSurfaceTexture r=blassey
...
--HG--
extra : rebase_source : 863f769375474b486ca55d649e7ed332efbef6fe
2014-10-21 08:53:00 -05:00
James Willcox
a8cc145afb
Bug 1014614
- Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 4f148d8a0c2f9ec2d939f9d9939dab897b435bef
2014-10-21 08:53:00 -05:00
Mike Hommey
75e7142b89
Fixup bug 1084696 on a busted tree. r=me
2014-10-18 16:14:45 +09:00
Jeff Gilbert
fa2a8063a7
Bug 1084696 - Actually use the RAII helper for locking the DrawTarget. - r=kamidphish
2014-10-17 21:31:27 -07:00
Wes Kocher
36939bc3c8
Backed out 9 changesets (bug 1014614
) for Android mochitest bustage on a CLOSED TREE
...
Backed out changeset 40f99ba7f616 (bug 1014614
)
Backed out changeset 8fbc3c85adfc (bug 1014614
)
Backed out changeset 40dbd7c6ce65 (bug 1014614
)
Backed out changeset f2b504bdd7c5 (bug 1014614
)
Backed out changeset c878e29fbef9 (bug 1014614
)
Backed out changeset 511dcc817f5d (bug 1014614
)
Backed out changeset 2b72e71f1fdf (bug 1014614
)
Backed out changeset 8b530a9a2f99 (bug 1014614
)
Backed out changeset 7fa1b78de684 (bug 1014614
)
2014-10-17 16:34:01 -07:00
Wes Kocher
ae0090428f
Backed out changeset 869a28961b5c (bug 1084514)
2014-10-17 16:33:35 -07:00
Ralph Giles
9dbc70f9ac
Bug 1084514 - Fix AndroidSourceTexture namespace issues. r=dholbert CLOSED TREE
...
This worked in the unified build because it borrowed includes
and namespace references from other files.
2014-10-17 11:31:00 -07:00
James Willcox
dfb835773a
Bug 1014614
- Add GLBlitHelper::BlitImageToFramebuffer and support SurfaceTexture images r=jgilbert
...
--HG--
extra : rebase_source : 2718fddef7754bb84ef893fc81f175d963b01760
extra : histedit_source : efba21204779c8995e55623ca398d3f0b8336c31
2014-10-17 10:35:13 -05:00
James Willcox
b1bb293164
Bug 1014614
- Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : b309ea1761abdb26261fe8f2eda03de66952c018
2014-10-17 10:35:11 -05:00
James Willcox
d9918ba35a
Bug 1014614
- Expose more SurfaceTexture API in AndroidSurfaceTexture r=blassey
...
--HG--
extra : rebase_source : b6ee26cf973e7d4821fefbcd3b8dba0585779d86
2014-10-17 10:35:10 -05:00
James Willcox
399aa1c748
Bug 1014614
- Expose Android native window via AndroidNativeWindow wrapper r=blassey
...
--HG--
extra : rebase_source : a2d27a4223c1bd1189c4c6a32431cc306a3e93c6
2014-10-17 10:35:10 -05:00
James Willcox
9450484c06
Bug 1014614
- Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 70d12286eb15808a4a540bae0d6785e560e97b29
2014-10-17 10:35:10 -05:00
Jeff Muizelaar
6e632ada07
Bug 1070308. Add Acquire and Release semantics to SharedSurface. r=jgilbert
...
This is needed for D3D11 keyed mutex support. The added assertions
also ensure we're doing things at the right times.
--HG--
extra : rebase_source : 7af4dccca745ee62e4ae97972de8a8eb83f2e8d3
2014-10-09 16:33:22 -04:00
Benoit Jacob
08fbad97d7
Bug 1083936 - WebGL2: Add texImage3D - r=jgilbert,smaug
2014-10-16 22:03:34 -04:00
Chris Jones
cc1383c2fc
Bug 1082902 - Make it possible to have GL debugging in release builds. r=jgilbert
2014-10-14 18:24:53 -07:00
Jim Chen
60eb885c7d
Bug 1077662 - Label GL calls in profiler; r=snorp
2014-10-14 23:20:16 -04:00
Jeff Gilbert
82bb894465
Bug 1081363 - Don't do readback eagerly in ShSurf_Basic. - r=kamidphish
2014-10-10 14:36:17 -07:00