<?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>1186</bug_id>
          
          <creation_ts>2015-08-03 17:47:18 +0200</creation_ts>
          <short_desc>NEWT Window: Use a Bitfield holding all state flags and expose it accordingly.</short_desc>
          <delta_ts>2015-09-27 03:25:12 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Newt</product>
          <component>core</component>
          <version>2.3.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>637</blocked>
    
    <blocked>1188</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>FEATURE</cf_type>
          <cf_scm_refs>gluegen e241034942725b7a189cb6186fd331d9defde7bc
gluegen 0caa9474833a224060b9e4deefb7e0b171a8f273
gluegen 6296e71c438c45efa5e952b77245dd8c4a3afbbb
gluegen c0f38b3f8d862d8ce38c36ad7459494a11d833e3
gluegen 805800e9b02acf54a6cc5a04ce94c9b465c42f43
gluegen 047e9adaf2a5f51f7acfa194a744c99b6bfadaea
gluegen 8342d3bdbe2e14ad44dfc708e00daf721dae6a58
gluegen 74c25e4f1ee32686229c4032671b94022269d33b
gluegen bea171a16539b16b493acc9cc0e102985e2939a6
gluegen fb970d92bc737afe34e23a0667b1737c6b105fde
jogl 1a8b5c63c2f5328724a84ced2fa16a04ee6e8ac5
jogl 87f29ea276d70171bbf227c0800991349ccf4873
jogl 24b646d387b3d85467bb22763b016a556d665707
jogl da1a4cc5bc4a7fda0605709b61a63564b9070378
jogl 2d837a7a7130702ad36b694875613fae77c7ef06</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>4862</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-08-03 17:47:18 +0200</bug_when>
    <thetext>Instead of having 10s of boolean fields for tracking
NEWTs Window states like visibility, decoration, always-on-top, 
pointer-visibility, ..
we shall utilize a Bitfield to hold these states efficiently.

Further we shall expose this via an API entry
and enum-type holding all states.

The core state API methods may stay intact (visibility, fullscreen),
more &apos;simple&apos; states like decoration, always-on-top, pointer-visibility, .. 
shall get folded into the new single get/set API using the enum-type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4864</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-08-03 17:54:49 +0200</bug_when>
    <thetext>gluegen e241034942725b7a189cb6186fd331d9defde7bc
gluegen 0caa9474833a224060b9e4deefb7e0b171a8f273
gluegen 6296e71c438c45efa5e952b77245dd8c4a3afbbb
gluegen c0f38b3f8d862d8ce38c36ad7459494a11d833e3
gluegen 805800e9b02acf54a6cc5a04ce94c9b465c42f43
gluegen 047e9adaf2a5f51f7acfa194a744c99b6bfadaea
gluegen 8342d3bdbe2e14ad44dfc708e00daf721dae6a58
gluegen 74c25e4f1ee32686229c4032671b94022269d33b
gluegen bea171a16539b16b493acc9cc0e102985e2939a6
gluegen fb970d92bc737afe34e23a0667b1737c6b105fde

^^ Implement GlueGen&apos;s new Bitfield interface
using 32bit integer field and array,
depending on desired bitsize.
All validated by unit tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4865</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-08-03 17:56:31 +0200</bug_when>
    <thetext>jogl 1a8b5c63c2f5328724a84ced2fa16a04ee6e8ac5
jogl 87f29ea276d70171bbf227c0800991349ccf4873
jogl 24b646d387b3d85467bb22763b016a556d665707
jogl da1a4cc5bc4a7fda0605709b61a63564b9070378

- Use GlueGen&apos;s Bitfield instead of IntBitfield
- NEWT.WindowImpl: Adopt synchronized Bitfield for state flags
  replacing 11 booleans.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4900</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-08-10 15:48:10 +0200</bug_when>
    <thetext>(In reply to comment #0)
&gt; Instead of having 10s of boolean fields for tracking
&gt; NEWTs Window states like visibility, decoration, always-on-top, 
&gt; pointer-visibility, ..
&gt; we shall utilize a Bitfield to hold these states efficiently.
&gt; 
&gt; Further we shall expose this via an API entry
&gt; and enum-type holding all states.

No enum-type, due to efficiency.

&gt; 
&gt; The core state API methods may stay intact (visibility, fullscreen),
&gt; more &apos;simple&apos; states like decoration, always-on-top, pointer-visibility, .. 
&gt; shall get folded into the new single get/set API using the enum-type.

get state via bit-field, however the explicit API 
  [get|set]&lt;FEATURE&gt;(..)
stays intact.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4907</commentid>
    <comment_count>4</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-08-10 16:25:35 +0200</bug_when>
    <thetext>commit 2d837a7a7130702ad36b694875613fae77c7ef06

- refine state bits/mask and usage</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>