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

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1016</bug_id>
          
          <creation_ts>2014-06-06 19:39:30 +0200</creation_ts>
          <short_desc>GLJPanel Offscreen FBO size may exceed GL MAX TEXTURE SIZE, only use an FBO TextureAttachment if required</short_desc>
          <delta_ts>2014-07-28 19:06:13 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>awt</component>
          <version>2</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>1037</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>askinner</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>9be28a33fa92cfa52bdf13ad5c21f8317f66c319</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3944</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-06-06 19:39:30 +0200</bug_when>
    <thetext>Some GL implementations (Mesa) have the limits:
  [texture 2048, renderbuffer 4096]

When creating the offscreen FBO for GLJPanel w/ a size exceeding
above limits - it fails ofc.

Several mitigation are possible:
  [A] Use a color- renderbuffer w/o texture using the increased limit, if:
        [A.1] renderbuffer limit is not exceeded
        [A.2] not using GLSL vertical flip, i.e.
           - setSkipGLOrientationVerticalFlip
           - java pixel copy

  [C] Scale the FBO if exceeding both limits [texture- and renderbuffer)

  [B] Use tiled rendering (optional - expensive, should be avoided)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4041</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-07-28 19:06:13 +0200</bug_when>
    <thetext>9be28a33fa92cfa52bdf13ad5c21f8317f66c319: 

We only require an FBO TextureAttachment if using GLSL vertical flip,
otherwise we simply requires a color renderbuffer.
    
Further, the &apos;FBO fboFlipped&apos; in GLSL vertical flip mode also simply requires a color renderbuffer.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>