Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Started only loading gles3 functions if we have a gles3 context #56636

Merged
merged 3 commits into from
Nov 18, 2024
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
6 changes: 5 additions & 1 deletion impeller/renderer/backend/gles/proc_table_gles.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ ProcTableGLES::ProcTableGLES( // NOLINT(google-readability-function-size)
reinterpret_cast<decltype(proc_ivar.function)>(fn_ptr); \
proc_ivar.error_fn = error_fn; \
}
FOR_EACH_IMPELLER_GLES3_PROC(IMPELLER_PROC);

if (description_->GetGlVersion().IsAtLeast(Version(3))) {
FOR_EACH_IMPELLER_GLES3_PROC(IMPELLER_PROC);
}

FOR_EACH_IMPELLER_EXT_PROC(IMPELLER_PROC);

#undef IMPELLER_PROC
Expand Down