Sam Hocevar
|
068a328651
|
gpu: fix the Direct3D version of most rendering functions.
|
vor 12 Jahren |
Benlitz
|
5f72c16f60
|
base: map methods can now take any type of object that is equatable to the key type and can be hashed by the key type specialization of the Hash class (and added string/char const* compatibility)
|
vor 12 Jahren |
Sam Hocevar
|
f0e8676248
|
gpu: don't use PolygonMode on GL ES.
|
vor 12 Jahren |
Sam Hocevar
|
9158677eae
|
gpu: implement polygon rendering mode in GL and D3D.
|
vor 12 Jahren |
Sam Hocevar
|
ad8144f0e8
|
scene: use a global g_scene object instead of Scene::GetDefault().
|
vor 12 Jahren |
Sam Hocevar
|
532f679f8a
|
gpu: get rid of the global D3D device pointer and move D3D initialisation
code from the Video to the Renderer class.
|
vor 12 Jahren |
Sam Hocevar
|
13fb52cebe
|
gpu: move Video::Clear to Renderer::Clear.
|
vor 12 Jahren |
Sam Hocevar
|
084a98be87
|
gpu: framebuffers now use the g_render object to restore viewport data.
|
vor 12 Jahren |
Sam Hocevar
|
e4d4f8df19
|
math: implement == and != for 2D and 3D box types.
|
vor 12 Jahren |
Sam Hocevar
|
9befaa5468
|
gpu: glGenerateMipmap is not available on the PS3, use glGenerateMipmapOES.
|
vor 12 Jahren |
Sam Hocevar
|
024ea25e27
|
gpu: disable alpha test on GL ES platforms.
|
vor 12 Jahren |
Sam Hocevar
|
a75e07d329
|
gpu: add full support for alpha test in GL and D3D.
|
vor 12 Jahren |
Sam Hocevar
|
9584830bad
|
base: leverage the libc for string comparisons.
|
vor 12 Jahren |
Sam Hocevar
|
87a9c3730c
|
gpu: implement all depth test functions in the renderer.
|
vor 12 Jahren |
Sam Hocevar
|
0b93890556
|
gpu: implement face culling mode in render contexts.
|
vor 12 Jahren |
Sam Hocevar
|
45c13689ec
|
gpu: implement blend function and alpha test in the renderer.
|
vor 12 Jahren |
Benlitz
|
e7b0c85e0f
|
Added comparison operators between strings and char const*
|
vor 12 Jahren |
Benlitz
|
eaa63d0b69
|
Added mipmap generation function for textures (i lied, it was easy with d3d9 <3)
|
vor 12 Jahren |
Sam Hocevar
|
c1c907499d
|
gpu: prevent accidental creation of a Renderer object.
|
vor 12 Jahren |
Sam Hocevar
|
9cfe1bffd6
|
easymesh: print full mesh source when compilation fails.
|
vor 12 Jahren |
Sam Hocevar
|
7c8fc6df12
|
gpu: move more platform-specific code from Video to Render.
|
vor 12 Jahren |
Sam Hocevar
|
274a732e3c
|
gpu: move SetClearColor and SetClearDepth to the Renderer and RenderContext
classes instead of Video.
|
vor 12 Jahren |
Sam Hocevar
|
b97cbbe27f
|
gpu: use the RenderContext class in a few friendly places.
|
vor 12 Jahren |
Sam Hocevar
|
1b213612a5
|
gpu: handle depth test, alpha blending and face culling in Renderer.
|
vor 12 Jahren |
Sam Hocevar
|
716c2b5592
|
gpu: create a Renderer and a RenderContext class to handle render states
such as alpha blending, depth test, etc.
|
vor 12 Jahren |
Benjamin ‘Touky’ Huet
|
181334f5ad
|
Added shifted_perspective for easier camera handling.
MeshViewer : Camera update and small object tweak.
ortho to perspective transition is now perfect.
|
vor 12 Jahren |
Sam Hocevar
|
3b90e19739
|
gpu: fix framebuffer handling in OpenGL ES and add some sanity checks.
|
vor 12 Jahren |
Sam Hocevar
|
395ab47c41
|
base: fix a compilation warning in string.h.
|
vor 12 Jahren |
Sam Hocevar
|
82c0dd22a4
|
base: assertion errors now mention source location.
|
vor 12 Jahren |
Sam Hocevar
|
5d57b53eb0
|
lua: print the actual panic message before dumping a callstack.
|
vor 12 Jahren |
Lolbot
|
cbb4dadd6c
|
fixed 4 files out of 2730:
- removed 24 CR characters
- removed 1 trailing whitespaces
- replaced 63 tabs with spaces
|
vor 12 Jahren |
Benlitz
|
d13a006945
|
SetMagFiltering and SetMinFiltering for class Texture.
|
vor 12 Jahren |
Benlitz
|
c75c255e26
|
Fixed D3D9 compilation (note: D3D9 version still not working)
|
vor 12 Jahren |
Sam Hocevar
|
98f8246323
|
build: lol-build now passes flags to configure, and configure now uses
optimisation flag -Os instead of -O3.
|
vor 12 Jahren |
Benlitz
|
60b06ee98e
|
added BytesPerPixel() method to PixelFormat structure
|
vor 12 Jahren |
Sam Hocevar
|
f197588f47
|
base: really fix the PS3 build this time.
|
vor 12 Jahren |
Sam Hocevar
|
fa31f691f9
|
base: fix PS3 build and use C library functions in string.h when possible.
|
vor 12 Jahren |
Lolbot
|
b078ba08ea
|
fixed 15 files out of 2730:
- removed 49 CR characters
- removed 2 trailing whitespaces
- replaced 1622 tabs with spaces
|
vor 12 Jahren |
Benlitz
|
4b98ef04a6
|
Added IndexOf and LastIndexOf methods in class String
|
vor 12 Jahren |
Benlitz
|
19e57f4fa9
|
Fixed GetStream function when the VertexDeclaration maps over multiple VertexStreams
|
vor 12 Jahren |
Benlitz
|
9a38b27bd8
|
vertex buffer: added some accessors to inspect a VertexDeclaration/Stream/Buffer
|
vor 12 Jahren |
Sam Hocevar
|
edd83d8a4d
|
lua: implement dofile().
|
vor 12 Jahren |
Sam Hocevar
|
67cfc5ee34
|
build: fix the lollua vcxproj.
|
vor 12 Jahren |
Sam Hocevar
|
0a9c3dc488
|
lua: don't build lua.c and luac.c into liblollua.
|
vor 12 Jahren |
Sam Hocevar
|
f2560ff5b8
|
build: work around a bug in the NaCl SDK C++ headers.
|
vor 12 Jahren |
Sam Hocevar
|
d8c6d4c198
|
doc: add some comments in vector.cpp functions.
|
vor 12 Jahren |
Sam Hocevar
|
f7dbc33524
|
build: update .vcxproj files.
|
vor 12 Jahren |
Sam Hocevar
|
a6e65e3e0c
|
base: don’t wait for next frame on Emscripten builds.
|
vor 12 Jahren |
Sam Hocevar
|
1a24fb898c
|
gpu: OS X and iOS compilation fix.
|
vor 12 Jahren |
Sam Hocevar
|
68c2da5898
|
build: more Emscripten improvements; keyboard input works properly now.
|
vor 12 Jahren |