~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/mesa/main/mtypes.h

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
1323
1323
   /** GL_ARB_seamless_cubemap */
1324
1324
   GLboolean CubeMapSeamless;
1325
1325
 
 
1326
   GLshort NumSamplersWithClamp;
 
1327
 
1326
1328
   struct gl_texture_unit Unit[MAX_COMBINED_TEXTURE_IMAGE_UNITS];
1327
1329
   struct gl_fixedfunc_texture_unit FixedFuncUnit[MAX_TEXTURE_COORD_UNITS];
1328
1330
};
2482
2484
    */
2483
2485
   simple_mtx_t ShaderIncludeMutex;
2484
2486
 
2485
 
   /**
2486
 
    * Some context in this share group was affected by a GPU reset
2487
 
    *
2488
 
    * On the next call to \c glGetGraphicsResetStatus, contexts that have not
2489
 
    * been affected by a GPU reset must also return
2490
 
    * \c GL_INNOCENT_CONTEXT_RESET_ARB.
2491
 
    *
2492
 
    * Once this field becomes true, it is never reset to false.
2493
 
    */
2494
 
   bool ShareGroupReset;
2495
 
 
2496
2487
   /** EXT_external_objects */
2497
2488
   struct _mesa_HashTable *MemoryObjects;
2498
2489
 
2500
2491
   struct _mesa_HashTable *SemaphoreObjects;
2501
2492
 
2502
2493
   /**
2503
 
    * Some context in this share group was affected by a disjoint
2504
 
    * operation. This operation can be anything that has effects on
2505
 
    * values of timer queries in such manner that they become invalid for
2506
 
    * performance metrics. As example gpu reset, counter overflow or gpu
2507
 
    * frequency changes.
2508
 
    */
2509
 
   bool DisjointOperation;
2510
 
 
2511
 
   /**
2512
2494
    * Whether at least one image has been imported or exported, excluding
2513
2495
    * the default framebuffer. If this is false, glFlush can be executed
2514
2496
    * asynchronously because there is no invisible dependency on external
2594
2576
   /**
2595
2577
    * Used only when hardware accumulation buffers are not supported.
2596
2578
    */
2597
 
   boolean software;
 
2579
   bool software;
2598
2580
   void *data;
2599
2581
 
2600
2582
   bool use_readpix_cache;
2601
2583
 
2602
2584
   /* Inputs from Driver.RenderTexture, don't use directly. */
2603
 
   boolean is_rtt; /**< whether Driver.RenderTexture was called */
 
2585
   bool is_rtt; /**< whether Driver.RenderTexture was called */
2604
2586
   unsigned rtt_face, rtt_slice;
2605
 
   boolean rtt_layered; /**< whether glFramebufferTexture was called */
 
2587
   bool rtt_layered; /**< whether glFramebufferTexture was called */
2606
2588
   unsigned rtt_nr_samples; /**< from FramebufferTexture2DMultisampleEXT */
2607
2589
};
2608
2590