Changeset 223563 in webkit


Ignore:
Timestamp:
Oct 17, 2017 11:49:11 AM (7 years ago)
Author:
Ryan Haddad
Message:

Unreviewed, rolling out r223459.

This change introduced LayoutTest failures.

Reverted changeset:

"WebGL clamps drawingBufferWidth to 4096 pixels on a 5120
monitor/canvas"
https://bugs.webkit.org/show_bug.cgi?id=178223
https://trac.webkit.org/changeset/223459

Location:
trunk
Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r223562 r223563  
     12017-10-17  Ryan Haddad  <ryanhaddad@apple.com>
     2
     3        Unreviewed, rolling out r223459.
     4
     5        This change introduced LayoutTest failures.
     6
     7        Reverted changeset:
     8
     9        "WebGL clamps drawingBufferWidth to 4096 pixels on a 5120
     10        monitor/canvas"
     11        https://bugs.webkit.org/show_bug.cgi?id=178223
     12        https://trac.webkit.org/changeset/223459
     13
    1142017-10-17  Youenn Fablet  <youenn@apple.com>
    215
  • trunk/Source/WebCore/ChangeLog

    r223562 r223563  
     12017-10-17  Ryan Haddad  <ryanhaddad@apple.com>
     2
     3        Unreviewed, rolling out r223459.
     4
     5        This change introduced LayoutTest failures.
     6
     7        Reverted changeset:
     8
     9        "WebGL clamps drawingBufferWidth to 4096 pixels on a 5120
     10        monitor/canvas"
     11        https://bugs.webkit.org/show_bug.cgi?id=178223
     12        https://trac.webkit.org/changeset/223459
     13
    1142017-10-17  Youenn Fablet  <youenn@apple.com>
    215
  • trunk/Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp

    r223459 r223563  
    847847    // know if the underlying FBO uses textures or renderbuffers.
    848848    GC3Dint maxSize = std::min(m_maxTextureSize, m_maxRenderbufferSize);
     849    // Limit drawing buffer size to 4k to avoid memory exhaustion.
     850    const int sizeUpperLimit = 4096;
     851    maxSize = std::min(maxSize, sizeUpperLimit);
    849852    GC3Dint maxWidth = std::min(maxSize, m_maxViewportDims[0]);
    850853    GC3Dint maxHeight = std::min(maxSize, m_maxViewportDims[1]);
Note: See TracChangeset for help on using the changeset viewer.