Commit graph

15 commits

Author SHA1 Message Date
Wally4000
76eb881494 use shared_ptr instead of RefCounted Class 2023-06-22 15:47:48 +10:00
=
1511baa25e Fix up paths in headers 2020-05-27 19:20:52 +10:00
Paul Holden
49a06ed319 [~] Make header guards consistently use FULL_PATH_TO_FILE_H_, with script 2013-06-04 22:02:30 +01:00
strmnnrmn
a401996c41 [~] OSX can use GetPalette now. Also, make the texture arg to DumpTexture const
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1392 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:53:14 +00:00
strmnnrmn
dc91fe455b [~] We can store raw pointers to CachedTextures, and save a little overhead.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1318 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:50 +00:00
strmnnrmn
7061f3d30a [-] CachedTexture::Touch isn't used
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1317 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:43 +00:00
strmnnrmn
c72b2ce625 [~] STextureInfoSnapshot can use a CNativeTexture
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1316 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:35 +00:00
strmnnrmn
240081f9ff [~] Don't store a separate mpWhiteTexture per CachedTexture. Make it a separate attribute of the key (TextureInfo) and cache it directly.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1315 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:26 +00:00
strmnnrmn
f0c89b1874 [~] Make CachedTexture::UpdateIfNecessary private. Always do this when returning from CTextureCache::GetOrCreateTexture (the mFrameLastUsed check in IsFresh ensure that this does nothing if called many times in a frame)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1311 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:37:50 +00:00
strmnnrmn
d04bd5b013 [~] Shuffle around the arguments to ConvertTexture a bit. Define TextureDestInfo in the cpp file, and just plumb though the required arguments directly. All this so I can try to add a ConvertTile function which decodes directly from emulated TMEM.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1307 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:37:19 +00:00
strmnnrmn
640c5568ae [~] On OSX, don't bother checking the texture hash before updating.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1282 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:53:39 +00:00
strmnnrmn
9b55ada0a7 [~] GetSystemMemoryUsage and GetVideoMemoryUsage are unused.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1266 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:51:50 +00:00
strmnnrmn
b9ac9a12f0 [~] Move TextureInfo::SelectNativeFormat to be a free function in TextureCache.cpp. I want to push this closer to the NativeTexture creation/update so that different platforms can easily override (e.g. OSX can just create RGBA8888 textures.)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1263 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:51:26 +00:00
strmnnrmn
96de19a570 [*] Rename TextureDecriptor.{h,cpp} to TextureInfo (match the class name)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1258 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:50:48 +00:00
strmnnrmn
058c7de6b5 [~] Rename CTexture to CachedTexture
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1249 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 19:01:41 +00:00
Renamed from Source/HLEGraphics/Texture.h (Browse further)