Hi Thomas,
Thanks for you answer.
Following your suggestion ( new Image(myImageResource) ), there is no more
security error :)
All my textures are loaded but are almost empties. According to
WebGLInspector all textures have size 1x1 with a transparent pixel.
It looks like that the
Hi all,
I am using super dev mode and i have an issue, i think,, with same origin
policy.
I have a ClientBundle containing many ImageResource which will be used as
WebGL textures.
To load those images i do :
Image image = new Image(myImageResource.getSafeUri().asString();
Hi all,
I have a Canvas element listening for keyboard and mouse events.
To avoid browser default behavior while a mouse drag, i use preventDefault
on mouse down end mouse move event.
If i do that, the canvas will not receive anymore keyboard events ...
I guess that is a focus story, but i have
Hi all,
I am working on an app doing some WebGL stuff, so the application does lot
of calculations at high frequency and so i notice some slowdowns due to
the garbage collector.
I am trying to reduce as much as i can those slowdowns by two ways :
- Reuse of objects
- Reduce number of objects.
Hi Derek,
Thanks for the advice.
I tried to put var $wnd= $self but what about var $document ?
if you have some time to check your code, it is welcome :)
Regards,
Harold
2012/9/10 Derek derekad...@gmail.com
I'd need to look at my code again (not convenient to do right now), but I
recall
Hi again,
Your problematic should give headache :-p
In this case i always choose to rewrite the library by myself. I think this
saves lot of time in the long term.
Btw, I have modified the DedicatedWorkerTemplate.js as you wrote but this
does not make any change to the generated worker script
Hi Derek,
As i have a lot of JSNI calls, i do not use the dev mode.
Super dev mode is far more suitable !
Btw, i still have issue with my worker because after GWT compilation, the
generated script contains window and document variables which are not
defined in the worker scope, so i get an error
Hi all,
Does anyone have used web workers via GWT ?
I have tried to use web workers looking at speed tracer code :
http://code.google.com/p/speedtracer/source/browse/#svn%2Ftrunk%2Fsrc%2Fclient%2Fui%2Fsrc%2Fcom%2Fgoogle%2Fgwt%2Fwebworker%253Fstate%253Dclosed
But i did not succeed to launch my
central widget already defined, the super dev mode
throws a security error...
Any idea ?
Thanks for your attention,
Regards,
Harold
2012/8/31 Harold Comere harold.com...@gmail.com
Hi all,
I have a ClientBundle containing one ImageResource.
Then i create an Image from this ImageResource :
Image
Hi all,
I have a ClientBundle containing one ImageResource.
Then i create an Image from this ImageResource :
Image img = new Image(myImageResource);
I set on the image a LoadHandler and ErrorHandler to manage loading events.
To launch the image loading, i have to attach the image to the
Hi all,
I can not find the info on the web but :
Does finalize() method works properly after gwt compilation ?
Regards,
Haroldli
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Hi,
Thank you for answers !
I am using GWT for 3D purpose with WebGL.
When i am destroying an object from the 3D scene, i have to free associated
webgl objects to manage GPU memory.
Some webgl objects are shared between many objects, so i need to destroy
the gl objects only when they are not
Hi all,
I have a small JSNI method calling a javascript method.
public native void requestAnimFrame() /*-{
window.requestAnimationFrame( );
}-*/;
but window.requestAnimationFrame takes a function pointer for parameter as
a callback.
So i need to give as parameter of the JSNI method
On Thu, Aug 16, 2012 at 1:36 PM, Harold Comere harold.com...@gmail.com
wrote:
Hi all,
I have a small JSNI method calling a javascript method.
public native void requestAnimFrame() /*-{
window.requestAnimationFrame( );
}-*/;
but window.requestAnimationFrame takes
Hi all,
I have noticed that with firefox almost 8% of the runtime time is in
nullMethod function.
What does mean this nullMethod and what does generate calls to it ?
Thanks for your attention.
Regards,
Harold
--
You received this message because you are subscribed to the Google Groups
Hi all,
I have some difficulties to find out how to read a text file with gwt 2.2
...
The only thing i have found about it is anyone saying on a forum that it can
be done using RequestBuilder, but his example doesnt want to compile, cant
fin Method.GET ...
new RequestBuilder(Method.GET,
Hi all,
I am under windows 7 64 bit, trying to launch any web app with GWT 2.2.0
under minefield ( firefox 4.0b12 ) and firefox crash with this exception :
The server is running at http://localhost:/
Exception in thread Code server for test from Mozilla/5.0 (Windows NT 6.1;
WOW64;
Hello,
Thank you for your replies !
So i uderstand that hosted mode doesnt seem really suitable with real time
3D applications in a html5 canvas using WebGL, resquesting thousands of
overlayed functions calls per second =/
Also for debugging purpose, it wont be possible to run the whole
Hi all,
I have some perf issues in hosted mode using javascript object overlays.
I am doing bindings for WebGL objects using gwt 2.1.1, for exemple i have
the overlayed WebGLRenderingContext :
import com.google.gwt.core.client.JavaScriptObject;
public class WebGLRenderingContext extends
Hi all,
Me again ...
So, no idea on what is wrong with my piece of code under firefox 4.0 ? =/
Regards,
Harold
2011/2/6 Harold Comere harold.com...@gmail.com
Hi all,
I have started two weeks ago to use GWT 2.1.1 and so have some newbie
issues, but i havnt found any answer in FAQs
Hi all,
I have started two weeks ago to use GWT 2.1.1 and so have some newbie
issues, but i havnt found any answer in FAQs and tutotials so i m there !
Well, actually my web application is pretty simple, it contains only one
html5 canvas which contains 3D features thanks to WebGL.
I'm trying to
21 matches
Mail list logo