Граф коммитов

1761 Коммитов

Автор SHA1 Сообщение Дата
Edwin Flores 5dc1ef0755 Bug 925645 - Turn SharedSurface::mGL into a WeakPtr<> - r=jgilbert 2016-10-24 16:35:31 +01:00
Jamie Nicol b1411a66d2 Bug 1311642 - Give GLUploadHelpers some love. r=nical
GLUploadHelpers was trying to be too flexible, so remove some unused
options it provided. Require that the full surface and texture size is
passed in rather than only the updated subregion. This prevents textures
being initialized to an incorrect size when partial texture uploads are
disallowed.

MozReview-Commit-ID: 288ERE9ten5

--HG--
extra : rebase_source : f4415fcec15bd2a7ca9300ffcf26439b96a72438
2016-10-21 13:27:41 +01:00
Jamie Nicol 9a0a722f7b Bug 1311642 - Remove BeginUpdate and EndUpdate from GLTextureImage. r=nical
Only DirectUpdate was actually being used, so remove the dead
code. TextureImageCGL does't do anything over BasicTextureImage any more
so remove it too.

MozReview-Commit-ID: D7jpC9M7aTT

--HG--
extra : rebase_source : 7846439aa5cb320704b8f811f3203fe7fd31c51e
2016-10-20 17:11:00 +01:00
Sotaro Ikeda 5a134d6b42 Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten 2016-10-18 10:09:00 -07:00
Sebastian Hengst 6b5c3baeae Backed out changeset c544bfb79ca0 (bug 1210357) for unexpected pass of layout/reftests/ogg-video/encoded-aspect-ratio-1.html on Windows XP. r=backout a=backout
MozReview-Commit-ID: 4s31c2d2fv1
2016-10-15 11:07:47 +02:00
Sotaro Ikeda f35d8f724b Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten 2016-10-13 23:48:39 -07:00
Jamie Nicol 7cbf6d7e9f Bug 1026404 - Disable OES_EGL_image and OES_EGL_image_external on SGX 544 MP devices. r=eflores
EGLImageTargetTexture2D crashes on SGX 544 MP GPUs on Kit Kat with
either GL_TEXTURE_2D or GL_TEXTURE_EXTERNAL as the texture target. This
means that both OES_EGL_image and OES_EGL_image_external extensions do
not work and must be avoided.

MozReview-Commit-ID: DJmtUL6kexC

--HG--
extra : rebase_source : 7b136c2be8110a3bcef50213776675d8dd3c9ef9
2016-10-26 15:28:08 +01:00
Jeff Gilbert 8e0a37ee0b Bug 1306171 - Expect core profiles to fill in alpha for RGB->RGBA reads properly. - r=mtseng 2016-09-29 13:51:02 -07:00
Alexandre Lissy 07037f896b Bug 1305655 - Decouple Gonk TextureForwarder and CompositableForwarder (followup bug 1281456) r=nical
MozReview-Commit-ID: 1sUiqnFEPdx
2016-09-28 07:04:13 +02:00
Lee Salzman 7052015439 Bug 1304195 - silence warnings from ScopedXErrorHandler when used off main thread if acknowledged. r=nical
MozReview-Commit-ID: 34LaghDR15f
2016-09-27 12:28:57 -04:00
Carsten "Tomcat" Book ea2599961b Backed out changeset 3eb2ceb66ec5 (bug 1304195) for static build bustage 2016-09-27 16:56:20 +02:00
Lee Salzman bef76e271e Bug 1304195 - silence warnings from ScopedXErrorHandler when used off main thread if acknowledged. r=nical
MozReview-Commit-ID: 34LaghDR15f
2016-09-27 10:35:17 -04:00
Matt Woodrow 55f506db9f Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
Jamie Nicol 78b8ab3a9c Bug 1130739 - Disable OES_EGL_image_external on Mali 450. r=eflores
MozReview-Commit-ID: 2xx4zRYWlNu

--HG--
extra : rebase_source : d4c9e091b0ecd384b118f9e45a966e3887fbbc02
2016-09-21 11:12:52 +01:00
Jamie Nicol 363f957b1f Bug 1288446 - Call glCheckFramebufferStatus after glFramebufferTexture2D to avoid driver crash; r=jrmuizel
Some PowerVR SGX540 devices running Android 4.0 were crashing when
uploading texture data with glTexSubImage2D. This was unearthed by a
Skia upgrade which removed what should have been an unnecessary OpenGL
call. This reinstates the OpenGL call which prevents the crash, but at a
GLContext level rather than in Skia.

MozReview-Commit-ID: Dub8VSs2Dzd

