skia2/platform_tools/android
Florin Malita 4abf558c9f [androidkit] Relative-sized cube sample
Update the cube sample to be centered and sized relative to the target
surface.

Also simplify projection handling:

  - pre-compute a full view matrix in onSurfaceInitialized()
  - set the origin to the surface center
  - compute perspective and camera transforms in local coordinates
    (instead of unit view cube)

Also fix (invert) fling Y direction.

Change-Id: I48a3d0b4547812fb3c9b49a9842fb18c0ed0d863
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/413436
Reviewed-by: Jorge Betancourt <jmbetancourt@google.com>
2021-06-01 14:33:14 +00:00
..
apps [androidkit] Relative-sized cube sample 2021-06-01 14:33:14 +00:00
bin Improve selection of target_cpu in android_gdbserver 2020-04-21 19:31:54 +00:00
launcher
skp_gen Fix Python3 compatibility 2021-03-25 14:15:35 +00:00
tradefed
vulkan
.gitignore
gclient.config
whitespace.txt