Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7a2debe1
Commit
7a2debe1
authored
May 05, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
May 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use the FBO cache in swapchain_blit().
parent
3345146d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
9 deletions
+2
-9
context.c
dlls/wined3d/context.c
+0
-5
swapchain.c
dlls/wined3d/swapchain.c
+2
-3
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-1
No files found.
dlls/wined3d/context.c
View file @
7a2debe1
...
...
@@ -841,11 +841,6 @@ static void context_destroy_gl_resources(struct wined3d_context *context)
if
(
context
->
valid
)
{
if
(
context
->
src_fbo
)
{
TRACE
(
"Destroy src FBO %d
\n
"
,
context
->
src_fbo
);
context_destroy_fbo
(
context
,
&
context
->
src_fbo
);
}
if
(
context
->
dst_fbo
)
{
TRACE
(
"Destroy dst FBO %d
\n
"
,
context
->
dst_fbo
);
...
...
dlls/wined3d/swapchain.c
View file @
7a2debe1
...
...
@@ -117,9 +117,8 @@ static void swapchain_blit(IWineD3DSwapChainImpl *This, struct wined3d_context *
if
(
gl_info
->
fbo_ops
.
glBlitFramebuffer
&&
is_identity_fixup
(
backbuffer
->
resource
.
format_desc
->
color_fixup
))
{
ENTER_GL
();
context_bind_fbo
(
context
,
GL_READ_FRAMEBUFFER
,
&
context
->
src_fbo
);
context_attach_surface_fbo
(
context
,
GL_READ_FRAMEBUFFER
,
0
,
backbuffer
);
context_attach_depth_stencil_fbo
(
context
,
GL_READ_FRAMEBUFFER
,
NULL
,
FALSE
);
context_apply_fbo_state_blit
(
context
,
GL_READ_FRAMEBUFFER
,
backbuffer
,
NULL
);
glReadBuffer
(
GL_COLOR_ATTACHMENT0
);
context_bind_fbo
(
context
,
GL_DRAW_FRAMEBUFFER
,
NULL
);
context_set_draw_buffer
(
context
,
GL_BACK
);
...
...
dlls/wined3d/wined3d_private.h
View file @
7a2debe1
...
...
@@ -1087,7 +1087,6 @@ struct wined3d_context
struct
list
fbo_list
;
struct
list
fbo_destroy_list
;
struct
fbo_entry
*
current_fbo
;
GLuint
src_fbo
;
GLuint
dst_fbo
;
GLuint
fbo_read_binding
;
GLuint
fbo_draw_binding
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment