doodle/lib/render/sdl
Noah Petherbridge c7cc40a339 Refactor Render Texture-Cache Interface
Since SDL2 is using in-memory bitmaps the same as Canvas engine, the
function names of the render.Engine interface have been cleaned up:

* NewTexture(filename, image) -> StoreTexture(name, image)
  Create a new cached texture with a given name.
* NewBitmap(filename) -> LoadTexture(name)
  Recall a stored texture with a given name.
* level.Chunk.ToBitmap uses simpler names for the textures instead of
  userdir.CacheFilename file-like paths.
2019-06-27 13:01:01 -07:00
..
canvas.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
events.go WASM Event Queue 2019-06-26 20:33:24 -07:00
sdl.go SDL2: Cache Bitmaps in Memory, Not on Disk 2019-06-27 12:46:35 -07:00
text.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
texture.go Refactor Render Texture-Cache Interface 2019-06-27 13:01:01 -07:00
utils.go Code Layout Refactor 2019-04-09 17:35:44 -07:00