Does anyone have any more thoughts on this? We need access to these GL
object IDs, I just want to make sure to do it correctly.

-Aron

On Thu, Mar 5, 2009 at 7:25 AM, Aron Bierbaum <[email protected]> wrote:
> As part of the optimization work that I am working on I would like to
> control when geometry is loaded onto the graphics board. In order to
> accomplish this I have been calling Window::validateGLObject() myself.
> This works great for textures, but I am unable to get access to the
> Geometry object IDs because the interface is protected. Long term I
> agree it would be worth having a read only setting in the .fcd files.
> I am afraid that I don't know enough about this process to make a
> change like that though. For the short term would everyone be alright
> with me manually changing getClassicGLId() and getAttGLId() to be
> public? If need be I can try to stumble through the .fcd file changes.
>
> Thanks,
> Aron
>
> On Wed, Mar 4, 2009 at 5:00 PM, David Kabala <[email protected]> wrote:
>>
>>
>> On Wed, Mar 4, 2009 at 4:54 PM, Carsten Neumann <[email protected]>
>> wrote:
>>>
>>>        Hello Dirk, Aron,
>>>
>>> Dirk Reiners wrote:
>>> > Aron Bierbaum wrote:
>>> >> I don't know if I need to check for ClassicGLIdFieldMask |
>>> >> AttGLIdFieldMask here for sure though.
>>> >
>>> >
>>> > Normally I would say no, but if we expose those fields we might have to.
>>>
>>> currently they are protected (i.e. not user accessible) and marked
>>> internal (i.e. not written to OSB or sent over the net).
>>>
>>> > This brings up an interesting question: would it make sense to have
>>> > public-read-only fields?
>>>
>>> along the regular access="public"/"protected" attribute in the .fcd we
>>> could introduce readaccess="public" (other values do not make sense I
>>> think) and have read only functions generated even for normally
>>> protected fields. Do we need this in the .fcd or is this rare enough to
>>> be done by hand ?
>>
>> My two cents.  I have come across this situation of needing read only access
>> to protected members.  Being able to define this in the .fcd would be
>> appreciated. :)
>>
>> David Kabala
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Opensg-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/opensg-users
>>
>>
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to