<?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>232516</bug_id>
          
          <creation_ts>2021-10-29 16:54:19 -0700</creation_ts>
          <short_desc>[GTK] Remove on-demand hardware acceleration setting</short_desc>
          <delta_ts>2023-02-01 08:36:37 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=125526</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=244835</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>210100</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>alicem</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1810322</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2021-10-29 16:54:19 -0700</bug_when>
    <thetext>I understand that GTK 4 port requires always-on accelerated compositing mode. Is this correct?

If so, we should remove the setting from public API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1862896</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-04-20 05:23:26 -0700</bug_when>
    <thetext>I was planning to remove WebKitHardwareAccelerationPolicy and associated functions altogether. I see Carlos has suggested in bug #125526 that we should maybe not do that after all. Not sure what to do now. Remove only the on demand policy?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1893248</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-08-23 08:28:18 -0700</bug_when>
    <thetext>Hi Carlos Garcia, hi Alexander, can you discuss and provide a clear answer as to whether we&apos;ll still have hardware acceleration policy in the new API version? Alexander was saying as recently as a couple days ago that hardware acceleration is mandatory with GTK 4, but this is contradicted by Carlos&apos;s comment in bug #125526. Which is true?

I understand WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND goes away no matter what. The question is whether to continue to provide WEBKIT_HARDWARE_ACCELERATION_POLICY_NEVER or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1893249</commentid>
    <comment_count>3</comment_count>
    <who name="Alice Mikhaylenko">alicem</who>
    <bug_when>2022-08-23 08:29:51 -0700</bug_when>
    <thetext>I mean as far as I know nonaccelerated doesn&apos;t work with GTK4 at least right now? Certainly I wasn&apos;t able to switch to it in minibrowser at least a while ago.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1893252</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-08-23 08:45:13 -0700</bug_when>
    <thetext>Talked to Carlos. Sounds like it *could* work but doesn&apos;t. I will plan to remove the API. If somebody implements it, then we can restore the API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1896485</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-09-06 06:11:55 -0700</bug_when>
    <thetext>Implemented in bug #244835. So we should only remove the on-demand policy, not the entire API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1929820</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-01-31 11:56:14 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/9398</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1930127</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-02-01 08:36:33 -0800</bug_when>
    <thetext>Committed 259686@main (7e5444b964e5): &lt;https://commits.webkit.org/259686@main&gt;

Reviewed commits have been landed. Closing PR #9398 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>