<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
On 1/11/12 3:54 PM, ncalexan wrote:
<blockquote
cite="mid:CAJ+T5PaU9KjzxM41EWQ8DoDkTNGy7kptHqTtVMuXaqZAL_Fc0w@mail.gmail.com"
type="cite">On Wed, Jan 11, 2012 at 2:40 PM, Igor Stasenko [via
Smalltalk]
<br>
<<a moz-do-not-send="true"
href="/user/SendEmail.jtp?type=node&node=4287190&i=0"
target="_top" rel="nofollow" link="external">[hidden email]</a>>
wrote:
<div class="shrinkable-quote"><br>
> On 11 January 2012 20:10, Lawson English <[hidden
email]> wrote:
<br>
>> [pharo list added back in for real this time]
<br>
>>
<br>
>> Would it be best to have a VM primitive that actually
gives this info in a
<br>
>> cross-platform way since it is going to be more and
more useful as time
<br>
>> goes
<br>
>> on?
<br>
>>
<br>
>
<br>
> one big issue with such primitive is lack of options which
i able to
<br>
> contol for context i creating.
<br>
> As you may know there's a lot of different options , like
<br>
> - depth buffer bits, color buffer bits, alpha bits number
of back
<br>
> buffers, subpixel antialiazing,
<br>
> auxuliarry buffers etc
<br>
>
<br>
> as i said before in other posts.. it is really hard to
create a
<br>
> primitive which will allow
<br>
> you to control all those options, especially a
cross-platform one.
</div>
<br>
+1. I have been experimenting with an FFI interface to libSDL, a
<br>
cross-platform game library that abstracts window and context
creation
<br>
(as well as input). It works quite well under Mac OS X but I
expect
<br>
there will be more work to make it run smoothly under Windows and
<br>
Linux.
<br>
<br>
It is my opinion that duplicating such functionality in
Squeak/Pharo
<br>
is a poor use of resources.
<br>
<br>
</blockquote>
<br>
I guess it depends on your definition of primitive and just what it
can do.<br>
<br>
<br>
L.<br>
</body>
</html>