<?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>1465</bug_id>
          
          <creation_ts>2023-09-30 01:09:43 +0200</creation_ts>
          <short_desc>Graph / GraphUI: Render a Region&apos;s ColorTexture in proper aspect-ratio, letter-boxed or zoomed (config)</short_desc>
          <delta_ts>2023-09-30 01:50:05 +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>graph</component>
          <version>2.6.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>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>rami.santina</cc>
    
    <cc>sgothel</cc>
          
          <cf_type>FEATURE</cf_type>
          <cf_scm_refs>297c48f4fefd1ab59800524ea5f0dd56684d6786</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6898</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2023-09-30 01:09:43 +0200</bug_when>
    <thetext>Region currently simply bloats a given texture to its region AABBox,
which renders textures with the wrong aspect ratio.

Add facility to program the texture-coordinates to either letter-box
or scaled-up (and cut) true aspect-ratio.
Default shall be zoom (scale-up and cut), 
but user shall be able to set a flag in the Region for letter-box.

Have the shader clip texture coordinates properly, 
best w/o branching to soothe performance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6904</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2023-09-30 01:50:05 +0200</bug_when>
    <thetext>commit 297c48f4fefd1ab59800524ea5f0dd56684d6786

    Bug 1465 - Graph / GraphUI: Render a Region&apos;s ColorTexture in proper aspect-ratio, letter-boxed or zoomed (config) + Bug 1466 Fix color mixing
    
    Bug 1465: Region currently simply bloats a given texture to its region AABBox,
    which renders textures with the wrong aspect ratio.
    
    Add facility to program the texture-coordinates to either letter-box
    or scaled-up (and cut) true aspect-ratio.
    Default shall be zoom (scale-up and cut),
    but user shall be able to set a flag in the Region for letter-box.
    
    Have the shader clip texture coordinates properly,
    best w/o branching to soothe performance.
    
    See functions.glsl</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>