Unknown W. Brackets
f98bafb73d
UI: Centralize BG pic choosing a bit.
...
It's in several places.
2021-04-04 10:57:40 -07:00
Henrik Rydgård
c8dfa091fa
Add some checks trying to prevent creation of 0 sized textures.
...
Saw a crash log with a driver crash in CreateTexture...
2021-02-13 11:33:15 +01:00
Henrik Rydgård
0e3a84b4a8
Move most GPU things to Common.
...
It works after the move, on Windows and Android at least.
Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. ( #13506 )
...
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing
Let's also move net while we're at it.
Move the ZIM/PNG loaders over to Common.
Move the UI framework into Common
iOS buildfix
* Buildfix
* Buildfixes
* Apple buildfix
* This typo again..
* UWP buildfix
* Fix build of PPSSPPQt, such as it is (it's not in good condition...)
* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
9e41fafd0d
Move math and some file and data conversion files out from native to Common.
...
Buildfixing
Move some file util files
Buildfix
Move KeyMap.cpp/h to Core where they belong better.
libretro buildfix attempt
Move ini_file
More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
60801e066f
Improve JPEG file detection (mainly for background image use)
2020-08-18 15:31:16 +02:00
Henrik Rydgård
0bf6bd9175
More Log.h cleanup.
2020-08-16 14:48:54 +02:00
Henrik Rydgård
ccc0331279
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 20:53:08 +02:00
Henrik Rydgård
c41f875df4
Remove base/logging.h in a whole lot more places.
2020-08-15 19:09:00 +02:00
Henrik Rydgård
fbf6008a03
Set debug names for more framebuffers and textures
2020-08-09 09:36:54 +02:00
Henrik Rydgård
2f5de1987e
Allow passing in an object name tag when creating framebuffers
2020-08-09 09:36:45 +02:00
Unknown W. Brackets
dbb19d169f
UI: Prevent stretching game icons on detail.
...
Also, make them a bit bigger in the save data screen.
2020-03-23 17:43:58 -07:00
Henrik Rydgård
d35fd5040d
Delete unused support for ETC1 texture compression
2020-02-29 17:50:35 +01:00
Henrik Rydgård
1f742fd07a
UI: Better way of showing game/savedata images. Fixes #12408
2019-10-11 17:34:38 +02:00
Henrik Rydgård
3d20ddecc5
VK: Fix sometimes-missing images in GameScreen. Can't load textures from update(). (should probably make that possible though.. later).
2018-11-22 23:53:58 +01:00
Henrik Rydgård
0bf44827b7
ManagedTexture: CreateTextureFromFileData should not return a ManagedTexture object if it fails.
...
Alternatively, we should add even more checks around the code for empty
ManagedTextures...
2018-11-19 08:27:46 +01:00
Unknown W. Brackets
99d16b2202
Vulkan: Add tags to UI textures too.
2018-04-06 21:43:18 -07:00
Henrik Rydgård
8d0285dedd
Android: Properly restore screenshots on the Pause screen on task switching away and back.
...
Basically plumbs through DeviceLost/DeviceRestored to view elements and
into ManagedTexture.
2018-03-27 23:11:10 +02:00
Henrik Rydgård
1e940f4973
Buildfix, warning fixes
2018-03-01 13:50:56 +01:00
Henrik Rydgård
ee752f5399
Some error handling and assert improvements, trying to understand #10662
2018-03-01 12:21:58 +01:00
Henrik Rydgård
df6ce90c84
When what we need is a shared_ptr, we should just go ahead and use one.
...
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +02:00
Henrik Rydgård
60378a0dcb
Minor GameInfo memory handling improvements. Still not great.
2017-05-18 12:41:42 +02:00
Henrik Rydgard
8a8360ef96
Reintroduce mipmaps for images in the UI like screenshots (D3D11, OpenGL, D3D9)
2017-03-12 16:30:53 +01:00
Henrik Rydgard
496ebf710a
Add more sanity checks in png_load.
2017-03-05 12:35:13 +01:00
Henrik Rydgard
55aa879216
A lot of buildfixes
2017-02-06 16:16:43 +01:00
Henrik Rydgard
acef9af5d4
Fix a bug in TextureUtil, may help #9248
2017-01-28 23:16:37 +01:00
Henrik Rydgård
528af8a939
Simplification around textures
2017-01-24 20:59:00 +01:00
Henrik Rydgård
8654d42528
DrawContext API change: introduce TextureDesc
2017-01-24 20:59:00 +01:00
Henrik Rydgård
d2c4cbacad
Delete unnecessary form of CreateTexture
2017-01-24 20:58:59 +01:00
Henrik Rydgård
6a7d3a3910
Break out image file management from DrawContext (thin3d)
2017-01-24 20:58:59 +01:00