Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
4b2ff1e0
There was an error fetching the commit references. Please try again later.
Commit
4b2ff1e0
authored
5 years ago
by
ReinUsesLisp
Browse files
Options
Downloads
Patches
Plain Diff
gl_texture_cache: Address some feedback
parent
0b6df521
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/video_core/renderer_opengl/gl_texture_cache.h
+4
-2
4 additions, 2 deletions
src/video_core/renderer_opengl/gl_texture_cache.h
with
4 additions
and
2 deletions
src/video_core/renderer_opengl/gl_texture_cache.h
+
4
−
2
View file @
4b2ff1e0
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
#include
<array>
#include
<array>
#include
<functional>
#include
<functional>
#include
<memory>
#include
<unordered_map>
#include
<utility>
#include
<utility>
#include
<vector>
#include
<vector>
...
@@ -34,7 +36,7 @@ class CachedSurface final : public VideoCommon::SurfaceBase<View> {
...
@@ -34,7 +36,7 @@ class CachedSurface final : public VideoCommon::SurfaceBase<View> {
friend
CachedSurfaceView
;
friend
CachedSurfaceView
;
public:
public:
explicit
CachedSurface
(
const
GPUVAddr
gpu_addr
,
const
SurfaceParams
&
params
);
explicit
CachedSurface
(
GPUVAddr
gpu_addr
,
const
SurfaceParams
&
params
);
~
CachedSurface
();
~
CachedSurface
();
void
UploadTexture
(
std
::
vector
<
u8
>&
staging_buffer
)
override
;
void
UploadTexture
(
std
::
vector
<
u8
>&
staging_buffer
)
override
;
...
@@ -52,7 +54,7 @@ protected:
...
@@ -52,7 +54,7 @@ protected:
void
DecorateSurfaceName
();
void
DecorateSurfaceName
();
View
CreateView
(
const
ViewParams
&
view_key
)
override
;
View
CreateView
(
const
ViewParams
&
view_key
)
override
;
View
CreateViewInner
(
const
ViewParams
&
view_key
,
const
bool
is_proxy
);
View
CreateViewInner
(
const
ViewParams
&
view_key
,
bool
is_proxy
);
private
:
private
:
void
UploadTextureMipmap
(
u32
level
,
std
::
vector
<
u8
>&
staging_buffer
);
void
UploadTextureMipmap
(
u32
level
,
std
::
vector
<
u8
>&
staging_buffer
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment