<?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>1070</bug_id>
          
          <creation_ts>2014-09-20 21:14:13 +0200</creation_ts>
          <short_desc>Fix glPixelStorei issues w/ ES3 and OpenGL 1.1</short_desc>
          <delta_ts>2019-03-29 17:54:46 +0100</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.3.0</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>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>sgothel</cc>
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs>73a4d809f92126228b64a3bded75686db806be64
d19bb03e3cabc9a50b63c4ce8d866efab7f34860
6363fccee219ce238b0b2ded39c116e2bc8613d5</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>4233</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-09-20 21:14:13 +0200</bug_when>
    <thetext>Don&apos;t utilize glPixelStorei&apos;s PACK/UNPACK IMAGE_HEIGHT and SKIP_IMAGES for Desktop GL &lt; 1.2, avoiding GL-Error

GLBuffers.sizeof(..): Add support for ES3, reading supported glPixelStorei states</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4234</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-09-20 21:14:56 +0200</bug_when>
    <thetext>73a4d809f92126228b64a3bded75686db806be64:

Don&apos;t utilize glPixelStorei&apos;s PACK/UNPACK IMAGE_HEIGHT and SKIP_IMAGES for Desktop GL &lt; 1.2, avoiding GL-Error

Commit fc1e98790a02b4fa7922f3cdd9d437f87d7c99e5
added handling of PACK/UNPACK IMAGE_HEIGHT and SKIP_IMAGES in GLPixelStorageModes.

However, it has been overseen that the four states are not available in OpenGL 1.1.

Adding exclusion of the same if desktop GL &lt; 1.2
and hence avoiding GL errors.

Same applies to GLBuffers.sizeof(..) method.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4235</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-09-20 21:15:28 +0200</bug_when>
    <thetext>d19bb03e3cabc9a50b63c4ce8d866efab7f34860:

GLPixelStorageModes: Emphasize reset*() usage; setUnpackRowLength: GL2ES2 -&gt; GL2ES3; Better adoption of GLPixelStorageModes (GLJPanel, GLReadBufferUtil, TextureIO)

- Emphasize reset*() is being called when saving modes for 1st modification;

- setUnpackRowLength: GL2ES2 -&gt; GL2ES3; Actually GL2ES3 is required for UNPACK_ROW_LENGTH

- Better adoption of GLPixelStorageModes (GLJPanel, GLReadBufferUtil, TextureIO)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4236</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-09-20 21:16:05 +0200</bug_when>
    <thetext>6363fccee219ce238b0b2ded39c116e2bc8613d5:

GLBuffers.sizeof(..): Add support for ES3, reading supported glPixelStorei states</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>