Open Bug 654580 Opened 10 years ago Updated 6 years ago

Shadow layer composition support for OS X with OpenGL

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

People

(Reporter: joe, Unassigned)

References

(Blocks 1 open bug)

Details

This is like bug 648480, but for OS X with OpenGL. We might already be done here, but someone needs to verify this and/or fix it on OS X.
Yeah, this should pretty much work already.  We might want to use one of those magical client-storage thingies to save on uploading.
We'd still have to do a blocking copy in the chrome process.

How hard is it to run GL layers in the content process? That way we could render into a pixel buffer object there, upload to a texture (non-blocking!) and share across processes using an IOSurface.
(In reply to comment #2)
> We'd still have to do a blocking copy in the chrome process.

There's no technical reason why we can't share client-storage memory or some other pixmap-ID thing across processes on OS X.  Whether OS X *allows* that is another question ...

> How hard is it to run GL layers in the content process? That way we could
> render into a pixel buffer object there, upload to a texture (non-blocking!)
> and share across processes using an IOSurface.

It's a lot of new code to maintain, and dead-end code too, as azure will obsolete it.  But if we gotta do it we gotta do it.
You need to log in before you can comment on or make changes to this bug.