Benjamin ‘Touky’ Huet
|
cb7a99bac3
|
Added ShaderBuilder
|
il y a 10 ans |
Sam Hocevar
|
7934df34ef
|
build: "USE_SDL" is now for SDL v2 and "USE_OLD_SDL" for version 1.
|
il y a 10 ans |
Sam Hocevar
|
d373081b80
|
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
|
il y a 10 ans |
Sam Hocevar
|
cd988786b9
|
build: reorganise includes so that we can use precompiled headers later.
|
il y a 10 ans |
Sam Hocevar
|
d0e9447ac0
|
gpu: fix missing #if blocks in vertex buffer code.
|
il y a 10 ans |
Sam Hocevar
|
ffa21ed0d0
|
misc: disable all 16-bit float vectors when using Visual Studio.
|
il y a 10 ans |
Sam Hocevar
|
4be9ea2a4e
|
misc: replace NULL with nullptr.
|
il y a 10 ans |
Sam Hocevar
|
5dc05d7f3e
|
build: remove empty directories and add proper svn:ignore flags.
|
il y a 10 ans |
Sam Hocevar
|
5fcc47b74c
|
gpu: fix compilation on platforms that don't have GL_BGRA.
|
il y a 10 ans |
Sam Hocevar
|
ad9a388e80
|
misc: remove 100% of the "using namespace std;" madness.
|
il y a 10 ans |
Sam Hocevar
|
12aaff89e3
|
base: huge refactor in vector.h; GCC compilation times down by 50%.
|
il y a 10 ans |
Sam Hocevar
|
fe665f85b4
|
base: strip core.h from its contents and put it in public/private headers.
|
il y a 10 ans |
Sam Hocevar
|
3862ad59dc
|
base: going on a lowercase rampage; today’s victim: Array.
|
il y a 10 ans |
Sam Hocevar
|
7e9f926c43
|
base: switch map, hash, array2d and array3d to lowercase, like standard
C++ containers.
|
il y a 10 ans |
Sam Hocevar
|
18254349aa
|
image: gather pixel-related types and enums into a single pixel.h header.
|
il y a 10 ans |
Sam Hocevar
|
ff8723ff63
|
gpu: implement Framebuffer::GetImage() for OpenGL.
|
il y a 10 ans |
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.
|
il y a 10 ans |
Sam Hocevar
|
79ed58f1f0
|
Merge branch 'master' into scenegraph
|
il y a 10 ans |
Sam Hocevar
|
b5672a6f61
|
neercs: refactor the shader system.
|
il y a 10 ans |
Sam Hocevar
|
44dec8612e
|
core: fix minor Windows and Raspberry compilation issues.
|
il y a 10 ans |
Sam Hocevar
|
3c8ef15f0e
|
gpu: switch some types to enum classes to check C++11 support.
|
il y a 10 ans |
Sam Hocevar
|
47e71bda63
|
base: rough implementation of safe enums with minimal ToString() support.
|
il y a 10 ans |
Sam Hocevar
|
7e769d6c79
|
base: make the safe enums slightly safer. :-)
|
il y a 10 ans |
Sam Hocevar
|
231d74f1f8
|
gpu: implement RenderContext::SetBlendEquation().
|
il y a 10 ans |
Benjamin ‘Touky’ Huet
|
1e4af19a89
|
Praise the Safe-Enum.
Implemented Safe-Enum for everyone.
Now the power is in the Safe-Enum for all.
|
il y a 10 ans |
Benjamin ‘Touky’ Huet
|
f5e37a4337
|
AddedSprite_sorter stores parameters now.
Added palette in Scene.
|
il y a 10 ans |
Benjamin ‘Touky’ Huet
|
9a09939793
|
Added SpriteSorter and SquadShooter
|
il y a 10 ans |
Sam Hocevar
|
c9b8ff54a1
|
misc: some refactoring in texture handling.
|
il y a 11 ans |
Benjamin ‘Touky’ Huet
|
fd4cb5e350
|
Added debug stuff
|
il y a 11 ans |
Benjamin ‘Touky’ Huet
|
dbb1d02aa6
|
Added 2D to 3D DebugLines
|
il y a 11 ans |
Sam Hocevar
|
76740f77bc
|
math: remove some vector constants that were a bit too specific.
|
il y a 11 ans |
Sam Hocevar
|
232fa4126d
|
gpu: rename uniforms here and there for consistency.
|
il y a 11 ans |
Sam Hocevar
|
73891294fe
|
gpu: fix a buffer overflow in our shader compilation wrapper.
|
il y a 11 ans |
Sam Hocevar
|
752829b7ed
|
gpu: shader fixes for the Web version.
|
il y a 11 ans |
Sam Hocevar
|
1945e85afc
|
scene: start working on the scene class reorganisation.
|
il y a 11 ans |
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.
|
il y a 11 ans |
Sam Hocevar
|
15c3039ba5
|
misc: fix some coding errors found by Coverity.
|
il y a 11 ans |
Benjamin ‘Touky’ Huet
|
7c3dab6af9
|
Fixed an error for Emscripten.
|
il y a 11 ans |
Sam Hocevar
|
5f3ad5cc15
|
math: add constant vectors vec2::zero, vec2::axis_x, etc.
|
il y a 11 ans |
Sam Hocevar
|
a7d169caff
|
ps3: some compilation fixes.
|
il y a 11 ans |
Sam Hocevar
|
9cfe17fd8b
|
core: fix some minor compiler warnings.
|
il y a 11 ans |
Benlitz
|
b07f6aba93
|
mesh: submesh class working, can be rendered with any compatible shader without caring of attributes
|
il y a 11 ans |
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
|
il y a 11 ans |
Benlitz
|
d775d7da19
|
gpu: added a SetStream that takes an array of attributes
|
il y a 11 ans |
Sam Hocevar
|
1b157def49
|
gpu: add SetDepthMask/GetDepthMask to render contexts.
|
il y a 11 ans |
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
|
il y a 11 ans |
Benlitz
|
26191e40da
|
gpu: getters in RenderContext class
|
il y a 11 ans |
Benlitz
|
1a2bfe6609
|
gpu: fixed vbo attribute binding when one of the attribute on the buffer does not exist in the shader
|
il y a 11 ans |
Lolbot
|
8cc04f0ba9
|
fixed 7 files out of 2745:
- removed 0 CR characters
- removed 21 trailing whitespaces
- replaced 42 tabs with spaces
|
il y a 11 ans |
Benlitz
|
3fc469b1f6
|
shaders now cache attribute location once they have been retrieved for the first time.
|
il y a 11 ans |