Add support for dumping RS objects to aid in debugging of white blocks bug.
This commit is contained in:
@@ -68,6 +68,7 @@ public class RenderScript {
|
||||
native void nContextDestroy(int con);
|
||||
native void nContextSetSurface(int w, int h, Surface sur);
|
||||
native void nContextSetPriority(int p);
|
||||
native void nContextDump(int bits);
|
||||
|
||||
native void nContextBindRootScript(int script);
|
||||
native void nContextBindSampler(int sampler, int slot);
|
||||
@@ -304,6 +305,10 @@ public class RenderScript {
|
||||
nContextSetSurface(w, h, mSurface);
|
||||
}
|
||||
|
||||
public void contextDump(int bits) {
|
||||
nContextDump(bits);
|
||||
}
|
||||
|
||||
public void destroy() {
|
||||
nContextDeinitToClient();
|
||||
mMessageThread.mRun = false;
|
||||
|
||||
Reference in New Issue
Block a user