Changeset 242826 in webkit
- Timestamp:
- Mar 12, 2019, 1:57:43 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/canvas/webgl/largeBuffer-expected.txt (added)
-
LayoutTests/fast/canvas/webgl/largeBuffer.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/html/canvas/WebGLBuffer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r242813 r242826 1 2019-03-12 Dean Jackson <dino@apple.com> 2 3 [WebGL] WebGLBuffer can be too large 4 https://bugs.webkit.org/show_bug.cgi?id=195068 5 <rdar://problem/48414289> 6 7 Reviewed by Antoine Quint. 8 9 * fast/canvas/webgl/largeBuffer-expected.txt: Added. 10 * fast/canvas/webgl/largeBuffer.html: Added. 11 1 12 2019-03-12 Ryan Haddad <ryanhaddad@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r242818 r242826 1 2019-03-12 Dean Jackson <dino@apple.com> 2 3 [WebGL] WebGLBuffer can be too large 4 https://bugs.webkit.org/show_bug.cgi?id=195068 5 <rdar://problem/48414289> 6 7 Reviewed by Antoine Quint. 8 9 When creating an element array buffer, make sure to 10 test against the maximum size of an ArrayBuffer, rather 11 than just assume it can be created. 12 13 Test: fast/canvas/webgl/largeBuffer.html 14 15 * html/canvas/WebGLBuffer.cpp: 16 (WebCore::WebGLBuffer::associateBufferDataImpl): 17 1 18 2019-03-12 Sihui Liu <sihui_liu@apple.com> 2 19 -
trunk/Source/WebCore/html/canvas/WebGLBuffer.cpp
r239427 r242826 63 63 switch (m_target) { 64 64 case GraphicsContext3D::ELEMENT_ARRAY_BUFFER: 65 if (byteLength > std::numeric_limits<unsigned>::max()) 66 return false; 65 67 m_byteLength = byteLength; 66 68 clearCachedMaxIndices();
Note:
See TracChangeset
for help on using the changeset viewer.