Commit graph

20 commits

Author SHA1 Message Date
Wally4000
eadc1b3758 move from typedef to modern using declaration 2021-10-18 18:58:14 +11:00
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
Carlos R
bfffb7be1c Removed duplicate from convertimage/tile
*Moved all the conversion routines to ConvertFormats.h
*Fixed a lot of wrong bitshift operations (Rinnegatamante)
2020-07-26 11:18:46 -07:00
=
1511baa25e Fix up paths in headers 2020-05-27 19:20:52 +10:00
z2442
275aacd212 more nullptr updates 2019-05-03 21:09:20 -04:00
Wally
5dee7fe2cb Converted remaining HLEGraphics to C11 standard 2019-03-22 16:39:50 +09: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
654b6b3f44 [~] Add a mutex to prevent texture references being dropped when debugging (this no-ops in release builds). Needed for OSX which calls Snapshot on a thread, the game purges a texture, but as the debug code still has a reference, it ends up deleting it. OpenGL doesn't seem to like deleting textures on a different threads from where they were created.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1395 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:53:42 +00:00
strmnnrmn
fd03012d0d [!] Possible fix for loading savestates - mpCacheHashTable wasn't being cleared, so 'if( mpCacheHashTable[ixa] && mpCacheHashTable[ixa]->GetTextureInfo() == ti )' could dereference an uninitialised pointer.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1353 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 08:08:38 +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
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
231b248979 [~] CTextureCache::GetOrCreateTexture can return a CNativeTexture now.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1314 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:17 +00:00
strmnnrmn
af29743eab [~] Keep track of NativeTextures, not CachedTextures. I'm going to introduce a new CachedTile type for OSX, and it's simpler for the renderer to only know about the native texture type (common to CachedTexture and CachedTile)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1313 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:09 +00:00
strmnnrmn
c82743aedb [~] Rename CTextureCache::GetTexture to GetOrCreateTexture (more greppable). PAss a TextureInfo reference instead of a pointer
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1261 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:51:11 +00:00
strmnnrmn
a3eee1f6cb [~] CTextureCache doesn't really need to be a pimpl - remove this to avoid a few virtual calls. Remove lots of unused code and tidy.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1257 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:50:36 +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
salvy
eaa0f2b641 [!] Opps reverted previous commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@810 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-14 20:42:24 +00:00
salvy
ce36d63b82 [!] Use TI hash to check if the texture is the same (we'll reuse it in the cache too)
Note: T1 hack is broken!! FIX ME

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@809 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-14 20:29:08 +00:00
Salvy
bdbd952c60 [+] Initial repo (based from r630 dx64 branch)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@3 42e9bfbe-799a-4a2d-bad1-236e862a387a
2010-12-24 04:37:41 +00:00