aboutsummaryrefslogtreecommitdiff
path: root/memory
AgeCommit message (Collapse)Author
2015-07-06Update README.mk filesBen Clayton
Change-Id: I11454e5aa5d4f1efd714ea96ff21f54512581ed7
2015-07-03Build package constant tablesIan Cottrell
Change-Id: I04e7ef98a8d2291a5a03f133fc235bc9a47abcf4
2015-07-03Move display name out of the main schema into the atom metadataIan Cottrell
Change-Id: I37c2ecc6e9e98153178af57851b329672e6bb4fe
2015-07-01Add memory.PoolID field into memory.Pointer.Ben Clayton
Helps simplify a bunch of GAPIS and GAPIC logic. Change-Id: I194442806b600d65d56ce71920c04afd4a4805b7
2015-06-26Make package level namespace objects, and cascade them from the global ↵Ian Cottrell
namespace, rather than adding all classes directly to the global namespace. We may need to add a caching optimisation for fallback namespaces in the future, as this will slow down ID lookup. Change-Id: I74f40dd670115b1b79435903d988ad58969f6141
2015-06-26Add reads / writes / observed info to the MemoryInfo RPC structureBen Clayton
Change-Id: Ibb9eaf7892adeeb5261f9fa3df139093639336df
2015-06-25Rebuild all _binary files with new schema featuresIan Cottrell
Change-Id: Ic9d996dc4fa71aa6a110228ceb77ffc2e2178c71
2015-06-25Rebuild markdown documentationBen Clayton
Change-Id: I4ac0c3729c6dfd399e590c562af7d5147b12b3b6
2015-06-18Clean up database creation functionsIan Cottrell
Change-Id: Id7ff58ea768ebc29e442cbc09d054e06d2ebae19
2015-06-17Clean up Blob handlingIan Cottrell
This is changes extracted from 155130 to make it more discussable. Change-Id: I91e9cd1a46505906a27ca01a41ed00b53c6e42c7
2015-06-09memory.Reader optimization: Use bufio to avoid hitting the database repeatedly.Ben Clayton
Change-Id: I13159244e1af2489288504fe98be7a87cd6e8a39
2015-06-05Fixup cpp codergen for namespaces and unicode namesIan Cottrell
Change-Id: Iabfa8b47d45a2151b2ffd98bba564165277c0e25
2015-06-05Remove redundant types and empty var/init declarationsIan Cottrell
Change-Id: Ie72a0eea18d9bf4e45f439529ec29a16391b8a10
2015-06-04Merge "Implement nullSlice.ResourceID" into studio-1.3-devBen Clayton
2015-06-04Implement nullSlice.ResourceIDBen Clayton
Change-Id: Ie68bc47d124f6025e92bf7954c2942669fc1072b
2015-06-03Fix for memory.WriterBen Clayton
bytes.NewBuffer will just append to the slice. Instead we want to fill the slice, and error if it overflows. Change-Id: I8e091d5d45826732250c6f8bc890ec84b140d0c8
2015-06-01Fix recursion in enum String() functionBen Clayton
Change-Id: Ic4b86c2ba663a6e642c5d702375cbdfe0121d2b5
2015-05-29Clean and regenerate all files.Seb Noury
Change-Id: Ice06269670299f6f2834091d969f278b9f1a5ad5
2015-05-29Replace inline array-parameter data with pointers and observations.Ben Clayton
* Implemented GAPII (C++) Slice and Pool types. * Implemented GAPIS (Go) Slice and Pointer types, and renamed memory.Memory to memory.Pool. * Go slices also keep information about the root pointer from which they were formed. This is used to build mapped memory regions * Added device.Architecture to centralize all the information about pointer size / alignment, integer size and byte ordering. * All read and write memory observations are now part of each atom. * Resource atoms have been removed. * APIC / template changes: * GetArrayParamCount has been removed. * All intrinsic functions and operators that take integers (make, slice, index) now automatically cast to u64. * string <-> char[] casts now need to be explicit as they incur a allocation and copy cost. * All composite types now have unicode names to avoid name collisions with other user-named types: * Pointer: Fooᵖ * Const pointer: Fooᶜᵖ * Slice: Fooˢ * Reference: Fooʳ * Map: KeyːValueᵐ * Pointer types will always have a complementary Slice type created which is accessible via the Slice field of the semantic.Pointer type. The opposite is also true. Change-Id: I9c9edc9aed36bb36d88c1a548649a3a2fca5d0c8
2015-05-13Auto generate schema objectsIan Cottrell
Change-Id: Id7e5b0c74d05a879d107d64cfb965f5b611d5179
2015-05-11Rename markdown files with correct extensionBen Clayton
Change-Id: I3820dcb1402e9e17acb665943cb6fc77634d1a6b
2015-05-11Add markdown documentation generated from godocBen Clayton
Change-Id: I27cd0bba6cc5a5419e16f99cdcfec2bfb8c05f7f
2015-04-16Fix file permissions on codergen generated files.Ian Cottrell
Change-Id: Ieccd9fc0fd0528a4f02fbea9e803641dc9f731c0
2015-04-14New version of codergen.Ian Cottrell
This processes the entire repository in a single pass, and does so much faster than a single package invocation of codergen used to be. It also suppresses type resolve error messages, unless you turn on the new verbose flag. Change-Id: If24dee5be6a3fa7a773b49db6730ca806c660b5e
2015-04-12Codergen now picks up imports from the package it is processingIan Cottrell
Change-Id: Ic518de9819353af8cee1a9ae54dba912f70bbe6a
2015-04-02Move to binary.Class based systemIan Cottrell
Change-Id: I75e529c81062d1dcb43ac8a6de70e2749bae3683
2015-03-31Normalise tag handlingIan Cottrell
Use reflect.StructTag to do the parsing for consistency. Also add test for generation disabling. Also clean up type tests, I could no longer understand them. Change-Id: I51931df296dece0fe5263f764767b6a9eb5a1de1
2015-03-31Enhance Encoder/Decoder to support Variant ID and Value types and SkipIan Cottrell
Change-Id: Id397e70abb9d7da1f8532495d1918ac5071e1433
2015-03-31Add ability to disable codergen, use it for non serializable structsIan Cottrell
Change-Id: Ib8cbf43030cfd811325fa6c5c21e1a753f9a9f8b
2015-03-30Kill binary.Data and generate more encoders/decodersIan Cottrell
Change-Id: I91f39acca69deefa5ae44fbefac61c2f6fba80f3
2015-03-20Allow an API per context.Ben Clayton
State a struct containing global state (for all contexts) and per-context state. State mutation is no longer performed by a dedicated state mutator object, but by each atom. The same is now true for replay. The RPC api has been simplified due to these structural changes. Java still need to be updated. All of this will allow things like EGL to be separated from the GLES contexts. Change-Id: Ie7555731afff3618dba60fa6685dd9d1adb55900
2015-03-20Split the variable size integer writer from the object hierarchy encoderIan Cottrell
Change-Id: I587cc45e08d2b49a88b93e1816d0a22def405356
2015-03-18Auto generating more encode/decode functionsIan Cottrell
Change-Id: I67d8eee4a9ce88db419d024588f4067fedfba69f
2015-02-28s/Id/IDBen Clayton
Change-Id: I54b34d53e81d61a04ceeed356dcc26e0b89d5cff
2015-02-22Initial drop of the memory package.Ben Clayton
Package memory contains types used for representing and simulating memory observed in the capture. Change-Id: I236929514b8d88053f81a5cd3886da91a41fcc13