diff options
| author | Jason Sams <rjsams@android.com> | 2009-06-30 14:13:04 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2009-06-30 14:13:25 -0700 |
| commit | a89371c6f144b9049efe7689105feee2c4a38384 (patch) | |
| tree | bbfea5fa3ec780ce46611137de33cce558329241 /rsMesh.cpp | |
| parent | 992a0b70d8fd7a14f0c57bc3c7e16c1f269a6609 (diff) | |
| download | android_frameworks_rs-a89371c6f144b9049efe7689105feee2c4a38384.tar.gz android_frameworks_rs-a89371c6f144b9049efe7689105feee2c4a38384.tar.bz2 android_frameworks_rs-a89371c6f144b9049efe7689105feee2c4a38384.zip | |
Begin adding mesh
Diffstat (limited to 'rsMesh.cpp')
| -rw-r--r-- | rsMesh.cpp | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/rsMesh.cpp b/rsMesh.cpp new file mode 100644 index 00000000..6eb95fcf --- /dev/null +++ b/rsMesh.cpp @@ -0,0 +1,45 @@ +/* + * Copyright (C) 2009 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "rsContext.h" + +using namespace android; +using namespace android::renderscript; + +#include <GLES/gl.h> +#include <GLES/glext.h> + +Mesh::Mesh() +{ + mSources = NULL; + mPrimitives = NULL; + mPrimitiveCount = 0; +} + +Mesh::~Mesh() +{ +} + + + +MeshContext::MeshContext() +{ +} + +MeshContext::~MeshContext() +{ +} + |
