Commit Graph

1514 Commits

Author SHA1 Message Date
Milan Sreckovic
17dda1461b Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang
MozReview-Commit-ID: 1rlHdDG4Cbw

--HG--
extra : rebase_source : 8bf84d2b1c4cc5bc48821b1eadbadf8edc6ce1ba
2016-05-13 16:34:41 -04:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Dylan Roeh
609b4c21e0 Bug 1271103 - Remove possible race condition in GLController.java. r=snorp 2016-05-13 13:43:06 -05:00
Gregor Wagner
bba6d952c7 Bug 1271747 - Fix AndroidBridge.h include in GLContextProviderEGL.cpp. r=snorp 2016-05-11 17:08:37 -07:00
Jeff Muizelaar
e1beb97b75 Bug 1269387. Port D3D11 ANGLE configuration to gfxConfig. r=dvander 2016-05-09 15:57:29 -04:00
Jeff Gilbert
4098575167 Bug 1270318 - Fixup WebGL extension requirements. - r=jrmuizel 2016-05-09 12:00:10 -07:00
Jeff Gilbert
3af240fd90 Bug 1229332 - Implement EXT_color_buffer_float. - r=jrmuizel 2016-05-04 16:39:02 -07:00
Milan Sreckovic
e0f647f55d Bug 1270180: More instances of MOZ_CRASH converted to gfxDevCrash and getting GFX prefix. r=jgilbert
MozReview-Commit-ID: BFUu2JG9Tk2

--HG--
extra : rebase_source : 146e8b8dc49dce7735f961df3ddfa3c9130fee32
2016-05-06 10:19:31 -04:00
Kyle Huey
941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Dylan Roeh
c185fb93b0 Bug 1136364 - Remove EGLSurface creation from GLController. r=snorp 2016-04-29 10:28:35 -05:00
Jeff Muizelaar
4e45e68439 Bug 1262427. Don't try D3D11 harder. r=dvander
If we know D3D11 isn't going to work we shouldn't bother
using it for ANGLE.
2016-05-04 11:34:01 -04:00
Markus Stange
b0358573d0 Bug 1265112 - Add support for NV_texture_barrier to GLContext. r=jrmuizel
MozReview-Commit-ID: 95j0YBKN1P1

--HG--
extra : rebase_source : 55d94a6773acf50130271256b26fd375d1ee5f4f
extra : source : ce7c9ec848c84a131ca3c26ee879a14ef79192d6
extra : histedit_source : 8d79b4947b934e9be7b565a769d764cb894b89fc
2016-05-01 19:37:42 -04:00
Sebastian Hengst
3787fb48fa Backed out changeset 7d87fa0dc7ed (bug 1265112) for build bustage. r=backout 2016-04-30 00:52:25 +02:00
Markus Stange
33aba2a6bc Bug 1265112 - Add support for NV_texture_barrier to GLContext. r=jrmuizel
MozReview-Commit-ID: 95j0YBKN1P1

--HG--
extra : rebase_source : a0e91658afcb17bb6802904c444b58ccd66b6608
extra : source : ce7c9ec848c84a131ca3c26ee879a14ef79192d6
2016-01-16 15:27:18 +01:00
Carsten "Tomcat" Book
ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Lee Salzman
b8c6e8c1f2 Bug 1265131, part 2 - update SkiaGLGlue for Skia m51. r=jrmuizel 2016-04-28 22:55:27 -04:00
Kyle Huey
48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Morris Tseng
041ccb236b Bug 1265638 - Reset some properties when the backend of SharedSurface is switching from Basic to layer-accelerated backend. r=jgilbert
MozReview-Commit-ID: JWXA79i3aEC
2016-04-26 11:08:56 +08:00
Jeff Gilbert
8e4716b337 Bug 1266262 - Remove nearly-unused GLContext::mGLFormats. - r=jrmuizel 2016-04-25 13:17:25 -07:00
Jeff Gilbert
ed674372da Bug 1262265 - Cleanup GLContext symbol init. - r=jrmuizel 2016-04-21 16:32:18 -07:00
Benoit Girard
85ba14a3e5 Bug 1263249 - Bubble up unique failureId in GetFeatureStatus. r=mconley,milan
MozReview-Commit-ID: JveFLuIcbaN