--HG--
extra : rebase_source : 7584b2a71656c78055d1a3cd1410c2a1bd8e70b3
2016-09-08 15:29:44 +01:00
Edwin Flores 794b92fe7b Bug 1296996 - Use ProducerRead{Acquire/Release} in ReadBuffer::Create - r=jgilbert 2016-09-14 11:02:37 +01:00
Benoit Girard fab198cffc Bug 1288746 - Handle missing EGL failure IDs. r=jmuizel
MozReview-Commit-ID: Kk5vFNMdhjV

--HG--
extra : rebase_source : 8a8851b91fa045c8cb13e1aee2c8c7c62d2b0a4e
2016-09-13 14:17:29 -04:00
Jeff Gilbert 06b3ddf5fd Bug 1300932 - Enable draw_buffers on ES3, but not WEBGL_draw_buffers. - r=jerry
MozReview-Commit-ID: DMUoG23WTmr
2016-09-08 11:34:32 -07:00
Ryan Hunt ba1fc57c65 Bug 1289251 - Allow GLContextProviderGLX to create a GLContext out of process. r=acomminos,jgilbert
MozReview-Commit-ID: 9AdBGkEzI1n

--HG--
extra : rebase_source : 419b2b50f2f1ede60dbda4d527b637e8c44ffc91
2016-08-29 17:14:20 -07:00
Nicholas Nethercote b71747b2ac Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
The new name makes the sense of the condition much clearer. E.g. compare:

  NS_WARN_IF_FALSE(!rv.Failed());

with:

  NS_WARNING_ASSERTION(!rv.Failed());

The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.

--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Botond Ballo 2af3f87bb6 Bug 1288686 - Avoid X11's |#define None 0L| intruding on other parts of the code. r=jrmuizel
MozReview-Commit-ID: 9rD0KLTLg7l

--HG--
extra : rebase_source : a537ba1913b6959e74fc4fcaf58f51f759cc5882
extra : source : 9278e13a7d664e787f763a7c21a32833700899e1
2016-08-29 16:51:43 -04:00
Makoto Kato ec124dbfbd Bug 1299054 - Remove old Android support (API level < 15) from Gecko. r=snorp
MozReview-Commit-ID: K32YSqGsLf9

--HG--
extra : rebase_source : be0d3b3fc1146234efc75229171ea61258c46492
2016-08-30 14:11:55 +09:00
James Cheng 19a28705ea Bug 1297315 - Fix Wmaybe-uninitialized warning and get rid of goto statement in GLContextProviderGLX.cpp and GfxTexturesReporter.cpp. r=jgilbert
MozReview-Commit-ID: AUjK7HhatX6

--HG--
extra : rebase_source : 3df07981fdd0f7cff9576cff8fecf955522294bf
2016-08-23 14:30:37 +08:00
Milan Sreckovic 5459132cb1 Bug 1296731: Add parameter to GetAlignedStride and check for overflow. r=bas
MozReview-Commit-ID: 5Ptm0bxwKdG

--HG--
extra : rebase_source : 535f2fa2447a1401b76acc0b82ce210b3c4d6dfc
2016-08-25 13:57:39 -04:00
Ryan VanderMeulen bb47ee1c15 Merge m-c to inbound. a=merge CLOSED TREE 2016-08-25 09:00:49 -04:00
Ryan VanderMeulen f0d5b6f0be Bug 1297276 - Fix merge bustage. a=bustage 2016-08-25 08:40:42 -04:00
Ryan VanderMeulen 2b4ac234e9 Merge m-c to inbound. a=merge 2016-08-25 08:27:17 -04:00
Ryan VanderMeulen 520acfd195 Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
Andrew Comminos 6fc5868042 Bug 1280653 - Read into the X11 event queue in GLContextGLX::MakeCurrent to queue DRI invalidation events. r=lsalzman
MozReview-Commit-ID: 5N076lUlCkl

--HG--
extra : rebase_source : c1aa9eb1ad2d5c5410d94d4028ee7f034194b4ad
2016-08-24 20:23:39 -04:00
Nicholas Nethercote c2306345d5 Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.

The patch also does some associated clean-up.

- Replaces some uses of nsIMemoryReporterCallback with the preferred
  nsIHandleReportCallback typedef.

- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
  parameter names, for consistency.

- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.

- Uses the MOZ_COLLECT_REPORT macro in all suitable places.

Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.

--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10:00
Andrew Comminos 2c8e7beb35 Bug 1297537 - Avoid calling glXWaitGL in GLContextGLX::SwapBuffers. r=jgilbert
MozReview-Commit-ID: FUzbHFyKiMH

