Commit Graph
36 Commits
Author SHA1 Message Date
iota97 7dcb80a7fe Fix atlas tool build on linux 2020-03-03 23:52:56 +01:00
Henrik Rydgård 4c392c6473 Fix bug in atlas gen.
(Due to the squash and some reordering, the previous commit already
includes fixed metadata)
2020-03-01 12:06:47 +01:00
Henrik Rydgård 45d94c4877 Switch all images to dynamic lookup in the atlas by string ID.
SLN fix

It works, but with the wrong images and the wrong characters!

Fix another bug in atlastool's binary output

Get Android building again.

Oops, didn't mean to disable this permanently.

Error checking

Minor cleanup

Gotta tweak my git ignores...

Regenerate metadata
2020-03-01 12:06:47 +01:00
Henrik Rydgård db24b5ac39 Modify atlas generator to output binary metadata 2020-03-01 12:04:50 +01:00
Unknown W. Brackets 3c1e8abcfe GPU: Centralize vsync interval logic.
We already do unthrottle checking here.
2020-02-29 22:27:00 -08:00
driver1998 21d2008676 Use D3DCompiler_47.dll for D3D9 context. 2019-05-12 11:17:10 +08:00
Unknown W. Brackets 5b62c8afb8 D3D9: Implement flat shading via state. 2018-06-06 05:53:50 -07:00
aliaspider 54d9406713 fix mingw and msvc cmake builds. 2018-03-23 03:18:13 +01:00
Henrik Rydgård 51f467a7b3 Kill off the GL state cache 2018-01-27 15:10:17 +01:00
Henrik Rydgård 7d0fc9ce65 Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc. 2017-12-07 15:05:59 +01:00
Henrik Rydgård 01635a5cd6 Android: Just like on Windows, prompt to restart when changing graphics backend. 2017-05-31 11:12:11 +02:00
Henrik Rydgård 7d0cfbabe7 thin3d gles: Unbind buffers after drawing. Fixes #9715 2017-05-24 12:06:02 +02:00
Henrik Rydgård 049d06cdc4 More paranoia 2017-05-18 13:29:00 +02:00
Henrik Rydgård 60378a0dcb Minor GameInfo memory handling improvements. Still not great. 2017-05-18 12:41:42 +02:00
Unknown W. Brackets ae4c28aa4d D3D9: Support AUTO mip bias and approximate CONST. 2017-04-22 18:38:08 -07:00
Unknown W. Brackets 4514af9d6e Windows: Improve core context init.
This clears the error from glewInit(), and ensures we check GL extensions
only after selecting the desired GL profile.

Also, consistently use the core profile flag to select the context.
2017-03-18 13:47:15 -07:00
Henrik Rydgard 908193e894 Rework Android lost/restore lifecycle again. Can autorotate screen without crashing again. Should help #9295 and maybe #8906. 2017-03-18 15:21:26 +01:00
Henrik Rydgard 85d0b89b7b GL: Improve lost managment in DrawContext framebuffers 2017-03-18 13:55:15 +01:00
Henrik Rydgard 378170d723 Add ability to tag objects in the gl_lost_manager 2017-03-18 13:55:15 +01:00
Henrik Rydgard 5d4700ae7e Sprinkle calls to CHECK_GL_ERROR_IF_DEBUG all over the place, disabled by default. 2017-03-03 14:18:40 +01:00
Henrik Rydgard 55aa879216 A lot of buildfixes 2017-02-06 16:16:43 +01:00
Henrik Rydgard f1c96c056d Move all the GL/D3D9 FBO code into thin3d. 2017-02-06 11:40:16 +01:00
Henrik Rydgard 41f770d815 Move dx_state into gfx/d3d9_state 2017-02-05 20:54:24 +01:00
Henrik Rydgard ba52ba8714 Move global.cpp to native/gfx/d3d9_shader.cpp 2017-02-05 20:50:17 +01:00
Florent Castelli 70593d1004 android: Change preprocessor define to standard __ANDROID__
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Florent Castelli 373db56a16 blackberry: Remove! 2016-10-11 17:40:32 +02:00
Unknown W. Brackets c5a83c02a6 Remove no longer relevant comments. 2016-09-10 22:04:25 -07: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
Unknown W. Brackets 4bb24e0d8a Use gl3stub versions of VAO funcs on GLES. 2016-07-24 12:52:23 -07: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 da1a04be8d Make the workqueue slightly safer. Put g_gameInfoCache on the heap.
Cherry-picked from #8592
2016-02-28 12:39:47 +01:00
Carlos Estrague cc169c440e Fix I forgot typo declaration x64_64 android port.
Acording in the usr/include/GLES2/gl2ext.h 

typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2016-01-18 05:20:14 +01:00
Unknown W. Brackets 58ecb2cbd4 Fix a header declaration.
Seemed to be needed for x64 Android, and is correct as bitfield anyway.
2016-01-17 12:55:47 -08:00
Unknown W. Brackets fbc4b4e7a1 Use glCopyImageSubData() when it's available.
There's 4 different extensions providing this functionality.  NV is
supported on desktop and mobile, EXT/OES on mobile, and ARB on desktop.

Mostly these are only supported by desktop cards and NVIDIA mobile.

Good improvement in performance on NVIDIA when blit is called a lot, since
it doesn't need to rebind anything or change state.  Example is in desert
city in Tales of Phantasia.
2015-12-06 10:39:21 -08:00
Henrik Rydgård c219793803 Remove the old UI texture class 2015-09-19 11:05:00 +02:00
Unknown W. Brackets f279c2a3c2 Merge remote repo native into ext/native/. 2015-09-06 12:24:17 -07:00