Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
skiko
Project
Project
Details
Activity
Releases
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
liuqiang
skiko
Commits
d0dd73ab
Commit
d0dd73ab
authored
Mar 10, 2021
by
Roman Sedaikin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added NVIDIA GeForce GTX 960M to blacklist for DirectX skia context.
parent
e35307f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
directXRedrawer.cc
skiko/src/jvmMain/cpp/windows/directXRedrawer.cc
+1
-3
No files found.
skiko/src/jvmMain/cpp/windows/directXRedrawer.cc
View file @
d0dd73ab
...
...
@@ -31,6 +31,7 @@ const std::vector<std::wstring> adapterBlacklist {
L"Intel(R) HD Graphics 520"
,
L"Intel(R) HD Graphics 530"
,
L"NVIDIA GeForce GTX 750 Ti"
,
L"NVIDIA GeForce GTX 960M"
,
L"NVIDIA Quadro M2000M"
};
class
DirectXDevice
...
...
@@ -323,9 +324,6 @@ HRESULT D3DCompile(
gr_cp
<
IDXGISwapChain1
>
swapChain
;
GR_D3D_CALL_ERRCHECK
(
swapChainFactory
->
CreateSwapChainForHwnd
(
d3dDevice
->
queue
.
get
(),
fWindow
,
&
swapChainDesc
,
&
swapChainFSDesc
,
nullptr
,
&
swapChain
));
DXGI_RGBA
background
=
{
1.0
f
,
1.0
f
,
1.0
f
,
1.0
f
};
swapChain
->
SetBackgroundColor
(
&
background
);
GR_D3D_CALL_ERRCHECK
(
swapChain
->
QueryInterface
(
IID_PPV_ARGS
(
&
d3dDevice
->
swapChain
)));
GR_D3D_CALL_ERRCHECK
(
d3dDevice
->
device
->
CreateFence
(
0
,
D3D12_FENCE_FLAG_NONE
,
IID_PPV_ARGS
(
&
d3dDevice
->
fence
)));
d3dDevice
->
fenceEvent
=
CreateEvent
(
nullptr
,
FALSE
,
FALSE
,
nullptr
);
...
...
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