--HG--
extra : rebase_source : 71acb5af28740936ed4b3fb6b571e0e3cc153db4
2016-08-23 14:27:33 -04:00
Jinank Jain f2776091ea Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger
--HG--
extra : rebase_source : b3e4c3e7c81799f2b1f3ec62ba3ff3b5d3adba27
2016-08-23 11:24:54 -04:00
Ryan VanderMeulen 69113163cf Merge m-c to inbound. a=merge 2016-08-24 09:09:05 -04:00
Kan-Ru Chen b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Jim Chen d1a77173ac Bug 1294481 - Implement new frame available callbacks; r=snorp
Implement a new OnFrameAvailableListener callback system for
AndroidSurfaceTexture using native methods. Each AndroidSurfaceTexture
creates its own SurfaceTextureListener object and uses it to forward
OnFrameAvailableListener callbacks to the corresponding nsIRunnable.
2016-08-23 18:52:30 -04:00
Jim Chen abb40676c0 Bug 1294481 - Rip out old Java code for AndroidSurfaceTexture; r=snorp
Rip out the old GeckoAppShell methods that implemented a
OnFrameAvailableListener callback system for AndroidSurfaceTexture.
2016-08-23 18:52:30 -04:00
Sotaro Ikeda 1ff245b181 Bug 1259571 - Reduce tearing with basic layers on Windows r=dvander
--HG--
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
2016-08-23 15:18:55 -07:00
Jim Chen 3bd8918fcf Bug 1294479 - Remove ANativeWindow methods from AndroidBridge; r=snorp
The ANativeWindow methods in AndroidBridge are just wrappers around
ANativeWindow calls in the NDK. We should just use those calls instead
of going through the wrappers.
2016-08-19 17:17:24 -04:00
Jeff Gilbert 6a596c0e80 Bug 1287653 - Spew VENDOR/RENDERER. - r=mtseng
MozReview-Commit-ID: AVeY7hyqmgV
2016-08-18 14:07:03 -07:00
Jeff Gilbert ccacf66a5e Bug 1287653 - Blacklist dx_interop2. - r=milan
MozReview-Commit-ID: GYyUIXYvcp1
2016-08-18 14:06:57 -07:00
Jeff Gilbert ac277e5603 Bug 1287653 - Remove context sharing from WGL. - r=mtseng
MozReview-Commit-ID: 2CJovqWwAGB
2016-08-18 14:06:44 -07:00
Jeff Gilbert 4808331e32 Bug 1287653 - Cleanup GLContextProviderWGL. - r=mtseng
MozReview-Commit-ID: KTM77i36mN
2016-08-18 14:06:41 -07:00
Jeff Gilbert 32e52cc2e1 Bug 1287653 - AMD associates DXOpenDevice with the current GL context. - r=mtseng
MozReview-Commit-ID: 7Rv7HbOxLil
2016-08-18 14:06:38 -07:00
Jeff Gilbert 20ce5436dc Bug 1287653 - Use std::string::c_str instead of &std::string[0] to get a c-string. - r=mtseng
MozReview-Commit-ID: AsBaqtyQ8Ca
2016-08-18 14:06:34 -07:00
Jeff Gilbert 477cad8749 Bug 1285692 - Remove unnecessary KeyedMutex usage with DX_interop. - r=jrmuizel
While we've been doing AcquireSync()+LockObject() previously, this doesn't
seem to be required. It makes sense that LockObject would AcquireSync (or
in-driver equivalent) when given a KeyedMutex'd D3D11Texture, given the
wording of the spec that (Un)LockObject synchronizes GL with D3D.
Unfortunately, the extension spec doesn't explicitly state this.

