23 Commits

Author SHA1 Message Date
UnknownShadow200
b299a48fcc Gfx: Add definition for glGetTexImage. (It will all make sense soon) 2016-10-04 07:28:50 +11:00
UnknownShadow200
b2c642b8af Remove Block enum. 2016-06-11 15:29:45 +10:00
UnknownShadow200
38b8d95946 Avoid garbage collecting the Event handler. 2015-11-04 11:11:31 +11:00
UnknownShadow200
bc92278291 More comments in IGraphicsAPI. 2015-10-29 06:58:11 +11:00
UnknownShadow200
b39d2764bc More work on occlusion culling (still doesn't work properly in same cases), fix issues with HoldThis packet, fixes #100. 2015-10-13 16:59:21 +11:00
UnknownShadow200
1740631f17 Simplify linux backend, use core vbo functions if running >= 1.5 opengl. 2015-10-01 18:10:22 +10:00
UnknownShadow200
dde58e8b1d Reorganise BlockInfo, more work on BlockDefinitions. 2015-09-22 16:48:04 +10:00
UnknownShadow200
a17cda3d3c Print to console when DEBUG_OPENTK is defined instead of using System.Diagnostics.Debug, fixes crashing on Mono and fixes #63. 2015-09-10 13:48:21 +10:00
UnknownShadow200
9d73e2492d Integrate SharpDX into OpenTK. 2015-08-16 10:16:59 +10:00
UnknownShadow200
1590664f68 Make IGraphicsApi even more consistent. 2015-08-04 07:17:20 +10:00
UnknownShadow200
efc7b0bfe6 Use stackalloc to avoid allocating index buffer on LOH, remove Is<X> methods in IGraphicsApi and make IGraphicsApi more consistent. 2015-08-04 06:32:12 +10:00
UnknownShadow200
281e815125 Significantly reduce allocation of GCHandles, replace with inlined fixed statement in GL class. 2015-08-03 20:08:04 +10:00
UnknownShadow200
df879604f2 Major rewrite of graphics APIs: Use SharpDX instead of Managed DirectX (64 bit works now), rewrite OpenTK GL class to use calli instructions. 2015-07-28 06:53:22 +10:00
UnknownShadow200
e2d154d2c4 Cleanup in OpenTK. 2015-07-27 19:17:25 +10:00
UnknownShadow200
25d7cbda9e Combine player rendering functions into Player class, remove D3DX reference since we longer need it. 2015-07-21 18:48:51 +10:00
UnknownShadow200
f7b40a3d21 Don't keep track of 'CurrentContext', don't pass opengl version to game window constructor as it is unnecessary, don't bother with reflection because we only really need to load 51 delegates. 2015-07-10 07:07:19 +10:00
UnknownShadow200
9436afb3f3 Simplify classes that load unmanaged functions statically or dynamically. Remove unncessary namespaces from many declarations in both GL delegates and core class. 2015-07-06 18:04:32 +10:00
UnknownShadow200
7439ee727a Directly call delegates in OpenGL api, remove some unused functions from OpenTK, only use glLoadMatrix and glMultMatrix. 2015-06-30 07:00:34 +10:00
UnknownShadow200
55c3e7557f Remove more overloads in OpenTK, fix bug with players not being rendered correctly in DirectX api. 2015-06-13 07:39:51 +10:00
UnknownShadow200
54fd9887b3 Remove even more unused enums/functions from OpenTK. 2015-06-13 06:40:26 +10:00
UnknownShadow200
a4e4096078 Remove some enums and overloads in OpenTK. 2015-06-12 18:17:54 +10:00
UnknownShadow200
e6cb869178 Remove more unused GL functions and overloads, prefer &id format in OpenGLApi. 2015-06-12 18:00:32 +10:00
UnknownShadow200
21fb55f292 Integrate OpenTK into the solution. 2015-06-07 08:53:12 +10:00