Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angle
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
angle
Commits
db5d5f66
Commit
db5d5f66
authored
Jun 08, 2011
by
nduca@chromium.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix crlf newlines in surface.cpp
TBR=apatrick@chromium.org git-svn-id:
https://angleproject.googlecode.com/svn/trunk@686
736b8ea6-26fd-11df-bfd4-992fa37f6226
parent
3b3c1d43
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
version.h
src/common/version.h
+1
-1
Surface.cpp
src/libEGL/Surface.cpp
+9
-9
No files found.
src/common/version.h
View file @
db5d5f66
#define MAJOR_VERSION 0
#define MAJOR_VERSION 0
#define MINOR_VERSION 0
#define MINOR_VERSION 0
#define BUILD_VERSION 0
#define BUILD_VERSION 0
#define BUILD_REVISION 68
4
#define BUILD_REVISION 68
6
#define STRINGIFY(x) #x
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
#define MACRO_STRINGIFY(x) STRINGIFY(x)
...
...
src/libEGL/Surface.cpp
View file @
db5d5f66
...
@@ -167,15 +167,15 @@ bool Surface::resetSwapChain(int backbufferWidth, int backbufferHeight)
...
@@ -167,15 +167,15 @@ bool Surface::resetSwapChain(int backbufferWidth, int backbufferHeight)
bool
useFlipEx
=
(
LOWORD
(
GetVersion
())
>=
0x61
)
&&
mDisplay
->
isD3d9ExDevice
();
bool
useFlipEx
=
(
LOWORD
(
GetVersion
())
>=
0x61
)
&&
mDisplay
->
isD3d9ExDevice
();
// FlipEx causes unseemly stretching when resizing windows AND when one
// FlipEx causes unseemly stretching when resizing windows AND when one
// draws outside of the WM_PAINT callback. While this is seldom a problem in
// draws outside of the WM_PAINT callback. While this is seldom a problem in
// single process applications, it is particuarly noticeable in multiprocess
// single process applications, it is particuarly noticeable in multiprocess
// applications. Therefore, if the creator process of our window is not in
// applications. Therefore, if the creator process of our window is not in
// the current process, disable use of FlipEx.
// the current process, disable use of FlipEx.
DWORD
windowPID
;
DWORD
windowPID
;
GetWindowThreadProcessId
(
mWindow
,
&
windowPID
);
GetWindowThreadProcessId
(
mWindow
,
&
windowPID
);
if
(
windowPID
!=
GetCurrentProcessId
())
if
(
windowPID
!=
GetCurrentProcessId
())
useFlipEx
=
false
;
useFlipEx
=
false
;
presentParameters
.
AutoDepthStencilFormat
=
mConfig
->
mDepthStencilFormat
;
presentParameters
.
AutoDepthStencilFormat
=
mConfig
->
mDepthStencilFormat
;
// We set BackBufferCount = 1 even when we use D3DSWAPEFFECT_FLIPEX.
// We set BackBufferCount = 1 even when we use D3DSWAPEFFECT_FLIPEX.
...
...
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