< prev index next >
src/java.desktop/windows/native/libawt/java2d/d3d/D3DContext.cpp
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -251,13 +251,10 @@
{
J2dTraceLn(J2D_TRACE_INFO, "D3DContext::ReleaseDefPoolResources");
EndScene();
- D3DPipelineManager::NotifyAdapterEventListeners(devCaps.AdapterOrdinal,
- DEVICE_RESET);
-
contextCaps = CAPS_EMPTY;
SAFE_RELEASE(pSyncQuery);
SAFE_RELEASE(pStateBlock);
@@ -290,13 +287,10 @@
"D3DContext::ReleaseContextResources: pd3dDevice = 0x%x",
pd3dDevice);
ReleaseDefPoolResources();
- D3DPipelineManager::NotifyAdapterEventListeners(devCaps.AdapterOrdinal,
- DEVICE_DISPOSED);
-
// dispose shader lists
ShaderList_Dispose(&convolvePrograms);
ShaderList_Dispose(&rescalePrograms);
ShaderList_Dispose(&lookupPrograms);
ShaderList_Dispose(&basicGradPrograms);
< prev index next >