IRC Log Viewer » #firebreath » 2011-04-21

IRC Nick Time (GMT-7) Message
grifo 03:04 hi there
I've some problems tryuing to debuig my plugin on windows
on both chrome and firefox 4
ok
solved on firefox 4 but not on chrome
someone knows how I can print debug information on console on windows since printf is not working on windows?
each time I compile I got this error:
Errore 11 fatal error LNK1000: Internal error during IncrBuildImage test02
If I build again the project, it works
It's a brand new generated project with no code modifications done by me
probably it's a problem of dependencies and priorities between the different projects in the solution?
FireBreathBot 04:04 JIRA issue http://jira.firebreath.org/browse/FIREBREATH-17 issue commented by gmurphy "Finally got a window of time to get this finished off. Patch is attached. All it does is address ..."
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-17 issue updated by gmurphy
graykos 07:04 hi there
is anybody home?
anyone
hey!
is this a live chat or what?
i mean "chatting" involves more than one person, i suppose...
jesus...
fuck you all...-_-
i'm outta here
grifo 07:04 nobody here
I think...
grifo 08:04 another question
from the tutorial I'm able to add a method to my PluginAPI class
to be called with javascript
the question:
how can I fire an event on my main plugin class?
graykos 08:04 still noone in here?
graykos 08:04 heeeeeeeeeeeeeeeeey
grifo 09:04 hi
graykos 09:04 oh
grifo 09:04 found how to fire an event on the main class from the API class:
graykos 09:04 THANK GOD!
grifo 09:04 getPlugin()->mainClassMethod();
is it right?
graykos 09:04 not sure, I'm noob
i'm trying to create a plugin for chrome
don't you know anything about it?
i mean chrome
i see at least 10 people in the list at the right - where are they? sleeping?
grifo 09:04 yes
I'm a noob like you
graykos 09:04 nice -_-
grifo 09:04 I started 2 days ago
but following the tutorial
is really easy
exspecially the video tutorial
graykos 09:04 i know i know, i already made a plugin and meneged to call for its functions from javascript and catched events
i got some other questions
grifo 09:04 for example?
graykos 09:04 about global initialization
and one about dll, but i m not sure how to ask it
also i hoped someone can help me with chrome questions
grifo 09:04 usually taxilian replies to my questions
but today he's not there
taxilian 09:04 grifo: Just not at the computer yet... Its 9am here
graykos: Please moderate your language and be patient... Live chat implies that we have to be online to help you
graykos_ 09:04 damn(
taxilian 09:04 graykos_: Please moderate your language and be patient... Live chat implies that we have to be online to help you
I am usually online during the day, but i have a life and have to eat and sleep too
If you want more reliable and prompt support youre welcome to pay for it and ill give yiou a phone nmber to call :)
I am abt to take a shower (just got up), but if youll explain your problem or qurstion ill try to help when I get back on in an hiur or so
Gr
graykos_ 09:04 ok
yep, i know you're talking to me)
taxilian 09:04 grifo: events are fired onl from a jsapi class, but you can call that class from your main plugin class
Im on my ipad right now, so typing is a little off :)
graykos_ 09:04 taxilian, are you familiar in any way with chrome plugin development?
taxilian 09:04 Plugin dev yes, extension dev no
Just ask your question
Then if nobody knows we can tell you that
graykos_ 09:04 if I put <embed> with plugin in my popup page in chrome - will it reload dll every time the popup opens?
taxilian 09:04 Not usuallu
But dont use embed
Use object
Works more consistently across browsers
Generally there is one instance of the dll for all object tags
grifo 09:04 ok I made it, now I can fire events on the main class from the javascript api
taxilian 09:04 grifo: Well did
grifo 09:04 FB::variant test02API::startStream(const std::string& msg)
taxilian 09:04 Be back in an hour... Gotta go now or i will be late
grifo 09:04 {
getPlugin()->startStreamAcquisition(msg);
return msg;
}
graykos_ 09:04 what i see now is that if i will not store any options in background page - every time popup opens it opens as like it was the first time
grifo 09:04 one quick question
before you leave
it's 6 pm here...
:)
(in Italy...)
taxilian 09:04 Fast
grifo 09:04 some links to understand
how to draw bitmaps inside the plugin
actually I can draw on a separate window using SDL library
graykos_ 09:04 good luck, taxilian!
grifo, same to you)
grifo 09:04 ciao
taxilian 09:04 grifo: Get the hwnd from pluginwindow after attachedevent and draw to it
Bbl
grifo 09:04 FB::PluginWindow *
bool test02::onWindowAttached(FB::AttachedEvent *evt, FB::PluginWindow *)
{
return false;
}
???
grifo 09:04 how Can I talke the pluginWindow?
take
from bool test02::onWindowAttached(FB::AttachedEvent *evt, FB::PluginWindow *)
???
jlaire 10:04 in case anyone cares: my problem with a windowed plugin on Linux is more fundamental than I thought; the plugin window always moves with the page when scrolling
I thought it happened because I moved the plugin window to fullscreen and back, but it's unrelated
taxilian 10:04 grifo: look at the docs for PluginWindowWin
!wiki PluginWindowWin
FireBreathBot 10:04 8 results found. Note: Results limited to 8
"class FB PluginWindowWin": http://goo.gl/dsi8e
"class FB PluginWindowWin getWindowPosition": http://goo.gl/ZpyWj
"class FB PluginWindowWin InvalidateWindow": http://goo.gl/umJ28
"class FB PluginWindowWin getWindowWidth": http://goo.gl/lfOe6
"class FB PluginWindowWin getWindowClipping": http://goo.gl/r3teI
"class FB PluginWindowWin getWindowHeight": http://goo.gl/EcfAh
"class FB PluginWindowWin getHWND": http://goo.gl/IiAlb
"class FB PluginWindowWin getBrowserHWND": http://goo.gl/7UCfg
taxilian 10:04 grifo: http://colonelpanic.net/2010/11/firebreath-tips-drawing-on-windows/
FireBreathBot 10:04 Commit 2df8d54 on firebreath-1.5 by Gearoid Murphy: "FIREBREATH-17: Added some cmake logic to handle inconsistent..." http://goo.gl/jMarf
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-17 issue resolved by richard "Just as an FYI, in commit messages you only need the issue ID: FIREBREATH-17, for example, not th..."
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-17 issue closed by richard
FireBreathBot 11:04 JIRA issue http://jira.firebreath.org/browse/FIREBREATH-17 issue commented by nirvdrum "I'd rather the commit messages included the issue title in addition to the issue ID. Otherwise w..."
FireBreathBot 12:04 Commit bcd835f on firebreath-1.5 by Gordon Smith: "FIREBREATH-44 - Enable hosting in a native application (not ..." http://goo.gl/Bda2Q
Commit 89b7d63 on firebreath-1.5 by Richard Bateman: "Set overflow on FBTestPlugin test page" http://goo.gl/RSxcf
Commit 743a330 on firebreath-1.5 by Richard Bateman: "Merge branch 'master' into firebreath-1.5" http://goo.gl/Qnh1s
Commit 2df8d54 on master by Gearoid Murphy: "FIREBREATH-17: Added some cmake logic to handle inconsistent..." http://goo.gl/jMarf
Commit bcd835f on master by Gordon Smith: "FIREBREATH-44 - Enable hosting in a native application (not ..." http://goo.gl/Bda2Q
Commit 89b7d63 on master by Richard Bateman: "Set overflow on FBTestPlugin test page" http://goo.gl/RSxcf
Commit 743a330 on master by Richard Bateman: "Merge branch 'master' into firebreath-1.5" http://goo.gl/Qnh1s
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-44 issue resolved by richard "Patch accepted and in the 1.5 and master branches"
jshanab_wcw 13:04 taxilian. It seems as if I have hardware yuv->RGB and scaling in directX still 30% of my cpu for 4 video streams, but native vs scaled is the same now.
FireBreathBot 14:04 JIRA issue http://jira.firebreath.org/browse/FIREBREATH-17 issue commented by richard "Yeah; that's fair. The problem is that only a very short bit (60 chars, I think) shows up there, ..."
taxilian 14:04 jshanab_wcw: well, if you do it right that conversion isn't really that expensive; it's possible your overhead is elsewhere
jshanab_wcw 15:04 Well I am still decoding H264 in Software on the main CPU :-)
taxilian 15:04 yeah, and 4 streams of that can take some work
jshanab_wcw 15:04 It turns out software scaling on multiple cameras was aproaching the cpu usage of H264 decoding, when scaling was large or not-exactly linear.
I will be looking into opencl or CUDA soon :-)
taxilian 15:04 you should be able to do scaling on the card without any special code
just by painting the textures a different size
jshanab_wcw 15:04 Anyway, it was as simple as creating a device with a backbuffer witht hte destination pixle format and size and a "OffScrenPlainSurface" with he source size and pixle format. Then copy in the YUV data (swaping the U and the V) into the locked rectangle of the surface and then 2 lines. StretchRect and Present
I started with textures but ran into issues creating them. The surface resides on the car memory anyway
FireBreathBot 15:04 JIRA issue http://jira.firebreath.org/browse/FIREBREATH-46 issue created by jloveridge
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-47 issue created by jloveridge
sabotaged|wk 15:04 moving the plugin around in the dom tree
i saw mention there is an issue on ff4?
FireBreathBot 15:04 JIRA issue http://jira.firebreath.org/browse/FIREBREATH-48 issue created by jloveridge
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-48 issue updated by jloveridge
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-47 issue updated by jloveridge
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-46 issue updated by jloveridge
FireBreathBot 16:04 Commit 11964bb on firebreath-1.5 by Eric Herrmann: "FIREBREATH-47 Clear the window during InPlaceDeactivate. Boo..." http://goo.gl/mb6bo
Commit 5358c64 on firebreath-1.5 by Eric Herrmann: "FIREBREATH-48 Handle one shots one at a time incase the inst..." http://goo.gl/rLWfg
Commit cfd9c57 on firebreath-1.5 by Jarom Loveridge: "FIREBREATH-46 fixed so m_host->shutdown() is called before p..." http://goo.gl/pDAqp
Commit 47afed9 on firebreath-1.5 by Richard Bateman: "FIREBREATH-47 Fixed ie issue w/ moving plugin in dom
Commit 11964bb on master by Eric Herrmann: "FIREBREATH-47 Clear the window during InPlaceDeactivate. Boo..." http://goo.gl/mb6bo
Commit 5358c64 on master by Eric Herrmann: "FIREBREATH-48 Handle one shots one at a time incase the inst..." http://goo.gl/rLWfg
Commit cfd9c57 on master by Jarom Loveridge: "FIREBREATH-46 fixed so m_host->shutdown() is called before p..." http://goo.gl/pDAqp
Commit 47afed9 on master by Richard Bateman: "FIREBREATH-47 Fixed ie issue w/ moving plugin in dom
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-46 issue resolved by richard "Fix applied"
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-48 issue resolved by richard "Fix applied"
JIRA issue http://jira.firebreath.org/browse/FIREBREATH-47 issue resolved by richard "This needed to also delete and clear the pluginWin member so that if InPlaceActivate is called ag..."