Lines Matching refs:mIOSurface
82 mIOSurface(nullptr),
91 mIOSurface = reinterpret_cast<IOSurfaceRef>(buffer);
92 CFRetain(mIOSurface);
101 ASSERT(IOSurfaceGetBytesPerRowOfPlane(mIOSurface, mPlane) %
102 IOSurfaceGetBytesPerElementOfPlane(mIOSurface, mPlane) ==
104 mRowStrideInPixels = static_cast<int>(IOSurfaceGetBytesPerRowOfPlane(mIOSurface, mPlane) /
105 IOSurfaceGetBytesPerElementOfPlane(mIOSurface, mPlane));
128 if (mIOSurface != nullptr)
130 CFRelease(mIOSurface);
131 mIOSurface = nullptr;
184 if (![mEAGLContext texImageIOSurface:mIOSurface
203 IOSurfaceLock(mIOSurface, getIOSurfaceLockOptions(), nullptr);
214 textureData = IOSurfaceGetBaseAddress(mIOSurface);
253 IOSurfaceGetBaseAddress(mIOSurface));
256 IOSurfaceUnlock(mIOSurface, getIOSurfaceLockOptions(), nullptr);
370 if (![mEAGLContext texImageIOSurface:mIOSurface