93b3dce89d
This CL creates a go program that takes a JSON file of GPU functions and creates the assemble and validate code based on that. This approach will hopefully will lessen the need for "shotgun surgery" anytime a new function/extensions is added. Additionally, it should be easier to add a new standard (concretely, WebGL) using this technique. There are a few potential bugs/mismatches in the current implementation that this has identified, for example, Requiring GL 3.x for adding a feature, but only verifying it is there on GL 4.x - I did not attempt to correct these bugs in the old version, as we will hopefully be able to delete that version and use the generated files. Bug: skia:8474, skia:8378 Change-Id: Ie8144bbab8e03f2c815fd942fa9f7f91dedba101 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/202137 Commit-Queue: Kevin Lubick <kjlubick@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> |
||
---|---|---|
.. | ||
toolchain | ||
__init__.py | ||
ar.py | ||
bench.gni | ||
BUILD.gn | ||
BUILDCONFIG.gn | ||
call.py | ||
checkdir.py | ||
codesign_ios.py | ||
compile_processors.py | ||
core.gni | ||
cp.py | ||
create_sksl_enums.py | ||
effects_imagefilters.gni | ||
effects.gni | ||
examples.gni | ||
find_headers.py | ||
find_ios_sysroot.py | ||
flutter_defines.gni | ||
fuchsia_defines.gni | ||
gen_plist_ios.py | ||
gm.gni | ||
gn_meta_sln.py | ||
gn_to_bp_utils.py | ||
gn_to_bp.py | ||
gn_to_cmake.py | ||
gpu.gni | ||
highest_version_dir.py | ||
is_clang.py | ||
make_examples_gni.py | ||
opts.gni | ||
pdf.gni | ||
push_to_android.py | ||
run_sksllex.py | ||
samples.gni | ||
shared_sources.gni | ||
skia.gni | ||
sksl.gni | ||
tests.gni | ||
utils.gni | ||
xps.gni |