Skip to content

enable enhanced debugging for GLES playground#181157

Merged
auto-submit[bot] merged 1 commit intoflutter:masterfrom
planetmarshall:gles-playground-debug
Jan 30, 2026
Merged

enable enhanced debugging for GLES playground#181157
auto-submit[bot] merged 1 commit intoflutter:masterfrom
planetmarshall:gles-playground-debug

Conversation

@planetmarshall
Copy link
Contributor

Enables improved OpenGLES debug support in the playground tests if KHR_DEBUG is available. Only activated on unoptimized builds (where NDEBUG is not defined)

Example:

Before:

[FATAL:flutter/impeller/renderer/backend/gles/proc_table_gles.h(44)] Fatal GL Error GL_INVALID_ENUM(1280) encountered on call to glBindBuffer

After:

[ERROR:flutter/impeller/playground/backend/gles/playground_impl_gles.cc(146)] GL Error: GL_INVALID_ENUM error generated. Invalid buffer target enum.
[FATAL:flutter/impeller/renderer/backend/gles/proc_table_gles.h(44)] Fatal GL Error GL_INVALID_ENUM(1280) encountered on call to glBindBuffer

Closes #179329

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I signed the [CLA].
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is [test-exempt].
  • I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
  • All existing and new tests are passing.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests or get an explicit test exemption before merging.

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. If you believe this PR qualifies for a test exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

@github-actions github-actions bot added engine flutter/engine related. See also e: labels. e: impeller Impeller rendering backend issues and features requests labels Jan 19, 2026
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request enables enhanced debugging for the GLES playground by setting up a debug context and a message callback when the KHR_debug extension is available. The changes are well-implemented and correctly guarded by NDEBUG to only affect debug builds. I have one suggestion to make the debug callback more comprehensive by logging additional message types, which would further improve the utility of this feature.

