<?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>811</bug_id>
          
          <creation_ts>2013-08-08 13:48:11 +0200</creation_ts>
          <short_desc>The legacy text renderer doesn&apos;t support GL3</short_desc>
          <delta_ts>2019-03-29 13:58:10 +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>util</component>
          <version>tbd</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Julien Gouesse">gouessej</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>cmbruns</cc>
    
    <cc>gouessej</cc>
          
          <cf_type>FEATURE</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>2877</commentid>
    <comment_count>0</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2013-08-08 13:48:11 +0200</bug_when>
    <thetext>The legacy renderer doesn&apos;t work with GL3 as you can see below:
Exception in thread &quot;main-FPSAWTAnimator-Timer0&quot; java.lang.RuntimeException: javax.media.opengl.GLException: Not a GL2 implementation
Caused by: javax.media.opengl.GLException: Not a GL2 implementation
        at javax.media.opengl.DebugGL3.getGL2(DebugGL3.java:86)
        at com.jogamp.opengl.util.awt.TextRenderer.beginRendering(TextRenderer.java:650)
        at com.jogamp.opengl.util.awt.TextRenderer.beginRendering(TextRenderer.java:405)
        at com.jogamp.opengl.util.awt.TextRenderer.beginRendering(TextRenderer.java:384) 

A contributor provided a patch to improve this renderer but it&apos;s not clean, there are some code duplications, it doesn&apos;t use our shader utilities, it requires some work:
https://github.com/sgothel/jogl/pull/47

Of course, this request for enhancement is not in high priority as:
- the new text renderer always supports the programmable pipeline
- several high level engines already have their own mechanisms to display text</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4425</commentid>
    <comment_count>1</comment_count>
    <who name="Christopher Bruns">cmbruns</who>
    <bug_when>2014-10-28 19:14:52 +0100</bug_when>
    <thetext>@Julien Gouesse: What is the &quot;new text renderer&quot; you speak of? Because I am experiencing this same trouble with &quot;Not a GL2 Implementation&quot; using the class com.jogamp.opengl.util.awt.TextRenderer. Is there another text rendering API I could be using with a GL3 context?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4434</commentid>
    <comment_count>2</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2014-10-28 22:08:11 +0100</bug_when>
    <thetext>Look at com.jogamp.graph.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>