skia2/experimental/GLFWTest
robertphillips 0652baa23e Revert of Cleanup use of legacy SkSurface creation methods a bit (patchset #2 id:20001 of https://codereview.chromium.org/2223023002/ )
Reason for revert:
webkit_headless!

Original issue's description:
> Cleanup use of legacy SkSurface creation methods a bit
>
> This:
>    removes the SK_SUPPORT_LEGACY_NEW_SURFACE_API flag from the bzl build
>    cleans up some remaining uses of the old API
>
> GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2223023002
>
> Committed: https://skia.googlesource.com/skia/+/f21cd16228c20927fa4e9b937d6951471cfaa37a

TBR=benjaminwagner@google.com,egdaniel@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review-Url: https://codereview.chromium.org/2220933004
2016-08-08 09:17:20 -07:00
..
GLFWTest.xcodeproj Add test with GLFW framework 2015-10-09 13:27:34 -07:00
.gitignore Add test with GLFW framework 2015-10-09 13:27:34 -07:00
glfw_main.cpp Revert of Cleanup use of legacy SkSurface creation methods a bit (patchset #2 id:20001 of https://codereview.chromium.org/2223023002/ ) 2016-08-08 09:17:20 -07:00
Info.plist Add test with GLFW framework 2015-10-09 13:27:34 -07:00
README.txt Add test with GLFW framework 2015-10-09 13:27:34 -07:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This test is Mac-only for now. Adding Linux or Win support shouldnt be that difficult — it just needs a project file.

To run this demo, youll need to do three things:
1) Get GLFW 3.1.1 or later, and install it at third_party/externals/glfw. Youll need to run cmake in that directory to build the makefiles, and then make to build the libglfw.a library.
2) Build the skia libraries via the command line (by running ninja -C out/<config> dm, for example.
3) Get a ship.png file. Place it in this directory.