bjorn
590668a8d6
lovrGraphicsBlit;
2018-08-29 21:21:38 -07:00
bjorn
8bb45f4de4
Clean up viewports;
2018-08-29 21:21:07 -07:00
bjorn
0af2704e5c
openvr canvas changes;
2018-08-29 21:20:01 -07:00
bjorn
f0806bb270
Pointers;
2018-08-29 21:19:41 -07:00
bjorn
21a869cc8b
Clean up;
2018-08-29 21:19:41 -07:00
bjorn
1ea3c84be9
Ugly viewport stuff;
2018-08-29 21:19:07 -07:00
bjorn
251f197c68
Free renderbuffer;
2018-08-29 21:18:33 -07:00
bjorn
329668eb39
Additional Canvas validation;
2018-08-29 21:18:33 -07:00
bjorn
4cc8bd7582
Canvas depth buffer;
2018-08-29 21:18:33 -07:00
bjorn
3bf76e3497
Fix clear and canvas texture refcounts;
2018-08-29 21:18:33 -07:00
bjorn
e8ec73657d
lovrCanvasBind;
2018-08-29 21:18:33 -07:00
bjorn
7e74441afd
getCanvas; setCanvas; Canvas attachments;
2018-08-29 21:18:33 -07:00
bjorn
d39e9f1687
Depth texture formats;
...
I hope I don't hate myself for calling them d16, d32, etc.
2018-08-29 21:18:32 -07:00
bjorn
e9ebdc2d58
Rework TextureData creation functions;
2018-08-29 21:18:32 -07:00
bjorn
7795bb9276
I came in like a wrecking ball;
2018-08-29 21:18:32 -07:00
bjorn
7569b7934f
conf flag for singlepass; Shader fixes;
2018-08-23 12:52:18 -07:00
bjorn
d2b6def5c2
Shader:sendImage;
...
Can be used to bind images with specific slices, mipmap levels,
and access hints.
2018-08-17 19:53:54 -07:00
bjorn
cab12ba945
Shader:setBlock accepts access hint;
2018-08-17 19:53:54 -07:00
bjorn
a32b53b2cc
UniformAccess for read/write block/image hints;
2018-08-17 19:53:54 -07:00
bjorn
3eca158025
ty compiler;
2018-08-16 17:54:48 -07:00
bjorn
96cfeedc94
Add rg16f and rg32f texture formats;
2018-08-16 14:54:37 -07:00
bjorn
bd1bb5850e
Load HDR files in floating point format;
2018-08-16 14:28:10 -07:00
bjorn
a30fdc9749
Texture:getFormat;
2018-08-16 14:27:45 -07:00
bjorn
29e733503f
Canvas works with new texture allocation method;
2018-08-15 17:56:19 -07:00
bjorn
d036388209
Fix GL_IMAGE_2d constant;
2018-08-15 16:55:50 -07:00
bjorn
a18540a934
Proper validation of uniform texture types;
2018-08-13 17:03:39 -07:00
bjorn
0e0ac05c6f
Attempt towards more comprehensive barriers;
2018-08-11 21:17:22 -07:00
bjorn
246e9b13b9
Better shader compilation error messages;
2018-08-11 00:09:47 -07:00
bjorn
1295481dc0
Better error message;
2018-08-11 00:09:47 -07:00
bjorn
58dc34ec64
Proper format support for image uniforms;
2018-08-11 00:08:34 -07:00
bjorn
7528ac2db8
Fix texture format for image uniforms;
2018-08-11 00:08:34 -07:00
bjorn
6d10f5c7d0
Post-merge fixes;
2018-08-11 00:08:34 -07:00
bjorn
9ce462a67f
Image uniforms;
2018-08-11 00:08:34 -07:00
bjorn
d961614184
Attempt automatic glMemoryBarrier;
2018-08-11 00:08:34 -07:00
bjorn
9e111071e8
webgl stuff;
...
I shouldn't need to do this but will fix it later.
2018-08-11 00:08:34 -07:00
bjorn
c3823a6f9a
ARB_shader_image_load_store; rm opengl es from glad;
...
This means we had to remove rgb565 and FRAMEBUFFER_INCOMPLETE_DIMENSIONS.
2018-08-11 00:08:34 -07:00
bjorn
902239c017
lovr.graphics.wait; Barrier;
2018-08-11 00:08:34 -07:00
bjorn
e371359193
Compute shader glsl prefix;
2018-08-11 00:08:33 -07:00
bjorn
98e518683a
Add computeshaders to lovr.graphics.getSupported;
2018-08-11 00:08:33 -07:00
bjorn
3b51056870
lovr.graphics.compute;
2018-08-11 00:08:33 -07:00
bjorn
2cb6de47f2
Compute shader creation;
2018-08-11 00:08:33 -07:00
bjorn
b1079f5ce8
Separate initialization for graphics/compute shaders;
2018-08-11 00:08:33 -07:00
bjorn
bf3ed3ed1f
Texture improvements;
...
Textures no longer keep references to their TextureData.
lovrTextureAllocate can now be used to allocate texture storage,
and isn't weirdly coupled to lovrTextureReplacePixels.
Better error messages for textures.
2018-08-09 16:12:57 -07:00
Bjorn Swenson
06379f33ee
Merge pull request #49 from bjornbytes/shader-block
...
ShaderBlock
2018-08-07 15:17:06 -07:00
bjorn
ae70728ae1
Ok is this a driver bug or what;
2018-08-07 13:26:28 -07:00
bjorn
bdf130800e
ShaderBlock:getShaderCode;
2018-08-06 11:46:42 -07:00
bjorn
e3e17bc84c
ShaderBlock:isWritable;
2018-08-06 10:41:57 -07:00
bjorn
70b27bd846
Use new table shorthand for newShaderBlock formats;
...
Also luax_checkuniformtype and error message improvements.
2018-08-06 10:34:12 -07:00
bjorn
08b113f755
opps;
2018-08-06 09:12:59 -07:00
bjorn
22b674b737
emscripten guards;
2018-08-06 08:51:06 -07:00