New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 671290 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 757974
Owner: ----
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug

Blocked on:
issue angleproject:1649
issue angleproject:1651

Blocking:
issue 602688



Sign in to add a comment

Use ANGLE on OSX

Project Member Reported by cwallez@chromium.org, Dec 5 2016

Issue description

We want to make Chromium use ANGLE on OSX too. The big requirement for this is ANGLE being able to sample from and render to IOSurfaces.

Once this is done, Chromium needs to be massaged to load and use ANGLE, this will involve at least:
 - making gl_factory_mac.cc support creating EGL contexts.
 - making gl_context_egl and gl_surface_egl be able to use the surfaceless extension
 - making GLImageIOSurface an interface, either implemented via CGL or the ANGLE IOSurface extension
 - ???
 

Comment 1 by kbr@chromium.org, Dec 5 2016

Cc: erikc...@chromium.org
Is sampling from IOSurfaces a hard requirement? Currently Chromium mainly renders to them, and samples from them only in very limited situations. (In the implementation of the CHROMIUM_copy_texture extension, and possibly in a couple of other places.)

Requiring full support for sampling from them would require integration of the GL_ARB_texture_rectangle extension into OpenGL ES -- not a small undertaking.

Maybe we could do without at first, but it seems necessary to handle hardware video decode, and efficient CHROMIUM_copy_texture (without special casing IOSurfaces in ANGLE).

Also Geoff mentioned that implementing GL_ARB_texture_rectangle shouldn't be too hard to implement.
Sampling from IOSurfaces will be a requirement. ~90% of the time, we just render to them and pass them to the system compositor. The remaining ~10% of the time, we end up sampling from them.

Of note is that GLImageIOSurface is wrapped in the GLImage/GpuMemoryBuffer framework, so it should require nothing different from all other platforms using GMBs, with the exception that it will be using GL_ARB_texture_rectangle.
Project Member

Comment 4 by sheriffbot@chromium.org, Dec 11 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)
Has this bug moved to crbug.com/757974 ?
Mergedinto: 757974
Status: Duplicate (was: Available)

Sign in to add a comment