-
-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Textures Manager #729
Open
vklachkov
wants to merge
59
commits into
FWGS:master
Choose a base branch
from
vklachkov:resman_texture
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Textures Manager #729
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
09093ae
resman: Implement texture methods stubs
vklachkov 28bd6b9
resman: Minimal implementation of texture loading
vklachkov 406dbe2
resman: Pass ref_interface_t to resource manager, save texture in mem
vklachkov f25ae90
resman: Check texture name
vklachkov b55c92a
resman: Implement cache
vklachkov bcbfb7c
resman: Generate stub entries for internal textures
vklachkov 378aa88
resman: Implement RM_FindTexture
vklachkov 067c534
resman: Set correct names for first six textures
vklachkov 812af16
resman: Restore strange flags code
vklachkov 697f3b3
resman: Stab more methods
vklachkov c0e7394
refgl: Dirty hack for get backtrace at texture n 121
vklachkov 5074761
Checkout mainui t master branch
vklachkov 1edd2f7
ref_gl: Remove dirty debug hack
vklachkov ee6669b
ref: Add RM_LoadTexture to ref_api_t
vklachkov 6a1e1c3
ref_gl: Load some textures via engine, fix sprite glitches
vklachkov 3c65550
resman: Implement RM_LoadTextureFromBuffer, fix more glitches
vklachkov 54fc8a0
ref_gl: Load texture for sky via engine
vklachkov eea92a4
ref_api: Remove part of texture's methods, pass RM_* to RenderAPI
vklachkov d50edac
ref_soft: Load all textures via engine
vklachkov bde20c5
engine: Use remaining RM_* methods in render api
vklachkov 61aa8e2
ref_api: Remove remaining texture tools from ref_interface_t
vklachkov e47c902
ref_gl: Use engine's RM_FreeTexture
vklachkov bbbc3e0
ref_gl: Remove unused methods
vklachkov 8b2e6f3
Totally rework memory layout everywhere
vklachkov b14d5d7
resman: Subtract from textures_count on texture remove
vklachkov f3af112
resman: Restore internal textures
vklachkov 4177fab
resman: Disable very noisy logs in RM_LoadTexture
vklachkov 8648ce6
client: fix random crashes
vklachkov f72164d
resman: Implement ReuploadTextures, move CreateInternalTextures into …
vklachkov 35ca0a4
ref_gl: Minor patch
vklachkov 14bbe5c
ref_gl: Found standard textures in engine during initialization
vklachkov 01eed00
resman: Rewrite FakeImage without static buffer
vklachkov e91d8db
resman: Create dlight textures, fix a lot of glitches
vklachkov 3e6ade4
Fix ref_soft for new api
vklachkov 3bb872b
resman: Minor clean up
vklachkov 2c55163
Merge branch 'master' into resman_texture
vklachkov 57de05c
resman: Implement RM_TextureName
vklachkov d7f2c47
resman: Minor changes
vklachkov d515c8a
resman: Implement RM_TextureData
vklachkov bcdb8b1
resman: Implement RM_CreateTexture and RM_CreateTextureArray
vklachkov cf5f074
resman: Implement ProcessFlags, replacement for GL_ProcessImage
vklachkov 6aab155
resman: Implement RM_LoadTextureArray
vklachkov f78d7b3
Rename resman to texturelib and move to common
vklachkov f466496
texturelib: Code style fixes
vklachkov 7bbc1da
texturelib: Use engine's Mem_Malloc instead of libc's malloc
vklachkov 24c9474
texturelib: Set MAX_TEXTURES to 1024 when XASH_LOW_MEMORY
vklachkov d564c92
texturelib: Minor methods renames
vklachkov fd4d218
client: Remove useless macroses GL_*TextureInternal
vklachkov 783538f
texturelib: Use string type from xash instead of chars array
vklachkov b94a08e
texturelib: Remove noisy logs
vklachkov 269685d
reg_gl: Implement R_ShutdownImages
vklachkov 374fc98
ref_gl: Restore comments
vklachkov 5553d8a
ref_gl: Remove gl_numTextures
vklachkov 1a23dac
ref_gl: Restore R_TextureList_f
vklachkov 8b4562d
ref_gl: Restore some changes after bad merge
vklachkov d15ab39
texturelib: Remove texture after freeing in render
vklachkov d981fe7
ref_soft: Minor changes, restore most of comments
vklachkov 4ce3d59
ref_soft: Restore R_TextureList_f
vklachkov b2d1283
ref_soft: Find standard textures in the engine
vklachkov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это планируется сделать в рамках текущего PR или оставить на потом?