Home
last modified time | relevance | path

Searched refs:streamVar (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/
Dencoder.py590 def emit_flush_ranges(streamVar): argument
598 … cgen.stmt("if (!memory) { %s->write(&streamSize, sizeof(uint64_t)); continue; }" % streamVar)
601 … cgen.stmt("if (!hostPtr) { %s->write(&streamSize, sizeof(uint64_t)); continue; }" % streamVar)
603 cgen.stmt("%s->write(&streamSize, sizeof(uint64_t))" % streamVar)
605 cgen.stmt("%s->write(targetRange, actualSize)" % streamVar)
629 def emit_invalidate_ranges(streamVar): argument
637 cgen.stmt("if (!memory) { %s->read(&streamSize, sizeof(uint64_t)); continue; }" % streamVar)
640 … cgen.stmt("if (!hostPtr) { %s->read(&streamSize, sizeof(uint64_t)); continue; }" % streamVar)
642 cgen.stmt("%s->read(&streamSize, sizeof(uint64_t))" % streamVar)
644 cgen.stmt("%s->read(targetRange, actualSize)" % streamVar)
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/common/
Dcodegen.py705 def streamPrimitive(self, typeInfo, streamVar, accessExpr, accessType, direction="write"): argument
743 streamVar,
750 (streamVar, streamMethod, streamStorageVar))
752 …def memcpyPrimitive(self, typeInfo, streamVar, accessExpr, accessType, variant, direction="write"): argument
797 streamVar,
808 (streamVar, streamStorageVar, str(streamSize)))
812 streamVar))