Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions impeller/toolkit/interop/impeller.h
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,14 @@ void ImpellerSurfaceRelease(ImpellerSurface IMPELLER_NULLABLE surface);
/// @brief Draw a display list onto the surface. The same display list can
/// be drawn multiple times to different surfaces.
///
/// @warning In the OpenGL backend, Impeller will not make an effort to
/// preserve the OpenGL state that is current in the context.
/// Embedders that perform additional OpenGL operations in the
/// context should expect the reset state after control transitions
/// back to them. Key state to watch out for would be the viewports,
/// stencil rects, test toggles, resource (texture, framebuffer,
/// buffer) bindings, etc...
///
/// @param[in] surface The surface to draw the display list to.
/// @param[in] display_list The display list to draw onto the surface.
///
Expand Down