Tobin Ehlis | e79df94 | 2014-11-18 16:38:08 -0700 | [diff] [blame] | 1 | /* |
| 2 | * XGL |
| 3 | * |
| 4 | * Copyright (C) 2014 LunarG, Inc. |
| 5 | * |
| 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
| 7 | * copy of this software and associated documentation files (the "Software"), |
| 8 | * to deal in the Software without restriction, including without limitation |
| 9 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 10 | * and/or sell copies of the Software, and to permit persons to whom the |
| 11 | * Software is furnished to do so, subject to the following conditions: |
| 12 | * |
| 13 | * The above copyright notice and this permission notice shall be included |
| 14 | * in all copies or substantial portions of the Software. |
| 15 | * |
| 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 19 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 21 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 22 | * DEALINGS IN THE SOFTWARE. |
| 23 | */ |
| 24 | #include "xglLayer.h" |
Tobin Ehlis | 63bb948 | 2015-03-17 16:24:32 -0600 | [diff] [blame] | 25 | #include <vector> |
| 26 | |
| 27 | using namespace std; |
| 28 | |
Tobin Ehlis | e79df94 | 2014-11-18 16:38:08 -0700 | [diff] [blame] | 29 | // Draw State ERROR codes |
| 30 | typedef enum _DRAW_STATE_ERROR |
| 31 | { |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 32 | DRAWSTATE_NONE, // Used for INFO & other non-error messages |
Tobin Ehlis | 41415bb | 2015-01-22 10:45:21 -0700 | [diff] [blame] | 33 | DRAWSTATE_INTERNAL_ERROR, // Error with DrawState internal data structures |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 34 | DRAWSTATE_NO_PIPELINE_BOUND, // Unable to identify a bound pipeline |
Tobin Ehlis | dd82f6b | 2015-04-03 12:01:11 -0600 | [diff] [blame^] | 35 | DRAWSTATE_INVALID_POOL, // Invalid DS pool |
Tobin Ehlis | 83ebbef | 2015-02-10 15:35:23 -0700 | [diff] [blame] | 36 | DRAWSTATE_INVALID_SET, // Invalid DS |
Tobin Ehlis | 41415bb | 2015-01-22 10:45:21 -0700 | [diff] [blame] | 37 | DRAWSTATE_INVALID_LAYOUT, // Invalid DS layout |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 38 | DRAWSTATE_DS_END_WITHOUT_BEGIN, // EndDSUpdate called w/o corresponding BeginDSUpdate |
Tobin Ehlis | dd82f6b | 2015-04-03 12:01:11 -0600 | [diff] [blame^] | 39 | DRAWSTATE_UPDATE_WITHOUT_BEGIN, // Attempt to update descriptors w/o calling BeginDescriptorPoolUpdate |
Tobin Ehlis | 83ebbef | 2015-02-10 15:35:23 -0700 | [diff] [blame] | 40 | DRAWSTATE_INVALID_PIPELINE, // Invalid Pipeline referenced |
Tobin Ehlis | 8cced21 | 2015-02-13 10:26:14 -0700 | [diff] [blame] | 41 | DRAWSTATE_INVALID_CMD_BUFFER, // Invalid CmdBuffer referenced |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 42 | DRAWSTATE_VTX_INDEX_OUT_OF_BOUNDS, // binding in xglCmdBindVertexData() too large for PSO's pVertexBindingDescriptions array |
| 43 | DRAWSTATE_INVALID_DYNAMIC_STATE_OBJECT, // Invalid dyn state object |
| 44 | DRAWSTATE_MISSING_DOT_PROGRAM, // No "dot" program in order to generate png image |
| 45 | DRAWSTATE_BINDING_DS_NO_END_UPDATE, // DS bound to CmdBuffer w/o call to xglEndDescriptorSetUpdate()) |
Tobin Ehlis | dd82f6b | 2015-04-03 12:01:11 -0600 | [diff] [blame^] | 46 | DRAWSTATE_NO_DS_POOL, // No DS Pool is available |
Tobin Ehlis | 41415bb | 2015-01-22 10:45:21 -0700 | [diff] [blame] | 47 | DRAWSTATE_OUT_OF_MEMORY, // malloc failed |
| 48 | DRAWSTATE_DESCRIPTOR_TYPE_MISMATCH, // Type in layout vs. update are not the same |
Tobin Ehlis | 83ebbef | 2015-02-10 15:35:23 -0700 | [diff] [blame] | 49 | DRAWSTATE_DESCRIPTOR_UPDATE_OUT_OF_BOUNDS, // Descriptors set for update out of bounds for corresponding layout section |
Tobin Ehlis | 8733adc | 2015-02-23 16:09:58 -0700 | [diff] [blame] | 50 | DRAWSTATE_INVALID_UPDATE_INDEX, // Index of requested update is invalid for specified descriptors set |
Tobin Ehlis | 2464b88 | 2015-04-01 08:40:34 -0600 | [diff] [blame] | 51 | DRAWSTATE_INVALID_UPDATE_STRUCT, // Struct in DS Update tree is of invalid type |
| 52 | DRAWSTATE_NUM_SAMPLES_MISMATCH // Number of samples in bound PSO does not match number in FB of current RenderPass |
Tobin Ehlis | e79df94 | 2014-11-18 16:38:08 -0700 | [diff] [blame] | 53 | } DRAW_STATE_ERROR; |
Tobin Ehlis | 2609202 | 2014-11-20 09:49:17 -0700 | [diff] [blame] | 54 | |
| 55 | typedef enum _DRAW_TYPE |
| 56 | { |
| 57 | DRAW = 0, |
| 58 | DRAW_INDEXED = 1, |
| 59 | DRAW_INDIRECT = 2, |
| 60 | DRAW_INDEXED_INDIRECT = 3, |
| 61 | DRAW_BEGIN_RANGE = DRAW, |
| 62 | DRAW_END_RANGE = DRAW_INDEXED_INDIRECT, |
| 63 | NUM_DRAW_TYPES = (DRAW_END_RANGE - DRAW_BEGIN_RANGE + 1), |
| 64 | } DRAW_TYPE; |
Tobin Ehlis | a701ef0 | 2014-11-27 15:43:39 -0700 | [diff] [blame] | 65 | |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 66 | typedef struct _SHADER_DS_MAPPING { |
| 67 | uint32_t slotCount; |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 68 | XGL_DESCRIPTOR_SET_LAYOUT_CREATE_INFO* pShaderMappingSlot; |
| 69 | } SHADER_DS_MAPPING; |
| 70 | |
Tobin Ehlis | 41415bb | 2015-01-22 10:45:21 -0700 | [diff] [blame] | 71 | typedef struct _GENERIC_HEADER { |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 72 | XGL_STRUCTURE_TYPE sType; |
| 73 | const void* pNext; |
Tobin Ehlis | 41415bb | 2015-01-22 10:45:21 -0700 | [diff] [blame] | 74 | } GENERIC_HEADER; |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 75 | |
| 76 | typedef struct _PIPELINE_NODE { |
| 77 | XGL_PIPELINE pipeline; |
Tobin Ehlis | cd3109e | 2015-04-01 11:59:08 -0600 | [diff] [blame] | 78 | |
| 79 | XGL_GRAPHICS_PIPELINE_CREATE_INFO graphicsPipelineCI; |
| 80 | XGL_PIPELINE_VERTEX_INPUT_CREATE_INFO vertexInputCI; |
| 81 | XGL_PIPELINE_IA_STATE_CREATE_INFO iaStateCI; |
| 82 | XGL_PIPELINE_TESS_STATE_CREATE_INFO tessStateCI; |
| 83 | XGL_PIPELINE_VP_STATE_CREATE_INFO vpStateCI; |
| 84 | XGL_PIPELINE_RS_STATE_CREATE_INFO rsStateCI; |
| 85 | XGL_PIPELINE_MS_STATE_CREATE_INFO msStateCI; |
| 86 | XGL_PIPELINE_CB_STATE_CREATE_INFO cbStateCI; |
| 87 | XGL_PIPELINE_DS_STATE_CREATE_INFO dsStateCI; |
| 88 | XGL_PIPELINE_SHADER_STAGE_CREATE_INFO vsCI; |
| 89 | XGL_PIPELINE_SHADER_STAGE_CREATE_INFO tcsCI; |
| 90 | XGL_PIPELINE_SHADER_STAGE_CREATE_INFO tesCI; |
| 91 | XGL_PIPELINE_SHADER_STAGE_CREATE_INFO gsCI; |
| 92 | XGL_PIPELINE_SHADER_STAGE_CREATE_INFO fsCI; |
| 93 | // Compute shader is include in XGL_COMPUTE_PIPELINE_CREATE_INFO |
| 94 | XGL_COMPUTE_PIPELINE_CREATE_INFO computePipelineCI; |
| 95 | |
| 96 | XGL_GRAPHICS_PIPELINE_CREATE_INFO* pCreateTree; // Ptr to shadow of data in create tree |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 97 | // Vtx input info (if any) |
| 98 | uint32_t vtxBindingCount; // number of bindings |
| 99 | XGL_VERTEX_INPUT_BINDING_DESCRIPTION* pVertexBindingDescriptions; |
| 100 | uint32_t vtxAttributeCount; // number of attributes |
| 101 | XGL_VERTEX_INPUT_ATTRIBUTE_DESCRIPTION* pVertexAttributeDescriptions; |
Tobin Ehlis | 83ebbef | 2015-02-10 15:35:23 -0700 | [diff] [blame] | 102 | uint32_t attachmentCount; // number of CB attachments |
| 103 | XGL_PIPELINE_CB_ATTACHMENT_STATE* pAttachments; |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 104 | } PIPELINE_NODE; |
| 105 | |
| 106 | typedef struct _SAMPLER_NODE { |
| 107 | XGL_SAMPLER sampler; |
| 108 | XGL_SAMPLER_CREATE_INFO createInfo; |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 109 | } SAMPLER_NODE; |
| 110 | |
Tobin Ehlis | 41415bb | 2015-01-22 10:45:21 -0700 | [diff] [blame] | 111 | typedef struct _IMAGE_NODE { |
| 112 | XGL_IMAGE_VIEW image; |
| 113 | XGL_IMAGE_VIEW_CREATE_INFO createInfo; |
| 114 | XGL_IMAGE_VIEW_ATTACH_INFO attachInfo; |
Tobin Ehlis | 41415bb | 2015-01-22 10:45:21 -0700 | [diff] [blame] | 115 | } IMAGE_NODE; |
| 116 | |
| 117 | typedef struct _BUFFER_NODE { |
| 118 | XGL_BUFFER_VIEW buffer; |
| 119 | XGL_BUFFER_VIEW_CREATE_INFO createInfo; |
| 120 | XGL_BUFFER_VIEW_ATTACH_INFO attachInfo; |
Tobin Ehlis | 41415bb | 2015-01-22 10:45:21 -0700 | [diff] [blame] | 121 | } BUFFER_NODE; |
| 122 | |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 123 | typedef struct _DYNAMIC_STATE_NODE { |
Tobin Ehlis | 63bb948 | 2015-03-17 16:24:32 -0600 | [diff] [blame] | 124 | XGL_DYNAMIC_STATE_OBJECT stateObj; |
| 125 | GENERIC_HEADER* pCreateInfo; |
| 126 | union { |
| 127 | XGL_DYNAMIC_VP_STATE_CREATE_INFO vpci; |
| 128 | XGL_DYNAMIC_RS_STATE_CREATE_INFO rsci; |
| 129 | XGL_DYNAMIC_CB_STATE_CREATE_INFO cbci; |
| 130 | XGL_DYNAMIC_DS_STATE_CREATE_INFO dsci; |
| 131 | } create_info; |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 132 | } DYNAMIC_STATE_NODE; |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 133 | // Descriptor Data structures |
Tobin Ehlis | 41415bb | 2015-01-22 10:45:21 -0700 | [diff] [blame] | 134 | // Layout Node has the core layout data |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 135 | typedef struct _LAYOUT_NODE { |
| 136 | XGL_DESCRIPTOR_SET_LAYOUT layout; |
Tobin Ehlis | efa8416 | 2015-02-17 09:54:13 -0700 | [diff] [blame] | 137 | XGL_DESCRIPTOR_TYPE* pTypes; // Dynamic array that will be created to verify descriptor types |
Tobin Ehlis | dd82f6b | 2015-04-03 12:01:11 -0600 | [diff] [blame^] | 138 | XGL_DESCRIPTOR_SET_LAYOUT_CREATE_INFO createInfo; |
Tobin Ehlis | 83ebbef | 2015-02-10 15:35:23 -0700 | [diff] [blame] | 139 | uint32_t startIndex; // 1st index of this layout |
| 140 | uint32_t endIndex; // last index of this layout |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 141 | } LAYOUT_NODE; |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 142 | typedef struct _SET_NODE { |
| 143 | XGL_DESCRIPTOR_SET set; |
Tobin Ehlis | dd82f6b | 2015-04-03 12:01:11 -0600 | [diff] [blame^] | 144 | XGL_DESCRIPTOR_POOL pool; |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 145 | XGL_DESCRIPTOR_SET_USAGE setUsage; |
Tobin Ehlis | 82871a8 | 2015-02-19 09:55:18 -0700 | [diff] [blame] | 146 | // Head of LL of all Update structs for this set |
Tobin Ehlis | 41415bb | 2015-01-22 10:45:21 -0700 | [diff] [blame] | 147 | GENERIC_HEADER* pUpdateStructs; |
| 148 | // Total num of descriptors in this set (count of its layout plus all prior layouts) |
| 149 | uint32_t descriptorCount; |
Tobin Ehlis | 82871a8 | 2015-02-19 09:55:18 -0700 | [diff] [blame] | 150 | GENERIC_HEADER** ppDescriptors; // Array where each index points to update node for its slot |
Tobin Ehlis | dd82f6b | 2015-04-03 12:01:11 -0600 | [diff] [blame^] | 151 | LAYOUT_NODE* pLayout; // Layout for this set |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 152 | struct _SET_NODE* pNext; |
| 153 | } SET_NODE; |
| 154 | |
Tobin Ehlis | dd82f6b | 2015-04-03 12:01:11 -0600 | [diff] [blame^] | 155 | typedef struct _POOL_NODE { |
| 156 | XGL_DESCRIPTOR_POOL pool; |
| 157 | XGL_DESCRIPTOR_POOL_USAGE poolUsage; |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 158 | uint32_t maxSets; |
Tobin Ehlis | dd82f6b | 2015-04-03 12:01:11 -0600 | [diff] [blame^] | 159 | XGL_DESCRIPTOR_POOL_CREATE_INFO createInfo; |
| 160 | bool32_t updateActive; // Track if Pool is in an update block |
| 161 | SET_NODE* pSets; // Head of LL of sets for this Pool |
| 162 | } POOL_NODE; |
Tobin Ehlis | 84c521c | 2015-01-19 08:42:29 -0700 | [diff] [blame] | 163 | |
Tobin Ehlis | 8cced21 | 2015-02-13 10:26:14 -0700 | [diff] [blame] | 164 | // Cmd Buffer Tracking |
| 165 | typedef enum _CMD_TYPE |
| 166 | { |
| 167 | CMD_BINDPIPELINE, |
| 168 | CMD_BINDPIPELINEDELTA, |
| 169 | CMD_BINDDYNAMICSTATEOBJECT, |
Tobin Ehlis | dd82f6b | 2015-04-03 12:01:11 -0600 | [diff] [blame^] | 170 | CMD_BINDDESCRIPTORSETS, |
Tobin Ehlis | 8cced21 | 2015-02-13 10:26:14 -0700 | [diff] [blame] | 171 | CMD_BINDINDEXBUFFER, |
| 172 | CMD_BINDVERTEXBUFFER, |
| 173 | CMD_DRAW, |
| 174 | CMD_DRAWINDEXED, |
| 175 | CMD_DRAWINDIRECT, |
| 176 | CMD_DRAWINDEXEDINDIRECT, |
| 177 | CMD_DISPATCH, |
| 178 | CMD_DISPATCHINDIRECT, |
| 179 | CMD_COPYBUFFER, |
| 180 | CMD_COPYIMAGE, |
Tobin Ehlis | dd82f6b | 2015-04-03 12:01:11 -0600 | [diff] [blame^] | 181 | CMD_BLITIMAGE, |
Tobin Ehlis | 8cced21 | 2015-02-13 10:26:14 -0700 | [diff] [blame] | 182 | CMD_COPYBUFFERTOIMAGE, |
| 183 | CMD_COPYIMAGETOBUFFER, |
| 184 | CMD_CLONEIMAGEDATA, |
| 185 | CMD_UPDATEBUFFER, |
| 186 | CMD_FILLBUFFER, |
| 187 | CMD_CLEARCOLORIMAGE, |
| 188 | CMD_CLEARCOLORIMAGERAW, |
| 189 | CMD_CLEARDEPTHSTENCIL, |
| 190 | CMD_RESOLVEIMAGE, |
| 191 | CMD_SETEVENT, |
| 192 | CMD_RESETEVENT, |
| 193 | CMD_WAITEVENTS, |
| 194 | CMD_PIPELINEBARRIER, |
| 195 | CMD_BEGINQUERY, |
| 196 | CMD_ENDQUERY, |
| 197 | CMD_RESETQUERYPOOL, |
| 198 | CMD_WRITETIMESTAMP, |
| 199 | CMD_INITATOMICCOUNTERS, |
| 200 | CMD_LOADATOMICCOUNTERS, |
| 201 | CMD_SAVEATOMICCOUNTERS, |
| 202 | CMD_BEGINRENDERPASS, |
Tobin Ehlis | 1dae99a | 2015-03-02 10:16:40 -0700 | [diff] [blame] | 203 | CMD_ENDRENDERPASS, |
| 204 | CMD_DBGMARKERBEGIN, |
| 205 | CMD_DBGMARKEREND, |
Tobin Ehlis | 8cced21 | 2015-02-13 10:26:14 -0700 | [diff] [blame] | 206 | } CMD_TYPE; |
| 207 | // Data structure for holding sequence of cmds in cmd buffer |
| 208 | typedef struct _CMD_NODE { |
Tobin Ehlis | 8cced21 | 2015-02-13 10:26:14 -0700 | [diff] [blame] | 209 | CMD_TYPE type; |
| 210 | uint64_t cmdNumber; |
| 211 | } CMD_NODE; |
| 212 | |
| 213 | typedef enum _CB_STATE |
| 214 | { |
| 215 | CB_NEW, // Newly created CB w/o any cmds |
| 216 | CB_UPDATE_ACTIVE, // BeginCB has been called on this CB |
| 217 | CB_UPDATE_COMPLETE // EndCB has been called on this CB |
| 218 | } CB_STATE; |
Tobin Ehlis | 63bb948 | 2015-03-17 16:24:32 -0600 | [diff] [blame] | 219 | // Cmd Buffer Wrapper Struct |
Tobin Ehlis | 8cced21 | 2015-02-13 10:26:14 -0700 | [diff] [blame] | 220 | typedef struct _GLOBAL_CB_NODE { |
Tobin Ehlis | 8cced21 | 2015-02-13 10:26:14 -0700 | [diff] [blame] | 221 | XGL_CMD_BUFFER cmdBuffer; |
Tobin Ehlis | dd82f6b | 2015-04-03 12:01:11 -0600 | [diff] [blame^] | 222 | uint32_t queueNodeIndex; |
Tobin Ehlis | 8cced21 | 2015-02-13 10:26:14 -0700 | [diff] [blame] | 223 | XGL_FLAGS flags; |
| 224 | XGL_FENCE fence; // fence tracking this cmd buffer |
| 225 | uint64_t numCmds; // number of cmds in this CB |
| 226 | uint64_t drawCount[NUM_DRAW_TYPES]; // Count of each type of draw in this CB |
| 227 | CB_STATE state; // Track if cmd buffer update status |
Tobin Ehlis | 63bb948 | 2015-03-17 16:24:32 -0600 | [diff] [blame] | 228 | vector<CMD_NODE*> pCmds; |
Tobin Ehlis | 8cced21 | 2015-02-13 10:26:14 -0700 | [diff] [blame] | 229 | // Currently storing "lastBound" objects on per-CB basis |
| 230 | // long-term may want to create caches of "lastBound" states and could have |
| 231 | // each individual CMD_NODE referencing its own "lastBound" state |
| 232 | XGL_PIPELINE lastBoundPipeline; |
| 233 | uint32_t lastVtxBinding; |
| 234 | DYNAMIC_STATE_NODE* lastBoundDynamicState[XGL_NUM_STATE_BIND_POINT]; |
| 235 | XGL_DESCRIPTOR_SET lastBoundDescriptorSet; |
Tobin Ehlis | 2464b88 | 2015-04-01 08:40:34 -0600 | [diff] [blame] | 236 | XGL_RENDER_PASS activeRenderPass; |
Courtney Goeltzenleuchter | e3b0f3a | 2015-04-03 15:25:24 -0600 | [diff] [blame] | 237 | XGL_FRAMEBUFFER framebuffer; |
Tobin Ehlis | 8cced21 | 2015-02-13 10:26:14 -0700 | [diff] [blame] | 238 | } GLOBAL_CB_NODE; |
| 239 | |
Tobin Ehlis | a701ef0 | 2014-11-27 15:43:39 -0700 | [diff] [blame] | 240 | //prototypes for extension functions |
Mark Lobodzinski | e2d07a5 | 2015-01-29 08:55:56 -0600 | [diff] [blame] | 241 | void drawStateDumpDotFile(char* outFileName); |
| 242 | void drawStateDumpPngFile(char* outFileName); |
Jeremy Hayes | 7ec6302 | 2015-02-26 15:59:19 -0700 | [diff] [blame] | 243 | void drawStateDumpCommandBufferDotFile(char* outFileName); |
Tobin Ehlis | 266473d | 2014-12-16 17:34:50 -0700 | [diff] [blame] | 244 | // Func ptr typedefs |
Mark Lobodzinski | e2d07a5 | 2015-01-29 08:55:56 -0600 | [diff] [blame] | 245 | typedef void (*DRAW_STATE_DUMP_DOT_FILE)(char*); |
| 246 | typedef void (*DRAW_STATE_DUMP_PNG_FILE)(char*); |
Jeremy Hayes | 7ec6302 | 2015-02-26 15:59:19 -0700 | [diff] [blame] | 247 | typedef void (*DRAW_STATE_DUMP_COMMAND_BUFFER_DOT_FILE)(char*); |