Example #1
0
void
_intel_flush(struct gl_context *ctx, const char *file, int line)
{
   struct brw_context *brw = brw_context(ctx);

   if (brw->batch.used)
      _intel_batchbuffer_flush(brw, file, line);
}
Example #2
0
void
_intel_flush(struct gl_context *ctx, const char *file, int line)
{
   struct intel_context *intel = intel_context(ctx);

   intel_flush_rendering_to_batch(ctx);

   if (intel->batch.used)
      _intel_batchbuffer_flush(intel, file, line);
}