Robert Bragg
f386b1f002
[journal] Don't resize a singlton VBO; create and destroy a VBO each flush
...
This simplifies the vertex data uploading in the journal, and could improve
performance. Modifying a VBO mid-scene could reqire synchronizing with the
GPU or some form of shadowing/copying to avoid modifying data that the GPU
is currently processing; the buffer was also being marked as GL_STATIC_DRAW
which could have made things worse.
Now we simply create a GL_STATIC_DRAW VBO for each flush and and delete it
when we are finished.
2009-06-30 17:13:37 +01:00
..
2009-06-30 17:13:37 +01:00
2009-06-30 17:13:34 +01:00
2009-06-30 17:13:34 +01:00
2009-06-30 17:13:34 +01:00
2009-06-30 17:13:34 +01:00
2009-06-15 11:29:37 +01:00
2009-06-30 17:13:34 +01:00
2009-06-30 17:13:36 +01:00
2009-06-30 17:13:34 +01:00
2009-06-30 17:13:34 +01:00
2009-06-19 15:12:32 +01:00
2009-06-30 17:13:34 +01:00
2009-06-29 21:37:02 +02:00
2009-06-04 13:21:57 +01:00
2009-05-27 13:01:31 +01:00
2009-05-27 13:01:31 +01:00
2009-06-22 12:27:17 +01:00
2009-05-14 16:12:36 +01:00
2009-06-19 14:19:39 +01:00
2009-05-13 22:21:48 +01:00
2009-06-19 16:38:35 +01:00
2009-06-19 16:38:35 +01:00
2009-06-19 16:38:35 +01:00
2009-06-19 16:38:35 +01:00
2009-06-19 16:38:35 +01:00
2009-06-19 16:38:35 +01:00
2009-06-15 12:41:13 +01:00
2009-05-14 15:53:59 +01:00
2009-06-04 16:30:31 +01:00
2009-06-01 18:42:28 +01:00
2009-06-29 21:37:02 +02:00
2009-05-28 17:18:13 +01:00
2009-06-29 23:49:06 +01:00
2009-06-29 17:01:10 +01:00
2009-05-29 12:40:23 +01:00
2009-06-19 13:12:05 +01:00
2009-06-19 13:12:05 +01:00
2009-06-18 14:20:28 +01:00
2009-06-08 11:07:05 +01:00
2009-06-04 16:30:30 +01:00
2009-06-30 17:13:34 +01:00
2009-06-09 15:03:56 +01:00
2009-06-04 16:30:31 +01:00
2009-06-29 17:01:10 +01:00
2009-06-09 15:03:56 +01:00
2009-05-20 16:06:09 +01:00
2009-06-19 14:19:39 +01:00
2009-06-30 17:13:35 +01:00
2009-06-09 14:07:22 +01:00
2009-06-01 17:40:23 +01:00
2009-05-29 15:13:55 +01:00
2009-05-29 15:13:55 +01:00
2009-06-04 16:30:32 +01:00
2009-06-29 23:49:06 +01:00
2009-06-09 16:29:29 +01:00
2009-06-10 16:23:35 +01:00
2009-05-14 16:19:15 +01:00
2009-06-30 16:48:53 +01:00
2009-05-23 19:35:19 +01:00
2009-06-19 16:38:35 +01:00
2009-06-19 16:38:35 +01:00
2009-06-16 16:43:00 +01:00
2009-06-09 14:47:36 +01:00
2009-06-09 14:47:36 +01:00
2009-06-16 18:08:52 +01:00