How To activate ANGLE on Chrome?

1,387 views
Skip to first unread message

eyal barlev

unread,
Mar 1, 2016, 6:07:13 AM3/1/16
to angleproject
Greetings.
I am very much interested in activating ANGLE on Chrome for my OpenCL (NOT OpenGL) experiments. I read a little bit about ANGLE and downloaded and compiled all the code , to build libegl.dll and libglesV2.dll flawlessly (Neat, boys @ ANGLEPROJECT !) . I then renamed those two which came with my chrome and FORGOT to copy the new ones. Activating chrome with --use-gl=desktop worked like a charm without those two .dll files.
How come ? What am I doing wrong ? could it be that those two files are now embedded inside chrome_elf.dll ?
Thank you .

Jamie Madill

unread,
Mar 1, 2016, 7:38:08 AM3/1/16
to eyal....@gmail.com, angleproject
Unofficially, if you build the same type of target as your Chrome (32 or 64-bits on Windows), you should be able to drag & drop your custom ANGLE DLLs over to the shipped ANGLE DLLs in a Chrome binary dir. ANGLE devs do this for testing when we don't want to rebuild all of Chrome. This is very unsupported, however, and can break.

--use-gl=desktop won't use ANGLE - that makes Command Buffer look for native desktop GL drivers.

Note that this is all assuming Windows. It's a different situation on other platforms.

--
You received this message because you are subscribed to the Google Groups "angleproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angleproject...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jamie Madill

unread,
Mar 1, 2016, 5:07:14 PM3/1/16
to eyal....@gmail.com, angleproject
Hello Jamie and thank you for taking the time to answer me.unfortunately, What you described does not work,  no matter what.  What would you recommend?  My aim is to use webgl for my GUI and share the opengl context St that I may fire up opencl in conjuction with it.  The only way would be getting the window handle and the opengl context.  Is there any plug-in architecture which supports that in Chrome?  
Regards.

You can always build Chrome from source, just be warned it takes a while on most machines.

Reply all
Reply to author
Forward
0 new messages