IRC Log Viewer » #firebreath » 2015-10-01

IRC Nick Time (GMT-7) Message
Enkindler 09:10 How do I get the FB Extension to work with the plugin?... I Managed to install it into Chrome, and changed the background.js mimeType var to "application/x-fbtestplugin", but it keeps saying that the example page uses a not supported plugin
taxilian 09:10 right; the example hasn't been updated
right; the example hasn't been updated
did you not see the link I sent to a discussion with sample code in the firebreath-dev group?
did you not see the link I sent to a discussion with sample code in the firebreath-dev group?
Enkindler: https://groups.google.com/forum/#!topic/firebreath-dev/FSeWz9yqW7k
Enkindler 10:10 Let me see again....
Yes, I read that one before... Though I'm not too sure what to do with it. However, i remember reading somewhere or you telling me i also need to set up a NativeMessaging Host?
taxilian 10:10 yes, but if you built the _DevInstall project it would have done that already
Enkindler 10:10 Alright... good to know because i Didn't
taxilian 10:10 sorry, I thought I'd mentioned that already; I have a lot going on right now and it's difficult to track conversations sometimes =]
Enkindler 10:10 It's alright, no need to apologize at all...
taxilian 10:10 I appreciate both your tenacity and your patience =]
jnoring 11:10 Hi--I've developed a plugin that uses Core Animation/Invalidating Core Animation on OSX. All drawing is done with opengl.
Hi--I've developed a plugin that uses Core Animation/Invalidating Core Animation on OSX. All drawing is done with opengl.
Safari works great, but FireFox is giving me some major grief. If I draw too frequently, I get nothing rendered at all (it freezes). I resolved that by swapping from setNeedsDisplay to display in PluginWindowMacICA
Safari works great, but FireFox is giving me some major grief. If I draw too frequently, I get nothing rendered at all (it freezes). I resolved that by swapping from setNeedsDisplay to display in PluginWindowMacICA
However, I'm still hitting an issue where when I change tabs, the whole window freezes in a very similar manner. Each individual window updates sporadically at best.
taxilian 11:10 interesting; Safari didn't used to support ICA
jnoring 11:10 (and by "each individual window," I mean each instance of the plug-in that's rendering video)
On safari it's definitely using CA
On safari it's definitely using CA
taxilian 11:10 ahh, okay. yeah, that'll change things
jnoring 11:10 FireFox negotiates ICA
right
Debugging, I know the timer's running, and it's requesting updates
however, my drawInCGLContext ceases to be called. it doesn't even call canDrawInCGLContext
(that's on my CAOpenGLLayer derived class)
Any advice on how to debug is super welcome
It almost feels like I'm somehow being throttled by FireFox, but I'm not sure about that.
taxilian 11:10 it's entirely possible that it is being throttled by firefox
unfortunately I don't have any idea
I haven't used CA or ICA in years, and then I wasn't the main developer for the drawing code
jnoring 11:10 Oh--is there something else better for opengl at this point, or are you saying you just haven't looked at it in a long time?
or, better for drawing video...
We have a CG drawing pipeline, but it chews up CPU like nobody's business
We have a CG drawing pipeline, but it chews up CPU like nobody's business
taxilian 11:10 I don't do opengl
jnoring 11:10 ok
taxilian 11:10 sorry :/
Enkindler 12:10 should the org.firebreath.firewyrmhost.json be installed with the extension?, as an extra file?...
should the org.firebreath.firewyrmhost.json be installed with the extension?, as an extra file?...
taxilian 12:10 it's installed anywhere but has a registry entry which points to it
on windows, anyway
may be worth reading up on native messaging a bit: https://developer.chrome.com/extensions/nativeMessaging
Enkindler 12:10 Yes, I was reading that, that's why I was a bit doubtfull about it. Just missing the registry point then....
Also, just a thinking here, Once the plugin is done, it should work for any OS yes?, without much issue?
taxilian 12:10 depends
depends
if you use win32 apis then no =]
but if you keep your code cross platform then yes
only tested on windows and mac os; it should be most of the way there on linux, but fb2 hasn't been finished on linux since I don't need it myself
Enkindler 14:10 I see... very well then... So far we'll only be using it on Windows, but i figured we should be as platform independant as possible
taxilian 15:10 keep in mind that even if you're using platform APIs (as we are) that just means you need to write that part of the code for each platform
Enkindler 15:10 Alright Then!...