Sam Hocevar
7558d0664a
image: more method renaming for consistency.
8 лет назад
Sam Hocevar
969911a10a
gpu: remove 1200 lines of old DirectX 9 code.
9 лет назад
Sam Hocevar
3a90766614
scene: start working on a postprocess mechanism.
Not all programs support this feature for now, but that’s because they
don’t support the scene framework either, and will need patching. Also
the default postprocess is deliberately exaggerated for now.
9 лет назад
Sam Hocevar
d84605c105
Remove Xbox 360 support, too much stuff no longer compiles.
10 лет назад
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
10 лет назад
Sam Hocevar
a07844682e
build: remove dead PS3 code.
11 лет назад
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
11 лет назад
Sam Hocevar
5fcc47b74c
gpu: fix compilation on platforms that don't have GL_BGRA.
11 лет назад
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
11 лет назад
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
11 лет назад
Sam Hocevar
ff8723ff63
gpu: implement Framebuffer::GetImage() for OpenGL.
11 лет назад
Sam Hocevar
c9b8ff54a1
misc: some refactoring in texture handling.
11 лет назад
Sam Hocevar
5f3ad5cc15
math: add constant vectors vec2::zero, vec2::axis_x, etc.
12 лет назад
Sam Hocevar
01547a0a20
gpu: add a 16-bit depth buffer to framebuffers on WebGL and GL ES.
12 лет назад
Sam Hocevar
c6ffd1ffcf
build: fix the X360 port.
12 лет назад
Sam Hocevar
532f679f8a
gpu: get rid of the global D3D device pointer and move D3D initialisation
code from the Video to the Renderer class.
12 лет назад
Sam Hocevar
084a98be87
gpu: framebuffers now use the g_render object to restore viewport data.
12 лет назад
Sam Hocevar
3b90e19739
gpu: fix framebuffer handling in OpenGL ES and add some sanity checks.
12 лет назад
Benlitz
c75c255e26
Fixed D3D9 compilation (note: D3D9 version still not working)
12 лет назад
Sam Hocevar
1a24fb898c
gpu: OS X and iOS compilation fix.
12 лет назад
Sam Hocevar
be652e00b0
gpu: refactor the framebuffer format retrieval code.
12 лет назад
Lolbot
e045fecbbd
fixed 1 files out of 2673:
- removed 46 CR characters
- removed 237 trailing whitespaces
- replaced 0 tabs with spaces
12 лет назад
Benjamin ‘Touky’ Huet
842697b9b7
framebuffer : build fix
12 лет назад
Benjamin ‘Touky’ Huet
566d495ffe
iOS default value doesn't build.
12 лет назад
Benjamin ‘Touky’ Huet
a472e53e69
framebuffer : mac opengl build setup.
12 лет назад
Sam Hocevar
cbd3aa1519
build: various compilation fixes.
12 лет назад
Sam Hocevar
2c3092ef28
gpu: rename FrameBuffer to Framebuffer.
12 лет назад
Benjamin ‘Touky’ Huet
0d344595ff
Added FrameBufferFormat struct : a wrapper for RenderTarget-format. NOT TESTED on PS3 & DirectX. Default values are the same as previous code, though.
12 лет назад
Benjamin ‘Touky’ Huet
23f9299a59
video : Added SetAlphaBlend() SetFaceCulling() SetCustomSize()
FrameBuffer : Added GetSize() & tweaked Bind()/Unbind() with size update for correct rendering.
12 лет назад
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
12 лет назад
Sam Hocevar
1c3ca01ea0
build: fix a few compiler warnings here and there.
13 лет назад
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
13 лет назад
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
13 лет назад
Sam Hocevar
47d98bde9a
gpu: use a valid default framebuffer color format on the PS3.
13 лет назад
Sam Hocevar
50de813d99
gpu: explicitly create render targets on the Xbox 360.
13 лет назад
Sam Hocevar
6aed414491
gpu: port FBO code to the Xbox360.
13 лет назад
Sam Hocevar
e4cc84d5b3
gpu: finalise the framebuffer object Direct3D implementation.
13 лет назад
Sam Hocevar
7d5fe8a7c6
gpu: create the ShaderTexture class, replace Shader::SetTexture with a
Shader::SetUniform override, and implement most of the FBO code for
the Direct3D backend.
13 лет назад
Sam Hocevar
0fa5d6ae57
gpu: on the PS3, use the OES version of the framebuffer GL calls.
13 лет назад
Sam Hocevar
1277f66fb6
gpu: activate FBO support on Android.
13 лет назад
Sam Hocevar
2e3db290cb
gpu: support framebuffer objects on OpenGL ES (depth buffer isn't
supported yet).
13 лет назад
Sam Hocevar
74edd6cbab
build: OS X compilation fixes: use GL_INVALID_ENUM instead of GL_INVALID_INDEX
and support automake 1.12 in the bootstrap script.
13 лет назад
Sam Hocevar
4fa458d653
gpu: disable framebuffer objects on GL ES for now, and disable integer
attributes if GL version isn't 3.0 at least.
13 лет назад
Sam Hocevar
95d26d18dd
gpu: remove FrameBuffer::Clear(), it's not really useful.
13 лет назад
Sam Hocevar
e2295392b8
gpu: first FrameBuffer GPU class.
13 лет назад