Comment on lines +144 to +150
switch (message_type) {
case GL_DEBUG_TYPE_ERROR_KHR:
FML_LOG(ERROR) << "GL Error: " << message;
return;
default:
return;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The current implementation of the debug callback only logs messages of type GL_DEBUG_TYPE_ERROR_KHR. The KHR_debug extension can provide other useful information, such as performance warnings (GL_DEBUG_TYPE_PERFORMANCE_KHR), portability issues (GL_DEBUG_TYPE_PORTABILITY_KHR), and deprecated API usage (GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR).

To make this debugging feature more comprehensive, consider logging these other message types as warnings. This would provide developers with more insight into potential issues beyond just hard errors.

          switch (message_type) {
            case GL_DEBUG_TYPE_ERROR_KHR:
              FML_LOG(ERROR) << "GL Error: " << message;
              return;
            case GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR:
            case GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR:
            case GL_DEBUG_TYPE_PORTABILITY_KHR:
            case GL_DEBUG_TYPE_PERFORMANCE_KHR:
            case GL_DEBUG_TYPE_OTHER_KHR:
              FML_LOG(WARNING) << "GL Debug Message: " << message;
              return;
            default:
              // Other message types are ignored.
              return;
          }

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did consider this but it can make the logs quite noisy. Intentionally left as a possible future enhancement.

Copy link
Member

@gaaclarke gaaclarke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@gaaclarke gaaclarke added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 30, 2026
@auto-submit auto-submit bot added this pull request to the merge queue Jan 30, 2026
Merged via the queue into flutter:master with commit 1d9d6a9 Jan 30, 2026
182 checks passed
@flutter-dashboard flutter-dashboard bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jan 30, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jan 30, 2026
@jtmcdole
Copy link
Member

jtmcdole commented Jan 30, 2026

I think this has a very real windows compile error:

../../../flutter\impeller/renderer/backend/gles/proc_table_gles.h(56,13): error: implicit conversion between pointer-to-function and pointer-to-object is a Microsoft extension [-Werror,-Wmicrosoft-cast] 56 | stream << arg; | ^~~
 FAILED: obj/flutter/impeller/playground/backend/gles/playground.playground_impl_gles.obj 
 C:\b\s\w\ir\cache\builder\engine\src\flutter\buildtools\windows-x64\reclient/rewrapper --cfg=C:\b\s\w\ir\cache\builder\engine\src\flutter\build\rbe\rewrapper-windows-x64.cfg --exec_root=C:/b/s/w/ir/cache/builder/engine/src/ --server_address=pipe://reproxy.pipe --exec_strategy=remote_local_fallback --labels=type=compile,compiler=clang-cl,lang=cpp ../../../flutter/buildtools/windows-x64/clang/bin/clang-cl.exe /c ../../../flutter/impeller/playground/backend/gles/playground_impl_gles.cc /Foobj/flutter/impeller/playground/backend/gles/playground.playground_impl_gles.obj  /nologo /showIncludes:user /winsysroot../../../flutter/third_party/depot_tools/win_toolchain/vs_files/27370823e7 -DUSE_OPENSSL=1 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DNTDDI_VERSION=0x0A000006 -DPSAPI_VERSION=1 -DWIN32 -D_SECURE_ATL -D_USING_V110_SDK71_ -D_UNICODE -DUNICODE -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -D_DEBUG -DIMPELLER_DEBUG=1 -DIMPELLER_SUPPORTS_RENDERING=1 -DIMPELLER_ENABLE_OPENGLES=1 -DIMPELLER_ENABLE_VULKAN=1 -DSK_TYPEFACE_FACTORY_DIRECTWRITE -DSK_FONTMGR_DIRECTWRITE_AVAILABLE -DSK_GL -DSK_ENABLE_DUMP_GPU -DSK_VULKAN -DSK_CODEC_ENCODES_JPEG -DSK_CODEC_ENCODES_PNG -DSK_CODEC_ENCODES_PNG_WITH_LIBPNG -DSK_CODEC_ENCODES_WEBP -DSK_CODEC_DECODES_JPEG -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_ICO -DSK_CODEC_DECODES_PNG_WITH_LIBPNG -DSK_CODEC_DECODES_WEBP -DSK_HAS_WUFFS_LIBRARY -DSK_CODEC_DECODES_GIF -DSK_XML -DFLUTTER_RUNTIME_MODE_DEBUG=1 -DFLUTTER_RUNTIME_MODE_PROFILE=2 -DFLUTTER_RUNTIME_MODE_RELEASE=3 -DFLUTTER_RUNTIME_MODE_JIT_RELEASE=4 -DDART_LEGACY_API=[[deprecated]] -DFLUTTER_RUNTIME_MODE=1 -DFLUTTER_JIT_RUNTIME=1 -D_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING -DSK_DISABLE_LEGACY_INIT_DECODERS -DSK_LEGACY_IGNORE_DRAW_VERTICES_BLEND_WITH_NO_SHADER -DSK_DISABLE_LEGACY_PARAGRAPH_UNICODE -DSK_DISABLE_LEGACY_NONCONST_SERIAL_PROCS -DSK_DISABLE_LEGACY_NONCONST_ENCODED_IMAGE_DATA -DSK_DISABLE_LEGACY_SHADERCONTEXT -DSK_DISABLE_LOWP_RASTER_PIPELINE -DSK_FORCE_RASTER_PIPELINE_BLITTER -DSK_METAL_WAIT_UNTIL_SCHEDULED -DSK_DISABLE_EFFECT_DESERIALIZATION -DSK_ENABLE_PRECOMPILE -DSK_GANESH -DVK_USE_PLATFORM_WIN32_KHR -DVMA_DYNAMIC_VULKAN_FUNCTIONS=0 -DVMA_STATIC_VULKAN_FUNCTIONS=0 -I../../.. -Igen -I../../../flutter -Igen/flutter -Igen/flutter/impeller/runtime_stage -I../../../flutter/third_party/flatbuffers/include -I../../../third_party/abseil-cpp -I../../../flutter/third_party/skia -I../../../flutter/third_party/googletest/googlemock/include -I../../../flutter/third_party/googletest/googletest/include -I../../../flutter/third_party/glfw/include -I../../../flutter/third_party/glfw/include/GLFW -I../../../flutter/third_party/imgui -I../../../flutter/third_party/angle/include -I../../../flutter/third_party/vulkan-deps/vulkan-headers/src/include -I../../../flutter/third_party/vulkan_memory_allocator/include -Wthread-safety-analysis /GS /FS /guard:cf -m64 -fcolor-diagnostics /wd4091 /wd4722 /wd4312 /wd4838 /wd4172 /wd4005 /wd4311 /wd4477 -Wno-nonportable-include-path -Wno-nonportable-system-include-path -Wno-ignored-pragma-optimize -Wno-unqualified-std-cast-call -Wno-deprecated-literal-operator -Wno-nontrivial-memcall /MTd -Wstring-conversion -Wnewline-eof /Od /Ob0 /RTC1 /Z7 -Wno-newline-eof /WX -Wunreachable-code -Wno-redundant-parens /std:c++20 -Wno-deprecated-this-capture -fno-modules -Xclang -fno-cxx-modules /GR- -Wno-inconsistent-missing-override -Wno-c++98-compat-extra-semi -Wno-deprecated-copy -Wno-implicit-fallthrough -Wno-nullability-completeness -Wno-suggest-destructor-override -Wno-suggest-override -Wno-unused-private-field -Wno-unused-variable /Fd"obj/flutter/impeller/playground/playground_cc.pdb"
 In file included from ../../../flutter/impeller/playground/backend/gles/playground_impl_gles.cc:23:
 In file included from ../../../flutter\impeller/renderer/backend/gles/context_gles.h:10:
 In file included from ../../../flutter\impeller/renderer/backend/gles/allocator_gles.h:9:
 In file included from ../../../flutter\impeller/renderer/backend/gles/reactor_gles.h:15:
 ../../../flutter\impeller/renderer/backend/gles/proc_table_gles.h(56,13): error: implicit conversion between pointer-to-function and pointer-to-object is a Microsoft extension [-Werror,-Wmicrosoft-cast]
    56 |   stream << arg;
       |             ^~~
 ../../../flutter\impeller/renderer/backend/gles/proc_table_gles.h(65,3): note: in instantiation of function template specialization 'impeller::BuildGLArgumentsStream<(lambda at ../../../flutter/impeller/playground/backend/gles/playground_impl_gles.cc:141:9)>' requested here
    65 |   BuildGLArgumentsStream(stream, arg);
       |   ^
 ../../../flutter\impeller/renderer/backend/gles/proc_table_gles.h(74,3): note: in instantiation of function template specialization 'impeller::BuildGLArgumentsStream<(lambda at ../../../flutter/impeller/playground/backend/gles/playground_impl_gles.cc:141:9), std::nullptr_t>' requested here
    74 |   BuildGLArgumentsStream(stream, args...);
       |   ^
 ../../../flutter\impeller/renderer/backend/gles/proc_table_gles.h(123,37): note: in instantiation of function template specialization 'impeller::BuildGLArguments<(lambda at ../../../flutter/impeller/playground/backend/gles/playground_impl_gles.cc:141:9), std::nullptr_t>' requested here
   123 |       FML_LOG(IMPORTANT) << name << BuildGLArguments(args...);
       |                                     ^
 1 error generated.

jason-simmons added a commit to jason-simmons/flutter that referenced this pull request Jan 30, 2026
… GL API wrappers log arguments with function types

flutter#181157 introduced a call to the
glDebugMessageCallback API using a lambda as the argument.  On Windows builds
this produces a warning about a nonstandard implicit conversion when the
Impeller GL API wrappers try to log the callback argument.
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Jan 30, 2026
Roll Flutter from da72d5936d69 to 1d9d6a9a5ef6 (33 revisions)

flutter/flutter@da72d59...1d9d6a9

2026-01-30 [email protected] enable enhanced debugging for GLES playground (flutter/flutter#181157)
2026-01-30 [email protected] Make the Windows windowing_test in .ci.yaml have bringup as false (flutter/flutter#181664)
2026-01-30 [email protected] Roll Packages from cd4fd61 to 510dd40 (4 revisions) (flutter/flutter#181726)
2026-01-30 [email protected] Roll Skia from edbf7e9eb846 to 4745eb2fe837 (1 revision) (flutter/flutter#181725)
2026-01-30 [email protected] Enhance error handling of WidgetsBindingObserver callbacks (flutter/flutter#181174)
2026-01-30 [email protected] Roll Skia from 05d3cb9d2be9 to edbf7e9eb846 (2 revisions) (flutter/flutter#181715)
2026-01-30 [email protected] Roll Skia from c198e5fa9cd9 to 05d3cb9d2be9 (1 revision) (flutter/flutter#181712)
2026-01-30 [email protected] Roll Dart SDK from 920b7e24583e to 2703fd9733ce (2 revisions) (flutter/flutter#181693)
2026-01-30 [email protected] Roll Skia from b9f40c193e7a to c198e5fa9cd9 (6 revisions) (flutter/flutter#181692)
2026-01-30 [email protected] Roll pub packages (flutter/flutter#181690)
2026-01-30 [email protected] Extend the Windows tool_integration_tests_2_9 shard timeout to 1 hour (flutter/flutter#181678)
2026-01-29 [email protected] Add `android_sdk` dependency to `android_engine_opengles_tests` (flutter/flutter#181681)
2026-01-29 [email protected] Roll Dart SDK from a0685c8e946b to 920b7e24583e (3 revisions) (flutter/flutter#181680)
2026-01-29 [email protected] Roll Skia from 128b5213711e to b9f40c193e7a (14 revisions) (flutter/flutter#181675)
2026-01-29 [email protected] [Impeller] Ensure that HostBuffers/DeviceBuffers allocated by RendererTest tests are valid for the lifetime of the RenderPass (flutter/flutter#181635)
2026-01-29 [email protected] [Impeller] Fix off-by-one indices in the SimilarPointPair/SimilarPointTrio functions used by ShadowPathGeometryTest (flutter/flutter#181623)
2026-01-29 [email protected] 180162 fix radio list tile and switch list tile accept widget states controller (flutter/flutter#180367)
2026-01-29 [email protected] Remove unused test file (flutter/flutter#181671)
2026-01-29 [email protected] Roll libpng to version 1.6.54 (flutter/flutter#181625)
2026-01-29 [email protected] Remove nonstandard ndkpath for `hybrid_android_views` integration test (flutter/flutter#181666)
2026-01-29 [email protected] Add TestWidgetsApp utility and refactor widget tests to use WidgetsApp (flutter/flutter#180456)
2026-01-29 [email protected] Add `TestTextField` and migrate tests (flutter/flutter#180494)
2026-01-29 [email protected] Merge changelog for 3.38.9 (flutter/flutter#181668)
2026-01-29 [email protected] [flutter_tools] Deprecate `plugin_ffi` template (flutter/flutter#181588)
2026-01-29 [email protected] Deprecate onReorder callback (flutter/flutter#178242)
2026-01-29 [email protected] [web] Use defensive null check in text editing placeElement (flutter/flutter#180795)
2026-01-29 [email protected] Roll Packages from 1cb2148 to cd4fd61 (4 revisions) (flutter/flutter#181663)
2026-01-29 [email protected] Roll Skia from 89df65f8324c to 128b5213711e (2 revisions) (flutter/flutter#181651)
2026-01-29 [email protected] [hooks] Don't run build hooks for code assets in `flutter run` (flutter/flutter#181542)
2026-01-29 [email protected] Roll Dart SDK from f10dcbfca98f to a0685c8e946b (5 revisions) (flutter/flutter#181653)
2026-01-29 [email protected] Fixes getUniformX for Vulkan (flutter/flutter#181286)
2026-01-29 [email protected] Roll Fuchsia Linux SDK from adhoq9ouVRh0xzkm3... to isy1ARvK-3bsvtfc-... (flutter/flutter#181641)
2026-01-29 [email protected] Add isDark, isLight, and isSystem getters to ThemeMode (flutter/flutter#181475)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
...
github-merge-queue bot pushed a commit that referenced this pull request Jan 30, 2026
… GL API wrappers log arguments with function types (#181734)

#181157 introduced a call to the
glDebugMessageCallback API using a lambda as the argument. On Windows
builds this produces a warning about a nonstandard implicit conversion
when the Impeller GL API wrappers try to log the callback argument.
LongCatIsLooong pushed a commit to LongCatIsLooong/flutter that referenced this pull request Feb 6, 2026
<!--
Thanks for filing a pull request!
Reviewers are typically assigned within a week of filing a request.
To learn more about code review, see our documentation on Tree Hygiene:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
-->

Enables improved OpenGLES debug support in the playground tests if
[KHR_DEBUG](https://registry.khronos.org/OpenGL/extensions/KHR/KHR_debug.txt)
is available. Only activated on unoptimized builds (where `NDEBUG` is
not defined)

Example: 

Before:
```
[FATAL:flutter/impeller/renderer/backend/gles/proc_table_gles.h(44)] Fatal GL Error GL_INVALID_ENUM(1280) encountered on call to glBindBuffer
```

After:
```
[ERROR:flutter/impeller/playground/backend/gles/playground_impl_gles.cc(146)] GL Error: GL_INVALID_ENUM error generated. Invalid buffer target enum.
[FATAL:flutter/impeller/renderer/backend/gles/proc_table_gles.h(44)] Fatal GL Error GL_INVALID_ENUM(1280) encountered on call to glBindBuffer
```


Closes flutter#179329

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
LongCatIsLooong pushed a commit to LongCatIsLooong/flutter that referenced this pull request Feb 6, 2026
… GL API wrappers log arguments with function types (flutter#181734)

flutter#181157 introduced a call to the
glDebugMessageCallback API using a lambda as the argument. On Windows
builds this produces a warning about a nonstandard implicit conversion
when the Impeller GL API wrappers try to log the callback argument.
flutter-zl pushed a commit to flutter-zl/flutter that referenced this pull request Feb 10, 2026
<!--
Thanks for filing a pull request!
Reviewers are typically assigned within a week of filing a request.
To learn more about code review, see our documentation on Tree Hygiene:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
-->

Enables improved OpenGLES debug support in the playground tests if
[KHR_DEBUG](https://registry.khronos.org/OpenGL/extensions/KHR/KHR_debug.txt)
is available. Only activated on unoptimized builds (where `NDEBUG` is
not defined)

Example: 

Before:
```
[FATAL:flutter/impeller/renderer/backend/gles/proc_table_gles.h(44)] Fatal GL Error GL_INVALID_ENUM(1280) encountered on call to glBindBuffer
```

After:
```
[ERROR:flutter/impeller/playground/backend/gles/playground_impl_gles.cc(146)] GL Error: GL_INVALID_ENUM error generated. Invalid buffer target enum.
[FATAL:flutter/impeller/renderer/backend/gles/proc_table_gles.h(44)] Fatal GL Error GL_INVALID_ENUM(1280) encountered on call to glBindBuffer
```


Closes flutter#179329

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
flutter-zl pushed a commit to flutter-zl/flutter that referenced this pull request Feb 10, 2026
… GL API wrappers log arguments with function types (flutter#181734)

flutter#181157 introduced a call to the
glDebugMessageCallback API using a lambda as the argument. On Windows
builds this produces a warning about a nonstandard implicit conversion
when the Impeller GL API wrappers try to log the callback argument.
rickhohler pushed a commit to rickhohler/flutter that referenced this pull request Feb 19, 2026
<!--
Thanks for filing a pull request!
Reviewers are typically assigned within a week of filing a request.
To learn more about code review, see our documentation on Tree Hygiene:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
-->

Enables improved OpenGLES debug support in the playground tests if
[KHR_DEBUG](https://registry.khronos.org/OpenGL/extensions/KHR/KHR_debug.txt)
is available. Only activated on unoptimized builds (where `NDEBUG` is
not defined)

Example: 

Before:
```
[FATAL:flutter/impeller/renderer/backend/gles/proc_table_gles.h(44)] Fatal GL Error GL_INVALID_ENUM(1280) encountered on call to glBindBuffer
```

After:
```
[ERROR:flutter/impeller/playground/backend/gles/playground_impl_gles.cc(146)] GL Error: GL_INVALID_ENUM error generated. Invalid buffer target enum.
[FATAL:flutter/impeller/renderer/backend/gles/proc_table_gles.h(44)] Fatal GL Error GL_INVALID_ENUM(1280) encountered on call to glBindBuffer
```


Closes flutter#179329

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
rickhohler pushed a commit to rickhohler/flutter that referenced this pull request Feb 19, 2026
… GL API wrappers log arguments with function types (flutter#181734)

flutter#181157 introduced a call to the
glDebugMessageCallback API using a lambda as the argument. On Windows
builds this produces a warning about a nonstandard implicit conversion
when the Impeller GL API wrappers try to log the callback argument.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e: impeller Impeller rendering backend issues and features requests engine flutter/engine related. See also e: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable support for KHR_Debug in Impeller GLES Playground unit tests

4 participants