430N/A/*
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 *
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 *
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 *
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.
430N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
430N/A */
430N/A
430N/A#ifndef D3DBlitLoops_h_Included
430N/A#define D3DBlitLoops_h_Included
430N/A
430N/A#include "sun_java2d_d3d_D3DBlitLoops.h"
430N/A#include "D3DSurfaceData.h"
430N/A#include "D3DContext.h"
430N/A
430N/A#define OFFSET_SRCTYPE sun_java2d_d3d_D3DBlitLoops_OFFSET_SRCTYPE
430N/A#define OFFSET_HINT sun_java2d_d3d_D3DBlitLoops_OFFSET_HINT
430N/A#define OFFSET_TEXTURE sun_java2d_d3d_D3DBlitLoops_OFFSET_TEXTURE
430N/A#define OFFSET_RTT sun_java2d_d3d_D3DBlitLoops_OFFSET_RTT
430N/A#define OFFSET_XFORM sun_java2d_d3d_D3DBlitLoops_OFFSET_XFORM
430N/A#define OFFSET_ISOBLIT sun_java2d_d3d_D3DBlitLoops_OFFSET_ISOBLIT
430N/A
430N/AD3DPIPELINE_API HRESULT
430N/AD3DBlitLoops_IsoBlit(JNIEnv *env,
430N/A D3DContext *d3dc, jlong pSrcOps, jlong pDstOps,
430N/A jboolean xform, jint hint,
430N/A jboolean texture, jboolean rtt,
430N/A jint sx1, jint sy1,
430N/A jint sx2, jint sy2,
430N/A jdouble dx1, jdouble dy1,
430N/A jdouble dx2, jdouble dy2);
430N/A
430N/AD3DPIPELINE_API HRESULT
430N/AD3DBL_CopySurfaceToIntArgbImage(IDirect3DSurface9 *pSurface,
430N/A SurfaceDataRasInfo *pDstInfo,
430N/A jint srcx, jint srcy,
430N/A jint srcWidth, jint srcHeight,
430N/A jint dstx, jint dsty);
430N/A
430N/AD3DPIPELINE_API HRESULT
430N/AD3DBL_CopyImageToIntXrgbSurface(SurfaceDataRasInfo *pSrcInfo,
430N/A int srctype,
430N/A D3DResource *pDstSurfaceRes,
430N/A jint srcx, jint srcy,
430N/A jint srcWidth, jint srcHeight,
430N/A jint dstx, jint dsty);
430N/A
430N/AHRESULT
430N/AD3DBlitLoops_Blit(JNIEnv *env,
430N/A D3DContext *d3dc, jlong pSrcOps, jlong pDstOps,
430N/A jboolean xform, jint hint,
430N/A jint srctype, jboolean texture,
430N/A jint sx1, jint sy1,
430N/A jint sx2, jint sy2,
430N/A jdouble dx1, jdouble dy1,
430N/A jdouble dx2, jdouble dy2);
430N/A
430N/AHRESULT
430N/AD3DBlitLoops_SurfaceToSwBlit(JNIEnv *env, D3DContext *d3dc,
430N/A jlong pSrcOps, jlong pDstOps, jint dsttype,
430N/A jint srcx, jint srcy,
430N/A jint dstx, jint dsty,
430N/A jint width, jint height);
430N/A
430N/AHRESULT
430N/AD3DBlitLoops_CopyArea(JNIEnv *env,
430N/A D3DContext *d3dc, D3DSDOps *dstOps,
430N/A jint x, jint y,
430N/A jint width, jint height,
430N/A jint dx, jint dy);
430N/A
430N/A#endif /* D3DBlitLoops_h_Included */