<?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>303</bug_id>
          
          <creation_ts>2007-05-29 11:13:20 +0200</creation_ts>
          <short_desc>Add GL_BGRA code path to Screenshot</short_desc>
          <delta_ts>2010-11-19 01:11:21 +0100</delta_ts>
          <reporter_accessible>0</reporter_accessible>
          <cclist_accessible>0</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.javagaming.org/forums/index.php?topic=16709.0</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>319</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-24 07:50:38 +0100</bug_when>
    <thetext>


---- Reported by kbr 2007-05-29 11:13:20 ----

It would be better to use a GL_BGRA and GL_UNSIGNED_INT_8_8_8_8_REV pixel format
and type in conjunction with a TYPE_INT_ARGB BufferedImage in the Screenshot
class if OpenGL 1.2 is available. This is a more optimized code path through
most vendors&apos; OpenGL drivers. See the above forum posting.



--- Bug imported by sgothel@jausoft.com 2010-03-24 07:50 EDT  ---

This bug was previously known as _bug_ 303 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=303
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>578</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-11-19 01:11:21 +0100</bug_when>
    <thetext>Look at src/junit/com/jogamp/test/junit/jogl/offscreen/Surface2File.java,

which uses offscreen/pbuffer rendering,
reads pixel to a texture and uses TextureIO to save it to a file.

The user is free to handle it the way she wants.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>