dmitri.shuralyov.com/service/change/fs

Rename mtl change.

Also remove unused commit header from diffMtlCommit1.
dmitshur committed 5 years ago commit 46f60e141b8861f8c86acb941c76b6ec3d0af571
Showing partial commit. Full Commit
Collapse all
fs/fs.go
@@ -140,11 +140,11 @@ spec as is. Addressing this will be a part of future changes.`,
		}},
		"dmitri.shuralyov.com/gpu/mtl": {{
			Change: change.Change{
				ID:           1,
				State:        change.OpenState,
				Title:        "WIP: Add minimal API to support rendering to a window at 60 FPS.",
				Title:        "WIP: Add minimal API to support interactive rendering in a window.",
				Labels:       nil,
				Author:       dmitshur,
				CreatedAt:    time.Date(2018, 10, 17, 2, 9, 9, 583606000, time.UTC),
				Replies:      0,
				Commits:      1,
@@ -164,10 +164,19 @@ functionality. It renders a triangle that follows the mouse cursor.

**TODO:** A lot of the newly added API comes from Core Animation, AppKit
frameworks, rather than Metal. As a result, they likely do not belong
in this package and should be factored out.`,
				},
				change.TimelineItem{
					ID:        "1",
					Actor:     dmitshur,
					CreatedAt: time.Date(2018, 10, 18, 0, 54, 37, 790845000, time.UTC),
					Payload: change.RenamedEvent{
						From: "WIP: Add minimal API to support rendering to a window at 60 FPS.",
						To:   "WIP: Add minimal API to support interactive rendering in a window.",
					},
				},
			},
			Commits: []change.Commit{{
				SHA: "fc76fa8984fb4a28ff383895e55e635e06bd32f0",
				Message: `WIP: Add minimal API to support rendering to a window at 60 FPS.

@@ -1781,28 +1790,11 @@ index 0000000..dfb31fe
+TODO: A lot of the newly added API comes from Core Animation, AppKit
+frameworks, rather than Metal. As a result, they likely do not belong
+in this package and should be factored out.
` + diffMtlCommit1

const diffMtlCommit1 = `commit fc76fa8984fb4a28ff383895e55e635e06bd32f0
Author: Dmitri Shuralyov <dmitri@shuralyov.com>
Date:   Sat Jun 23 01:07:53 2018 -0400

    WIP: Add minimal API to support rendering to a window at 60 FPS.

    The goal of this change is to make it possible to use package mtl
    to render to a window at 60 FPS. It tries to add the minimum viable
    API that is needed.

    A new movingtriangle example is added as a demonstration of this
    functionality. It renders a triangle that follows the mouse cursor.

    TODO: A lot of the newly added API comes from Core Animation, AppKit
    frameworks, rather than Metal. As a result, they likely do not belong
    in this package and should be factored out.

diff --git a/example/movingtriangle/main.go b/example/movingtriangle/main.go
const diffMtlCommit1 = `diff --git a/example/movingtriangle/main.go b/example/movingtriangle/main.go
new file mode 100644
index 0000000..18b5e03
--- /dev/null
+++ b/example/movingtriangle/main.go
@@ -0,0 +1,196 @@