Commit graph

173 commits

Author SHA1 Message Date
strmnnrmn
bd75cf6e38 [!] Fix a number of small issues with the new pixel shader - correctly select between point/bilinear filtering, and fix texrects for things like California Speed and Mario Kart.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1536 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:40 +00:00
strmnnrmn
e02d81c9ab [~] Wrap up all the state needed to configure a shader into a single struct
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1535 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:33 +00:00
strmnnrmn
fcc2a59778 [+] Lots of pixel shader iteration. Mostly 'perfect' now, still some problems with bilinear filtering on Mario Kart, California Speed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1533 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:20 +00:00
strmnnrmn
6a10ac65f5 [*] Pass integer texture coords through to TexRect and TexRectFlip. For OpenGL, the shader now also passes the texture offset/scale as integer args
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1531 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:02 +00:00
strmnnrmn
f93a375049 [~] Pass integer texture coords to the OpenGL renderer.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1530 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:28:51 +00:00
strmnnrmn
b359dc1c1f [~] Remove mAlphaThreshold - this is just the blend colour alpha
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1527 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:28:31 +00:00
strmnnrmn
ae6a33fb87 [~] Don't bother storing mTexShift - just look it up using mActiveTile index as needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1515 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:17:13 +00:00
salvy
8a090654d7 [+] FPS counter for OSX/W32 (This uses the exact same code as the PSP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1514 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 07:29:13 +00:00
strmnnrmn
fef58eed97 [~] Remove the identity_uv_transform param from PrepareRenderState - fix up the UVs so they're consistent
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1508 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-04 10:49:44 +00:00
salvy
38da6cd456 [~] Opps gGeometryMode has to be global (sorry!)
[!] Added blender for Donald Duck (W32/OSX)
[~] Some small changes

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1502 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-01 05:32:31 +00:00
strmnnrmn
362a9f64b8 [!] Missing T
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1469 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:19:50 +00:00
strmnnrmn
ea7426382c [~] More GL blender tweaks
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1468 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:19:44 +00:00
salvy
09e34868f0 [~] More clean ups for W32 (We can always pulled out any deleted file from the SVN if needed)
[!] undef DAEDALUS_TRAP_PLUGIN_EXCEPTIONS for W32

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1467 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 04:34:06 +00:00
salvy
3e3f2f1148 [!] W32 can be built in release mode now, OSX should be buildable as well
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1459 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 06:58:06 +00:00
salvy
78d331be07 [!] Rendering works now perfectly on W32 :)
[!] Init GLEW early, otherwise calling ClearToBlack is initialized (W32)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1457 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 00:02:01 +00:00
strmnnrmn
69b4f1984b [*] Re-do the blender for OpenGL. Still needs lots of work. Actually need to handle the two cycles separately, but need to read the docs a bit more.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1452 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-27 22:07:20 +00:00
strmnnrmn
99a44765fd [~] New InitBlendMode for OpenGL - still missing lots of cases.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1448 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-27 22:06:24 +00:00
salvy
6e461cddaa [~] Opps forgot more things
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1445 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-26 22:20:18 +00:00
salvy
0f60eae933 [!] Started WIP to get rendering working from GL renderer (some textures show up now, ex texrect!)
[!] Compiled project as console app (needed for glfw) [WIP, ALOT things got broken! and huge clean up is needed, will fix them eventually)
Note: glew and glfw are now needed to build W32.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1443 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-26 21:58:22 +00:00
strmnnrmn
4332a0919d [*] Move the OSX GraphicsPlugin to SysGL. Also, shift it from the plugins directory to HLEGraphics (should do this for all the other impls too)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1439 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 23:22:55 +00:00
strmnnrmn
5d4d2e276c [*] Move the OSX NativeTexture to the SysGL folder
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1438 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 23:22:46 +00:00
strmnnrmn
34ef91631b [*] Move the OSX GraphicsContext to the SysGL folder
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1437 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 23:22:37 +00:00
strmnnrmn
2689a81177 [*] Rename RendererOSX -> RendererGL, and move to a SysGL folder
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1436 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:48:54 +00:00