Commit graph

14270 commits

Author SHA1 Message Date
jp9000 75a1a02a97 fix function definition names for two of the conversion functions 2013-10-25 10:30:50 -07:00
jp9000 a43e291577 fill in the texture_setimage function, fill in a few other functions, and change certain names to be a little more consistent 2013-10-25 10:25:28 -07:00
jp9000 603b262d4c add format conversion functions 2013-10-25 10:23:11 -07:00
jp9000 e2e5454385 Added some more techniques to the default effect 2013-10-25 02:50:08 -07:00
jp9000 e4b920fb9d renamed the default draw effect 2013-10-25 02:45:01 -07:00
jp9000 bb329b9278 avoid using 'default' for enum switches 2013-10-24 01:29:06 -07:00
jp9000 8421690c33 made some slight corrections 2013-10-24 01:03:45 -07:00
jp9000 ac2c08927f added intial async audio/video code, fixed a few bugs, improved thread safety, and made a few other minor adjustments 2013-10-24 00:57:55 -07:00
jp9000 0a11dbabef fix error in readme 2013-10-18 21:40:32 -07:00
jp9000 ae3cecf09f make data access in the threads a bit more safe (note: probably will need some more safety measures later on) 2013-10-18 20:25:13 -07:00
jp9000 ebbf4175d3 minor tweaks and get rid of the linker dependency I used for testing 2013-10-17 18:44:37 -07:00
jp9000 18834c6a45 some static analysis cleanup 2013-10-17 17:21:42 -07:00
jp9000 6e6535d568 initialize variable to NULL to be safe against uninitialized usage 2013-10-17 00:36:32 -07:00
jp9000 dfa2dc6eab fix up the rest of the GL code, add glew to project, add makefiles for opengl, fix makefiles so that it can be built with gcc, update project files to automatically output to the build directory 2013-10-16 23:31:18 -07:00
jp9000 0dfc844abc woops, left some spaces by accident 2013-10-14 12:42:45 -07:00
jp9000 9570f0b8d7 change names, fix some bugs, minor GL/D3D fixes, update tests, fix effect files, output a little more debug information 2013-10-14 12:37:52 -07:00
Jim 1493a325bb Merge pull request #2 from sztanpet/includeguard
modernize header guards to #pragma once
2013-10-14 12:10:27 -07:00
Peter SZTANOJEV 0301b24ace modernize header guards to #pragma once 2013-10-14 13:21:15 +02:00
jp9000 27a7873066 fix the can_render function and add in view/projection matrix code 2013-10-12 23:53:30 -07:00
jp9000 9577ddcf9b fill in the rest of the GL functions. finally 2013-10-12 20:18:05 -07:00
jp9000 e591256922 add FBOs and render target loading 2013-10-12 16:28:10 -07:00
jp9000 83ddb920a1 finish up shader/sampler/texture/buffer loading/unloading/association 2013-10-12 12:35:38 -07:00
jp9000 aeea0eadc9 added shader attributes and added vertex buffer loading 2013-10-11 20:14:26 -07:00
jp9000 3951babc93 add GL index buffers and a few tweaks to the helper functions 2013-10-11 13:00:39 -07:00
jp9000 0a4592a414 finish up GL vertex buffer code 2013-10-11 11:41:36 -07:00
jp9000 1b3b177583 add initial GL vertex buffer code 2013-10-10 23:03:42 -07:00
jp9000 e804a9043d fix GL pixel pack and unpack stuff 2013-10-10 18:50:09 -07:00
jp9000 85e2fc6b07 add stage surfaces and texture copying 2013-10-10 17:39:56 -07:00
jp9000 c1939de49b added z-stencil buffers to GL and made a GS_MAX_TEXTURES macro 2013-10-10 12:37:03 -07:00
jp9000 904725390a changed all references of the old d3d11 filenames to the new filenames 2013-10-10 08:01:09 -07:00
jp9000 47e0700f3f renamed some files to be a bit more consistent 2013-10-10 07:57:09 -07:00
jp9000 806bf557e5 removed a fairly pointless constant for the time being 2013-10-10 07:46:27 -07:00
jp9000 20490010e9 fix effect parser to properly parse and output uniform variables 2013-10-09 21:38:55 -07:00
jp9000 d67354f53e remove unnecessary projects from glew 2013-10-09 21:37:44 -07:00
jp9000 e159fc4f06 fill in shader parameter functions 2013-10-09 20:34:23 -07:00
jp9000 fda2ee1147 added initial GL shader code 2013-10-09 15:48:16 -07:00
jp9000 c301c9e1ef whoops, added mul and saturate GLSL conversion 2013-10-08 15:18:33 -07:00
jp9000 34357f00fb finish up GLSL conversion stuff and make some minor tweaks to shader parser 2013-10-08 13:36:15 -07:00
jp9000 f9d1a4b9ed added first GLSL code, moved some graphics functions around, and adjusted some existing shader parser code 2013-10-06 18:29:29 -07:00
jp9000 fecb5578e3 woops, make sure that glDeleteBuffers gets a pointer to the pixel unpack buffer 2013-10-05 09:50:12 -07:00
jp9000 5a41589015 clean up pixel unpack buffer for dynamic textures, and add some more error handling code for other GL functions 2013-10-05 09:48:35 -07:00
jp9000 7f59eebea5 and fixed one more little bug 2013-10-05 09:42:04 -07:00
jp9000 f9c2aadf53 remove some more code duplication, fix a string, and remove a potential bug 2013-10-05 09:40:43 -07:00
jp9000 3243bfbaa3 rearrange/cleanup GL texture stuff, and fill out GL cubemap texture functions (still need FBOs) 2013-10-05 09:25:12 -07:00
jp9000 5c92f22f0d moved some stuff around to avoid code duplication and finish up gl 2D texture code 2013-10-05 00:34:43 -07:00
jp9000 9f0b7f25f6 one minor fix to texture pixel assignment code 2013-10-04 12:47:44 -07:00
jp9000 543d2481f1 move around some graphics stuff and put in copyright comments 2013-10-04 12:13:59 -07:00
jp9000 ec86c3eaf7 fixed code that used the newer gs_create_texture version 2013-10-04 09:01:39 -07:00
jp9000 75262e6e0b update graphics subsystem code to add mipmap support and also add initial GL texture stuff and helper functions 2013-10-04 08:55:33 -07:00
jp9000 92aa7a6fae just some minor coding style adjustments 2013-10-04 05:28:36 -07:00