2362N/A * Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. 430N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 430N/A * This code is free software; you can redistribute it and/or modify it 430N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 430N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 430N/A * This code is distributed in the hope that it will be useful, but WITHOUT 430N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 430N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 430N/A * version 2 for more details (a copy is included in the LICENSE file that 430N/A * accompanied this code). 430N/A * You should have received a copy of the GNU General Public License version 430N/A * 2 along with this work; if not, write to the Free Software Foundation, 430N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 430N/A // addRef is needed because both pResource and pTexture will be 430N/A // Release()d, and they point to the same object 430N/A // something's wrong, we're overwriting 430N/A // a non-null field (setting it to null is allowed) 430N/A "D3DResource::SetSDOps: overwriting "\
430N/A // if sdOps is not NULL it means that the release was initiated 430N/A // from the native level, and is caused by a surface loss 430N/A // REMIND: for now, release all resources 430N/A// REMIND: this method is currently unused; consider removing it later... 430N/A // since the off-screen plain surface is intended to be used with 430N/A // the UpdateSurface() method, it is essential that it be created 430N/A // in the same format as the destination and allocated in the 430N/A // SYSTEMMEM pool (otherwise UpdateSurface() will fail) 430N/A // there's a single swap chain in full-screen mode, use it if 430N/A // it fits our parameters, reset the device otherwise 430N/A // this reset will not have released the device, so our pd3dDevice 430N/A // is still valid, but to be on a safe side, reset it 430N/A // init special fully opaque tile in the upper-right corner of 430N/A // the mask cache texture 430N/A // current texture doesn't fit, release and allocate a new one 430N/A // current surface doesn't fit, release and allocate a new one 430N/A // current surface doesn't fit, release and allocate a new one 430N/A // current texture doesn't fit, release and allocate a new one