MCPcopy Create free account
hub / github.com/creatale/node-dv / Texture2D

Method Texture2D

deps/opencv/modules/core/src/opengl_interop.cpp:928–935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

926#endif // HAVE_OPENGL
927
928cv::ogl::Texture2D::Texture2D() : rows_(0), cols_(0), format_(NONE)
929{
930#ifndef HAVE_OPENGL
931 throw_nogl();
932#else
933 impl_ = Impl::empty();
934#endif
935}
936
937cv::ogl::Texture2D::Texture2D(int arows, int acols, Format aformat, unsigned int atexId, bool autoRelease) : rows_(0), cols_(0), format_(NONE)
938{

Callers

nothing calls this directly

Calls 13

throw_noglFunction · 0.85
createFunction · 0.85
throw_nocudaFunction · 0.85
kindMethod · 0.80
getOGlBufferMethod · 0.80
getGpuMatMethod · 0.80
emptyFunction · 0.50
sizeMethod · 0.45
typeMethod · 0.45
bindMethod · 0.45
setAutoReleaseMethod · 0.45
getMatMethod · 0.45

Tested by

no test coverage detected