<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>107912</bug_id>
          
          <creation_ts>2013-01-24 21:54:29 -0800</creation_ts>
          <short_desc>[TexMap] GraphicsLayerTextureMapper::setContentsNeedsDisplay() marks a ContentsDisplayChange dirty bit.</short_desc>
          <delta_ts>2022-06-21 20:29:42 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>108312</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>107073</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dongseong Hwang">dongseong.hwang</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fujii</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>816201</commentid>
    <comment_count>0</comment_count>
    <who name="Dongseong Hwang">dongseong.hwang</who>
    <bug_when>2013-01-24 21:54:29 -0800</bug_when>
    <thetext>Currently, GraphicsLayerTextureMapper::setContentsNeedsDisplay() marks a DisplayChange dirty bit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877205</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-06-21 20:23:48 -0700</bug_when>
    <thetext>WinCairo WK1 is still using GraphicsLayerTextureMapper.
DisplayChange is needed to update WebGL canvas update.
If I remove the line, the following demo doesn&apos;t render as expected while mouse drugging.
https://threejs.org/examples/#webgl_geometry_teapot

diff --git a/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp b/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
index 465a57e1c558..a661cb1e3ce3 100644
--- a/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
+++ b/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
@@ -77,7 +77,6 @@ void GraphicsLayerTextureMapper::setNeedsDisplay()
 
 void GraphicsLayerTextureMapper::setContentsNeedsDisplay()
 {
-    notifyChange(DisplayChange);
     addRepaintRect(contentsRect());
 }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877207</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-06-21 20:29:23 -0700</bug_when>
    <thetext>I misunderstood. You suggested using ContentsDisplayChange rather than DisplayChange.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877208</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-06-21 20:29:42 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 108312 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>