Home
last modified time | relevance | path

Searched refs:checksumCalculator (Results 1 – 9 of 9) sorted by relevance

/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl_enc.cpp27 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in rcGetRendererVersion_enc() local
28 bool useChecksum = checksumCalculator->getVersion() > 0; in rcGetRendererVersion_enc()
33 const size_t checksumSize = checksumCalculator->checksumByteSize(); in rcGetRendererVersion_enc()
41 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in rcGetRendererVersion_enc()
42 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in rcGetRendererVersion_enc()
47 if (useChecksum) checksumCalculator->addBuffer(&retval, 4); in rcGetRendererVersion_enc()
53 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in rcGetRendererVersion_enc()
66 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in rcGetEGLVersion_enc() local
67 bool useChecksum = checksumCalculator->getVersion() > 0; in rcGetEGLVersion_enc()
74 const size_t checksumSize = checksumCalculator->checksumByteSize(); in rcGetEGLVersion_enc()
[all …]
DrenderControl_enc.h21 renderControl_encoder_context_t(IOStream *stream, ChecksumCalculator *checksumCalculator);
/device/generic/goldfish-opengl/system/GLESv1_enc/
Dgl_enc.cpp27 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glAlphaFunc_enc() local
28 bool useChecksum = checksumCalculator->getVersion() > 0; in glAlphaFunc_enc()
33 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glAlphaFunc_enc()
43 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in glAlphaFunc_enc()
44 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glAlphaFunc_enc()
53 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glClearColor_enc() local
54 bool useChecksum = checksumCalculator->getVersion() > 0; in glClearColor_enc()
59 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glClearColor_enc()
71 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in glClearColor_enc()
72 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glClearColor_enc()
[all …]
Dgl_enc.h20 gl_encoder_context_t(IOStream *stream, ChecksumCalculator *checksumCalculator);
/device/generic/goldfish-opengl/system/GLESv2_enc/
Dgl2_enc.cpp27 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glActiveTexture_enc() local
28 bool useChecksum = checksumCalculator->getVersion() > 0; in glActiveTexture_enc()
33 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glActiveTexture_enc()
42 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in glActiveTexture_enc()
43 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glActiveTexture_enc()
52 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glAttachShader_enc() local
53 bool useChecksum = checksumCalculator->getVersion() > 0; in glAttachShader_enc()
58 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glAttachShader_enc()
68 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in glAttachShader_enc()
69 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glAttachShader_enc()
[all …]
Dgl2_enc.h21 gl2_encoder_context_t(IOStream *stream, ChecksumCalculator *checksumCalculator);
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/
Dfoo_enc.cpp27 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in fooAlphaFunc_enc() local
28 bool useChecksum = checksumCalculator->getVersion() > 0; in fooAlphaFunc_enc()
33 const size_t checksumSize = checksumCalculator->checksumByteSize(); in fooAlphaFunc_enc()
43 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in fooAlphaFunc_enc()
44 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in fooAlphaFunc_enc()
53 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in fooIsBuffer_enc() local
54 bool useChecksum = checksumCalculator->getVersion() > 0; in fooIsBuffer_enc()
60 const size_t checksumSize = checksumCalculator->checksumByteSize(); in fooIsBuffer_enc()
70 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in fooIsBuffer_enc()
71 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in fooIsBuffer_enc()
[all …]
Dfoo_enc.h20 foo_encoder_context_t(IOStream *stream, ChecksumCalculator *checksumCalculator);
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DHostConnection.h48 ExtendedRCEncoderContext(IOStream *stream, ChecksumCalculator *checksumCalculator) in ExtendedRCEncoderContext() argument
49 : renderControl_encoder_context_t(stream, checksumCalculator), in ExtendedRCEncoderContext()