angle/samples
Lubosz Sarnecki da02c6d9a5 samples: Improve TorusLighting samples.
Adjust the code style of the ES1 and ES2 TorusLighting samples to match
the one of TorusBufferStorage.

Use the step function override to calculate rotation and move state
changes that are required only once out of the draw function.

Bug: angleproject:5751
Change-Id: Ie663c7ecfd306504b6f9e9390ec24b251194f970
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3178904
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
2021-09-23 16:52:49 +00:00
..
WindowTest Rename util/system_utils to util/test_utils. 2019-09-27 21:47:21 +00:00
capture_replay Capture/Replay: Serialize trace metadata to a JSON file. 2021-09-08 17:13:59 +00:00
gles1 Enable two override suggestion warnings. 2020-08-28 19:47:05 +00:00
hello_triangle Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
mip_map_2d Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
multi_texture Rename util/system_utils to util/test_utils. 2019-09-27 21:47:21 +00:00
multi_window Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
multiple_draw_buffers Enable two override suggestion warnings. 2020-08-28 19:47:05 +00:00
multiview Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
particle_system Rename util/system_utils to util/test_utils. 2019-09-27 21:47:21 +00:00
post_sub_buffer Minor cleanup to PostSubBuffer sample. 2020-06-11 17:53:07 +00:00
sample_util samples: Add torus bufferstorage ES3 sample. 2021-09-23 16:44:59 +00:00
shader_translator Remove support for WEBGL_debug_shader_precision 2021-08-04 20:07:30 +00:00
simple_instancing Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
simple_texture_2d Samples: Move frame counter to common location. 2020-09-14 20:42:54 +00:00
simple_texture_cubemap Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
simple_vertex_shader Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
stencil_operations Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
tex_redef_microbench Move timer functionality from util/ to common/ 2019-08-30 17:05:57 +00:00
texture_wrap Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
torus_lighting samples: Improve TorusLighting samples. 2021-09-23 16:52:49 +00:00
tri_fan_microbench Move timer functionality from util/ to common/ 2019-08-30 17:05:57 +00:00
BUILD.gn samples: Add torus bufferstorage ES3 sample. 2021-09-23 16:44:59 +00:00