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.
преди 13 години
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 години