<?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>1037</bug_id>
          
          <creation_ts>2014-07-28 01:19:49 +0200</creation_ts>
          <short_desc>FBObject/GLFBODrawable: Do not assume using a TextureAttachment for a Colorbuffer, also make DEPTH optional.</short_desc>
          <delta_ts>2014-07-28 18:40:08 +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>core</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>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>1016</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>askinner</cc>
    
    <cc>sgothel</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>e96882ae569c681e1b28da6701bf547f6dd9eda8
1d813dbb19ee20c7d0a3a4614c88e3733fd489dc</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>4037</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-07-28 01:19:49 +0200</bug_when>
    <thetext>In certain cases a TextureAttachment for the FBO&apos;s color buffer
is not desired, either for performance reasons where texture functionality
is not required or to avoid texture restrictions like size, etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4038</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-07-28 15:20:35 +0200</bug_when>
    <thetext>GLFBODrawable shall use TextureAttachment for the FBO&apos;s color buffer
and a DEPTH buffer per default.

However, the user shall be allowed to use a plain ColorAttachment (renderbuffer)
and also no DEPTH buffer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4039</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-07-28 15:32:51 +0200</bug_when>
    <thetext>commit e96882ae569c681e1b28da6701bf547f6dd9eda8:

- Colorbuffer interface exposes Attachment details
  like format, size, etc as well as it&apos;s implementation
  specifics, isTextureAttachment() and getTextureAttachment() 
  allowing a clean   cast and type query.

- Allow ColorAttachment to be used for non MSAA

- Make TextureAttachment optional for method &apos;use(GL, TextureAttachment)&apos;

- Only validate size against MAX_TEXTURESIZE if using a TextureAttachment

- API Change:
- rename: getColorAttachmentCount() -&gt; getColorbufferCount()
- add: getTextureAttachmentCount()
- change &apos;TextureAttachment getSamplingSink()&apos; -&gt; &apos;Colorbuffer getSamplingSink()&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4040</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-07-28 18:40:08 +0200</bug_when>
    <thetext>1d813dbb19ee20c7d0a3a4614c88e3733fd489dc:

FBObject: Add proper attachment size validation at init, reset and attachColorbuffer(..) / attachRenderbuffer(..)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>