aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/d3d/CompressedGeometryRetained.cpp
blob: 413b33d275c439cd799a8a387c79e3fed567cc55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * $RCSfile$
 *
 * Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved.
 *
 * Use is subject to license terms.
 *
 * $Revision$
 * $Date$
 * $State$
 */

#include "StdAfx.h"

extern "C" JNIEXPORT
void JNICALL Java_javax_media_j3d_CompressedGeometryRetained_execute
    (JNIEnv *env, jobject obj, jlong ctx, jint version, jint bufferType,
     jint bufferContents, jint renderFlags, jint offset, jint size,
     jbyteArray geometry)
{
    // Not support by D3D, problem should not call this.
    printf("Error: CompressedGeometryRetained execute should not invoke by D3D");
}

extern "C" JNIEXPORT
jboolean JNICALL Java_javax_media_j3d_CompressedGeometryRetained_decompressByRef
    (JNIEnv *env, jobject obj, jlong ctx)
{
    // Not support by D3D
    return JNI_FALSE ;
}

extern "C" JNIEXPORT
jboolean JNICALL Java_javax_media_j3d_CompressedGeometryRetained_decompressHW
    (JNIEnv *env, jobject obj, jlong ctx, jint majorVersion, jint minorVersion)
{
    // Not support by D3D
    return JNI_FALSE ;
}