⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 269123 in webkit


Ignore:
Timestamp:
Oct 28, 2020, 2:09:12 PM (6 years ago)
Author:
Said Abou-Hallawa
Message:

[GPU Process] Eagerly flush the PutImageData item to the GPU Process
https://bugs.webkit.org/show_bug.cgi?id=218116

Reviewed by Simon Fraser.

Flush the DrawingContext of the RemoteImageBufferProxy once the PutImageData
item is recorded. So no expensive operation is going to block the painting.

  • WebProcess/GPU/graphics/RemoteImageBufferProxy.h:
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r269118 r269123  
     12020-10-28  Said Abou-Hallawa  <said@apple.com>
     2
     3        [GPU Process] Eagerly flush the PutImageData item to the GPU Process
     4        https://bugs.webkit.org/show_bug.cgi?id=218116
     5
     6        Reviewed by Simon Fraser.
     7
     8        Flush the DrawingContext of the RemoteImageBufferProxy once the PutImageData
     9        item is recorded. So no expensive operation is going to block the painting.
     10
     11        * WebProcess/GPU/graphics/RemoteImageBufferProxy.h:
     12
    1132020-10-28  Tim Horton  <timothy_horton@apple.com>
    214
  • trunk/Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.h

    r269065 r269123  
    121121        ASSERT(m_backend->resolutionScale() == 1);
    122122        m_drawingContext.recorder().putImageData(inputFormat, imageData, srcRect, destPoint, destFormat);
     123        flushDrawingContextAndCommit();
    123124    }
    124125
Note: See TracChangeset for help on using the changeset viewer.