summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2013-10-03parse_rng.py: fix self-testJan Luebbe
2013-09-28documentation updateWladimir J. van der Laan
2013-09-25tools: add deobfuscator for v4-uapiWladimir J. van der Laan
2013-09-24tools: Add _rmk_'s deobfuscation scripts for kernel driversWladimir J. van der Laan
The kernel drivers in kernel_drivers can be run through these to make them more readable.
2013-09-16driver: don't add pointsize output if shader doesn't set point sizeWladimir J. van der Laan
Don't add pointsize output to vertex shader if that shader doesn't assign the point size. Even if point_size_per_vertex is enabled in rasterizer configuration. This is done because Mesa *always* sets point_size_per_vertex to enabled with OpenGL ES, no matter what the shader does or whether points or other primitives are rendered.
2013-09-10driver: Set up early depthWladimir J. van der Laan
And some documentation changes.
2013-09-09driver: make viewport affect clipping rectangle as wellWladimir J. van der Laan
I'm not sure this is defined by the GL spec, but makes it behave more like other GL drivers and fixes missile cam in d2x.
2013-09-08tools: fix word size in etnaviv_gdbWladimir J. van der Laan
There was an error when using gpu-trace on 64 bit host systems
2013-09-04driver: implement MSAAWladimir J. van der Laan
For now, use ETNA_DEBUG="msaa4x" or ETNA_DEBUG="msaa2x" to force usage of MSAA for screen surface (MESA may have its own way for this...).
2013-09-04tools: don't show INST_MEMs in normal state dumpWladimir J. van der Laan
Makes state dumps somewhat more readable.
2013-08-26docs: add gc1000 in marvell to gpus comparisonWladimir J. van der Laan
2013-08-24fb: add tests for A8 and L8 texture formatsWladimir J. van der Laan
Try to find glquake lightmap bug...
2013-08-14test2d: bitblt with 90 degree rotateWladimir J. van der Laan
2013-08-09driver: texture alignment, preparation for multi-pipeWladimir J. van der Laan
Correct texture and RS alignment. For multi-tiled and multi-super-tiled surfaces (for multiple pixel pipes) a special texture format is used.
2013-08-04tools: fix etnaviv_gdb module loadWladimir J. van der Laan
A syntax error snuck in. Also add beginnings of a gpu-inspect tool to inspect etna resource contents. This is very primitive right now (used it to debug a blitter issue) so don't add it to docs yet.
2013-08-03tools: add output to file option to gdb gpu-traceWladimir J. van der Laan
2013-08-01tools: improve gpu-traceWladimir J. van der Laan
Use our old friend memcpy() to make temporary copy of command buffer memory in client process. No longer needs cooporation from target, which means the hacky _viv_read_u32 can be removed again. An added advantage is that this is *much* faster.
2013-07-31tools: add gpu-trace gdb commandWladimir J. van der Laan
This command traces and dumps all submitted command buffers, along with the physcial address of each command. This should come in handy for searching back the physical address that the rendering is stuck on according to the kernel.
2013-07-29fb_rawshader: fix compile warningsWladimir J. van der Laan
2013-07-28driver: implement CMP instructionWladimir J. van der Laan
New instruction works, but found an restriction in the ISA: - it is not allowed to use multiple uniforms in one instruction. If this is done the result is undefined, so need to work around this by using a temporary.
2013-07-27tools: don't autorepeat etnaviv gdb commandsWladimir J. van der Laan
2013-07-27tools: add etnaviv_gdb pluginWladimir J. van der Laan
GDB plugin for etnaviv driver debugging. This needs gdb 7.5+ to work. usage (from gdb): source /path/to/etnaviv_gdb.py Commands: gpu-state (prefix|uniforms) Show full GPU state (default) or only registers with a certain prefix. The special prefix 'uniforms' shows only the shader uniforms. gpu-dis Disassemble the current shaders.
2013-07-26tools: add i.mx6 duallite to gpus comparisonWladimir J. van der Laan
2013-07-22tools: add VS/PS_RANGE registers to driver state mapWladimir J. van der Laan
2013-07-19tools: output statistics from gen_weave_stateWladimir J. van der Laan
Also do a few comment clarifications.
2013-07-19driver: set GL_API_MODEWladimir J. van der Laan
On GC2000 there is a register GL_API_MODE that sets the global API mode for the context. I do not know what it does, but if another application left it at OPENVG/OPENCL that could have unpredictable consequences. Set it to OPENGL at context creation.
2013-07-19driver: build contextWladimir J. van der Laan
First step towards support for multiple concurrent rendering programs with v2 driver (v4 driver requires different approach with state deltas, but that can be done in a similar way later).
2013-07-18driver: state cachingWladimir J. van der Laan
Keep a context. Write only state that changed actually changed to command buffer.
2013-07-18Add @mike29 to authors listWladimir J. van der Laan
2013-03-24etna: vs/fs shader linking, beginningsWladimir J. van der Laan
Further integrate tgsi->shader compiler. Next up is a testcase/demo that actually uses this new functionality.
2013-03-10figure out opcode bit 6, misc fixes and cleanupsWladimir J. van der Laan
- split off x11 based esXXX functions into esWindow, to not cause compilation issues in fb demos on non-X11 Linux hw - add some documentation and comments here and there - define M_PI if needed (I've always believed this to be part of the C standard, it's not!) - figure out some OpenCL instructions, and the extra opcode bit on GC2000 (support it in asm.py / disasm.py)
2013-03-03some GC2000 registers figured outWladimir J. van der Laan
2013-03-02command stream dumper: i.mx6 kernel driver compatWladimir J. van der Laan
2013-03-01add Ingenic JZ4770 MIPS to gpus comparisonWladimir J. van der Laan
2013-02-23etna_pipe: add displacement mapping demoWladimir J. van der Laan
2013-02-22vs particle system using etna_pipeWladimir J. van der Laan
- get pointcoord x/y to work - point size output
2013-02-21imx6 preparationsWladimir J. van der Laan
viv_info: support multiple cores add info to gpus.json and gpus_comparison
2013-02-21reorganization fb -> fb_oldWladimir J. van der Laan
split off non-etna_pipe demos that still need to be ported to fb_old directory, as demos using raw state manipulation are not as portable to different devices and should not be used as example for new tests
2013-02-20etna_fb: auto recognize fb formatWladimir J. van der Laan
also implement gl_rasterization_rules switching
2013-02-13etna: shader state objectWladimir J. van der Laan
2013-02-10etna: alpha blendingWladimir J. van der Laan
In a bizarre twist of fate, alpha blending now works. Interpretation of bit 16 of PE_COLOR_FORMAT was the wrong way around.
2013-02-07gallium state: running prototypeWladimir J. van der Laan
2013-02-01split up state.xml into multiple partsWladimir J. van der Laan
- state.xml : main file - state_2d.xml.h : 2d state - state_3d.xml.h : 3d state - state_hi.xml.h : host interface state (registers) - common.xml : shared bits between state.xml, cmdstream.xml and isa.xml also beginnings of automatic state management, currently for RS only
2013-01-27cubox: fb rendering beginningsWladimir J. van der Laan
try to support old as well as new Vivante kernel drivers
2013-01-26collect feature bits to compare the various GPUsWladimir J. van der Laan
2013-01-26dove/cubox compatiblity preparationWladimir J. van der Laan
2013-01-24add ETC1 support to fb/mipcube demo, figure out supertilingWladimir J. van der Laan
Also figure out some other resolve state. Add a tool (genmipmaps_etc1.py) to generate a dds file with ETC1 texture compression and auto-generate mipmaps (GIMP dds plugin cannot do ETC1).
2013-01-20etna: indexed renderingWladimir J. van der Laan
2013-01-12mipmapping stateWladimir J. van der Laan
2013-01-11shorten state names, figure out some bitsWladimir J. van der Laan
- envytools: add more convenient VIVS_FE_VERTEX_ELEMENT_CONFIG_START(0xc) syntax iso having to write (0xc << VIVS_FE_VERTEX_ELEMENT_CONFIG_START__SHIFT) - figure out rs/depth tiling bits, PS bypass, write depth only