Searched refs:checksumCalculator (Results 1 – 9 of 9) sorted by relevance
/hardware/google/gfxstream/guest/magma/magma_enc/ |
D | magma_enc.cpp | 39 gfxstream::guest::ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in magma_device_import_enc() local 40 bool useChecksum = checksumCalculator->getVersion() > 0; in magma_device_import_enc() 46 const size_t checksumSize = checksumCalculator->checksumByteSize(); in magma_device_import_enc() 56 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in magma_device_import_enc() 57 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in magma_device_import_enc() 60 if (useChecksum) checksumCalculator->addBuffer(device_out, __size_device_out); in magma_device_import_enc() 64 if (useChecksum) checksumCalculator->addBuffer(&retval, 4); in magma_device_import_enc() 70 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in magma_device_import_enc() 85 gfxstream::guest::ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in magma_device_release_enc() local 86 bool useChecksum = checksumCalculator->getVersion() > 0; in magma_device_release_enc() [all …]
|
D | magma_enc.h | 19 …xt_t(gfxstream::guest::IOStream *stream, gfxstream::guest::ChecksumCalculator *checksumCalculator);
|
/hardware/google/gfxstream/guest/renderControl_enc/ |
D | renderControl_enc.cpp | 37 gfxstream::guest::ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in rcGetRendererVersion_enc() local 38 bool useChecksum = checksumCalculator->getVersion() > 0; in rcGetRendererVersion_enc() 43 const size_t checksumSize = checksumCalculator->checksumByteSize(); in rcGetRendererVersion_enc() 51 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in rcGetRendererVersion_enc() 52 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in rcGetRendererVersion_enc() 57 if (useChecksum) checksumCalculator->addBuffer(&retval, 4); in rcGetRendererVersion_enc() 63 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in rcGetRendererVersion_enc() 78 gfxstream::guest::ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in rcGetEGLVersion_enc() local 79 bool useChecksum = checksumCalculator->getVersion() > 0; in rcGetEGLVersion_enc() 86 const size_t checksumSize = checksumCalculator->checksumByteSize(); in rcGetEGLVersion_enc() [all …]
|
D | renderControl_enc.h | 21 …xt_t(gfxstream::guest::IOStream *stream, gfxstream::guest::ChecksumCalculator *checksumCalculator);
|
/hardware/google/gfxstream/guest/GLESv1_enc/ |
D | gl_enc.cpp | 37 gfxstream::guest::ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glAlphaFunc_enc() local 38 bool useChecksum = checksumCalculator->getVersion() > 0; in glAlphaFunc_enc() 43 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glAlphaFunc_enc() 53 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in glAlphaFunc_enc() 54 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glAlphaFunc_enc() 65 gfxstream::guest::ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glClearColor_enc() local 66 bool useChecksum = checksumCalculator->getVersion() > 0; in glClearColor_enc() 71 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glClearColor_enc() 83 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in glClearColor_enc() 84 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glClearColor_enc() [all …]
|
D | gl_enc.h | 20 …xt_t(gfxstream::guest::IOStream *stream, gfxstream::guest::ChecksumCalculator *checksumCalculator);
|
/hardware/google/gfxstream/guest/GLESv2_enc/ |
D | gl2_enc.cpp | 37 gfxstream::guest::ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glActiveTexture_enc() local 38 bool useChecksum = checksumCalculator->getVersion() > 0; in glActiveTexture_enc() 43 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glActiveTexture_enc() 52 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in glActiveTexture_enc() 53 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glActiveTexture_enc() 64 gfxstream::guest::ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glAttachShader_enc() local 65 bool useChecksum = checksumCalculator->getVersion() > 0; in glAttachShader_enc() 70 const size_t checksumSize = checksumCalculator->checksumByteSize(); in glAttachShader_enc() 80 if (useChecksum) checksumCalculator->addBuffer(buf, ptr-buf); in glAttachShader_enc() 81 if (useChecksum) checksumCalculator->writeChecksum(ptr, checksumSize); ptr += checksumSize; in glAttachShader_enc() [all …]
|
D | gl2_enc.h | 21 …xt_t(gfxstream::guest::IOStream *stream, gfxstream::guest::ChecksumCalculator *checksumCalculator);
|
/hardware/google/gfxstream/guest/OpenglSystemCommon/ |
D | HostConnection.h | 53 gfxstream::guest::ChecksumCalculator *checksumCalculator) in ExtendedRCEncoderContext() argument 54 : renderControl_encoder_context_t(stream, checksumCalculator) {} in ExtendedRCEncoderContext()
|