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