MozReview-Commit-ID: 3FgNl1npO34
2016-08-18 14:06:28 -07:00
Jeff Gilbert ea2b2ee099 Bug 1285692 - Acquire surface to allow FB completeness. - r=jrmuizel
MozReview-Commit-ID: H9IidhUqqw9
2016-08-18 14:06:26 -07:00
Jeff Gilbert 2f6562f729 Bug 1285692 - Add IsProducerAcquired(). - r=mtseng
MozReview-Commit-ID: 81Y5DAXtgeo
2016-08-18 14:06:23 -07:00
Benoit Girard 61b954044b Bug 1287182 - Don't clobber the angle platform failureId. r=jrmuizel
MozReview-Commit-ID: Dj0PNznZ7BS
2016-08-03 17:28:26 -04:00
Carsten "Tomcat" Book 90f6c2d3fd Backed out changeset 02d76f158f3d (bug 1259571) for talos xperf regressions
--HG--
rename : gfx/thebes/DeviceManagerDx.cpp => gfx/thebes/DeviceManagerD3D11.cpp
rename : gfx/thebes/DeviceManagerDx.h => gfx/thebes/DeviceManagerD3D11.h
2016-08-08 11:53:51 +02:00
Sotaro Ikeda 41a9daf725 Bug 1259571 - Try tearing-free drawing with GDI r=dvander,mattwoodrow
--HG--
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
2016-08-07 23:54:12 -07:00
James Willcox 0fbdac5122 Bug 1255628 - Remove AndroidNativeWindow, as we can use the NDK functions directly now r=rbarker 2016-08-04 09:23:34 -05:00
Matt Woodrow 369e4deebe Bug 1289640 - Part 1: Make SharedSurfaceANGLE code use the content D3D11 device since we should only ever run on the main thread and would have used this device already. r=jgilbert
--HG--
extra : rebase_source : 9f698971f6b77161b2f7314befd889bc944aee2e
2016-08-02 17:52:29 +12:00
Iris Hsiao 3a6363f152 Backed out changeset e69e260d5dc7 (bug 1289640) for Assertion failure on DeviceManagerD3D11.cpp 2016-08-02 16:50:14 +08:00
Matt Woodrow 8917dc3ec5 Bug 1289640 - Part 1: Make SharedSurfaceANGLE code use the content D3D11 device since we should only ever run on the main thread and would have used this device already. r=jgilbert 2016-08-02 17:52:29 +12:00
Jeff Gilbert 1a4ea58191 Bug 1289655 - Add prim_restart and prim_restart_fixed GLFeatures. - r=mtseng
MozReview-Commit-ID: 7uXZkyZTvKW
2016-08-01 01:20:12 -07:00
Carsten "Tomcat" Book 37be51f16a merge mozilla-inbound to mozilla-central a=merge 2016-07-28 17:43:03 +02:00
Benoit Girard 4b52de5ec9 Bug 1283594 - CANVAS_WEBGL_ACCL_FAILURE_ID reports success as empty string. r=jrmuizel
MozReview-Commit-ID: B8rzSG5wk83

