diff options
| author | Alex Sakhartchouk <alexst@google.com> | 2011-04-06 10:57:51 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2011-04-25 14:30:27 -0700 |
| commit | e7c4a7565c7f8c8fc1ec92dc0692577fcc474750 (patch) | |
| tree | d43d472a9207a28ff03141e6920a21fc6012b44c /libs/rs/rsContext.cpp | |
| parent | 466e3a22db283958a1da71cc60a23ce3976a3659 (diff) | |
| download | frameworks_base-e7c4a7565c7f8c8fc1ec92dc0692577fcc474750.zip frameworks_base-e7c4a7565c7f8c8fc1ec92dc0692577fcc474750.tar.gz frameworks_base-e7c4a7565c7f8c8fc1ec92dc0692577fcc474750.tar.bz2 | |
Modifying libRS internal communication to handle network rendering.
Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
Diffstat (limited to 'libs/rs/rsContext.cpp')
| -rw-r--r-- | libs/rs/rsContext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index 20fa367..0ca892d 100644 --- a/libs/rs/rsContext.cpp +++ b/libs/rs/rsContext.cpp @@ -705,9 +705,9 @@ void rsi_ContextBindFont(Context *rsc, RsFont vfont) { rsc->setFont(font); } -void rsi_AssignName(Context *rsc, void * obj, const char *name, uint32_t len) { +void rsi_AssignName(Context *rsc, RsObjectBase obj, const char *name, uint32_t name_length) { ObjectBase *ob = static_cast<ObjectBase *>(obj); - rsc->assignName(ob, name, len); + rsc->assignName(ob, name, name_length); } void rsi_ObjDestroy(Context *rsc, void *optr) { @@ -724,7 +724,7 @@ void rsi_ContextResume(Context *rsc) { rsc->resume(); } -void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, ANativeWindow *sur) { +void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, ANativeWindow *sur, size_t sur_length) { rsc->setSurface(w, h, sur); } |
