Closed
Bug 688844
Opened 13 years ago
Closed 13 years ago
Stop using PBuffers for plugins on OS X
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla10
People
(Reporter: jrmuizel, Assigned: BenWa)
Details
Attachments
(1 file, 4 obsolete files)
11.12 KB,
patch
|
Details | Diff | Splinter Review |
CGLCreatePBuffer and friends are deprecated on 10.7 there may also be some bad interaction with offline renderers.
Assignee | ||
Comment 1•13 years ago
|
||
Assignee | ||
Comment 2•13 years ago
|
||
Assignee: nobody → bgirard
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•13 years ago
|
||
Changes after self-review. Tested this change for IP and OOP plugins youtube+flash.
Attachment #565748 -
Attachment is obsolete: true
Attachment #565749 -
Flags: review?(jmuizelaar)
Assignee | ||
Comment 4•13 years ago
|
||
I forgot to mention, we we're only using PBuffers for in process plugin when rendering to a CGImage. We we're alread using FBOs to draw to a shared texture (IOSurface).
Reporter | ||
Comment 5•13 years ago
|
||
Comment on attachment 565749 [details] [diff] [review]
Remove PBuffers for in-process plugins
Review of attachment 565749 [details] [diff] [review]:
-----------------------------------------------------------------
There's some white space changes mixed in here, but overall it looks decent. Have you tested both mIOSurface and !mIOSurface paths?
::: gfx/thebes/nsCoreAnimationSupport.mm
@@ +560,5 @@
> mIOSurface->mIOSurfacePtr, 0);
> ::glBindTexture(GL_TEXTURE_RECTANGLE_ARB, 0);
> + } else {
> + ::glGenTextures(1, &mFBOTexture);
> + ::glBindTexture(GL_TEXTURE_RECTANGLE_ARB, mIOTexture);
Should this be mFBOTexture?
Assignee | ||
Comment 6•13 years ago
|
||
Yes good catch. I had tested this for IP/OOP so I'm not sure why this wasn't caught.
Assignee | ||
Updated•13 years ago
|
Attachment #565749 -
Flags: review?(jmuizelaar)
Assignee | ||
Comment 7•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Attachment #566811 -
Flags: review?(jmuizelaar)
Reporter | ||
Updated•13 years ago
|
Attachment #566811 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 8•13 years ago
|
||
Pushed to try: https://hg.mozilla.org/try/rev/a6bd54d83f63
Comment 9•13 years ago
|
||
Try run for a6bd54d83f63 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=a6bd54d83f63
Results (out of 2 total builds):
failure: 2
Builds available at http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/b56girard@gmail.com-a6bd54d83f63
Assignee | ||
Comment 10•13 years ago
|
||
It doesn't like that I removed the _EXT bits although that worked fine on my machine. Some of the apple documentation drops it but I'm guessing the 10.5 SDKs still requires it.
Assignee | ||
Comment 11•13 years ago
|
||
Carrying forward review since there are no functional changes.
Attachment #566811 -
Attachment is obsolete: true
Comment 12•13 years ago
|
||
Try run for 24a3443d2449 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=24a3443d2449
Results (out of 13 total builds):
success: 13
Builds available at http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/b56girard@gmail.com-24a3443d2449
Comment 13•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
Comment 14•13 years ago
|
||
and backed out
https://hg.mozilla.org/mozilla-central/rev/bd376ef5c7a8
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla10 → ---
Assignee | ||
Updated•13 years ago
|
Attachment #565749 -
Attachment is obsolete: true
Assignee | ||
Comment 15•13 years ago
|
||
Waiting on tree closure.
Attachment #567505 -
Attachment is obsolete: true
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 16•13 years ago
|
||
Comment 17•13 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
You need to log in
before you can comment on or make changes to this bug.
Description
•