Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. #ifndef ADRENO_COMMON_XML
  2. #define ADRENO_COMMON_XML
  3.  
  4. /* Autogenerated file, DO NOT EDIT manually!
  5.  
  6. This file was generated by the rules-ng-ng headergen tool in this git repository:
  7. http://0x04.net/cgit/index.cgi/rules-ng-ng
  8. git clone git://0x04.net/rules-ng-ng
  9.  
  10. The rules-ng-ng source files this header was generated from are:
  11. - /home/robclark/src/freedreno/envytools/rnndb/a3xx.xml                (  42578 bytes, from 2013-06-02 13:10:46)
  12. - /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml (   1453 bytes, from 2013-03-31 16:51:27)
  13. - /home/robclark/src/freedreno/envytools/rnndb/adreno_common.xml       (   3094 bytes, from 2013-05-05 18:29:22)
  14. - /home/robclark/src/freedreno/envytools/rnndb/adreno_pm4.xml          (   9712 bytes, from 2013-05-26 15:22:37)
  15.  
  16. Copyright (C) 2013 by the following authors:
  17. - Rob Clark <robdclark@gmail.com> (robclark)
  18.  
  19. Permission is hereby granted, free of charge, to any person obtaining
  20. a copy of this software and associated documentation files (the
  21. "Software"), to deal in the Software without restriction, including
  22. without limitation the rights to use, copy, modify, merge, publish,
  23. distribute, sublicense, and/or sell copies of the Software, and to
  24. permit persons to whom the Software is furnished to do so, subject to
  25. the following conditions:
  26.  
  27. The above copyright notice and this permission notice (including the
  28. next paragraph) shall be included in all copies or substantial
  29. portions of the Software.
  30.  
  31. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  32. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  33. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  34. IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
  35. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  36. OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  37. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  38. */
  39.  
  40.  
  41. enum adreno_pa_su_sc_draw {
  42.         PC_DRAW_POINTS = 0,
  43.         PC_DRAW_LINES = 1,
  44.         PC_DRAW_TRIANGLES = 2,
  45. };
  46.  
  47. enum adreno_compare_func {
  48.         FUNC_NEVER = 0,
  49.         FUNC_LESS = 1,
  50.         FUNC_EQUAL = 2,
  51.         FUNC_LEQUAL = 3,
  52.         FUNC_GREATER = 4,
  53.         FUNC_NOTEQUAL = 5,
  54.         FUNC_GEQUAL = 6,
  55.         FUNC_ALWAYS = 7,
  56. };
  57.  
  58. enum adreno_stencil_op {
  59.         STENCIL_KEEP = 0,
  60.         STENCIL_ZERO = 1,
  61.         STENCIL_REPLACE = 2,
  62.         STENCIL_INCR_CLAMP = 3,
  63.         STENCIL_DECR_CLAMP = 4,
  64.         STENCIL_INVERT = 5,
  65.         STENCIL_INCR_WRAP = 6,
  66.         STENCIL_DECR_WRAP = 7,
  67. };
  68.  
  69. enum adreno_rb_blend_factor {
  70.         FACTOR_ZERO = 0,
  71.         FACTOR_ONE = 1,
  72.         FACTOR_SRC_COLOR = 4,
  73.         FACTOR_ONE_MINUS_SRC_COLOR = 5,
  74.         FACTOR_SRC_ALPHA = 6,
  75.         FACTOR_ONE_MINUS_SRC_ALPHA = 7,
  76.         FACTOR_DST_COLOR = 8,
  77.         FACTOR_ONE_MINUS_DST_COLOR = 9,
  78.         FACTOR_DST_ALPHA = 10,
  79.         FACTOR_ONE_MINUS_DST_ALPHA = 11,
  80.         FACTOR_CONSTANT_COLOR = 12,
  81.         FACTOR_ONE_MINUS_CONSTANT_COLOR = 13,
  82.         FACTOR_CONSTANT_ALPHA = 14,
  83.         FACTOR_ONE_MINUS_CONSTANT_ALPHA = 15,
  84.         FACTOR_SRC_ALPHA_SATURATE = 16,
  85. };
  86.  
  87. enum adreno_rb_blend_opcode {
  88.         BLEND_DST_PLUS_SRC = 0,
  89.         BLEND_SRC_MINUS_DST = 1,
  90.         BLEND_MIN_DST_SRC = 2,
  91.         BLEND_MAX_DST_SRC = 3,
  92.         BLEND_DST_MINUS_SRC = 4,
  93.         BLEND_DST_PLUS_SRC_BIAS = 5,
  94. };
  95.  
  96. enum adreno_rb_surface_endian {
  97.         ENDIAN_NONE = 0,
  98.         ENDIAN_8IN16 = 1,
  99.         ENDIAN_8IN32 = 2,
  100.         ENDIAN_16IN32 = 3,
  101.         ENDIAN_8IN64 = 4,
  102.         ENDIAN_8IN128 = 5,
  103. };
  104.  
  105. enum adreno_rb_dither_mode {
  106.         DITHER_DISABLE = 0,
  107.         DITHER_ALWAYS = 1,
  108.         DITHER_IF_ALPHA_OFF = 2,
  109. };
  110.  
  111. enum adreno_rb_depth_format {
  112.         DEPTHX_16 = 0,
  113.         DEPTHX_24_8 = 1,
  114. };
  115.  
  116.  
  117. #endif /* ADRENO_COMMON_XML */
  118.