// Copyright 2026 Mark Alan Boykin
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// SPDX-License-Identifier: MPL-2.0
//! Raw GL-to-wgpu import primitives with no surfman dependency.
//!
//! These functions accept raw GL handles (FBO IDs, IOSurface pointers, etc.)
//! and produce `wgpu::Texture` objects. They can be used by any GL producer,
//! not just surfman-based ones.
/// BGRA-to-RGBA and Y-flip normalization pass for imported textures.