Open
Bug 1113665
Opened 10 years ago
Updated 2 years ago
Avoiding calling CGLTexImageIOSurface2D during MacIOSurfaceTextureSourceOGL::BindTexture
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
NEW
People
(Reporter: jrmuizel, Unassigned)
References
(Blocks 1 open bug)
Details
CGLTexImageIOSurface2D basically creates a texture that shares data with a particular IOSurface. We should only be calling it once per GLContext per allocation. CGLTexImageIOSurface2D ends up doing a bunch of work including serializing XML in the kernel.
Fixing this should improve WebGL, and hardware accelerated video performance in the compositor.
Reporter | ||
Comment 1•10 years ago
|
||
We should be able to use the infrastructure created in bug 1010966 to fix this.
Reporter | ||
Comment 2•10 years ago
|
||
It looks like doing exactly what gralloc does might not be best for OS X. With gralloc we have reasons to prefer rebinding textures over the same texture id. I don't think we need or want something similar on OS X.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•