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
5529b00a
Commit
5529b00a
authored
Nov 26, 2023
by
Aida Jonikienė
Committed by
Alexandre Julliard
Jan 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Add a FIXME when doing a mapped buffer copy.
The copies of mapped buffers introduce significant performance overhead.
parent
ebb5bd64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
unix_wgl.c
dlls/opengl32/unix_wgl.c
+5
-0
No files found.
dlls/opengl32/unix_wgl.c
View file @
5529b00a
...
...
@@ -1855,10 +1855,15 @@ static void unmap_named_buffer( TEB *teb, GLint buffer )
static
NTSTATUS
wow64_map_buffer
(
TEB
*
teb
,
GLint
buffer
,
GLenum
target
,
void
*
ptr
,
SIZE_T
size
,
GLbitfield
access
,
PTR32
*
ret
)
{
static
unsigned
int
once
;
if
(
*
ret
)
/* wow64 pointer provided, map buffer to it */
{
if
(
!
(
access
&
(
GL_MAP_INVALIDATE_RANGE_BIT
|
GL_MAP_INVALIDATE_BUFFER_BIT
)))
{
if
(
!
once
++
)
FIXME
(
"Doing a copy of a mapped buffer (expect performance issues)
\n
"
);
TRACE
(
"Copying %#zx from buffer at %p to wow64 buffer %p
\n
"
,
size
,
ptr
,
UlongToPtr
(
*
ret
)
);
memcpy
(
UlongToPtr
(
*
ret
),
ptr
,
size
);
}
...
...
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