--- old/src/java.desktop/windows/native/libawt/java2d/d3d/D3DContext.cpp 2016-09-12 21:06:05.101920700 +0300 +++ new/src/java.desktop/windows/native/libawt/java2d/d3d/D3DContext.cpp 2016-09-12 21:06:04.477858300 +0300 @@ -1,5 +1,5 @@ /* - * 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 @@ -36,6 +36,7 @@ #include "D3DTextRenderer.h" #include "D3DPipelineManager.h" #include "D3DGlyphCache.h" +#include "Devices.h" typedef struct { D3DBLEND src; @@ -253,9 +254,6 @@ EndScene(); - D3DPipelineManager::NotifyAdapterEventListeners(devCaps.AdapterOrdinal, - DEVICE_RESET); - contextCaps = CAPS_EMPTY; SAFE_RELEASE(pSyncQuery); @@ -292,9 +290,6 @@ ReleaseDefPoolResources(); - D3DPipelineManager::NotifyAdapterEventListeners(devCaps.AdapterOrdinal, - DEVICE_DISPOSED); - // dispose shader lists ShaderList_Dispose(&convolvePrograms); ShaderList_Dispose(&rescalePrograms);