Home
last modified time | relevance | path

Searched refs:codegen (Results 1 – 25 of 26) sorted by relevance

12

/hardware/google/gfxstream/scripts/
Dgenerate-apigen-sources.sh4 cp -f codegen/gles1/gles1.attrib codegen/gles1/gl.attrib
5 cp -f codegen/gles1/gles1.in codegen/gles1/gl.in
6 cp -f codegen/gles1/gles1.types codegen/gles1/gl.types
7 ./build/gfxstream-generic-apigen -i ./codegen/gles1 -D ./host/gl/gles1_dec gles1
8 ./build/gfxstream-generic-apigen -i ./codegen/gles1 -E ./guest/GLESv1_enc gl
9 rm codegen/gles1/gl.attrib
10 rm codegen/gles1/gl.in
11 rm codegen/gles1/gl.types
13 cp -f codegen/gles2/gles2.attrib codegen/gles2/gl2.attrib
14 cp -f codegen/gles2/gles2.in codegen/gles2/gl2.in
[all …]
Dgenerate-gfxstream-vulkan.sh37 export GEN_VK=$GFXSTREAM_DIR/codegen/vulkan/vulkan-docs-next/scripts/genvk.py
38 export VK_XML=$GFXSTREAM_DIR/codegen/vulkan/vulkan-docs-next/xml/vk.xml
39 export CUSTOM_XML=$GFXSTREAM_DIR/codegen/vulkan/vulkan-docs-next/xml/vk_gfxstream.xml
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/
Dfrontend.py16 from .common.codegen import CodeGen, VulkanAPIWrapper
52 def frontendDefFunc(codegen, api): argument
55 codegen.stmt(
58 codegen.funcCall(None, API_PREFIX_VALIDATE + api.origName,
62 codegen.beginIf(
65 codegen.stmt("return %s" % VALIDATE_VAR_NAME)
67 codegen.stmt("return (%s)0" % retTypeName)
69 codegen.stmt("return")
70 codegen.endIf()
72 codegen.stmt("// VULKAN_STREAM_GET()")
[all …]
Dtransform.py16 from .common.codegen import CodeGen
218 self.codegen = CodeGen()
249 self.codegen.stmt("class %s" % self.resourceTrackerTypeName)
250 self.codegen.line("#define LIST_TRIVIAL_TRANSFORMED_TYPES(f) \\")
252 self.codegen.line("f(%s) \\" % name)
253 self.codegen.line("")
255 self.codegen.line("#define LIST_NON_TRIVIAL_TRANSFORMED_TYPES(f) \\")
257 self.codegen.line("f(%s) \\" % name)
258 self.codegen.line("")
260 self.codegen.line("#define LIST_TRANSFORMED_TYPES(f) \\")
[all …]
Dextensionstructs.py16 from .common.codegen import CodeGen
32 self.codegen = CodeGen()
63 self.module.appendHeader(self.codegen.makeFuncDecl(
65 self.module.appendHeader(self.codegen.makeFuncDecl(
67 self.module.appendHeader(self.codegen.makeFuncDecl(
90 self.codegen.makeFuncImpl(
118 self.codegen.makeFuncImpl(
129 self.codegen.makeFuncImpl(
Dunbox.py16 from .common.codegen import CodeGen
28 self.codegen = CodeGen()
51 self.codegen.makeFuncAlias(self.unboxPrefix + "_" + name,
73 self.codegen.makeFuncDecl(api))
75 self.codegen.makeFuncImpl(api, funcDefGenerator))
Dhandlemap.py16 from .common.codegen import CodeGen
174 self.codegen = CodeGen()
201 self.module.appendImpl(self.codegen.makeFuncDecl(
214 self.codegen.makeFuncAlias(self.handlemapPrefix + name,
243 self.codegen.makeFuncDecl(handlemapPrototype))
245 self.codegen.makeFuncImpl(handlemapPrototype, funcDefGenerator))
258 self.codegen.makeFuncImpl(
Ddeepcopy.py16 from .common.codegen import CodeGen
268 self.codegen = CodeGen()
303 self.module.appendImpl(self.codegen.makeFuncDecl(
316 self.codegen.makeFuncAlias(self.deepcopyPrefix + name,
354 self.codegen.makeFuncDecl(deepcopyPrototype))
356 self.codegen.makeFuncImpl(deepcopyPrototype, structDeepcopyDef))
376 self.codegen.makeFuncImpl(
Dtesting.py18 from .common.codegen import CodeGen
316 self.codegen = CodeGen()
336 self.module.appendImpl(self.codegen.makeFuncDecl(
349 self.codegen.makeFuncAlias(API_PREFIX_EQUALITY + name,
375 self.codegen.makeFuncDecl(comparePrototype))
377 self.codegen.makeFuncImpl(comparePrototype, structCompareDef))
393 self.codegen.makeFuncImpl(
Dcounting.py18 from .common.codegen import CodeGen
503 self.codegen = CodeGen()
515 self.codegen,
534 self.module.appendImpl(self.codegen.makeFuncDecl(
548 self.codegen.makeFuncAlias(self.countingPrefix + name,
625 self.codegen.makeFuncDecl(countingPrototype))
627 self.codegen.makeFuncImpl(countingPrototype, structCountingDef))
690 self.codegen.makeFuncImpl(
Dwrapperdefs.py16 from .common.codegen import VulkanWrapperGenerator
Ddecodersnapshot.py1 from .common.codegen import CodeGen, VulkanWrapperGenerator, VulkanAPIWrapper
Dsubdecode.py1 from .common.codegen import CodeGen, VulkanWrapperGenerator
Ddispatch.py16 from .common.codegen import CodeGen
Dfunctable.py1 from .common.codegen import CodeGen, VulkanWrapperGenerator
Dencoder.py3 from .common.codegen import CodeGen, VulkanWrapperGenerator
Ddecoder.py1 from .common.codegen import CodeGen, VulkanWrapperGenerator
Dmarshaling.py19 from .common.codegen import CodeGen, VulkanAPIWrapper
Dreservedmarshaling.py17 from .common.codegen import CodeGen, VulkanAPIWrapper
/hardware/google/gfxstream/third-party/fuchsia/magma/
DREADME.md20 definition errors are only visible during one of the two codegen phases. If
21 codegen succeeded, the files should be moved to replace their existing
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/common/
D__init__.py2 from .codegen import *
Dcodegen.py847 self.codegen = CodeGen()
875 return self.codegen.makeFuncProto(
881 self.codegen.swapCode()
882 self.codegen.beginBlock()
889 self.definitionFunc(self.codegen, vulkanApi)
891 self.codegen.endBlock()
893 return ("static " if isStatic else "") + self.codegen.makeFuncProto(
894 vulkanApi) + "\n" + self.codegen.swapCode() + "\n"
/hardware/google/gfxstream/
DCMakeLists.txt157 add_subdirectory(codegen)
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dcmake_core.cmake201 # Workaround MSVC codegen bug for NEON builds on VS 2022 17.2 or older
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dcerealgenerator.py272 self.codegen = cereal.CodeGen()

12