public HWCPipe(SWIGTYPE_p_CpuCounterSet enabled_cpu_counters, SWIGTYPE_p_GpuCounterSet enabled_gpu_counters) : this(HWCPipeAndroidPINVOKE.new_HWCPipe__SWIG_1(SWIGTYPE_p_CpuCounterSet.getCPtr(enabled_cpu_counters), SWIGTYPE_p_GpuCounterSet.getCPtr(enabled_gpu_counters)), true) { if (HWCPipeAndroidPINVOKE.SWIGPendingException.Pending) { throw HWCPipeAndroidPINVOKE.SWIGPendingException.Retrieve(); } }
public void set_enabled_gpu_counters(SWIGTYPE_p_GpuCounterSet counters) { HWCPipeAndroidPINVOKE.HWCPipe_set_enabled_gpu_counters(swigCPtr, SWIGTYPE_p_GpuCounterSet.getCPtr(counters)); if (HWCPipeAndroidPINVOKE.SWIGPendingException.Pending) { throw HWCPipeAndroidPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_GpuCounterSet obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }