<?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>271376</bug_id>
          
          <creation_ts>2024-03-21 05:03:53 -0700</creation_ts>
          <short_desc>[Skia] Check if glFence is available before using it</short_desc>
          <delta_ts>2024-03-31 09:41:37 -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>Platform</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>268972</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Carlos Garcia Campos">cgarcia</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>ujwal.koneru</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2022711</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-03-21 05:03:53 -0700</bug_when>
    <thetext>If not available we need to call GrDirectContext::submit() with GrSyncCpu=kYes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2022715</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-03-21 05:54:27 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/26241</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2022749</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-03-21 08:11:03 -0700</bug_when>
    <thetext>Committed 276463@main (c4b3e26f6881): &lt;https://commits.webkit.org/276463@main&gt;

Reviewed commits have been landed. Closing PR #26241 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2022750</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-21 08:12:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/125168348&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2022886</commentid>
    <comment_count>4</comment_count>
    <who name="ujwal koneru">ujwal.koneru</who>
    <bug_when>2024-03-21 14:42:03 -0700</bug_when>
    <thetext>Hi Carlos,

I am checking in to playstation build failure for this change(https://build.webkit.org/#/builders/42/builds/39115). It looks like GL_SYNC_GPU_COMMANDS_COMPLETE is not available from gles3 headers.(gl3) In gl2 and gl2ext, I could not see the declaration at https://registry.khronos.org/OpenGL/api/GLES2/gl2ext.h

The declaration is available from gl3.h
https://registry.khronos.org/OpenGL/api/GLES3/gl3.h

I am wondering if the code was intended for gl3 check/apple extension support check(GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE ). Please advise.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2025015</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-03-31 09:41:37 -0700</bug_when>
    <thetext>Yes, in that case I guess we need to include gl3.h in the #if USE(LIBEPOXY) else.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>