Home
last modified time | relevance | path

Searched refs:cmdID (Results 1 – 16 of 16) sorted by relevance

/frameworks/support/renderscript/v8/rs_support/
DrsThreadIO.cpp51 void * ThreadIO::coreHeader(uint32_t cmdID, size_t dataLen) { in coreHeader() argument
55 hdr->cmdID = cmdID; in coreHeader()
145 r = mToCore.read((void *)&cmd->cmdID, sizeof(cmd->cmdID)); in playCoreCommands()
155 if (cmd->cmdID >= (sizeof(gPlaybackFuncs) / sizeof(void *))) { in playCoreCommands()
156 rsAssert(cmd->cmdID < (sizeof(gPlaybackFuncs) / sizeof(void *))); in playCoreCommands()
157 ALOGE("playCoreCommands error con %p, cmd %i", con, cmd->cmdID); in playCoreCommands()
161 gPlaybackFuncs[cmd->cmdID](con, data, cmd->bytes); in playCoreCommands()
163 gPlaybackRemoteFuncs[cmd->cmdID](con, this); in playCoreCommands()
193 return (RsMessageToClientType)mLastClientHeader.cmdID; in getClientHeader()
208 return (RsMessageToClientType)mLastClientHeader.cmdID; in getClientPayload()
[all …]
DrsThreadIO.h66 …bool sendToClient(RsMessageToClientType cmdID, uint32_t usrID, const void *data, size_t dataLen, b…
72 uint32_t cmdID; member
76 uint32_t cmdID; member
DrsScriptC_Lib.cpp145 uint32_t rsrToClient(Context *rsc, Script *sc, int cmdID, void *data, int len) { in rsrToClient() argument
147 return rsc->sendMessageToClient(data, RS_MESSAGE_TO_CLIENT_USER, cmdID, len, false); in rsrToClient()
150 uint32_t rsrToClientBlocking(Context *rsc, Script *sc, int cmdID, void *data, int len) { in rsrToClientBlocking() argument
152 return rsc->sendMessageToClient(data, RS_MESSAGE_TO_CLIENT_USER, cmdID, len, true); in rsrToClientBlocking()
DrsRuntime.h62 uint32_t rsrToClient(Context *, Script *, int cmdID, void *data, int len);
63 uint32_t rsrToClientBlocking(Context *, Script *, int cmdID, void *data, int len);
79 uint32_t rsrToClient(Context *, Script *, int cmdID, void *data, int len);
80 uint32_t rsrToClientBlocking(Context *, Script *, int cmdID, void *data, int len);
DrsContext.h98 …bool sendMessageToClient(const void *data, RsMessageToClientType cmdID, uint32_t subID, size_t len…
DrsContext.cpp358 bool Context::sendMessageToClient(const void *data, RsMessageToClientType cmdID, in sendMessageToClient() argument
361 return mIO.sendToClient(cmdID, subID, data, len, waitForSpace); in sendMessageToClient()
/frameworks/rs/
DrsThreadIO.cpp51 void * ThreadIO::coreHeader(uint32_t cmdID, size_t dataLen) { in coreHeader() argument
55 hdr->cmdID = cmdID; in coreHeader()
145 r = mToCore.read((void *)&cmd->cmdID, sizeof(cmd->cmdID)); in playCoreCommands()
155 if (cmd->cmdID >= (sizeof(gPlaybackFuncs) / sizeof(void *))) { in playCoreCommands()
156 rsAssert(cmd->cmdID < (sizeof(gPlaybackFuncs) / sizeof(void *))); in playCoreCommands()
157 ALOGE("playCoreCommands error con %p, cmd %i", con, cmd->cmdID); in playCoreCommands()
161 gPlaybackFuncs[cmd->cmdID](con, data, cmd->bytes); in playCoreCommands()
163 gPlaybackRemoteFuncs[cmd->cmdID](con, this); in playCoreCommands()
193 return (RsMessageToClientType)mLastClientHeader.cmdID; in getClientHeader()
208 return (RsMessageToClientType)mLastClientHeader.cmdID; in getClientPayload()
[all …]
DrsThreadIO.h66 …bool sendToClient(RsMessageToClientType cmdID, uint32_t usrID, const void *data, size_t dataLen, b…
72 uint32_t cmdID; member
76 uint32_t cmdID; member
DrsScriptC_Lib.cpp145 uint32_t rsrToClient(Context *rsc, Script *sc, int cmdID, void *data, int len) { in rsrToClient() argument
147 return rsc->sendMessageToClient(data, RS_MESSAGE_TO_CLIENT_USER, cmdID, len, false); in rsrToClient()
150 uint32_t rsrToClientBlocking(Context *rsc, Script *sc, int cmdID, void *data, int len) { in rsrToClientBlocking() argument
152 return rsc->sendMessageToClient(data, RS_MESSAGE_TO_CLIENT_USER, cmdID, len, true); in rsrToClientBlocking()
DrsRuntime.h120 uint32_t rsrToClient(Context *, Script *, int cmdID, void *data, int len);
121 uint32_t rsrToClientBlocking(Context *, Script *, int cmdID, void *data, int len);
137 uint32_t rsrToClient(Context *, Script *, int cmdID, void *data, int len);
138 uint32_t rsrToClientBlocking(Context *, Script *, int cmdID, void *data, int len);
DrsContext.h136 …bool sendMessageToClient(const void *data, RsMessageToClientType cmdID, uint32_t subID, size_t len…
DrsContext.cpp644 bool Context::sendMessageToClient(const void *data, RsMessageToClientType cmdID, in sendMessageToClient() argument
647 return mIO.sendToClient(cmdID, subID, data, len, waitForSpace); in sendMessageToClient()
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdRuntimeStubs.cpp218 static uint32_t SC_ToClient2(int cmdID, void *data, int len) { in SC_ToClient2() argument
220 return rsrToClient(rsc, sc, cmdID, data, len); in SC_ToClient2()
223 static uint32_t SC_ToClient(int cmdID) { in SC_ToClient() argument
225 return rsrToClient(rsc, sc, cmdID, NULL, 0); in SC_ToClient()
228 static uint32_t SC_ToClientBlocking2(int cmdID, void *data, int len) { in SC_ToClientBlocking2() argument
230 return rsrToClientBlocking(rsc, sc, cmdID, data, len); in SC_ToClientBlocking2()
233 static uint32_t SC_ToClientBlocking(int cmdID) { in SC_ToClientBlocking() argument
235 return rsrToClientBlocking(rsc, sc, cmdID, NULL, 0); in SC_ToClientBlocking()
/frameworks/rs/driver/
DrsdRuntimeStubs.cpp507 static uint32_t SC_ToClient2(int cmdID, void *data, int len) { in SC_ToClient2() argument
509 return rsrToClient(rsc, sc, cmdID, data, len); in SC_ToClient2()
512 static uint32_t SC_ToClient(int cmdID) { in SC_ToClient() argument
514 return rsrToClient(rsc, sc, cmdID, NULL, 0); in SC_ToClient()
517 static uint32_t SC_ToClientBlocking2(int cmdID, void *data, int len) { in SC_ToClientBlocking2() argument
519 return rsrToClientBlocking(rsc, sc, cmdID, data, len); in SC_ToClientBlocking2()
522 static uint32_t SC_ToClientBlocking(int cmdID) { in SC_ToClientBlocking() argument
524 return rsrToClientBlocking(rsc, sc, cmdID, NULL, 0); in SC_ToClientBlocking()
/frameworks/rs/scriptc/
Drs_core.rsh73 rsSendToClient(int cmdID);
78 rsSendToClient(int cmdID, const void *data, uint len);
84 rsSendToClientBlocking(int cmdID);
89 rsSendToClientBlocking(int cmdID, const void *data, uint len);
/frameworks/support/renderscript/v8/rs_support/scriptc/
Drs_core.rsh73 rsSendToClient(int cmdID);
78 rsSendToClient(int cmdID, const void *data, uint len);
84 rsSendToClientBlocking(int cmdID);
89 rsSendToClientBlocking(int cmdID, const void *data, uint len);