gecko-dev/dom/canvas
Jeff Gilbert 42df5c9dde Bug 1476327 - Test global upper bound for index buffer maxVertId. r=kvark
Particularly in CAD applications, it's common to call drawElements many times on small
ranges of indices. This causes our naive maxVertId range cache to degenerate.

In most cases, the index buffer won't actually contain any indices outside the associated
VAO buffers' ranges. We should test first against this global upper-bound, only testing
for an exact maxVertId for the subrange if the upper-bound test fails.

Differential Revision: https://phabricator.services.mozilla.com/D2488

--HG--
extra : moz-landing-system : lando
2018-07-30 15:33:10 +00:00
..
crashtests Bug 1443671 - Add crashtest r=nical 2018-03-19 18:54:05 +09:00
gtest Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
test Bug 1479078 - Update webgl-mochitest subsuite to new webgl job name. 2018-07-27 19:18:09 +00:00
BasicRenderingContext2D.h Bug 1382027. Allow using an SVGImageElement as a CanvasImageSource. r=mystor 2017-07-19 11:48:49 -04:00
CacheMap.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
CacheMap.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
CanvasGradient.h Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
CanvasImageCache.cpp Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
CanvasImageCache.h
CanvasPath.h
CanvasPattern.h Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
CanvasRenderingContext2D.cpp Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=jgilbert 2018-07-06 10:56:24 +03:00
CanvasRenderingContext2D.h Bug 1453916 - Allow canvas extraction from webextension content-script even with resistFingerprinting turned on. r=kmag,bz 2018-05-14 20:49:32 +02:00
CanvasRenderingContextHelper.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
CanvasRenderingContextHelper.h Bug 967895 - Ask for placeholder data when image extraction is not allowed (Tor 6253). r=jrmuizel 2017-08-22 14:23:41 +08:00
CanvasUtils.cpp Bug 1453916 - Fix bustage. r=me on CLOSED TREE 2018-05-22 20:46:01 +02:00
CanvasUtils.h Bug 1453916 - Allow canvas extraction from webextension content-script even with resistFingerprinting turned on. r=kmag,bz 2018-05-14 20:49:32 +02:00
ImageBitmap.cpp Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
ImageBitmap.h Bug 1445590 - ImageBitmap cannot be cloned/transferred if already closed, r=smaug 2018-03-14 17:37:34 +01:00
ImageBitmapColorUtils.cpp Bug 1346291: update code that accidentally assumed libyuv would define things like int32 r=sotaro,jib 2018-05-09 23:59:16 -04:00
ImageBitmapColorUtils.h Bug 1364552 - Deleted unused RGB24Copy function, and corresponding macros and tests. r=lsalzman 2017-09-07 11:16:45 -04:00
ImageBitmapRenderingContext.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
ImageBitmapRenderingContext.h Bug 1219985 - The canvas rendering context 2d should be opaque if either the moz-opaque attribute is set or if it has been initialized with alpha:false. r=jrmuizel 2018-05-02 11:23:53 -04:00
ImageBitmapSource.h
ImageBitmapUtils.cpp Bug 1339537 - Part 6: Pass std::function values tree by const reference instead of by value, r=ehsan 2017-04-27 12:44:57 -04:00
ImageBitmapUtils.h
ImageData.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
ImageData.h Bug 1440039 - Remove nsIDOMCanvasRenderingContext2D. r=qdot 2018-02-21 20:49:07 +01:00
ImageUtils.cpp Fix DataSourceSurface mapping in ImageUtils.cpp. (bug 1405390 part 5, r=bas) 2017-11-09 00:43:31 -08:00
ImageUtils.h
moz.build Bug 1440849 - Gecko changes due to Angle update. - r=jrmuizel 2018-03-02 13:42:20 -08:00
MurmurHash3.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
MurmurHash3.h
nsICanvasRenderingContextInternal.h Bug 1219985 - The canvas rendering context 2d should be opaque if either the moz-opaque attribute is set or if it has been initialized with alpha:false. r=jrmuizel 2018-05-02 11:23:53 -04:00
OffscreenCanvas.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
OffscreenCanvas.h Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 15 - Offscreen Canvas enabled, r=asuth 2018-01-08 14:05:05 +01:00
TextMetrics.h Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
TexUnpackBlob.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
TexUnpackBlob.h Backed out changeset 91f89d105e2f (bug 1372385) for unexpected passes of test_2_conformance__textures__misc__tex-image-with-format-and-type.html on OS X 2017-06-22 22:23:59 -07:00
WebGL1Context.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGL1Context.h Bug 1330022 - Remove trivial ValidateUniformMatrixTranspose virtual. - r=kvark 2017-02-13 15:37:57 -08:00
WebGL2Context.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGL2Context.h Bug 1359055 - Part 1: PBO offset for WebGL compressedTexImage; r=baku,jgilbert 2017-07-18 18:02:57 +00:00
WebGL2ContextBuffers.cpp Bug 1425488 - Reset last fenceId on write to buffers. - r=lenzak 2017-12-20 18:15:12 -08:00
WebGL2ContextFramebuffers.cpp Bug 1472894 - Forbid too-large ranges in BlitFramebuffer. - r=kvark 2018-07-02 19:20:47 -07:00
WebGL2ContextMRTs.cpp Bug 1427668 - Move the webgl backbuffer into webgl. - r=daoshengmu 2018-01-05 15:27:30 -08:00
WebGL2ContextPrograms.cpp
WebGL2ContextQueries.cpp Bug 1381253 - Remove redundant control flow declarations rs=ehsan 2017-07-15 19:03:04 +02:00
WebGL2ContextRenderbuffers.cpp
WebGL2ContextSamplers.cpp Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak 2017-12-19 22:28:49 -08:00
WebGL2ContextState.cpp Bug 1450148 - Generic TF Buffer slot moved to Context from TFO. - r=kvark 2018-04-03 16:25:21 -07:00
WebGL2ContextSync.cpp Bug 1442502 - Require event loop roundtrip for WebGLSync. - r=kvark 2018-03-07 12:16:16 -08:00
WebGL2ContextTextures.cpp
WebGL2ContextTransformFeedback.cpp Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak 2017-12-19 22:28:49 -08:00
WebGL2ContextUniforms.cpp Bug 1444252 - Check if program is linked in GetActiveUniforms. - r=kvark 2018-03-09 14:56:52 -08:00
WebGL2ContextVAOs.cpp
WebGLActiveInfo.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLActiveInfo.h
WebGLBuffer.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLBuffer.h Bug 1425488 - Reset last fenceId on write to buffers. - r=lenzak 2017-12-20 18:15:12 -08:00
WebGLContext.cpp Bug 1470348 - Enable gfxVRExternal for Android; r=kip 2018-07-10 17:41:58 -07:00
WebGLContext.h Bug 1476327 - Test global upper bound for index buffer maxVertId. r=kvark 2018-07-30 15:33:10 +00:00
WebGLContextBuffers.cpp Bug 1450148 - Generic TF Buffer slot moved to Context from TFO. - r=kvark 2018-04-03 16:25:21 -07:00
WebGLContextDraw.cpp Bug 1476327 - Test global upper bound for index buffer maxVertId. r=kvark 2018-07-30 15:33:10 +00:00
WebGLContextExtensions.cpp Bug 1337157 Disable WEBGL_debug_renderer_info when Resist Fingerprinting is active r=jgilbert 2018-03-26 23:48:35 -05:00
WebGLContextFramebufferOperations.cpp Bug 1443149 - Ensure WebGLFBAttachPoint::HasImage() before dereferencing Format(). r=jrmuizel 2018-03-14 16:42:37 +00:00
WebGLContextGL.cpp Bug 1427668 - Move the webgl backbuffer into webgl. - r=daoshengmu 2018-01-05 15:27:30 -08:00
WebGLContextLossHandler.cpp Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn 2017-10-15 23:15:40 -07:00
WebGLContextLossHandler.h Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug) 2017-06-12 20:20:08 -07:00
WebGLContextState.cpp Bug 1446412 - Forbid implicit construction of WebGLFBAttachPoint. - r=kvark 2018-03-29 18:11:08 -07:00
WebGLContextTextures.cpp Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak 2017-12-19 22:28:49 -08:00
WebGLContextUnchecked.cpp
WebGLContextUnchecked.h
WebGLContextUtils.cpp Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki 2018-04-20 12:55:30 -04:00
WebGLContextUtils.h Bug 1478955 part 1 - Rename JSAutoRealm to JSAutoRealmAllowCCW. r=luke 2018-07-28 12:12:26 +02:00
WebGLContextValidate.cpp Bug 1444563 - Update stencil front/back mismatch validation. - r=kvark 2018-03-16 13:35:03 -07:00
WebGLContextVertexArray.cpp Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak 2017-12-19 22:28:49 -08:00
WebGLContextVertices.cpp Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak 2017-12-19 22:28:49 -08:00
WebGLExtensionBase.cpp
WebGLExtensionBlendMinMax.cpp
WebGLExtensionColorBufferFloat.cpp Bug 1429754 - Trust the driver about floating point support. - r=daoshengmu 2018-01-16 15:06:49 -08:00
WebGLExtensionColorBufferHalfFloat.cpp Bug 1427668 - Require frag_color_float for color_buffer_*float extensions. - r=daoshengmu 2018-01-05 15:27:59 -08:00
WebGLExtensionCompressedTextureASTC.cpp
WebGLExtensionCompressedTextureATC.cpp
WebGLExtensionCompressedTextureES3.cpp
WebGLExtensionCompressedTextureETC1.cpp
WebGLExtensionCompressedTexturePVRTC.cpp
WebGLExtensionCompressedTextureS3TC_SRGB.cpp Bug 1388565 - Fix WEBGL_compressed_texture_s3tc_srgb driver requirements. - r=daoshengmu 2017-08-15 16:52:35 -07:00
WebGLExtensionCompressedTextureS3TC.cpp Bug 1388565 - Fix WEBGL_compressed_texture_s3tc_srgb driver requirements. - r=daoshengmu 2017-08-15 16:52:35 -07:00
WebGLExtensionDebugRendererInfo.cpp
WebGLExtensionDebugShaders.cpp
WebGLExtensionDepthTexture.cpp
WebGLExtensionDisjointTimerQuery.cpp Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak 2017-12-19 22:28:49 -08:00
WebGLExtensionDrawBuffers.cpp Bug 1217290 - Remove WebGLContext impl members r=daoshengmu,jgilbert 2017-07-27 15:48:58 +08:00
WebGLExtensionElementIndexUint.cpp
WebGLExtensionEXTColorBufferFloat.cpp
WebGLExtensionFragDepth.cpp
WebGLExtensionInstancedArrays.cpp
WebGLExtensionLoseContext.cpp
WebGLExtensionMOZDebug.cpp Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak 2017-12-19 22:28:49 -08:00
WebGLExtensions.h Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLExtensionShaderTextureLod.cpp
WebGLExtensionSRGB.cpp Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak 2017-12-19 22:28:49 -08:00
WebGLExtensionStandardDerivatives.cpp
WebGLExtensionTextureFilterAnisotropic.cpp
WebGLExtensionTextureFloat.cpp
WebGLExtensionTextureFloatLinear.cpp Bug 1330433 - OES_texture_float_linear+WebGL2 should make R32F and RG32F filterable. - r=daoshengmu 2017-08-23 01:55:30 -07:00
WebGLExtensionTextureHalfFloat.cpp
WebGLExtensionTextureHalfFloatLinear.cpp Bug 1330433 - OES_texture_float_linear+WebGL2 should make R32F and RG32F filterable. - r=daoshengmu 2017-08-23 01:55:30 -07:00
WebGLExtensionVertexArray.cpp
WebGLFormats.cpp Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj 2018-06-01 17:59:07 +02:00
WebGLFormats.h Bug 1325113 - Implement support for WEBGL_compressed_texture_s3tc_srgb - r=jgilbert,qdot 2017-06-08 14:54:37 -07:00
WebGLFramebuffer.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLFramebuffer.h Bug 1446412 - Forbid implicit construction of WebGLFBAttachPoint. - r=kvark 2018-03-29 18:11:08 -07:00
WebGLFramebufferAttachable.cpp
WebGLFramebufferAttachable.h
WebGLInternalFormatsTable.h
WebGLMemoryTracker.cpp
WebGLMemoryTracker.h
WebGLObjectModel.cpp
WebGLObjectModel.h
WebGLProgram.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLProgram.h Bug 1445577 - Fix -Wmicrosoft-unqualified-friend in WebGLProgram.h. - r=kvark 2018-03-15 22:35:50 -07:00
WebGLQuery.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLQuery.h Bug 1442502 - Require event loop roundtrip for WebGLSync. - r=kvark 2018-03-07 12:16:16 -08:00
WebGLRenderbuffer.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLRenderbuffer.h
WebGLSampler.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLSampler.h
WebGLShader.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLShader.h
WebGLShaderPrecisionFormat.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLShaderPrecisionFormat.h
WebGLShaderValidator.cpp Backed out changeset 781e6389661e (bug 1399501) for assertion failures on gfx/gl/GLContext. CLOSED TREE 2018-07-06 01:49:06 +03:00
WebGLShaderValidator.h Bug 1440849 - Gecko changes due to Angle update. - r=jrmuizel 2018-03-02 13:42:20 -08:00
WebGLStrongTypes.h Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=jgilbert 2018-07-06 10:56:24 +03:00
WebGLSync.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLSync.h Bug 1442502 - Require event loop roundtrip for WebGLSync. - r=kvark 2018-03-07 12:16:16 -08:00
WebGLTexelConversions.cpp Bug 1381253 - Remove redundant control flow declarations rs=ehsan 2017-07-15 19:03:04 +02:00
WebGLTexelConversions.h
WebGLTexture.cpp Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=jgilbert 2018-07-06 10:56:24 +03:00
WebGLTexture.h Bug 1359055 - Part 1: PBO offset for WebGL compressedTexImage; r=baku,jgilbert 2017-07-18 18:02:57 +00:00
WebGLTextureUpload.cpp Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj 2018-06-01 17:59:07 +02:00
WebGLTransformFeedback.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLTransformFeedback.h Bug 1476327 - Test global upper bound for index buffer maxVertId. r=kvark 2018-07-30 15:33:10 +00:00
WebGLTypes.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
WebGLUniformLocation.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLUniformLocation.h
WebGLValidateStrings.cpp
WebGLValidateStrings.h
WebGLVertexArray.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLVertexArray.h Bug 1404196 - Simplify and repair vertex fetch. - r=daoshengmu 2017-11-01 15:18:27 -07:00
WebGLVertexArrayFake.cpp
WebGLVertexArrayFake.h
WebGLVertexArrayGL.cpp Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak 2017-12-19 22:28:49 -08:00
WebGLVertexArrayGL.h
WebGLVertexArrayObject.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
WebGLVertexArrayObject.h
WebGLVertexAttribData.cpp
WebGLVertexAttribData.h Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=jgilbert 2018-07-06 10:56:24 +03:00