Home
last modified time | relevance | path

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

/device/generic/goldfish/opengl/system/renderControl_enc/
DrenderControl_enc.cpp26 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in rcGetRendererVersion_enc() local
27 bool useChecksum = checksumCalculator->getVersion() > 0; in rcGetRendererVersion_enc()
32 const size_t checksumSize = checksumCalculator->checksumByteSize(); in rcGetRendererVersion_enc()
40 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in rcGetRendererVersion_enc()
41 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in rcGetRendererVersion_enc()
46 if (useChecksum) checksumCalculator->addBuffer(&retval, 4); in rcGetRendererVersion_enc()
50 if (!checksumCalculator->validate(checksumBuf.get(), checksumSize)) { in rcGetRendererVersion_enc()
63 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in rcGetEGLVersion_enc() local
64 bool useChecksum = checksumCalculator->getVersion() > 0; in rcGetEGLVersion_enc()
71 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/GLESv2_enc/
Dgl2_enc.cpp26 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glActiveTexture_enc() local
27 bool useChecksum = checksumCalculator->getVersion() > 0; in glActiveTexture_enc()
32 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glActiveTexture_enc()
41 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in glActiveTexture_enc()
42 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glActiveTexture_enc()
51 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glAttachShader_enc() local
52 bool useChecksum = checksumCalculator->getVersion() > 0; in glAttachShader_enc()
57 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glAttachShader_enc()
67 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in glAttachShader_enc()
68 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/goldfish/opengl/system/GLESv1_enc/
Dgl_enc.cpp26 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glAlphaFunc_enc() local
27 bool useChecksum = checksumCalculator->getVersion() > 0; in glAlphaFunc_enc()
32 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glAlphaFunc_enc()
42 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in glAlphaFunc_enc()
43 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glAlphaFunc_enc()
52 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glClearColor_enc() local
53 bool useChecksum = checksumCalculator->getVersion() > 0; in glClearColor_enc()
58 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glClearColor_enc()
70 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in glClearColor_enc()
71 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glClearColor_enc()
[all …]
Dgl_enc.h20 gl_encoder_context_t(IOStream *stream, ChecksumCalculator *checksumCalculator);