summaryrefslogtreecommitdiffstats
path: root/libs/rs/driver/rsdCore.cpp
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2011-05-13 14:53:34 -0700
committerAlex Sakhartchouk <alexst@google.com>2011-05-13 14:53:34 -0700
commit2f6964fc89bf69c8e37f096d37c8e224d598b8f8 (patch)
tree6396a6067bb32230c8d8f107462381a0ca57f64d /libs/rs/driver/rsdCore.cpp
parent415c842aa6dd3cc797ed2ef1ae42351f594a6c74 (diff)
downloadframeworks_base-2f6964fc89bf69c8e37f096d37c8e224d598b8f8.zip
frameworks_base-2f6964fc89bf69c8e37f096d37c8e224d598b8f8.tar.gz
frameworks_base-2f6964fc89bf69c8e37f096d37c8e224d598b8f8.tar.bz2
Moves fbo support in renderscript behind the hal
Change-Id: I26a857586f5f0b47df4c1f4589d2023e70481ec7
Diffstat (limited to 'libs/rs/driver/rsdCore.cpp')
-rw-r--r--libs/rs/driver/rsdCore.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/rs/driver/rsdCore.cpp b/libs/rs/driver/rsdCore.cpp
index 0a5f2ec..7ef9c30 100644
--- a/libs/rs/driver/rsdCore.cpp
+++ b/libs/rs/driver/rsdCore.cpp
@@ -23,6 +23,7 @@
#include "rsdProgramFragment.h"
#include "rsdMesh.h"
#include "rsdSampler.h"
+#include "rsdFrameBuffer.h"
#include <malloc.h>
#include "rsContext.h"
@@ -98,6 +99,12 @@ static RsdHalFunctions FunctionTable = {
rsdSamplerDestroy
},
+ {
+ rsdFrameBufferInit,
+ rsdFrameBufferSetActive,
+ rsdFrameBufferDestroy
+ },
+
};
pthread_key_t rsdgThreadTLSKey = 0;