Bug 164

Summary: Expose render-to-texture target
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P4    
Version: 1   
Hardware: All   
OS: all   
Type: FEATURE SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:47:52 CET


---- Reported by tedmunds 2005-06-05 13:08:33 ----

The current render-to-texture functionality allows a Pbuffer to be bound to either
GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE_NV (based on the value of
offscreenRenderToTextureRectangle set in the GLCapabalities object).  However,
in some cases, the resulting texture target may not be what the programmer
expects (eg. if GL_TEXTURE_RECTANGLE_NV is not available).  By adding an
accessor to GLPbuffer (and, hence to GLPbufferImpl as well as GLContext and all
its subclasses), the actual texture target being used could be made available to
the API programmer.

Issue 163 refers to an implementation that also includes an implementation of
this feature.



---- Additional Comments From kbr 2005-06-22 01:14:46 ----

Thanks for the suggestion and patch. However, the OpenGL community is moving
away from pbuffers and toward the frame buffer object extension, which is a more
portable and higher-performance solution for offscreen rendering than pbuffers.
I'm therefore reluctant to enhance JOGL's pbuffer implementation significantly
at this time, because we're trying to stabilize the final release of the current
JOGL APIs. Your patch will be considered for a future version of JOGL
implementing the JSR-231 APIs.




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

This bug was previously known as _bug_ 164 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=164

Bug has invalid status, setting status to "NEW".
   Previous status was "STARTED".