Home
last modified time | relevance | path

Searched refs:Texture2D (Results 1 – 25 of 102) sorted by relevance

12345

/external/opencv3/modules/cudaarithm/test/
Dtest_opengl.cpp280 PARAM_TEST_CASE(Texture2D, cv::Size, MatType) in PARAM_TEST_CASE() argument
296 cv::ogl::Texture2D::Format format; in PARAM_TEST_CASE()
305 …== 1 ? cv::ogl::Texture2D::DEPTH_COMPONENT : cn == 3 ? cv::ogl::Texture2D::RGB : cn == 4 ? cv::ogl… in PARAM_TEST_CASE()
309 CUDA_TEST_P(Texture2D, Constructor1) in CUDA_TEST_P() argument
311 cv::ogl::Texture2D tex(size.height, size.width, format, true); in CUDA_TEST_P()
318 CUDA_TEST_P(Texture2D, Constructor2) in CUDA_TEST_P() argument
320 cv::ogl::Texture2D tex(size, format, true); in CUDA_TEST_P()
327 CUDA_TEST_P(Texture2D, ConstructorFromMat) in CUDA_TEST_P() argument
331 cv::ogl::Texture2D tex(gold, true); in CUDA_TEST_P()
339 CUDA_TEST_P(Texture2D, ConstructorFromGpuMat) in CUDA_TEST_P() argument
[all …]
/external/opencv3/modules/core/include/opencv2/core/
Dopengl.hpp282 class CV_EXPORTS Texture2D class
300 Texture2D();
303 Texture2D(int arows, int acols, Format aformat, unsigned int atexId, bool autoRelease = false);
306 Texture2D(Size asize, Format aformat, unsigned int atexId, bool autoRelease = false);
314 Texture2D(int arows, int acols, Format aformat, bool autoRelease = false);
321 Texture2D(Size asize, Format aformat, bool autoRelease = false);
327 explicit Texture2D(InputArray arr, bool autoRelease = false);
495 CV_EXPORTS void render(const Texture2D& tex,
616 cv::ogl::Texture2D::Texture2D(int arows, int acols, Format aformat, bool autoRelease) : rows_(0), c… in Texture2D() function in cv::ogl::Texture2D
622 cv::ogl::Texture2D::Texture2D(Size asize, Format aformat, bool autoRelease) : rows_(0), cols_(0), f… in Texture2D() function in cv::ogl::Texture2D
[all …]
/external/deqp/framework/opengl/
DgluTexture.hpp69 class Texture2D class
72Texture2D (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const t…
73Texture2D (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int hei…
74 Texture2D (const RenderContext& context, deUint32 internalFormat, int width, int height);
75 ~Texture2D (void);
79 tcu::Texture2D& getRefTexture (void) { return m_refTexture; } in getRefTexture()
80 const tcu::Texture2D& getRefTexture (void) const { return m_refTexture; } in getRefTexture()
83 …static Texture2D* create (const RenderContext& context, const ContextInfo& contextInfo, const…
84 …static Texture2D* create (const RenderContext& context, const ContextInfo& contextInfo, const…
85 …static Texture2D* create (const RenderContext& context, const ContextInfo& contextInfo, const… in create()
[all …]
DgluTexture.cpp105 Texture2D::Texture2D (const RenderContext& context, deUint32 format, deUint32 dataType, int width, … in Texture2D() function in glu::Texture2D
117 Texture2D::Texture2D (const RenderContext& context, deUint32 sizedFormat, int width, int height) in Texture2D() function in glu::Texture2D
129 Texture2D::Texture2D (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, … in Texture2D() function in glu::Texture2D
155 Texture2D::~Texture2D (void) in ~Texture2D()
161 void Texture2D::upload (void) in upload()
187 void Texture2D::loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::Tex… in loadCompressed()
214 Texture2D* Texture2D::create (const RenderContext& context, const ContextInfo& contextInfo, const t… in create()
233Texture2D* texture = new Texture2D(context, isRGBA ? GL_RGBA : GL_RGB, GL_UNSIGNED_BYTE, level.ge… in create()
269 return new Texture2D(context, contextInfo, numLevels, &levels[0]); in create()
275 Texture2D* Texture2D::create (const RenderContext& context, const ContextInfo& contextInfo, const t… in create()
[all …]
/external/deqp/modules/glshared/
DglsRandomShaderCase.hpp67 void bindTexture (int unit, const glu::Texture2D* tex2D);
70 std::vector<std::pair<int, const glu::Texture2D*> > getBindings2D (void) const;
74 std::map<int, const glu::Texture2D*> m_tex2D;
96 const glu::Texture2D* getTex2D (void);
111 glu::Texture2D* m_tex2D;
DglsShaderRenderCase.hpp42 class Texture2D;
88 TextureBinding (const glu::Texture2D* tex2D, const tcu::Sampler& sampler);
95 void setTexture (const glu::Texture2D* tex2D);
102 …const glu::Texture2D* get2D (void) const { DE_ASSERT(getType() == TYPE_2D); return m_binding… in get2D()
112 const glu::Texture2D* tex2D;
134 const tcu::Texture2D* tex2D;
DglsRandomShaderCase.cpp92 void TextureManager::bindTexture (int unit, const glu::Texture2D* tex2D) in bindTexture()
102 inline vector<pair<int, const glu::Texture2D*> > TextureManager::getBindings2D (void) const in getBindings2D()
104 vector<pair<int, const glu::Texture2D*> > bindings; in getBindings2D()
105 for (map<int, const glu::Texture2D*>::const_iterator i = m_tex2D.begin(); i != m_tex2D.end(); i++) in getBindings2D()
294 const glu::Texture2D* RandomShaderCase::getTex2D (void) in getTex2D()
298 …m_tex2D = new glu::Texture2D(m_renderCtx, TEXTURE_2D_FORMAT, TEXTURE_2D_DATA_TYPE, TEXTURE_2D_WIDT… in getTex2D()
517 vector<pair<int, const glu::Texture2D*> > tex2DBindings = m_texManager.getBindings2D(); in iterate()
520 …for (vector<pair<int, const glu::Texture2D*> >::const_iterator i = tex2DBindings.begin(); i != tex… in iterate()
523 const glu::Texture2D* texture = i->second; in iterate()
/external/opencv3/modules/core/src/
Dopengl.cpp834 class cv::ogl::Texture2D::Impl
840 class cv::ogl::Texture2D::Impl
865 const Ptr<cv::ogl::Texture2D::Impl> cv::ogl::Texture2D::Impl::empty() in empty()
871 cv::ogl::Texture2D::Impl::Impl() : texId_(0), autoRelease_(false) in Impl()
875 cv::ogl::Texture2D::Impl::Impl(GLuint atexId, bool autoRelease) : texId_(atexId), autoRelease_(auto… in Impl()
880 cv::ogl::Texture2D::Impl::Impl(GLint internalFormat, GLsizei width, GLsizei height, GLenum format, … in Impl()
900 cv::ogl::Texture2D::Impl::~Impl() in ~Impl()
906 void cv::ogl::Texture2D::Impl::copyFrom(GLsizei width, GLsizei height, GLenum format, GLenum type, … in copyFrom()
921 void cv::ogl::Texture2D::Impl::copyTo(GLenum format, GLenum type, GLvoid* pixels) const in copyTo()
933 void cv::ogl::Texture2D::Impl::bind() const in bind()
[all …]
/external/deqp/modules/egl/
DteglImageFormatTests.cpp121 …virtual bool invoke (ImageApi& api, MovePtr<UniqueImage>& image, tcu::Texture2D& refImg) const…
178 bool invoke (ImageApi& api, MovePtr<UniqueImage>& image, tcu::Texture2D& ref) const;
179 …virtual bool invokeGLES2 (GLES2ImageApi& api, MovePtr<UniqueImage>& image, tcu::Texture2D& ref…
187 …bool invokeGLES2 (GLES2ImageApi& api, MovePtr<UniqueImage>& image, tcu::Texture2D& ref) con…
200 …: bool invokeGLES2 (GLES2ImageApi& api, MovePtr<UniqueImage>& image, tcu::Texture2D& ref) const; };
201 …: bool invokeGLES2 (GLES2ImageApi& api, MovePtr<UniqueImage>& image, tcu::Texture2D& ref) const; };
202 …: bool invokeGLES2 (GLES2ImageApi& api, MovePtr<UniqueImage>& image, tcu::Texture2D& ref) const; };
203 …: bool invokeGLES2 (GLES2ImageApi& api, MovePtr<UniqueImage>& image, tcu::Texture2D& ref) const; };
204 …: bool invokeGLES2 (GLES2ImageApi& api, MovePtr<UniqueImage>& image, tcu::Texture2D& ref) const; };
205 …: bool invokeGLES2 (GLES2ImageApi& api, MovePtr<UniqueImage>& image, tcu::Texture2D& ref) const; };
[all …]
DteglImageUtil.cpp56 using tcu::Texture2D;
182 MovePtr<ClientBuffer> createBuffer (const glw::Functions& gl, Texture2D* reference) const;
232 MovePtr<ClientBuffer> TextureImageSource::createBuffer (const glw::Functions& gl, Texture2D* ref) c… in createBuffer()
251 *ref = Texture2D(glu::mapGLTransferFormat(m_format, m_type), IMAGE_WIDTH, IMAGE_HEIGHT); in createBuffer()
335 MovePtr<ClientBuffer> createBuffer (const glw::Functions& gl, Texture2D* reference) const;
345 void initializeStencilRbo(const glw::Functions& gl, GLuint rbo, Texture2D& ref) in initializeStencilRbo()
393 void initializeDepthRbo(const glw::Functions& gl, GLuint rbo, Texture2D& ref) in initializeDepthRbo()
428 void initializeColorRbo(const glw::Functions& gl, GLuint rbo, Texture2D& ref) in initializeColorRbo()
468 MovePtr<ClientBuffer> RenderbufferImageSource::createBuffer (const glw::Functions& gl, Texture2D* r… in createBuffer()
483 *ref = tcu::Texture2D(texFormat, 64, 64); in createBuffer()
[all …]
DteglAndroidUtil.cpp47 using tcu::Texture2D;
106 MovePtr<ClientBuffer> createBuffer (const glw::Functions&, Texture2D*) const;
139 MovePtr<ClientBuffer> AndroidNativeImageSource::createBuffer (const glw::Functions&, Texture2D* ref… in createBuffer()
148 *ref = Texture2D(texFormat, 64, 64); in createBuffer()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateVPTests.cpp62 virtual tcu::Texture2D buildReferenceFrame (void) in buildReferenceFrame()
65 return tcu::Texture2D(tcu::TextureFormat(), 0, 0); in buildReferenceFrame()
112 tcu::Texture2D referenceFrame = buildReferenceFrame(); in iterate()
150 virtual tcu::Texture2D buildReferenceFrame (void) in buildReferenceFrame()
152 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in buildReferenceFrame()
197 virtual tcu::Texture2D buildReferenceFrame (void) in buildReferenceFrame()
199 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in buildReferenceFrame()
344 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
/external/opencv3/modules/highgui/src/
Dwindow.cpp254 std::map<cv::String, cv::ogl::Texture2D> wndTexs;
255 std::map<cv::String, cv::ogl::Texture2D> ownWndTexs;
260 cv::ogl::Texture2D* texObj = static_cast<cv::ogl::Texture2D*>(userdata); in glDrawTextureCallback()
298 cv::ogl::Texture2D& tex = ownWndTexs[winname]; in imshow()
323 void cv::imshow(const String& winname, const ogl::Texture2D& _tex) in imshow()
348 cv::ogl::Texture2D& tex = wndTexs[winname]; in imshow()
/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp59 void render (tcu::Texture2D& reference);
77 void ReadPixelsTest::render (tcu::Texture2D& reference) in render()
184 tcu::Texture2D reference(format, width, height); in iterate()
224 …tcu::Texture2D referenceRGBA8 (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::U… in iterate()
225 …tcu::Texture2D resultRGBA8 (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNO… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.hpp86 …const tcu::Texture2D& get2D (void) const { DE_ASSERT(getType() == TYPE_2D && m_binding.tex2D… in get2D()
92 …static de::MovePtr<tcu::Texture2D> loadTexture2D (const tcu::Archive& archive, const char* filena…
99 const tcu::Texture2D* tex2D;
120 const tcu::Texture2D* tex2D;
412 de::MovePtr<vk::Allocation> uploadImage2D (const tcu::Texture2D& refTexture,
414 vk::Move<vk::VkImage> createImage2D (const tcu::Texture2D& texture,
/external/deqp/modules/gles2/performance/
Des2pTextureCases.cpp80 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) in ~Texture2DRenderCase()
167 glu::Texture2D* texture = new glu::Texture2D(m_renderCtx, m_format, m_dataType, width, height); in init()
188 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) in deinit()
/external/deqp/framework/randomshaders/
DrsgSamplers.hpp43 Sampler2D (const tcu::Texture2D* texture, const tcu::Sampler& sampler) in Sampler2D()
55 const tcu::Texture2D* m_texture;
/external/deqp/modules/gles3/performance/
Des3pTextureCases.cpp79 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) in ~Texture2DRenderCase()
193 glu::Texture2D* texture = new glu::Texture2D(m_renderCtx, m_internalFormat, width, height); in init()
215 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) in deinit()
/external/deqp/modules/gles3/functional/
Des3fReadPixelsTests.cpp72 void render (tcu::Texture2D& reference);
89 void clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSize);
108 void ReadPixelsTest::render (tcu::Texture2D& reference) in render()
221 void ReadPixelsTest::clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSi… in clearColor()
335 tcu::Texture2D reference(format, m_width, m_height); in iterate()
369 …tcu::Texture2D referenceRGBA8 (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::U… in iterate()
370 …tcu::Texture2D resultRGBA8 (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNO… in iterate()
Des3fTextureWrapTests.cpp125 glu::Texture2D* m_texture;
203 …m_texture = glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), (int)m_fi… in init()
225 m_texture = new glu::Texture2D(m_renderCtx, m_renderCtxInfo, 1, &compressedTexture); in init()
258 …m_texture = new glu::Texture2D(m_renderCtx, m_renderCtxInfo, 1, &compressedTexture, tcu::TexDecomp… in init()
265 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
/external/deqp/framework/common/
DtcuTexture.hpp677 class Texture2D : private TextureLevelPyramid class
680 Texture2D (const TextureFormat& format, int width, int height);
681 Texture2D (const Texture2D& other);
682 ~Texture2D (void);
705 Texture2D& operator= (const Texture2D& other);
715 inline Vec4 Texture2D::sample (const Sampler& sampler, float s, float t, float lod) const in sample()
720 inline Vec4 Texture2D::sampleOffset (const Sampler& sampler, float s, float t, float lod, const IVe… in sampleOffset()
725 inline float Texture2D::sampleCompare (const Sampler& sampler, float ref, float s, float t, float l… in sampleCompare()
730 inline float Texture2D::sampleCompareOffset (const Sampler& sampler, float ref, float s, float t, f… in sampleCompareOffset()
735 inline Vec4 Texture2D::gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, c… in gatherOffsets()
[all …]
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tex/
Dd3d11tex.hlsl27 Texture2D tex0;
28 Texture2D tex1;
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.hpp167 class Texture2D : public Texture class
170 Texture2D (deUint32 name = 0);
171 virtual ~Texture2D (void);
795 const rc::Texture2D& getTexture2D (int unitNdx) const;
802 void setTex2DBinding (int unit, rc::Texture2D* tex2D);
827 rc::Texture2D* tex2DBinding;
834 rc::Texture2D default2DTex;
889 rc::Texture2D m_emptyTex2D;
/external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
DSimplePixelShader.hlsl1 Texture2D shaderTexture;
/external/opencv3/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
DSimplePixelShader.hlsl1 Texture2D shaderTexture;

12345