Bug 164 - Expose render-to-texture target
Summary: Expose render-to-texture target
Status: RESOLVED WONTFIX
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P4 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2005-06-05 01:08 CEST by Sven Gothel
Modified: 2015-09-27 03:15 CEST (History)
0 users

See Also:
Type: FEATURE
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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".