--HG--
extra : rebase_source : 3f583b44c30495b237fd263e4818430443bf5513
2016-04-13 17:12:47 -04:00
Daniel Holbert
d2514c163c Backed out changeset d3aab3c4eb5f (Bug 1262265) for fatal GL-related assertion failures in debug reftest runs
MozReview-Commit-ID: BBmMY1dd1s7
2016-04-19 18:03:17 -07:00
Jeff Gilbert
642da66065 Bug 1262265 - Cleanup GLContext symbol init. - r=jrmuizel 2016-04-19 16:19:31 -07:00
Jeff Gilbert
ef930cf580 Bug 1224199 - Destroy SharedSurfaces before ~GLContext(). - r=jrmuizel 2016-04-14 13:50:04 -07:00
Wes Kocher
0e32f257b8 Backed out changeset 9438150c5258 (bug 1262265) for mass android test bustage CLOSED TREE
MozReview-Commit-ID: FsPsAyGT3Vi
2016-04-11 15:42:37 -07:00
Jeff Gilbert
1aef4bc738 Bug 1262265 - Cleanup InitWithPrefix. - r=jrmuizel 2016-04-11 15:01:35 -07:00
Peter Chang
7b988f075f Bug 1262757 - Use StaticRefPtr for the global context in GLContextProviderWGL, r=jrmuizel
MozReview-Commit-ID: COV0vvyFubo

--HG--
extra : rebase_source : a9c38fa2e5cdf2c7e12d214e24651131aebe01be
2016-04-01 16:17:36 +08:00
Jeff Gilbert
8bca05c326 Bug 1260944 - Fix ANGLE D3D WARP for WebGL. - r=jrmuizel 2016-04-06 13:47:25 -07:00
Jeff Gilbert
65fd1fca03 Bug 1259811 - Require FBO support for GLContexts. - r=jrmuizel 2016-03-25 14:19:21 -07:00
Jeff Muizelaar
83bb88f11e Bug 1259466. Rename layers.offmainthreadcomposition.enabled. r=milan
We would rather people not use this pref.
2016-04-05 10:55:17 -04:00
Carsten "Tomcat" Book
fad84a5168 Backed out changeset 864320b75e76 (bug 1259466) for suspicion this caused bc 7 test failures on m-c 2016-04-05 08:54:01 +02:00
Jeff Muizelaar
328e2a6882 Bug 1259466. Rename layers.offmainthreadcomposition.enabled. r=milan
We would rather people not use this pref.
2016-04-04 17:15:00 -04:00
Ryan VanderMeulen
30df7c9421 Backed out changeset b90dc48988d4 (bug 1254829) because it got a retroactive r-. 2016-04-01 13:21:25 -04:00
Peter Chang
f012f18fd5 Bug 1254829 - Change global context to static RefPtr to avoid destruction during QuickExit(). r=jrmuizel
MozReview-Commit-ID: COV0vvyFubo

--HG--
extra : transplant_source : %BA%3F%F3%B92rS%A9N%18t%D2%FB%DC1%B32%C3%07L
2016-04-01 16:23:52 +08:00
Ethan Lin
d1268b5e73 Bug 1259696 - Check read buffer mode when doing CopyTexImage. r=jgilbert
MozReview-Commit-ID: FYMiMaiRhii

--HG--
extra : rebase_source : 9f71a99d40df8430543d90f1eb64cda01d060b88
2016-03-31 23:06:33 -07:00
Lee Salzman
ac6587c152 Bug 1229946 - report GL_ARB_texture_rg extension to SkiaGL to avoid using GL_ALPHA render targets. r=jgilbert 2016-03-29 22:54:09 -04:00
Lee Salzman
aefe39adfa Back out changeset 7431c1300d28 (bug 1189715) 2016-03-29 22:52:21 -04:00
Lee Salzman
24df5d41a7 Bug 1189715 - report GL_ARB_texture_rg extension to SkiaGL to avoid using GL_ALPHA render targets. r=jgilbert 2016-03-29 22:45:02 -04:00
Jeff Gilbert
8393e592aa Bug 1256492 - Cast to proper width to avoid C4312 on VS2015; r=jrmuizel
MozReview-Commit-ID: GTwoVyCVwOc

