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