30 Commits

Author SHA1 Message Date
67682df332 add GL.draw_text and Widget#draw_text 2014-08-05 22:20:21 -04:00
d4a2222447 fix scanning programs for uniform names 2014-08-05 20:05:30 -04:00
d3e2046b69 replace gl_FragColor with frag_color output vector in fragment shaders 2014-08-05 20:04:52 -04:00
be8f71296f link programs before getting uniform locations; add Widget#draw_rect; fix GL.draw_rect; store uniforms as GLint 2014-08-04 23:19:30 -04:00
7cc541ed29 change Window.render to Window.render_begin; add empty Ruby Window.render method 2014-08-04 22:16:51 -04:00
e2608b1d29 add GL module; move OpenGL loading from Window to GL 2014-08-04 14:21:10 -04:00
f620f2b335 for now, always create an initial window and run Window.event_loop 2014-08-04 13:43:25 -04:00
914f08952b GLProgram: load and store uniform locations 2014-07-29 17:27:17 -04:00
d68cd6a396 add Window rendering capabilities 2014-07-27 13:58:03 -04:00
a19f17481b Window#initialize: call super 2014-07-27 13:25:26 -04:00
f2d3942f8a add Widget module 2014-07-27 09:28:35 -04:00
b908c98c8c record all Windows, add Window.event_loop 2014-07-23 22:21:59 -04:00
8604d6d5ad load shaders from Ruby on Window creation 2014-07-23 16:36:40 -04:00
d85a0de9df fill in GLProgram#initialize 2014-07-23 15:33:39 -04:00
2ae76e55f1 add Runtime.read 2014-07-23 15:17:41 -04:00
6a22ae4ad4 GLProgram: define initialize in ruby, allow attaching shaders 2014-07-22 18:59:01 -04:00
447e4279e7 Runtime: locate font files 2014-07-15 16:54:12 -04:00
4431cf4b29 optimize Runtime.default_paths slightly 2014-07-15 16:19:41 -04:00
5c9cc2223e set up Ruby load path for runtime modules; add runtime.rb 2014-07-15 15:26:35 -04:00
d5e7774e3c rename runtime/fonts/freefont -> runtime/fonts/freefont-ttf-20120503 2014-07-15 10:32:25 -04:00
ece813da21 add dejavu-fonts-ttf-2.34 fonts to runtime 2014-07-15 10:31:57 -04:00
2d7d3d14ab pass ARGV to main.rb; catch bootstrapping exceptions 2014-07-12 10:30:02 -04:00
f0db52e3d7 embed a Ruby; load runtime/main.rb 2014-07-12 10:09:24 -04:00
2f7bac1d75 update shaders to #version 410 2014-06-26 12:00:04 -04:00
c5de5ae479 rework text shader, add basic and rect shaders 2014-06-26 10:47:45 -04:00
4ef71dae79 fix text vertex shader coordinate mapping 2014-06-24 09:28:20 -04:00
8aff635d5f implement vertex coordinate mapping in text.v.glsl 2014-06-23 15:05:28 -04:00
031aa554cd add initial text shaders 2014-06-17 22:53:44 -04:00
07662e0abc add FreeFont Sans and Serif fonts to runtime/fonts/freefont 2014-06-15 18:49:21 -04:00
36b0ec6bc3 add GNU freefont fonts runtime files 2014-06-10 18:58:54 -04:00