--HG--
extra : rebase_source : 5e1879ae64cc4542dde6b8dadfd4df309ee9c917
extra : histedit_source : 0551819f17c764ad50df5b1ff918f6ec037f015c
2016-03-21 10:49:23 -07:00
Nicolas Silva
644321f6b6 Bug 1256693 - Refer to ClientIPCAllocator instead of ISurfaceAllocator where it makes sense. r=sotaro 2016-03-21 15:18:20 +01:00
David Anderson
5827fd8527 Make access to gfxWindowsPlatform D3D11 devices thread-safe. (bug 1258174, r=bas) 2016-03-21 00:14:05 -07:00
Mike Hommey
0a771514a8 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Nicholas Nethercote
50399fa6c3 Bug 1255655 - Const-ify sExtensionNames. r=mattwoodrow.
--HG--
extra : rebase_source : 701319b65fce70b62535248b9c33dd6357320abf
2016-03-11 13:52:13 +11:00
Jeff Gilbert
3bdc12a666 Bug 1255224 - Add pref to force glFinish in DXGL path. (default:false) - r=dvander 2016-03-10 13:17:46 -08:00
Jonathan Watt
2357eb85f9 Bug 1253094, part 2 - Stop using DebugOnly for class/struct members in gfx/. r=Bas
MozReview-Commit-ID: 7rDHRqNgQqL
2016-02-26 15:52:07 +00:00
Edwin Flores
b00c15cb8c Bug 1224199 - Don't make the TextureClient wait for compositor recycle if the GLContext is shutting down - r=nical 2016-03-07 11:51:12 +00:00
Ethan Lin
a199911382 Bug 1249189 - Use GL_RED to replace GL_ALPHA in YCbCr convert. r=jgilbert 2016-02-23 01:51:00 +01:00
Andrew Comminos
547da6e1b6 Revert "Bug 1197954 - Add support for GLX_SGI_video_sync to GLContextProviderGLX. r=jgilbert"
This reverts commit c26871ee3cac8b736e9b868cd7738900f0d40a81.
2016-03-03 21:39:19 -08:00
Andrew Comminos
158d5666b8 Bug 1197954 - Add support for GLX_SGI_video_sync to GLContextProviderGLX. r=jgilbert
MozReview-Commit-ID: Fn9jwecuz5q
2016-03-03 20:37:26 -08:00
Andrew Comminos
08e70e0e44 Bug 1197954 - Extract GLXFBConfig selection code for X11 windows. r=lsalzman
MozReview-Commit-ID: IVSepKwVbp9
2016-03-03 20:37:26 -08:00
Eugen Sawin
354975fe89 Bug 1232334 - [1.2] Only set context on successful attach. r=snorp 2016-03-03 18:32:37 +01:00
Jeff Gilbert
20e882360f Bug 1247804 - Enable seamless cubemaps where available. - r=jrmuizel 2016-02-11 17:57:25 -08:00
Trevor Saunders
481bc0e2c7 bug 1250485 - make the ctor for GLXLibrary constexpr r=jrmuizel 2016-02-29 15:32:24 -05:00
Nathan Froyd
48d5884988 Bug 1252153 - use UniquePtr instead of ScopedDeletePtr in HeapCopyOfStackArray; r=jrmuizel
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
2016-02-29 11:54:36 -05:00
James Willcox
9e56091f86 Bug 1251065 - Add prefs for logging the current and peak texture usage r=nical 2016-02-26 11:01:28 -06:00
James Willcox
6ac86c0db9 Bug 1247405 - Track peak texture memory usage r=nical 2016-02-26 11:00:06 -06:00
Sebastian Hengst
2f131341dd Backed out changeset 0ee7b97a8a84 (bug 1247405) for bustage. r=bustage on a CLOSED TREE 2016-02-25 19:12:27 +01:00
James Willcox
dc94ee5dc7 Revert bug 1251065 due to stupidity 2016-02-25 10:51:34 -06:00
James Willcox
8ae46e3a8a Bug 1251065 - Add prefs for logging the current and peak texture usage r=nical 2016-02-25 10:25:45 -06:00
James Willcox
ad3d8bc008 Bug 1247405 - Track peak texture memory usage r=nical 2016-02-25 10:25:34 -06:00
Eugen Sawin
d5f668aef8 Bug 1116473 - [2.1] Const-correctness fixes. r=snorp 2016-02-23 21:04:24 +01:00
Eugen Sawin
e8dc51ceee Bug 1116473 - [1.1] Handle AndroidSurfaceTexture mapping in thread-safe class. r=snorp 2016-02-23 21:04:23 +01:00
Milan Sreckovic
3fe5de3dab Bug 1247706 - "Please don't disable WebGL if crashed on WebGL context". r=dvander 2016-02-15 12:53:00 +01:00
Jeff Gilbert
c6dad7bd09 Bug 1094458 - Implement RenderbufferStorageMultisample. - r=jrmuizel 2016-02-12 19:31:58 -08:00
James Willcox
34358e8ff5 Bug 1245612 - Send texture usage bytes in crash reports r=bsmedberg 2016-02-08 09:18:52 -06:00
James Willcox
03c12b87a9 Bug 1243418 - Fix up incorrect 'aOverwrite' usage and impl in GLUploadHelpers r=jgilbert 2016-02-08 09:18:52 -06:00
James Willcox
7528f84391 Bug 1243072 - Make GfxTexturesReporter work again r=nical,jgilbert 2016-02-08 09:18:52 -06:00
Lee Salzman
4729f64a2a Bug 1245550 - add gfx.use-glx-texture-from-pixmap pref to control whether texture_from_pixmap is used. r=nical 2016-02-03 13:05:24 -05:00
James Willcox
1cc1b45965 Also back out bug 1243072 for mac bustage on a CLOSED TREE 2016-02-03 14:45:21 -06:00
James Willcox
d6cc922a79 Back out bug 1243418 for build bustage on mac 2016-02-03 14:33:57 -06:00
James Willcox
7a195bd71f Bug 1243418 - Fix up incorrect 'aOverwrite' usage and impl in GLUploadHelpers r=jgilbert 2016-02-03 14:16:48 -06:00
James Willcox
6ce8f1df22 Bug 1243072 - Make GfxTexturesReporter work again r=nical,jgilbert 2016-02-03 14:16:40 -06:00
Edwin Flores
e60aaa13ff Bug 1227548 - Check the result of MakeCurrent in ReadBuffer and DrawBuffer destructors - r=jgilbert 2016-02-03 09:59:22 +00:00
Birunthan Mohanathas
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
James Willcox
ec95f4bf71 Bug 1238541 - Don't die in SharedSurface_EGLImage::ProducerReadReleaseImpl() if there is an existing fence r=jgilbert 2016-02-01 10:53:25 -06:00
Phil Ringnalda
d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Nicholas Nethercote
74831ef786 Bug 1239864 (part 4) - Use the new rect iterators in gfx/. r=nical.
--HG--
extra : rebase_source : 633ae2a881c15ae14d08e9ea9289e2b8f079a4b9
2016-01-18 17:20:58 -08:00
Nicolas Silva
3fdffc6dd0 Bug 1241486 - Allow using pixmaps to share WebGL frames with the basic compositor when it makes sense. r=jgilbert 2016-01-26 15:31:15 +01:00
Tom Tromey
5412728905 Bug 757969 - use __thread in ThreadLocal; r=froydnj 2016-01-22 10:33:44 -07:00
Jeff Gilbert
475ef4bef2 Bug 1233819 - Fix WebGL on WinXP. - r=jrmuizel 2016-01-21 18:47:29 -08:00
Jeff Gilbert
2a59586f95 Bug 1239187 - Use the GLFeature instead. - r=jrmuizel 2016-01-21 14:18:44 -08:00
Nicolas Silva
bf137eb0f2 Bug 1240730 - Initialize all GLLibraryEGL symbols in the ctor. r=mattwoodrow 2016-01-20 14:46:32 +01:00
Nicolas Silva
287b05140c Bug 1240730 - Initialize all GLXLibrary members in the ctor. r=mattwoodrow 2016-01-20 14:46:25 +01:00
Nicolas Silva
6b8f0413aa Bug 1240806 - Remove some dead code in GLContextProviderEGL. r=jgilbert 2016-01-20 14:46:16 +01:00
Nicolas Silva
a2d098481d Bug 1240708 - Various trivial coverity warning fixes (part 2). r=kats 2016-01-19 20:14:27 +01:00
Chris Peterson
f68d14cca7 Bug 1236323 - Part 2: Suppress -Wimplicit-fallthrough warnings in gfx/ from Skia header files. r=nical 2016-01-08 00:43:58 -08:00
Nicholas Nethercote
cac93d89a3 Bug 1239225 - Remove unused args from TextureImage's constructor and related functions. r=mattwoodrow. 2016-01-12 23:10:56 -08:00
Edwin Flores
aad959626e Bug 1199923 - Work around Intel Linux driver lying about max texture size - r=jgilbert 2016-01-13 11:28:05 +00:00
Jeff Gilbert
55ca464707 Bug 1234441 - Allow malformed ESSL version string. - r=jrmuizel 2016-01-12 16:45:06 -08:00
Phil Ringnalda
be425f27a9 Back out f137a421233f (bug 1234441) for build bustage
CLOSED TREE
2016-01-11 19:32:02 -08:00
Jeff Gilbert
dfd883b2e9 Bug 1234441 - Allow malformed ESSL version string. - r=jrmuizel 2016-01-07 16:59:56 -08:00
Nicholas Nethercote
88696a303a Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
This patch:

