Sam Hocevar
|
12aaff89e3
|
base: huge refactor in vector.h; GCC compilation times down by 50%.
|
10 anos atrás |
Sam Hocevar
|
fe665f85b4
|
base: strip core.h from its contents and put it in public/private headers.
|
10 anos atrás |
Sam Hocevar
|
3862ad59dc
|
base: going on a lowercase rampage; today’s victim: Array.
|
10 anos atrás |
Sam Hocevar
|
7e9f926c43
|
base: switch map, hash, array2d and array3d to lowercase, like standard
C++ containers.
|
10 anos atrás |
Sam Hocevar
|
18254349aa
|
image: gather pixel-related types and enums into a single pixel.h header.
|
10 anos atrás |
Sam Hocevar
|
ff8723ff63
|
gpu: implement Framebuffer::GetImage() for OpenGL.
|
10 anos atrás |
Sam Hocevar
|
5fc5d62849
|
image: add an optional Imlib2 codec, prepare for float32 images, make the
Lock/Unlock mechanism safer, and implement the rule of three.
|
10 anos atrás |
Sam Hocevar
|
79ed58f1f0
|
Merge branch 'master' into scenegraph
|
10 anos atrás |
Sam Hocevar
|
b5672a6f61
|
neercs: refactor the shader system.
|
10 anos atrás |
Sam Hocevar
|
44dec8612e
|
core: fix minor Windows and Raspberry compilation issues.
|
10 anos atrás |
Sam Hocevar
|
3c8ef15f0e
|
gpu: switch some types to enum classes to check C++11 support.
|
10 anos atrás |
Sam Hocevar
|
47e71bda63
|
base: rough implementation of safe enums with minimal ToString() support.
|
10 anos atrás |
Sam Hocevar
|
7e769d6c79
|
base: make the safe enums slightly safer. :-)
|
10 anos atrás |
Sam Hocevar
|
231d74f1f8
|
gpu: implement RenderContext::SetBlendEquation().
|
10 anos atrás |
Benjamin ‘Touky’ Huet
|
1e4af19a89
|
Praise the Safe-Enum.
Implemented Safe-Enum for everyone.
Now the power is in the Safe-Enum for all.
|
10 anos atrás |
Benjamin ‘Touky’ Huet
|
f5e37a4337
|
AddedSprite_sorter stores parameters now.
Added palette in Scene.
|
10 anos atrás |
Benjamin ‘Touky’ Huet
|
9a09939793
|
Added SpriteSorter and SquadShooter
|
10 anos atrás |
Sam Hocevar
|
c9b8ff54a1
|
misc: some refactoring in texture handling.
|
10 anos atrás |
Benjamin ‘Touky’ Huet
|
fd4cb5e350
|
Added debug stuff
|
10 anos atrás |
Benjamin ‘Touky’ Huet
|
dbb1d02aa6
|
Added 2D to 3D DebugLines
|
11 anos atrás |
Sam Hocevar
|
76740f77bc
|
math: remove some vector constants that were a bit too specific.
|
11 anos atrás |
Sam Hocevar
|
232fa4126d
|
gpu: rename uniforms here and there for consistency.
|
11 anos atrás |
Sam Hocevar
|
73891294fe
|
gpu: fix a buffer overflow in our shader compilation wrapper.
|
11 anos atrás |
Sam Hocevar
|
752829b7ed
|
gpu: shader fixes for the Web version.
|
11 anos atrás |
Sam Hocevar
|
1945e85afc
|
scene: start working on the scene class reorganisation.
|
11 anos atrás |
Benlitz
|
845a870c9f
|
gpu: fixed Video::GetSize(), it was previously returning the size of the current viewport, it is now returning the size of the back buffer.
|
11 anos atrás |
Sam Hocevar
|
15c3039ba5
|
misc: fix some coding errors found by Coverity.
|
11 anos atrás |
Benjamin ‘Touky’ Huet
|
7c3dab6af9
|
Fixed an error for Emscripten.
|
11 anos atrás |
Sam Hocevar
|
5f3ad5cc15
|
math: add constant vectors vec2::zero, vec2::axis_x, etc.
|
11 anos atrás |
Sam Hocevar
|
a7d169caff
|
ps3: some compilation fixes.
|
11 anos atrás |
Sam Hocevar
|
9cfe17fd8b
|
core: fix some minor compiler warnings.
|
11 anos atrás |
Benlitz
|
b07f6aba93
|
mesh: submesh class working, can be rendered with any compatible shader without caring of attributes
|
11 anos atrás |
Benlitz
|
f104674963
|
gpu: removed attribute name, everything works using semantic only now. For glsl, semantic is determined from the attribute name which must follow this pattern: in_[Semantic][index], index being optional. Note: this may break most of the projects although I tried to updated every shader accordingly
|
11 anos atrás |
Benlitz
|
d775d7da19
|
gpu: added a SetStream that takes an array of attributes
|
11 anos atrás |
Sam Hocevar
|
1b157def49
|
gpu: add SetDepthMask/GetDepthMask to render contexts.
|
11 anos atrás |
Lolbot
|
1f03fedb2d
|
fixed 19 files out of 2773:
- removed 2278 CR characters
- removed 0 trailing whitespaces
- replaced 115 tabs with spaces
- fixed 18 svn:eol-style properties
|
11 anos atrás |
Benlitz
|
26191e40da
|
gpu: getters in RenderContext class
|
11 anos atrás |
Benlitz
|
1a2bfe6609
|
gpu: fixed vbo attribute binding when one of the attribute on the buffer does not exist in the shader
|
11 anos atrás |
Lolbot
|
8cc04f0ba9
|
fixed 7 files out of 2745:
- removed 0 CR characters
- removed 21 trailing whitespaces
- replaced 42 tabs with spaces
|
11 anos atrás |
Benlitz
|
3fc469b1f6
|
shaders now cache attribute location once they have been retrieved for the first time.
|
11 anos atrás |
Sam Hocevar
|
01547a0a20
|
gpu: add a 16-bit depth buffer to framebuffers on WebGL and GL ES.
|
11 anos atrás |
Sam Hocevar
|
c6ffd1ffcf
|
build: fix the X360 port.
|
11 anos atrás |
Sam Hocevar
|
7ac9be9704
|
build: fix PS3 and Android builds.
|
11 anos atrás |
Sam Hocevar
|
a490c8c4c7
|
lolfx: preprocessor support in the LolFx parser. But this shit is going
nowhere, we’re probably gonna ditch the approach in favour of a GLSL to
HLSL translator instead.
|
11 anos atrás |
Sam Hocevar
|
8ff1cf9b32
|
base: disable exceptions in Bison-generated parsers.
|
11 anos atrás |
Sam Hocevar
|
068a328651
|
gpu: fix the Direct3D version of most rendering functions.
|
11 anos atrás |
Sam Hocevar
|
f0e8676248
|
gpu: don't use PolygonMode on GL ES.
|
11 anos atrás |
Sam Hocevar
|
9158677eae
|
gpu: implement polygon rendering mode in GL and D3D.
|
11 anos atrás |
Sam Hocevar
|
ad8144f0e8
|
scene: use a global g_scene object instead of Scene::GetDefault().
|
11 anos atrás |
Sam Hocevar
|
532f679f8a
|
gpu: get rid of the global D3D device pointer and move D3D initialisation
code from the Video to the Renderer class.
|
11 anos atrás |