Home
last modified time | relevance | path

Searched refs:mIOSurface (Results 1 – 8 of 8) sorted by relevance

/external/angle/src/libANGLE/renderer/gl/eagl/
DIOSurfaceSurfaceEAGL.mm82 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;
[all …]
DIOSurfaceSurfaceEAGL.h73 IOSurfaceRef mIOSurface; variable
/external/angle/src/libANGLE/renderer/vulkan/mac/
DIOSurfaceSurfaceVkMac.mm70 : OffscreenSurfaceVk(state, renderer), mIOSurface(nullptr), mPlane(0), mFormatIndex(-1)
73 mIOSurface = reinterpret_cast<IOSurfaceRef>(buffer);
74 CFRetain(mIOSurface);
90 if (mIOSurface != nullptr)
92 CFRelease(mIOSurface);
93 mIOSurface = nullptr;
120 IOSurfaceGetBaseAddressOfPlane(mIOSurface, mPlane), mState.isRobustResourceInitEnabled(),
141 IOSurfaceLock(mIOSurface, 0, nullptr);
153 IOSurfaceUnlock(mIOSurface, 0, nullptr);
DIOSurfaceSurfaceVkMac.h52 IOSurfaceRef mIOSurface;
/external/angle/src/libANGLE/renderer/gl/cgl/
DIOSurfaceSurfaceCGL.cpp84 mIOSurface(nullptr), in IOSurfaceSurfaceCGL()
92 mIOSurface = reinterpret_cast<IOSurfaceRef>(buffer); in IOSurfaceSurfaceCGL()
93 CFRetain(mIOSurface); in IOSurfaceSurfaceCGL()
111 if (mIOSurface != nullptr) in ~IOSurfaceSurfaceCGL()
113 CFRelease(mIOSurface); in ~IOSurfaceSurfaceCGL()
114 mIOSurface = nullptr; in ~IOSurfaceSurfaceCGL()
168 format.nativeFormat, format.nativeType, mIOSurface, mPlane); in bindTexImage()
297 format.nativeFormat, format.nativeType, mIOSurface, mPlane); in createDefaultFramebuffer()
DIOSurfaceSurfaceCGL.h73 IOSurfaceRef mIOSurface; variable
/external/angle/src/libANGLE/renderer/metal/
DIOSurfaceSurfaceMtl.mm78 : OffscreenSurfaceMtl(display, state, attribs), mIOSurface((__bridge IOSurfaceRef)(buffer))
80 CFRetain(mIOSurface);
95 if (mIOSurface != nullptr)
97 CFRelease(mIOSurface);
98 mIOSurface = nullptr;
155 iosurface:mIOSurface
DIOSurfaceSurfaceMtl.h51 IOSurfaceRef mIOSurface; variable