Sam Hocevar
|
3e206b60e0
|
gpu: do not try to call glVertexAttribIPointer if Glew did not find it.
|
13 yıl önce |
Sam Hocevar
|
4fc8ce6470
|
gpu: now shaders can only be created from a LolFx file.
|
13 yıl önce |
Sam Hocevar
|
2297288114
|
gpu: get rid of the inline 2D shader and create "tile.lolfx".
|
13 yıl önce |
Sam Hocevar
|
544f1e873b
|
gpu: increase default minimum shader model.
|
13 yıl önce |
Sam Hocevar
|
47d98bde9a
|
gpu: use a valid default framebuffer color format on the PS3.
|
13 yıl önce |
Sam Hocevar
|
2df85645fb
|
gpu: document and tweak some class declarations.
|
13 yıl önce |
Sam Hocevar
|
50de813d99
|
gpu: explicitly create render targets on the Xbox 360.
|
13 yıl önce |
Sam Hocevar
|
6aed414491
|
gpu: port FBO code to the Xbox360.
|
13 yıl önce |
Sam Hocevar
|
e4cc84d5b3
|
gpu: finalise the framebuffer object Direct3D implementation.
|
13 yıl önce |
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 yıl önce |
Sam Hocevar
|
0fa5d6ae57
|
gpu: on the PS3, use the OES version of the framebuffer GL calls.
|
13 yıl önce |
Sam Hocevar
|
1277f66fb6
|
gpu: activate FBO support on Android.
|
13 yıl önce |
Sam Hocevar
|
2e3db290cb
|
gpu: support framebuffer objects on OpenGL ES (depth buffer isn't
supported yet).
|
13 yıl önce |
Sam Hocevar
|
23ab462042
|
gpu: try to patch some simple GLSL shaders on the fly so that they
work on OpenGL ES contexts.
|
13 yıl önce |
Sam Hocevar
|
9ff675579a
|
gpu: only unbind vertex attribs that we actually bound.
|
13 yıl önce |
Sam Hocevar
|
1ae419aaa3
|
gpu: enable backface culling for indexed meshes, too.
|
13 yıl önce |
Sam Hocevar
|
65ea695de1
|
core: start working on a higher level LolFx compiler based on the latest
GLSL grammar and some personal attempts at writing an HLSL grammar.
|
13 yıl önce |
Sam Hocevar
|
f3dfadd1f9
|
gpu: fix vertex and index buffer behaviour on the PS3.
|
13 yıl önce |
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 yıl önce |
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 yıl önce |
Sam Hocevar
|
28728814cc
|
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
|
13 yıl önce |
Sam Hocevar
|
8375f3443d
|
build: fix the PS3 port by using our trig.h everywhere instead of stdlib
functions; also remove a lot of idiotic "using namespace std" from the
codebase.
|
13 yıl önce |
Sam Hocevar
|
95d26d18dd
|
gpu: remove FrameBuffer::Clear(), it's not really useful.
|
13 yıl önce |
Sam Hocevar
|
18d22e1fc5
|
gpu: better state restoration after vertex buffer usage.
|
13 yıl önce |
Sam Hocevar
|
27d22a9778
|
gpu: do not convert u8vec4 to integers when set as array buffers, since we
want to normalise them to floats.
|
13 yıl önce |
Sam Hocevar
|
67113aa9f0
|
gpu: do not convert integers in vertex streams to floats.
|
13 yıl önce |
Sam Hocevar
|
2feb505b72
|
gpu: be more verbose about shader compilation; some warnings are useful.
|
13 yıl önce |
Sam Hocevar
|
ca5781ec1d
|
gpu: fix a harmless inconsistency in vertexbuffer function order that could
have confused the reader.
|
13 yıl önce |
Sam Hocevar
|
ce4c8eb731
|
gpu: add GL points support to the primitive rendering.
|
13 yıl önce |
Sam Hocevar
|
286c5edeb6
|
neercs: some refactoring.
|
13 yıl önce |
Sam Hocevar
|
e2295392b8
|
gpu: first FrameBuffer GPU class.
|
13 yıl önce |
Sam Hocevar
|
e5e598bd68
|
gpu: first shot at a Shader::SetTexture() function.
|
13 yıl önce |
Sam Hocevar
|
add39177c5
|
gpu: disable all vertex attributes upon vertex declaration unbind, just
because we don't know yet how to disable them selectively.
|
13 yıl önce |
Sam Hocevar
|
1b9facda49
|
gpu: silently ignore empty vertex and index buffers instead of crashing
and letting the user guess what happened. This doesn't prevent us from
displaying an additional friendly warning later.
|
13 yıl önce |
Sam Hocevar
|
a71562bd83
|
core: rename f64vec4 to dvec4 etc. for consistency with GLSL.
|
13 yıl önce |
Sam Hocevar
|
55a195d931
|
gpu: irrelevant tweaks to a test material file.
|
13 yıl önce |
Sam Hocevar
|
fc618350f6
|
gpu: start working on the LolFx format.
|
13 yıl önce |
Sam Hocevar
|
59ba6e6c87
|
core: no longer deactivate std::ostream features on Android.
|
13 yıl önce |
Sam Hocevar
|
e110495464
|
gpu: define the _XBOX macro in our HLSL compilation.
|
13 yıl önce |
Sam Hocevar
|
a606290ed2
|
gpu: allow to load a .lolfx file instead of all those shaders.
|
13 yıl önce |
Sam Hocevar
|
1443b5628f
|
win32: add a custom build rule for '.lolfx' files. The files are properly
transformed to C++ but aren't compiled into the project yet.
|
13 yıl önce |
Sam Hocevar
|
d452194326
|
gpu: activate backface culling on OpenGL to remain consistent with
the Direct3D backend.
|
13 yıl önce |
Sam Hocevar
|
64b37d8897
|
gpu: fix a memory leak in the VertexBuffer and IndexBuffer classes.
|
13 yıl önce |
Sam Hocevar
|
cbf13dac65
|
gpu: temporarily enable alpha blending in the vertex buffer code.
|
13 yıl önce |
Sam Hocevar
|
f23b47a8e2
|
ps3: start fixing the vertex buffer logic in there.
|
13 yıl önce |
Sam Hocevar
|
28b3a4f639
|
gpu: implement a few CG calls.
|
13 yıl önce |
Sam Hocevar
|
9960f73351
|
gpu: normalize 8-bit integer data in 0..1 by default.
|
13 yıl önce |
Sam Hocevar
|
a327302484
|
gpu: fix Direct3D handling of float3x3 uniforms; they need padding.
|
13 yıl önce |
Sam Hocevar
|
f1c0e3ba4e
|
gpu: add methods to send mat2 and mat3 matrices to the shader.
|
13 yıl önce |
Sam Hocevar
|
bc5bf62886
|
gpu: assume 8-bit unsigned vertex data is expected to be normalised on 0-1.
|
13 yıl önce |