Nicolas Silva
24239ea4f0
Bug 13821850 - Return false in GLContext::Readback if MakeCurrent failed. r=jgilbert
2017-07-24 12:24:18 +02:00
Nicolas Silva
bda3e29a75
Bug 1382185 - Check the status of MakeCurrent in GLContext.cpp. r=jgilbert
2017-07-24 12:24:14 +02:00
Sylvestre Ledru
7c0ae251cd
Bug 1381253 - Remove redundant control flow declarations rs=ehsan
...
MozReview-Commit-ID: FFxP4aMCbOL
--HG--
extra : amend_source : 3aec108430b11048f47ffe19d5da7ac5034770a9
2017-07-15 19:03:04 +02:00
Samuel Vargas
cf725b7488
Bug 1367613 - Track and spew synchronous/blocking GL call counts. r=jgilbert
2017-07-13 14:26:00 -04:00
Samuel Vargas
9140fdd298
Bug 1378571 - Avoid unnecessary MakeCurrentImpl calls when GL context is already current - r=jgilbert
2017-07-07 16:16:00 +02:00
Samuel Vargas
8e0b9d6ceb
Bug 1367570 - Explicitly set vertex attribs [1,3] to opaque black - r=jgilbert
2017-05-26 19:48:50 -07:00
Lee Salzman
5cc2508837
Bug 1340627 - part 5 - fix SkiaGL glue for Skia m59. r=mchang
...
MozReview-Commit-ID: LelzAgAdWb7
2017-05-09 22:31:07 -04:00
Carsten "Tomcat" Book
ac258e9322
Backed out changeset 84fd6b2bfaf6 (bug 1340627)
2017-05-11 12:51:54 +02:00
Lee Salzman
1eea2d3996
Bug 1340627 - part 5 - fix SkiaGL glue for Skia m59. r=mchang
...
MozReview-Commit-ID: LelzAgAdWb7
2017-05-09 22:31:07 -04:00
Wes Kocher
24a327994e
Backed out 9 changesets (bug 1340627) for graphical glitches a=backout
...
Backed out changeset 0b1371055c7f (bug 1340627)
Backed out changeset f152be1fadb7 (bug 1340627)
Backed out changeset c691e2ab6a0c (bug 1340627)
Backed out changeset 3cb4bceb8d79 (bug 1340627)
Backed out changeset 026aadd76d06 (bug 1340627)
Backed out changeset fdbd5d281287 (bug 1340627)
Backed out changeset 75fb0d9858a9 (bug 1340627)
Backed out changeset 0d4ec7d38a00 (bug 1340627)
Backed out changeset af6f19870b2a (bug 1340627)
MozReview-Commit-ID: 9dHr7xMZezY
--HG--
rename : gfx/skia/skia/src/core/SkBlitRow.h => gfx/skia/skia/include/core/SkBlitRow.h
rename : gfx/skia/skia/src/effects/SkGaussianEdgeShader.h => gfx/skia/skia/include/effects/SkGaussianEdgeShader.h
rename : gfx/skia/skia/src/xml/SkXMLParser.h => gfx/skia/skia/include/xml/SkXMLParser.h
rename : gfx/skia/skia/include/private/SkMessageBus.h => gfx/skia/skia/src/core/SkMessageBus.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexTessellator.h => gfx/skia/skia/src/gpu/batches/GrAAConvexTessellator.h
rename : gfx/skia/skia/src/gpu/ops/GrAAHairLinePathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAALinearizingConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAALinearizingConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrPathStencilSettings.h => gfx/skia/skia/src/gpu/batches/GrPathStencilSettings.h
rename : gfx/skia/skia/src/gpu/ops/GrStencilAndCoverPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrStencilAndCoverPathRenderer.h
rename : gfx/skia/skia/include/private/GrGLSL_impl.h => gfx/skia/skia/src/gpu/glsl/GrGLSL_impl.h
2017-05-10 10:01:18 -07:00
Lee Salzman
db313c8c40
Bug 1340627 - part 5 - fix SkiaGL glue for Skia m59. r=mchang
...
MozReview-Commit-ID: LelzAgAdWb7
2017-05-09 22:31:07 -04:00
Jeff Gilbert
5b7751c545
Bug 1310222 - Remove GL max-size reduction workarounds on OSX >=10.12 - r=daoshengmu
...
MozReview-Commit-ID: 7CmPNMB9PUM
2017-05-09 13:28:46 -07:00
Jeff Gilbert
408eae60b9
Bug 1356540 - Remove unused TextureGarbageBin. - r=daoshengmu
...
MozReview-Commit-ID: 3EON2kNdEBh
2017-04-19 17:03:03 -07:00
Jeff Gilbert
a0ef36e101
Bug 1347679 - Determine ContextProfile from driver and simplify version parsing. - r=daoshengmu
...
MozReview-Commit-ID: 4mBdJmsxQvD
2017-03-17 17:02:01 -07:00
Jeff Gilbert
19d2cbc4c8
Bug 1339256 - Don't assert on unrecognized context reset strategy - r=daoshengmu
...
MozReview-Commit-ID: CITo6W0FLQS
2017-03-09 18:57:49 -08:00
Jeff Gilbert
08f8399fe5
Bug 1339256 - Double-check robustness. - r=daoshengmu
...
MozReview-Commit-ID: 20csUTf7q6e
2017-03-09 18:57:45 -08:00
Jeff Gilbert
e63fc0df83
Bug 1339256 - Detect robust_buffer_access_behavior. - r=daoshengmu
...
MozReview-Commit-ID: 4w5D9bOQbY8
2017-03-09 18:57:41 -08:00
Tomislav Jurin
348bfffc19
Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj
2016-12-02 13:46:53 -08:00
Jeff Gilbert (:jgilbert)
d570415e50
Bug 1250077 - Implement WEBGL_compressed_texture_astc. - r=ethlin
...
MozReview-Commit-ID: J2jB4tOJrTs
2016-11-28 18:12:32 -08:00
Chih-Yi Leu
33fd01fd18
Bug 1304291 - Move driver workaround code into fReadPixels and remove alpha check. r=jgilbert
...
--HG--
extra : rebase_source : 6389bf82f86441cf0413dd15df3a81cf4decfa4c
2016-10-27 23:23:00 -04:00
Mason Chang
07291e5e0f
Bug 1314338 - Disable OES_EGL_image extension on ATI drivers. r=jgilbert
2016-11-01 15:35:51 -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
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
Jeff Gilbert
6a596c0e80
Bug 1287653 - Spew VENDOR/RENDERER. - r=mtseng
...
MozReview-Commit-ID: AVeY7hyqmgV
2016-08-18 14:07:03 -07: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
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
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
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
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
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
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
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
f24d3f8f8b
Bug 1279657 - Star to left against type. - r=jrmuizel
...
MozReview-Commit-ID: IAuzZp4qcRX
2016-06-21 14:04:00 -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
774abaa5e4
Bug 1278403 - Spread CreateContextFlags to GLContext::ctor. - r=jrmuizel
...
MozReview-Commit-ID: 4rPitIpn60l
2016-06-21 13:47:30 -07:00
Carsten "Tomcat" Book
0f670f3910
Backed out changeset dfe70885c37c (bug 1279657)
2016-06-17 13:33:08 +01: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
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
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
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
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
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
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