Commit graph

31 commits

Author SHA1 Message Date
Henrik Rydgård
9b439e4c43 Remove Thin3D prefix on more things 2016-12-27 11:59:06 +01:00
Henrik Rydgård
463251908b Rename things to closer match another project which I plan to share some code with 2016-12-27 11:59:02 +01:00
Henrik Rydgård
10393f5d4e Move Thin3D into the Draw namespace. 2016-12-27 11:58:03 +01:00
Henrik Rydgård
b60ad37146 Remove blend and sampler state presets, they didn't save any code 2016-12-25 11:37:23 +01:00
Henrik Rydgård
97d029972e Rename SetTextures to BindTextures 2016-12-25 11:31:33 +01:00
Henrik Rydgård
1c0c755b03 Extract RasterState from thin3d, for easier d3d11 porting 2016-12-25 11:31:33 +01:00
Henrik Rydgård
4a3938958c Thin3D: Unified DataFormat enum 2016-12-25 11:31:33 +01:00
Henrik Rydgard
d43b3ef73f Minor cleanup in thin3d 2016-12-22 13:25:42 +01:00
Unknown W. Brackets
92d930887f Android: Add both a lost and restore phase.
Lost = delete, restore = create.  Let's stick to never overlapping.

May help #8912.
2016-09-10 21:58:42 -07:00
Henrik Rydgard
fa64417917 Minor warning fixes 2016-04-10 10:34:39 +02:00
Henrik Rydgard
c64064024d Initial vulkan code.
This was squashed from nine commits but using old versions of Vulkan.
2016-03-20 19:18:35 +01:00
Henrik Rydgård
54a37f9bb8 Merge pull request #8591 from unknownbrackets/thin3d
Use thin3d for softgpu drawing (+thin3d improvements)
2016-03-20 18:06:53 +01:00
Henrik Rydgard
4c0e6d0138 Some renaming, fixes and tweaks to the gl_lost mechanism, which is again needed 2016-03-17 21:30:16 +01:00
Henrik Rydgard
d67b148712 Add math dataconv funcs for packed values. 2016-03-06 11:33:53 -08:00
Henrik Rydgard
438c7c1344 Only show GL extensions in the GL backend. 2016-03-06 11:06:49 -08:00
Henrik Rydgard
da1a04be8d Make the workqueue slightly safer. Put g_gameInfoCache on the heap.
Cherry-picked from #8592
2016-02-28 12:39:47 +01:00
Unknown W. Brackets
f84ebdc3e4 thin3d: Use floats directly for 4x4 matrices. 2016-02-13 14:50:06 -08:00
Unknown W. Brackets
05fee24ccf thin3d: Add sampler state selection. 2016-02-13 14:03:43 -08:00
Unknown W. Brackets
ac4ee88c73 thin3d: Clear bound VBOs when not using.
Nothing clears them, so if one draw does, any later UP draws won't work.
2016-02-13 14:01:57 -08:00
Unknown W. Brackets
4f1851abc1 thin3d: Allow setting size in imagedata.
GL should match D3D.  Maybe we don't want this, but then we need to change
the API.
2016-02-13 14:01:56 -08:00
Unknown W. Brackets
499e95a3b1 thin3d: Correct indexed drawing. 2016-02-13 14:01:56 -08:00
Unknown W. Brackets
43218ea953 thin3d: Auto gen mips only once per tex. 2016-01-23 11:22:40 -08:00
Unknown W. Brackets
5827cab6e5 thin3d: Enable linear filter after mipmap gen. 2016-01-23 11:18:18 -08:00
Unknown W. Brackets
a982438296 thin3d: Use GL_COLOR_LOGIC_OP. 2015-12-28 14:13:21 -08:00
Unknown W. Brackets
279d3b20cf thin3d: Only use VAOs in core profile. 2015-12-22 22:15:13 -08:00
Unknown W. Brackets
5ff7781a3c thin3d: Fix drawing without VAO support. 2015-12-22 22:15:12 -08:00
Unknown W. Brackets
b71061b1ef thin3d: Handle lost vertex formats. 2015-12-19 09:18:33 -08:00
Unknown W. Brackets
1ca7abb948 thin3d: Correct subdata size check. 2015-12-19 09:18:31 -08:00
Unknown W. Brackets
07d34e985b thin3d: Use VAOs for all drawing. 2015-12-19 09:18:28 -08:00
Henrik Rydgård
a71fbccfbc Warning fixes for new LLVM on mac (warns on inconsistent usage of override) 2015-09-17 20:29:37 +02:00
Unknown W. Brackets
f279c2a3c2 Merge remote repo native into ext/native/. 2015-09-06 12:24:17 -07:00