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

482 Коммитов

Автор SHA1 Сообщение Дата
Jeff Gilbert 778f942474 Bug 1429963 - Don't allow RBAB on Mesa for now. - r=lenzak
RBAB makes it easy to trigger TDRs, so let's punt on fixing the TDR
handling for now.

MozReview-Commit-ID: LRimFTn1mJA
2018-01-17 12:22:01 -08:00
Jeff Gilbert d9815e3cac Bug 1429754 - Trust the driver about floating point support. - r=daoshengmu
Remove the probe, and remove the cached value check.
Also remove dead code which relies on this sometimes-clamping glGet query.

MozReview-Commit-ID: JA1VgH8fLRB
2018-01-16 15:06:49 -08:00
Jeff Gilbert f4cfe8596a Bug 1428898 - Add TlsScope to reduce fIsCurrent calls. - r=daoshengmu
MozReview-Commit-ID: Kyi8dcO7nAu
2018-01-09 18:43:35 -08:00
Jeff Gilbert 93dcf044db Bug 1427088 - Don't rely on glGetStringi just because it exists. - r=daoshengmu
MozReview-Commit-ID: Gmf6phqDOTK
2018-01-08 18:43:34 -08:00
Jeff Gilbert 68be900a6c Bug 1427668 - Require frag_color_float for color_buffer_*float extensions. - r=daoshengmu
Add probe for faulty frag_color_float implementations.

MozReview-Commit-ID: E2I0mrDuicV
2018-01-05 15:27:59 -08:00
Jeff Gilbert 3331434de7 Bug 1427668 - Unify MaxRenderbufferSize and MaxTextureSize. - r=daoshengmu
MozReview-Commit-ID: AFS0IqmkQEo
2018-01-05 15:27:46 -08:00
Jeff Gilbert df8e8db803 Bug 1427668 - Move the webgl backbuffer into webgl. - r=daoshengmu
MozReview-Commit-ID: 2WpG7mfMRQ8
2018-01-05 15:27:30 -08:00
Jeff Gilbert 6c3abcde6a Bug 1390386 - Use uintptr for the thread-local. - r=daoshengmu
We're just doing a value comparison, so there's no reason this needs to be a pointer.

MozReview-Commit-ID: 6ck2s2fsdq5
2017-11-28 17:13:45 -08:00
Jeff Gilbert ea479cbf60 Bug 1390386 - Remove duplicate IsCurrent checks in MakeCurrentImpls. - r=jrmuizel
MozReview-Commit-ID: LZeLbciWnic
2017-11-28 17:13:17 -08:00
Jeff Gilbert 2bc1cf06c1 Bug 1390386 - Remove old TLS current-context check. - r=daoshengmu
MozReview-Commit-ID: 18GSNztjkTM
2017-11-28 17:12:58 -08:00
Jeff Gilbert 41f0a05667 Bug 1390386 - Add GLContext::mImplicitMakeCurrent. - r=jrmuizel
MozReview-Commit-ID: 5iyGHNzoCpd
2017-11-28 17:12:48 -08:00
Jeff Gilbert 9c2ba78435 Bug 1390386 - Make MakeCurrent const. - r=daoshengmu
MozReview-Commit-ID: 3m3T6iMgZOc
2017-11-28 17:12:39 -08:00
Jeff Gilbert 76e7050969 Bug 1411626 - Make GLContextSymbols a pure aggregate POD. - r=andi
MozReview-Commit-ID: CFRJqfcdXIJ
2017-10-30 14:51:51 -07:00
Jean-Yves Avenard 1f7ad17007 Bug 1215089 - P9: Add support for 10/12 bits YUV surface with OpenGL compositor. r=mattwoodrow
MozReview-Commit-ID: BR9G7cyopz0

--HG--
extra : rebase_source : c9a29724d5c729ae8c0ae64c36428fe426ea006c
2017-09-29 21:51:29 +02:00
Sebastian Hengst 096fb9d2c6 Backed out changeset a2cfe189c828 (bug 1215089) 2017-10-04 16:25:34 +02:00
Jean-Yves Avenard b73921d81c Bug 1215089 - P8: Add support for 10/12 bits YUV surface with OpenGL compositor. r=mattwoodrow
MozReview-Commit-ID: BR9G7cyopz0

--HG--
extra : rebase_source : 4a54e12e04b721288f18f7466829fc69d32154ea
2017-09-29 21:51:29 +02:00
Jeff Gilbert 0a7d25ea13 Bug 1394265 - Don't allow GL version <200. - r=daoshengmu
MozReview-Commit-ID: 8wD8uHFc5kY
2017-09-01 14:30:04 -07:00
Jeff Gilbert cfccc12f18 Bug 1388565 - Fix WEBGL_compressed_texture_s3tc_srgb driver requirements. - r=daoshengmu
MozReview-Commit-ID: 5k7m1ebzlCx
2017-08-15 16:52:35 -07:00
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