Skip to content

[Impeller] [OpenGLES] GLES3 instancing API entry points are incorrectly reported as resolved on GLES2 #194317

Closed

Description

@b-luk

#define FOR_EACH_IMPELLER_EXT_PROC(PROC) \
PROC(DebugMessageControlKHR); \
PROC(DebugMessageCallbackKHR); \
PROC(DiscardFramebufferEXT); \
PROC(FramebufferTexture2DMultisampleEXT); \
PROC(PushDebugGroupKHR); \
PROC(PopDebugGroupKHR); \
PROC(ObjectLabelKHR); \
PROC(RenderbufferStorageMultisampleEXT); \
PROC(GenQueriesEXT); \
PROC(DeleteQueriesEXT); \
PROC(GetQueryObjectui64vEXT); \
PROC(BeginQueryEXT); \
PROC(EndQueryEXT); \
PROC(GetQueryObjectuivEXT); \
PROC(BlitFramebufferANGLE); \
PROC(VertexAttribDivisor); \
PROC(VertexAttribDivisorEXT); \
PROC(DrawArraysInstanced); \
PROC(DrawArraysInstancedEXT); \
PROC(DrawElementsInstanced); \
PROC(DrawElementsInstancedEXT);

The VertexAttribDivisor, DrawArraysInstanced, and DrawElementsInstanced GLES functions were added to proc_table_gles in #187313. These are GLES3 functions not available on GLES2. But they are listed in FOR_EACH_IMPELLER_EXT_PROC, which is used for both GLES2 and GLES3. They should be moved to FOR_EACH_IMPELLER_GLES3_PROC instead.

Currently, on GLES2, FOR_EACH_IMPELLER_EXT_PROC makes these functions incorrectly resolve as available.

Activity

  1. self-assigned this
    on Oct 13, 2026
  2. github-actions commented on Oct 28, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  3. locked as resolved and limited conversation to collaborators on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions