-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#47282Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: parityWorks on one platform but not anotherWorks on one platform but not anothere: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
In flutter/engine#47030, we support off-screen MSAA by using glBlitFramebuffer, which is only available in 3.0+.
Most devices that use native Open GL (not ANGLE, etc) are 2.0, so we need another way of accomplishing this. As a hack, we can modify the HAL:
// Do not use the resolve_texture, and instead use the MSAA texture only.
// To preview what this would look like (but should not be implemented this
// way - would impact the HAL):
//
// @@ render_target.cc @@ CreateOffscreenMSAA
// - color0.resolve_texture = color0_resolve_tex;
// + color0.resolve_texture = color0_msaa_tex;
... but obviously we don't want to check this in, so we should better understand why this works, and what a backend-specific way we could represent it.
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listc: parityWorks on one platform but not anotherWorks on one platform but not anothere: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team