--HG--
extra : rebase_source : 1a801f65fe8247d836e8e48f65f67954b4e82fad
2016-07-27 17:14:19 -04:00
Ryan Hunt 7467d1ee3f Bug 1288860 - Change GLContextProvider to use CompositorWidget. r=jrmuizel
--HG--
extra : rebase_source : 92e481ef6b499d773e6e98591f22675b05b71c69
2016-07-25 14:41:00 -04:00
David Anderson b7855c4ee9 Add DeviceManagerD3D11 as a wrapper around gfxWindowsPlatform. (bug 1282364 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 3ea710ffdaabf737374958e80f6235c1c8861237
2016-07-26 12:50:30 -07:00
Nicolas Silva 48805c9b3e Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond 2016-07-26 16:48:30 +02:00
Carsten "Tomcat" Book 80686f0c22 Backed out changeset c5b0b62fc39e (bug 1245747) for bustage 2016-07-26 14:36:56 +02:00
Edwin Flores 6de3bae6e3 Bug 1245747 - Terminate the EGL display on context loss - r=jgilbert 2016-07-26 13:31:22 +01:00
Jamie Nicol 87c6d84379 Bug 1289005 - Handle GL_BGRA_EXT in GetBytesPerTexel; r=snorp
Also, do not MOZ_CRASH for unknown types and formats. The
gfxCriticalError will assert in debug builds and provide the values of
unknown types or formats.

MozReview-Commit-ID: 46sWBdOdqiE

--HG--
extra : transplant_source : %1CP%D9%AD%27%B25%7F%88jir%AD%CD%0A%C1%FF3A%9D
2016-07-25 14:24:34 +01:00
Carsten "Tomcat" Book 574d0d452b merge mozilla-inbound to mozilla-central a=merge 2016-07-26 11:55:54 +02:00
Jeff Gilbert 6790ba91a7 Bug 1288649 - Remove NextPowerOfTwo. - r=jrmuizel
MozReview-Commit-ID: 9CR6lscs3d2
2016-07-25 14:46:28 -07:00
Jeff Gilbert 017f27acce Bug 1288649 - Use mfbt IsPowerOfTwo funcs in gfx/. - r=jrmuizel
While fixing non-unified-build errors in dom/canvas, I started hitting a
static_assert that we were calling IsPowerOfTwo with a signed type. It
turns out we have at least three copies of IsPowerOfTwo() in the tree.
Let's drop the non-mfbt ones.

MozReview-Commit-ID: 1fwQw0CrgiE
2016-07-25 14:46:23 -07:00
Andrew Comminos 6fa3ed32ec Bug 1286847 - Remove calls to XGetGeometry from the compositor thread. r=jgilbert,jrmuizel
MozReview-Commit-ID: IAd2y1FgiFn

--HG--
extra : rebase_source : 48bab0df53c02a0abc8bf65927882526aa54e0bf
2016-07-12 15:01:21 -04:00
Carsten "Tomcat" Book b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Benoit Girard 90c16684c7 Bug 1288954 - Only log error if failureId is set. r=jrmuizel
MozReview-Commit-ID: HsjNnHTqaya

--HG--
extra : rebase_source : 17858078f32ecb34146453441bb4f6405c30fcd9
2016-07-24 11:11:09 -04:00
Jamie Nicol 4c00494425 Bug 1164027 - Use MAP_ANONYMOUS instead of opening /dev/zero. r=jrmuizel
MozReview-Commit-ID: 5GeNG5Tm1GS

--HG--
extra : histedit_source : 31e30d68fce2f97015c6e84da953e1b6f04fca50
2016-07-22 14:16:22 +01:00
Carsten "Tomcat" Book 336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Jim Chen ce45a595ab Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 13:49:04 -04:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Benoit Girard 9f3f096a00 Bug 1287182 - log angle failureid via ANGLEPlatformInitialize. r=jrmuizel
MozReview-Commit-ID: 7Cg8AOVij1z

--HG--
extra : rebase_source : 16b3f68041ca9beb65409a9b3d59f4ca0d5f41a6
2016-07-15 18:12:46 -04:00
Jamie Nicol 64528a4fed Bug 1164027 - Do not call glTexImage2D if likely to fail on Adreno 3xx devices; r=jrmuizel,snorp
There is a bug in the graphics driver for Adreno 3xx GPUs on android
versions up to 4.4 which segfaults if a texture allocation fails due to
virtual memory exhaustion.

On affected devices, guess whether an allocation would succeed and avoid
calling glTexImage2D where we believe it would fail. As the texture will
not be allocated this will likely cause problems such as black
rectangles appearing on the screen, but that is preferable to crashing.

MozReview-Commit-ID: 7xVI22pAdwb

--HG--
extra : transplant_source : %12%2B%C9%E2%DC%10%BE%C9%A7%E4%2C%FF%27%80%5D7%E0%8B%A2U
2016-07-15 16:58:58 +01:00
eyim 70e55b9795 Bug 1271770 - Fallback to WARP if accelerated ANGLE fails r=BenWa,jrmuizel
MozReview-Commit-ID: LDJON8Vie5R

--HG--
extra : rebase_source : 9f1dda1f931b8b4ad91acda5a573587752e8017d
2016-07-13 13:51:40 -04:00
Jeff Gilbert 95dd193042 Bug 1136494 - Try to pull <windows.h> include out of GLContext.h. - r=mtseng
MozReview-Commit-ID: 7LwGBIxUqxU
2016-07-18 00:19:19 -07:00
Jeff Gilbert c62e7f4e72 Bug 1250710 - Save and restore state, since this is used by WebGL. - r=ethlin
MozReview-Commit-ID: 3KZdIMpcRch
2016-07-17 21:44:59 -07:00
Jeff Gilbert 2029fa20f2 Bug 1250710 - User of ReadPixel should clear PBO to 0. - r=ethlin
MozReview-Commit-ID: JvXOfN6138g
2016-07-17 21:44:49 -07:00
Jeff Gilbert aba7d41e6f Bug 1250710 - Remove ScopedUnpackState due to unused. - r=ethlin
MozReview-Commit-ID: CO2ojolD6Lg
2016-07-17 21:44:37 -07:00
Jeff Gilbert a8f58c13ac Bug 1250710 - Update usages of ScopedPackAlignment. - r=jrmuizel
MozReview-Commit-ID: DgngFxBu8kn
2016-07-17 21:44:33 -07:00
Jeff Gilbert cb96b6df5d Bug 1250710 - Remove packAlign save/restore from ScopedGLDrawState. - r=jrmuizel
MozReview-Commit-ID: CESZzSfHbFj
2016-07-17 21:44:30 -07:00
Jeff Gilbert e60281fa97 Bug 1250710 - Remove redundant IsCurrent checks. - r=ethlin
MozReview-Commit-ID: GApYK5HC0EO
2016-07-17 21:44:21 -07:00
Jeff Gilbert 6a332496c2 Bug 1250710 - Update scoped pack/unpack helpers. - r=jrmuizel
MozReview-Commit-ID: 1WHVAAb4V00
2016-07-17 21:44:18 -07:00
Jeff Gilbert 93f65aed12 Bug 1250710 - Add PACK PBO support. - r=jrmuizel
MozReview-Commit-ID: DK7FgtE9ymm
2016-07-17 21:44:05 -07:00
Edwin Flores c8851b53f9 Bug 1264505 - Target EGLImage to GL_TEXTURE_2D if OES_EGL_image_external extension is not available - r=jgilbert 2016-07-13 11:16:54 +01:00
Edwin Flores 84b68e96ff Bug 1264505 - Remove unused method SharedSurface_EGLImage::AcquireConsumerTexture - r=jgilbert 2016-07-13 11:16:54 +01:00
Edwin Flores 5dbad5ff3a Bug 1264505 - Disable OES_EGL_image_external extension on Mali-400 MP - r=jgilbert 2016-07-13 11:16:54 +01:00
Lee Salzman 16ca3223d9 Bug 1286317 - part 1 - remove Qt widget usage from gfx. r=jrmuizel 2016-07-12 20:27:57 -04:00
Wes Kocher 0dcab503c5 Merge m-c to inbound, a=merge CLOSED TREE 2016-07-12 17:16:47 -07:00
Andrew Comminos 4ecad4a8e4 Bug 1195359 - Use a new display on the compositor thread when using GLX and the GL compositor. r=lsalzman
MozReview-Commit-ID: G4Yd0p9R1fh
2016-07-12 14:05:17 -04:00
Andrew Comminos f7bfa30117 Bug 1284934 - Use gfxPrefs to check ASAP mode in GLContextProviderGLX. r=jgilbert
MozReview-Commit-ID: 8F2hP1gt65V

--HG--
extra : rebase_source : 6fc55c326c3d21dc270c0a5f245ec4952007cb26
2016-07-06 13:18:45 -04:00
stefanh@inbox.com 13348e25c7 Bug 1280827 - Remove some obsolete OS X version checks in gfx/. r=jrmuizel. 2016-07-10 13:11:33 +02:00
Chris Peterson 43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Jeff Gilbert b5ca635c39 Bug 1285044 - Remove unused NV_fence from ShSurfANGLE. - r=mtseng
MozReview-Commit-ID: LhYzgGdOVEq
2016-07-07 09:16:28 -07:00
Jeff Gilbert 59e908e368 Bug 1284355 - ColorBuffer exts go core in ES3.2, not ES3. - r=ethlin
MozReview-Commit-ID: 1fLJ434Csb5
2016-07-05 12:52:42 -07:00
kearwood d8776eeec9 Bug 1284292 - Allow GLScreenBuffer::CreateFactory to work without a CompositableForwarder r=gw280
- GLScreenBuffer::CreateFactory has been overloaded to accept either
  a CompositableForwarder or a ClientIPCAllocator.
- WebVR 1.0 API implementation in Bug 1250244 uses GLScreenBuffer
  without a CompositableForwarder.

MozReview-Commit-ID: GWR1XuIgPBT

--HG--
extra : rebase_source : 5a8d058b6f08345eb431b1a6d39bdce3882487ee
2016-07-04 11:13:15 -07:00
Carsten "Tomcat" Book eec8b2656e Merge mozilla-central to autoland 2016-07-02 11:16:11 +02:00
Jeff Gilbert 720e4fde9b bug 1268638 - Cleanup better in failure cases. - r=jrmuizel
MozReview-Commit-ID: 661wHH47xr6
2016-07-01 13:15:55 -07:00
Jeff Gilbert a16d416c5a bug 1268638 - Call ProducerRelease in ~GLScreenBuffer. - r=jrmuizel
MozReview-Commit-ID: HmczIAmRqTH
2016-07-01 13:15:49 -07:00
Jeff Gilbert 3934a9613e bug 1268638 - Empty functions defs can be in header. - r=jrmuizel
MozReview-Commit-ID: AOeZizapySH
2016-07-01 13:15:43 -07:00
Jeff Gilbert aa18e3d272 Bug 1267879 - Fix logic.
MozReview-Commit-ID: JiZUQZYhrj1
2016-07-01 12:01:42 -07:00
Jeff Gilbert cef5e3c9cc Bug 1267879 - Only check robustness if it's supported. - r=jrmuizel
MozReview-Commit-ID: 4RNjnWFccID
2016-07-01 12:01:39 -07:00
Jeff Gilbert 4973d611f7 Bug 1267879 - Fix WGL robustness. - r=jrmuizel
MozReview-Commit-ID: IpstmnnGM0N
2016-07-01 12:01:36 -07:00
Sebastian Hengst 0642c8d7d3 Backed out changeset 04d79227660a (bug 1267879) for failing talos glterrain on Windows. r=backout 2016-07-01 00:35:32 +02:00
Sebastian Hengst 4c9f3f326e Backed out changeset ebf87300031f (bug 1267879) 2016-07-01 00:34:55 +02:00
Jeff Gilbert 5ab2e8878e Bug 1267879 - Only check robustness if it's supported. - r=jrmuizel
MozReview-Commit-ID: 4RNjnWFccID
2016-06-30 13:51:53 -07:00
Jeff Gilbert 91b80dc1c5 Bug 1267879 - Fix WGL robustness. - r=jrmuizel
MozReview-Commit-ID: IpstmnnGM0N
2016-06-30 13:51:49 -07:00
Benoit Girard 30104aca1e Bug 1280609 - Remove FEATURE_FAILURE_EGL_LIB_INIT. r=jrmuizel
MozReview-Commit-ID: B3F3cVV7fCS

--HG--
extra : rebase_source : ad6879bfad720b6fb3266c828bbff49afa383c09
2016-06-30 12:00:00 -04:00
Andrew Comminos b48d3626b3 Bug 1280744 - Set swap interval to 0 when running in ASAP mode on GLX. r=jgilbert
MozReview-Commit-ID: FYKDeBVUhnd

--HG--
extra : rebase_source : 2c0e11b20c8ee9d92523597b51493e2014d00084
2016-06-18 23:32:33 -04:00
Jeff Gilbert 41c6dce417 Bug 1279657 - Fix missed callsites. - r=jrmuizel
MozReview-Commit-ID: 8RY2D5OTnZ5
2016-06-21 14:04:00 -07:00
Jeff Gilbert fe7590ad04 Bug 1279657 - failureId outvar should be a pointer. - r=benwa
MozReview-Commit-ID: 4s0OqZcHno5
2016-06-21 14:04:00 -07:00
Jeff Gilbert f24d3f8f8b Bug 1279657 - Star to left against type. - r=jrmuizel
MozReview-Commit-ID: IAuzZp4qcRX
2016-06-21 14:04:00 -07:00
Jeff Gilbert acda27dffc Bug 1279657 - Reference declarations should have the & against the type. - r=jrmuizel
MozReview-Commit-ID: 7RAd0TUJHfB
2016-06-21 14:04:00 -07:00
Jeff Gilbert 6d26b79b7b Bug 1278403 - Clarify crash message in case anyone unfamiliar runs into this. - r=jrmuizel
MozReview-Commit-ID: KfLv9fpZyvE
2016-06-21 13:47:30 -07:00
Jeff Gilbert 87e8222d4d Bug 1278403 - Misc code cleanup. - r=jrmuizel
MozReview-Commit-ID: 3ccHiLQM6lm
2016-06-21 13:47:30 -07:00
Jeff Gilbert 6b0581243f Bug 1278403 - Choose GLContext::DebugFlags based on ContextCreateFlags. - r=jrmuizel
MozReview-Commit-ID: KSjIhu8I20C
2016-06-21 13:47:30 -07:00
Jeff Gilbert 48df3413eb Bug 1278403 - Fix formatting.
MozReview-Commit-ID: 12ArnWLnPLG
2016-06-21 13:47:30 -07:00
Jeff Gilbert 774abaa5e4 Bug 1278403 - Spread CreateContextFlags to GLContext::ctor. - r=jrmuizel
MozReview-Commit-ID: 4rPitIpn60l
2016-06-21 13:47:30 -07:00
Sean Stangl bea245dbfc Bug 1281015 - Remove unused mConsumerKeyedMutex. r=kamidphish 2016-06-20 11:09:00 -04:00
Carsten "Tomcat" Book 27b9dd5031 Backed out changeset a95a934791f7 (bug 1279657) for bustage on a CLOSED TREE 2016-06-17 13:33:26 +01:00
Carsten "Tomcat" Book 0f670f3910 Backed out changeset dfe70885c37c (bug 1279657) 2016-06-17 13:33:08 +01:00
Carsten "Tomcat" Book c0c2282bfb Backed out changeset 097dc302f5a0 (bug 1279657) 2016-06-17 13:33:06 +01:00
Jeff Gilbert 30c5609435 Bug 1279657 - failureId outvar should be a pointer. - r=benwa
MozReview-Commit-ID: 4s0OqZcHno5
2016-06-17 05:10:55 -07:00
Jeff Gilbert 1d4c021d59 Bug 1279657 - Star to left against type. - r=jrmuizel
MozReview-Commit-ID: IAuzZp4qcRX
2016-06-17 05:10:55 -07:00
Jeff Gilbert 3d08cc27b5 Bug 1279657 - Reference declarations should have the & against the type. - r=jrmuizel
MozReview-Commit-ID: 7RAd0TUJHfB
2016-06-17 05:10:55 -07:00
Sotaro Ikeda f731d220ed Bug 1252835 - Make TextureHost recycling implicit r=nical 2016-06-15 04:28:10 -07:00
Phil Ringnalda 2aeaa4b735 Back out 2 changesets (bug 1267879) for webgl crashes
CLOSED TREE

Backed out changeset 4f3df5eadf59 (bug 1267879)
Backed out changeset 4c2a18cac92b (bug 1267879)
2016-06-10 19:17:17 -07:00
Jeff Gilbert 05bf436edd Bug 1267879 - Only check robustness if it's supported. - r=jrmuizel
MozReview-Commit-ID: 4RNjnWFccID
2016-06-10 17:47:18 -07:00
Jeff Gilbert c3f1f735b3 Bug 1267879 - Fix WGL robustness. - r=jrmuizel
MozReview-Commit-ID: IpstmnnGM0N
2016-06-10 17:47:16 -07:00
eyim b0ca07b635 Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
MozReview-Commit-ID: FjLA9xNH3zD

--HG--
extra : rebase_source : 5809a1f8126360b3fa8ee069b3a463747cb31e6f
2016-06-06 11:17:23 -04:00
Andrew Comminos 745e332e1b Bug 1279335 - Use TiledTextureImage as a fallback on all GL implementations when exceeding the maximum texture size. r=nical
MozReview-Commit-ID: HsVmeuFhnP5

--HG--
extra : rebase_source : b7429c0b845d9f3240a226f3c5fa7af30fac734b
2016-06-09 16:39:11 -04:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Kearwood (Kip) Gilbert 8a50416d83 Bug 1111689 - Part 1: Let EXT_shader_texture_lod play when ARB_shader_texture_lod can play. r=jgilbert 2016-06-08 17:28:49 -07:00
Andrew Comminos 0451f41d19 Bug 1197954 - Add support for GLX_SGI_video_sync to GLContextProviderGLX. r=jgilbert
MozReview-Commit-ID: JnNLEbsKjzl
2016-06-08 16:26:36 -04:00
Dylan Roeh 26e9a5cd2f Bug 1136364 - Move EGLSurface creation out of GLController.java. r=snorp 2016-06-08 08:38:45 -05:00
Dylan Roeh b36a748d2f Bug 1271103 - Backs out the patch for Bug 1136364 and related patches. r=snorp 2016-06-07 09:25:26 -05:00
Benoit Girard 2586414710 Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
MozReview-Commit-ID: 24eb4FXMOiI

--HG--
extra : rebase_source : 391e44f4d4fdcf5782053fc6c3e9b17e651a9a1f
2016-06-06 16:52:42 -04:00
Benoit Girard 24a4187d15 Backed out changeset 4264b01fd313 (Bug 1276732) for causing build bustage
MozReview-Commit-ID: KnEpCcI9a13
2016-06-06 13:37:59 -04:00
Benoit Girard c391acc0f7 Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
MozReview-Commit-ID: Am733GJkOSb

--HG--
extra : rebase_source : 1eaf4e281b2415f0adcae7e9585a29d912685358
2016-06-06 13:20:13 -04:00
Benoit Girard e415083929 Bug 1274046 - Add FailureId to gfxConfig (FeatureState). r=dvander
MozReview-Commit-ID: Cig23OR7tWi

--HG--
extra : rebase_source : 908c5469bcf1211bcced8542835570836b8a7e8a
2016-06-03 14:54:56 -04:00
Jonathan Watt 03036022ec Bug 1277862, part 2 - Rename Moz2D's Filter to SamplingFilter in the rest of gfx/. r=Bas 2016-05-25 17:01:18 +01:00
Nathan Froyd b61b54f642 Bug 1277647 - return the correct type from ANativeWindow_setBuffersGeometry; r=snorp
This function returns a boolean, so let's return that, rather than
relying on pointer-to-boolean coercion.
2016-06-03 18:31:05 -04:00
Benoit Girard d1a26c1e94 Backout d9111a0d9a44(bug 1274046) for windows bustage on a CLOSED TREE
MozReview-Commit-ID: 3qdijVGuw3O
2016-06-02 01:56:58 -04:00
Benoit Girard 80d61a794a Bug 1274046 - Add FailureId to gfxConfig (FeatureState). r=dvander
MozReview-Commit-ID: FOITlJIMM0Z

--HG--
extra : rebase_source : d76a50e368b2df5f348f6d34136854f2be6166d8
2016-05-26 18:14:35 -04:00
Benoit Girard b754725d0c Bug 1275987 - Add a 'reason for warp' histogram. r=jgilbert
MozReview-Commit-ID: 7dQf7jLupqL

--HG--
extra : rebase_source : 579254996e28395c0dcde41b438de85582a43657
2016-05-26 19:05:13 -04:00
Jeff Muizelaar 2418bd8394 Bug 1271657. Redo gfxConfig support for HW D3D11 ANGLE. r=dvander 2016-05-24 14:24:03 -04:00
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