158 Commits (da12e9cf975e7ddd5542395de728b1b10fd2d78a)

Author SHA1 Message Date
  Sam Hocevar cbd3aa1519 build: various compilation fixes. 12 years ago
  Sam Hocevar 2c3092ef28 gpu: rename FrameBuffer to Framebuffer. 12 years ago
  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 years ago
  Benjamin ‘Touky’ Huet 23f9299a59 video : Added SetAlphaBlend() SetFaceCulling() SetCustomSize() 12 years ago
  Sam Hocevar 6faf4ee067 base: roll our own constants because it’s always a pain in the ass 12 years ago
  Sam Hocevar 8dbe2e5224 gpu: only add the half-texel offset on the X360. 12 years ago
  Sam Hocevar d4dcdb75e6 gpu: account for the HLSL half-texel offset on the PS3. 12 years ago
  Sam Hocevar c46b3fbfec image: remove the Image::Format enum and use PixelFormat instead. 12 years ago
  Sam Hocevar 6e282a674a base: remove some sprintf() calls in profit of string ops. 12 years ago
  Sam Hocevar 39a8c26fb5 base: start removing occurrences of NULL on our long journey to nullptr. 12 years ago
  Sam Hocevar 872efdb880 debug: add Debug::DrawLine() and Debug::DrawBox() methods. 12 years ago
  Sam Hocevar e9b4985dbd gpu: add MeshPrimitive::Lines enum and modify the cube tutorial 12 years ago
  Sam Hocevar 1c3ca01ea0 build: fix a few compiler warnings here and there. 12 years ago
  Benjamin ‘Touky’ Huet 020d539586 easymesh : vertices datas are now stored in a very user-friendly struct. Heavier on datas, though. 12 years ago
  Benjamin ‘Touky’ Huet bb0051ae8e render : Added DebugRenderMode & corresponding shaders. naive (VERY) implementation in MeshViewer. 12 years ago
  Sam Hocevar 06c4ec01c3 base: move headers around and promote gpu/ to lol/gpu/. 12 years ago
  Sam Hocevar 1f487e5e6f gpu: OpenGL ES compilation fix: GL_RGB8 is desktop OpenGL only. 12 years ago
  Sam Hocevar 29d5bb3b96 gpu: fix compilation on GL ES platforms. 12 years ago
  Sam Hocevar 42fb9b6853 gpu: support 1-component (luminance) textures. 12 years ago
  Sam Hocevar 9f6814fbd8 gpu: fix PS3 compilation caused by wrong function names. 12 years ago
  Sam Hocevar e960628223 gpu: allow to set array uniform values. 12 years ago
  Benjamin ‘Touky’ Huet c7219ff1dd New year copyright update. 12 years ago
  Sam Hocevar d6634da83f build: fix the WTFPL site URL in all code comments. 12 years ago
  Sam Hocevar 84a308af4e gpu: warn when a vertex shader attribute isn’t found and do not crash 12 years ago
  Sam Hocevar 0149c30df4 core: refactor the Hash class so that we can hash base types, too. 12 years ago
  Sam Hocevar 7658744c44 gpu: remove some crap from vertexbuffer.cpp and allow for 12 years ago
  Sam Hocevar fa646c41c3 gpu: fix the computed element count in DrawIndexedElements on Direct3D. 12 years ago
  Sam Hocevar 6944db663b tutorial: add a new texture generation example. 12 years ago
  Sam Hocevar 0ea16b413e gpu: D3DFMT_R8G8B8 doesn't seem to exist on the X360. 12 years ago
  Sam Hocevar 26c945a31f gpu: allow to specify the pixel format when creating a texture; the 12 years ago
  Sam Hocevar f626d36b47 gpu: don't use D3DLOCK_DISCARD on the X360, it's not there. 12 years ago
  Sam Hocevar e0330e18d7 gpu: fix some Direct3D programming errors; we cannot call SetVertexDeclaration 12 years ago
  Sam Hocevar 8a688a7d50 misc: compilation fixes for Windows, X360 and PS3 introduced by the 12 years ago
  Sam Hocevar b9aba5d27a gpu: put the texture creation code in its own class; for now a lot of things are 12 years ago
  Sam Hocevar ad00a34984 gpu: add support for triangle strips and fans, and change the DrawElement 12 years ago
  Sam Hocevar 004d21a4c4 ps3: support for texture coordinates on the PS3. 12 years ago
  Sam Hocevar 5b57aa50fe core: fix a bad format string and disable an annoying warning in Array<>. 12 years ago
  Sam Hocevar ca5238b145 lolfx: names such as "x" or "bgra" are field selectors, but we must also 12 years ago
  Sam Hocevar 787c96b47c lolfx: improve the LolFx compiler, including error reporting. We can now 12 years ago
  Sam Hocevar 549566cbf1 lolfx: use square brackets to indicate shader sections. 12 years ago
  Sam Hocevar 26c432be90 gpu: sip an empty LolFx class that embeds the compiler. 12 years ago
  Sam Hocevar c69e487dfc gpu: do not use GLEW on OS X until we are sure that the version we detected 12 years ago
  Sam Hocevar babb2f827e gpu: fix a few minor compiler warnings. 12 years ago
  Sam Hocevar 3e206b60e0 gpu: do not try to call glVertexAttribIPointer if Glew did not find it. 12 years ago
  Sam Hocevar 4fc8ce6470 gpu: now shaders can only be created from a LolFx file. 12 years ago
  Sam Hocevar 2297288114 gpu: get rid of the inline 2D shader and create "tile.lolfx". 12 years ago
  Sam Hocevar 544f1e873b gpu: increase default minimum shader model. 12 years ago
  Sam Hocevar 47d98bde9a gpu: use a valid default framebuffer color format on the PS3. 12 years ago
  Sam Hocevar 2df85645fb gpu: document and tweak some class declarations. 12 years ago
  Sam Hocevar 50de813d99 gpu: explicitly create render targets on the Xbox 360. 12 years ago