- Makes the following substitutions (plus necessary namespace qualifiers:

    gfxImageFormat::ARGB32      --> SurfaceFormat::A8R8G8B8_UINT32
    gfxImageFormat::RGB24       --> SurfaceFormat::X8R8G8B8_UINT32
    gfxImageFormat::A8          --> SurfaceFormat::A8
    gfxImageFormat::RGB16_565   --> SurfaceFormat::R5G6B5_UINT16
    gfxImageFormat::Unknown     --> SurfaceFormat::UNKNOWN

- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
  removed soon.

- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
  replace calls to them with CairoFormatToGfxFormat() and
  GfxFormatToCairoFormat().

- Removes ParamTraits<gfxImageFormat>.

- Add namespace qualifiers to SurfaceFormat instances where necessary.

--HG--
extra : rebase_source : f56e92b1593957a9e4e00171100bc7605816e696
2016-01-07 20:57:38 -08:00
Ethan Lin
3fac635eb8 Bug 1235299 - Fix WebGL assertions for copyTexImage2D. r=jgilbert 2016-01-07 18:50:00 +01:00
Chris Peterson
d7f8317f74 Back out 400861eb8c62 (Bug 1236323 - Part 2) for unearthing Skia -Wunreachable-code warnings-as-errors 2016-01-08 00:32:01 -08:00
Chris Peterson
a2a55a8086 Bug 1236323 - Part 2: Suppress -Wimplicit-fallthrough warnings in gfx/ from Skia header files. r=nical
gfx/skia/skia/include/gpu/GrTestUtils.h:94:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/skia/skia/include/gpu/GrTypesPriv.h:181:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-24 09:39:04 -08:00
Morris Tseng
1ae8baf23c Bug 917505 - Add WEBGL_compressed_texture_es3 support. r=jgilbert r=smaug
--HG--
extra : commitid : 96pBvjbX0be
2016-01-08 10:12:22 +08:00
Jeff Gilbert
b66e705f39 Bug 1236762 - Simplify locking APIs for SharedSurface. - r=jrmuizel 2016-01-05 15:57:44 -08:00
Bob Owen
7b7cad771e Bug 1156742 Part 2: Make gfx thebes/gl/2d work with UNICODE defined. r=bas, r=glandium 2016-01-05 10:08:56 +00:00
Markus Stange
258bcc1298 Bug 1187322 - Don't require accelerated OpenGL contexts for BasicCompositor on OS X. r=jrmuizel
--HG--
extra : commitid : D8wNlw49VVb
extra : rebase_source : f0c93866f09de396e835a2920d5db54efe53ffda
extra : amend_source : 7ed5dda1bd555ecc353137bfc9b00b10992a86a1
2015-12-23 16:22:55 +01:00
Jim Chen
c601b57208 Bug 1232456 - Renew EGL surface using existing compositor widget; r=snorp
GLContextEGL needs a widget in order to recreate its surface. This patch
adds a widget parameter to RenewSurface so that the compositor can pass
in its widget.
2015-12-23 22:03:35 -05:00
Jim Chen
3dc603713a Bug 1232456 - Create EGL surface through widget; r=snorp
This patch makes GLContextProviderEGL create EGL surfaces through
nsWindow/nsIWidget on Android. nsWindow then calls GLController in Java
to actually create the surface.
2015-12-23 22:03:34 -05:00
Wes Kocher
a5249b6201 Backed out 25 changesets (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
Backed out changeset 31c0aadae8e7 (bug 1156742)
Backed out changeset f08df57ff700 (bug 1156742)
Backed out changeset 90c026d5dcb1 (bug 1156742)
Backed out changeset 8c6d14d80238 (bug 1156742)
Backed out changeset 72d86b0471c9 (bug 1156742)
Backed out changeset 363829accc09 (bug 1156742)
Backed out changeset 16360fe94d54 (bug 1156742)
Backed out changeset 5355c636a81a (bug 1156742)
Backed out changeset 18844d26b873 (bug 1156742)
Backed out changeset 99df86591613 (bug 1156742)
Backed out changeset 7ac1c7e15a11 (bug 1156742)
Backed out changeset de352000aae1 (bug 1156742)
Backed out changeset 4dd34ea230c6 (bug 1156742)
Backed out changeset 48c6ce65a5c2 (bug 1156742)
Backed out changeset dd52947f73c6 (bug 1156742)
Backed out changeset 5fe429ee880c (bug 1156742)
Backed out changeset dedca8fb19b0 (bug 1156742)
Backed out changeset d748b1354f92 (bug 1156742)
Backed out changeset 7f8e59588518 (bug 1156742)
Backed out changeset b90d302c57f6 (bug 1156742)
Backed out changeset 7a4da453572c (bug 1156742)
Backed out changeset a40eea914519 (bug 1156742)
Backed out changeset 99a8859afcdb (bug 1156742)
Backed out changeset 4934e88b2d7a (bug 1156742)
Backed out changeset 79733166f05e (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE

--HG--
extra : amend_source : beeb6abbcc724b79ac166e828efa78dc4c5301da
2015-12-21 13:47:33 -08:00
Bob Owen
477a386eec Bug 1156742 Part 2: Make gfx thebes/gl/2d work with UNICODE defined. r=bas, r=glandium 2015-12-21 20:33:13 +00:00
Lee Salzman
8f5cdef8ad Bug 1082598 - Part 8: Fix OpenGL interface glue for Skia update. r=jrmuizel 2015-12-18 13:53:25 -05:00
Morris Tseng
0d4ac3243e Bug 1215438 - Part 1: Add utility functions to support transferring ImageBitmap. r=roc
--HG--
extra : commitid : JdhYZUbeqRs
2015-12-18 14:52:16 +08:00
Wes Kocher
6ebc8a4b00 Backed out 10 changesets (bug 1082598) for 2d.path.arcTo.shape.curve1.html failures on OSX
Backed out changeset 018c2a3031f4 (bug 1082598)
Backed out changeset 8f60e42aca2e (bug 1082598)
Backed out changeset c4297c82165f (bug 1082598)
Backed out changeset c22c1bfd091a (bug 1082598)
Backed out changeset 8754fd718869 (bug 1082598)
Backed out changeset da976e4cd253 (bug 1082598)
Backed out changeset 3c8f87df8c68 (bug 1082598)
Backed out changeset 3183d30eb549 (bug 1082598)
Backed out changeset c239a7bc6cba (bug 1082598)
Backed out changeset aa3805015270 (bug 1082598)

--HG--
extra : commitid : LJSl0Bo8Hqr
2015-12-17 14:30:50 -08:00
Lee Salzman
20ff1d75e1 Bug 1082598 - Part 8: Fix OpenGL interface glue for Skia update. r=jrmuizel 2015-12-17 14:45:45 -05:00
Jeff Muizelaar
948ebf9004 Bug 1232668. Allow using kTex2DBlit_FragShaderSource on non-ES targets.
This avoids compile errors when using Mesa.
2015-12-15 12:48:15 -05:00
Jeff Muizelaar
c789c7e526 Bug 1232480. Use 'precision' instead of 'prevision'
A fun little typo.
2015-12-14 18:02:53 -05:00
Milan Sreckovic
4a422858eb Bug 1219494 - Part 3 gfx/gl with gfxCrash. r=mchang 2015-12-10 13:01:00 +01:00
Jeff Muizelaar
303885a832 Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert 2015-12-03 14:37:02 -05:00
Botond Ballo
0858698ac3 Bug 1069417 - Generalize Matrix4x4 into Matrix4x4Typed<SourceUnits, TargetUnits>. r=Bas
Matrix4x4 remains a typedef for Matrix4x4Typed<UnknownUnits, UnknownUnits>.

No client code needed changing, except for forward-declarations of Matrix4x4
as a class (since it's now a typedef).

--HG--
extra : rebase_source : ecd9470b9defcc55cfb9e7dbd26e928a6219c3e5
extra : source : 0fc99b5490830953f37a4d8769e42dad2d10bc6e
2015-12-02 18:52:00 -05:00
Jeff Muizelaar
ba14718938 Revert "Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert"
This reverts commit cb6196bdba35
CLOSED TREE
2015-12-02 12:43:00 -05:00
Jeff Muizelaar
18f1188eac Bug 1219890. Use ES3 when appropriate. r=jgilbert
This enables the use of WebGL2 on top of ANGLE.
2015-12-02 10:21:08 -05:00
Jeff Muizelaar
cf8265bebe Bug 1219890. Make assignment operator and copy constructor default. r=jgilbert 2015-12-02 10:21:03 -05:00
Jeff Muizelaar
427df1845c Bug 1219890. Construct context arguments on the stack. r=jgilbert
We do this so that we can change some of the for es3
2015-12-02 10:20:56 -05:00
Jeff Muizelaar
6de960ff8d Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert 2015-12-02 10:14:43 -05:00
Nicolas Silva
8baf8f2c04 Bug 1200595 - Consolidate the TextureClient's destruction logic. r=mattwoodrow 2015-11-20 14:25:03 +01:00
Nicolas Silva
ce2636044e Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01:00
Nicolas Silva
1e614cbe2b Bug 1200595 - SharedSurface TextureData implementation. r=jgilbert 2015-11-20 14:24:55 +01:00
Nicolas Silva
48c889335e Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Jeff Gilbert
19d84fb0fe Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-24 20:15:29 -08:00
Dan Glastonbury
5b14b3a87d Bug 618898 - Add D3D11SharedSurfaceInterop. r=jgilbert
--HG--
extra : commitid : LSoMbZrQQSO
extra : rebase_source : d207b87eafc300a1d3c99c0c85403056008b1bf6
2015-11-06 10:19:24 +10:00
Wes Kocher
72261b4523 Backed out 12 changesets (bug 1200595) for b2g mochitest crashes in SharedBufferManagerParent CLOSED TREE
Backed out changeset cf8cf1a039dd (bug 1200595)
Backed out changeset 65da564f952c (bug 1200595)
Backed out changeset 7663208f1582 (bug 1200595)
Backed out changeset fc1fbb97c8eb (bug 1200595)
Backed out changeset 3ad5a4c457fe (bug 1200595)
Backed out changeset add3fe9afc0c (bug 1200595)
Backed out changeset 68aba6b39588 (bug 1200595)
Backed out changeset ab326c34f1cf (bug 1200595)
Backed out changeset ed34bc528a1b (bug 1200595)
Backed out changeset 0dc93424546c (bug 1200595)
Backed out changeset 8cc12f12f3d1 (bug 1200595)
Backed out changeset bb84403701b7 (bug 1200595)

--HG--
extra : commitid : AMC6i05xyTh
2015-11-24 10:07:02 -08:00
Nicolas Silva
c89268e8b1 Bug 1200595 - Consolidate the TextureClient's destruction logic. r=mattwoodrow 2015-11-20 14:25:03 +01:00
Nicolas Silva
c1b94d01e8 Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01:00
Nicolas Silva
7e5a0d6376 Bug 1200595 - SharedSurface TextureData implementation. r=jgilbert 2015-11-20 14:24:55 +01:00
Nicolas Silva
318de9bd3b Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Phil Ringnalda
71a6f5da62 Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures 2015-11-23 21:55:59 -08:00
Jeff Gilbert
87397c265b Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-23 19:27:13 -08:00
Carsten "Tomcat" Book
1a584aca79 Backed out 13 changesets (bug 1200595) for possibly breaking Reftest [TC] Crashtest tc-R on a CLOSED TREE
Backed out changeset e7278af0a484 (bug 1200595)
Backed out changeset c13228f84d85 (bug 1200595)
Backed out changeset 4b88e8a3d8af (bug 1200595)
Backed out changeset e55376bd2cf8 (bug 1200595)
Backed out changeset 9c27c8e2c021 (bug 1200595)
Backed out changeset a369a2983ceb (bug 1200595)
Backed out changeset 09e71ba15ea8 (bug 1200595)
Backed out changeset b555b130d439 (bug 1200595)
Backed out changeset 6819f6d82287 (bug 1200595)
Backed out changeset a8cdfbf443d8 (bug 1200595)
Backed out changeset 0092c9d7a86b (bug 1200595)
Backed out changeset 6dc38a1e6073 (bug 1200595)
Backed out changeset fe2164aa1468 (bug 1200595)
2015-11-20 16:55:26 +01:00
Nicolas Silva
4b5d77112d Bug 1200595 - Consolidate the TextureClient's destruction logic. r=mattwoodrow
* * *
Bug 1200595 - Rebase fixes
2015-11-20 14:25:03 +01:00
Nicolas Silva
25167273f1 Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01:00
Nicolas Silva
beee26c42b Bug 1200595 - SharedSurface TextureData implementation. r=jgilbert 2015-11-20 14:24:55 +01:00
Nicolas Silva
94c7acf9ef Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Kartikaya Gupta
b0cd3a3759 Bug 1223486 - Ensure WrapTexCoord returns 0.0 instead of 1.0 when given a negative whole number. r=Bas
--HG--
extra : commitid : 7tcI6zWCoyx
2015-11-19 10:49:31 -05:00
David Anderson
7970ac45fd Decouple MacIOSurfaceImage from ImageContainer. (bug 1222910, r=mstange) 2015-11-17 00:09:00 -08:00
David Anderson
ec187774dc Decouple SurfaceTextureImage from ImageContainer. (bug 1222910, r=snorp) 2015-11-17 00:09:00 -08:00
David Anderson
cb88eed605 Decouple EGLImageImage from ImageContainer. (bug 1222910, r=snorp) 2015-11-17 00:09:00 -08:00
Nathan Froyd
634bee4a27 Bug 1216644 - part 1 - simple s/nsAutoArrayPtr/UniquePtr/ changes in gfx/; r=jrmuizel
This patch handles all the cases where we just want to swap out
nsAutoArrayPtr for UniquePtr and don't require code changes other than
updating uses that implicitly converted to T* to follow UniquePtr's
conventions.
2015-10-20 13:13:35 -04:00
Jeff Gilbert
0889900785 Bug 1209612 - Formalize client vs display EGL exts, and don't check client exts on ANDROID due to topcrash. - r=jrmuizel,snorp 2015-11-12 13:41:45 -08:00
Benoit Girard
f167bfd6b8 Bug 1223540 - Add a pref for CGL's multithreaded mode (EMPEngine). r=jrmuizel
--HG--
extra : commitid : AGxBynhmllr
extra : rebase_source : 744bf8e02589cc919eb41471979f69d10683716f
2015-11-10 16:14:24 -05:00
Botond Ballo
5bf85e9f9d Bug 1220923 - Make nsIntRegion a typedef for IntRegionTyped<UnknownUnits>. r=nical
--HG--
extra : source : 1f371f014048ed4c3c25095233fea927311a7e23
2015-11-04 11:49:49 -05:00
Mike Hommey
4d40edea15 Bug 1221453 - Use AbsolutePaths with LOCAL_INCLUDES instead of manual -I in CXXFLAGS. r=gps 2015-11-06 09:59:21 +09:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Jeff Muizelaar
53e0c67402 Bug 1213431. Support using Core profile for WebGL2 on Linux. r=jgilbert
Mesa won't give us a version of OpenGL newer than 3.0 without core profile
2015-10-22 10:49:06 -04:00
Phil Ringnalda
a11db4c721 Back out changeset 5b1a9f0706de (bug 1213431) on suspicion of causing Mulet bustage in webgl-capturestream-test.html?preserve 2015-10-31 13:33:41 -07:00
Jeff Muizelaar
9838c19be9 Bug 1213431. Support using Core profile for WebGL2 on Linux. r=jgilbert
Mesa won't give us a version of OpenGL newer than 3.0 without core profile

--HG--
extra : rebase_source : 257452a7d9329430c8639a2c3ddff647a1ab4768
2015-10-22 10:49:06 -04:00
Milan Sreckovic
33b10a1074 Bug 1214802 - gfxEnv - consolidate environment variables used by the graphics code in one place. r=botond 2015-10-28 14:31:00 +01:00