Home
last modified time | relevance | path

Searched refs:mTexture (Results 1 - 25 of 55) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DStreamProducerD3DTexture.cpp107 : mRenderer(renderer), mTexture(nullptr), mArraySlice(0), mPlaneOffset(0) in StreamProducerD3DTexture()
112 SafeRelease(mTexture); in ~StreamProducerD3DTexture()
140 SafeRelease(mTexture); in postD3DTexture()
142 mTexture = textureD3D; in postD3DTexture()
143 mTexture->AddRef(); in postD3DTexture()
152 ANGLE_SWALLOW_ERR(GetGLDescFromTex(mTexture, planeOffsetIndex, &ret)); in getGLFrameDescription()
158 return mTexture; in getD3DTexture()
H A DExternalImageSiblingImpl11.cpp38 mTexture.set(texture, d3d11::Format::Get(angleFormat->glInternalFormat, in initialize()
41 mTexture.getDesc(&textureDesc); in initialize()
43 IDXGIResource *resource = d3d11::DynamicCastComObject<IDXGIResource>(mTexture.get()); in initialize()
124 const d3d11::Format &formatInfo = mTexture.getFormatSet(); in createRenderTarget()
160 ANGLE_TRY(mRenderer->allocateResource(context11, rtvDesc, mTexture.get(), &rtv)); in createRenderTarget()
200 ANGLE_TRY(mRenderer->allocateResource(context11, srvDesc, mTexture.get(), &srv)); in createRenderTarget()
206 std::move(rtv), mTexture, std::move(srv), std::move(blitSrv), mFormat.info->internalFormat, in createRenderTarget()
H A DRenderTarget11.cpp220 mTexture(resource), in TextureRenderTarget11()
226 if (mRenderTarget.valid() && mTexture.valid()) in TextureRenderTarget11()
228 mSubresourceIndex = GetRTVSubresourceIndex(mTexture.get(), mRenderTarget.get()); in TextureRenderTarget11()
249 mTexture(resource), in TextureRenderTarget11()
255 if (mDepthStencil.valid() && mTexture.valid()) in TextureRenderTarget11()
257 mSubresourceIndex = GetDSVSubresourceIndex(mTexture.get(), mDepthStencil.get()); in TextureRenderTarget11()
266 return mTexture; in getTexture()
H A DTextureStorage11.cpp981 mTexture(swapchain->getOffscreenTexture()), in TextureStorage11_2D()
994 mTexture.getDesc(&texDesc); in TextureStorage11_2D()
1019 mTexture(), in TextureStorage11_2D()
1044 if (mTexture.valid()) in onLabelUpdate()
1046 mTexture.setKHRDebugLabel(&mTextureLabel); in onLabelUpdate()
1094 // If either mTexture or mLevelZeroTexture exist, then we need to copy them into the in copyToStorage()
1096 if (mTexture.valid()) in copyToStorage()
1103 immediateContext->CopyResource(destResource->get(), mTexture.get()); in copyToStorage()
1136 if (!mUseLevelZeroTexture && mTexture.valid()) in useLevelZeroWorkaroundTexture()
1144 mTexture in useLevelZeroWorkaroundTexture()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DReadPixelsTest.cpp68 ReadPixelsPBONVTest() : mPBO(0), mTexture(0), mFBO(0) {} in ReadPixelsPBONVTest()
86 glDeleteTextures(1, &mTexture); in Reset()
87 glGenTextures(1, &mTexture); in Reset()
88 glBindTexture(GL_TEXTURE_2D, mTexture); in Reset()
94 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mTexture, 0); in Reset()
103 glDeleteTextures(1, &mTexture);
114 GLuint mTexture = 0; member in __anon20220::ReadPixelsPBONVTest
311 glDeleteTextures(1, &mTexture);
312 glGenTextures(1, &mTexture);
313 glBindTexture(GL_TEXTURE_2D, mTexture);
894 GLuint mTexture; global() member in __anon20220::ReadPixelsTextureTest
1032 GLuint mTexture; global() member in __anon20220::ReadPixelsErrorTest
[all...]
H A DETCTextureTest.cpp20 ETCTextureTest() : mTexture(0u) in ETCTextureTest()
32 glGenTextures(1, &mTexture);
36 void testTearDown() override { glDeleteTextures(1, &mTexture); }
38 GLuint mTexture; member in __anon20189::ETCTextureTest
46 glBindTexture(GL_TEXTURE_2D, mTexture); in TEST_P()
78 glBindTexture(GL_TEXTURE_2D, mTexture); in TEST_P()
121 glBindTexture(GL_TEXTURE_2D, mTexture); in TEST_P()
165 glBindTexture(GL_TEXTURE_2D, mTexture); in TEST_P()
213 glBindTexture(GL_TEXTURE_2D, mTexture); in TEST_P()
H A DTextureMultisampleTest.cpp48 glGenTextures(1, &mTexture);
57 glDeleteTextures(1, &mTexture);
58 mTexture = 0;
75 GLuint mTexture = 0; member in __anon20231::TextureMultisampleTest
302 glBindTexture(GL_TEXTURE_2D_MULTISAMPLE, mTexture); in TEST_P()
307 mTexture, 0); in TEST_P()
317 glBindTexture(GL_TEXTURE_2D_MULTISAMPLE, mTexture); in TEST_P()
394 glBindTexture(GL_TEXTURE_2D_MULTISAMPLE, mTexture); in TEST_P()
463 glBindTexture(GL_TEXTURE_2D_MULTISAMPLE_ANGLE, mTexture); in TEST_P()
473 mTexture, in TEST_P()
[all...]
H A DProvokingVertexTest.cpp25 mTexture(0), in ProvokingVertexTest()
64 glGenTextures(1, &mTexture);
65 glBindTexture(GL_TEXTURE_2D, mTexture);
70 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mTexture, 0);
93 if (mTexture != 0)
95 glDeleteTextures(1, &mTexture);
96 mTexture = 0;
114 GLuint mTexture; member in __anon20219::ProvokingVertexTest
H A DFramebufferMixedSamplesTest.cpp68 glGenTextures(1, &mTexture); in prepareForDraw()
69 glBindTexture(GL_TEXTURE_2D, mTexture); in prepareForDraw()
101 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mTexture, 0); in prepareForDraw()
127 glDeleteTextures(1, &mTexture); in cleanup()
135 GLuint mTexture; member in __anon20192::CHROMIUMFramebufferMixedSamplesTest
H A DSwizzleTest.cpp97 glDeleteTextures(1, &mTexture);
109 glGenTextures(1, &mTexture); in init2DTexture()
110 glBindTexture(GL_TEXTURE_2D, mTexture); in init2DTexture()
123 glGenTextures(1, &mTexture); in init2DCompressedTexture()
124 glBindTexture(GL_TEXTURE_2D, mTexture); in init2DCompressedTexture()
155 glBindTexture(GL_TEXTURE_2D, mTexture); in runTest2D()
193 GLuint mTexture; member in __anon20230::SwizzleTest
468 glBindTexture(GL_TEXTURE_2D, mTexture); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
H A DFramebufferObjectTest.cpp30 mTexture.reset(new GLTexture());
32 glBindTexture(GL_TEXTURE_2D, mTexture->get());
35 void testTearDown() override { mTexture.reset(); }
37 std::unique_ptr<GLTexture> mTexture; member in FramebufferObjectTest
71 glFramebufferTexture2DOES(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mTexture->get(), in TEST_P()
103 mTexture->get(), 0); in TEST_P()
H A DDrawTextureTest.cpp33 mTexture.reset(new GLTexture());
35 glBindTexture(GL_TEXTURE_2D, mTexture->get());
38 void testTearDown() override { mTexture.reset(); }
40 std::unique_ptr<GLTexture> mTexture; member in DrawTextureTest
/third_party/skia/third_party/externals/angle2/samples/gles1/
H A DSimpleTexture2D.cpp32 mTexture = CreateSimpleTexture2D();
40 void destroy() override { glDeleteTextures(1, &mTexture); }
72 glBindTexture(GL_TEXTURE_2D, mTexture);
79 GLuint mTexture = 0; member in GLES1SimpleTexture2DSample
H A DDrawTexture.cpp34 mTexture = CreateSimpleTexture2D();
42 glBindTexture(GL_TEXTURE_2D, mTexture);
53 void destroy() override { glDeleteTextures(1, &mTexture); }
92 GLuint mTexture = 0; member in GLES1DrawTextureSample
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DSwapChainVk.cpp479 mTexture->TransitionUsageNow(recordingContext, wgpu::TextureUsage::CopyDst, in PresentImpl()
480 mTexture->GetAllSubresources()); in PresentImpl()
493 region.dstOffsets[1] = {static_cast<int32_t>(mTexture->GetWidth()), in PresentImpl()
494 static_cast<int32_t>(mTexture->GetHeight()), 1}; in PresentImpl()
498 mTexture->GetHandle(), mTexture->GetCurrentLayoutForSwapChain(), in PresentImpl()
511 mTexture->TransitionUsageNow(recordingContext, kPresentTextureUsage, in PresentImpl()
512 mTexture->GetAllSubresources()); in PresentImpl()
531 mTexture->APIDestroy(); in PresentImpl()
532 mTexture in PresentImpl()
[all...]
/third_party/skia/third_party/externals/angle2/samples/simple_texture_2d/
H A DSimpleTexture2D.cpp60 mTexture = CreateSimpleTexture2D();
70 glDeleteTextures(1, &mTexture);
107 glBindTexture(GL_TEXTURE_2D, mTexture);
127 GLuint mTexture; member in SimpleTexture2DSample
/third_party/skia/third_party/externals/angle2/samples/simple_texture_cubemap/
H A DSimpleTextureCubemap.cpp62 mTexture = CreateSimpleTextureCubemap();
77 glDeleteTextures(1, &mTexture);
101 glBindTexture(GL_TEXTURE_CUBE_MAP, mTexture);
122 GLuint mTexture; member in SimpleTextureCubemapSample
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DTexture.cpp746 mTexture(factory->createTexture(mState)), in Texture()
752 mImplObserver.bind(mTexture); in Texture()
776 if (mTexture) in onDestroy()
778 mTexture->onDestroy(context); in onDestroy()
784 SafeDelete(mTexture); in ~Texture()
791 if (mTexture) in setLabel()
793 mTexture->onLabelUpdate(); in setLabel()
1015 ANGLE_TRY(mTexture->setBaseLevel(context, mState.getEffectiveBaseLevel())); in setBaseLevel()
1154 GLint implSize = mTexture->getMemorySize(); in getMemorySize()
1170 GLint implSize = mTexture in getLevelMemorySize()
[all...]
H A DSurface.cpp93 mTexture(nullptr), in Surface()
163 ASSERT(!mTexture); in destroyImpl()
530 ASSERT(!mTexture); in bindTexImage()
537 mTexture = texture; in bindTexImage()
549 ASSERT(mTexture); in releaseTexImage()
550 ANGLE_TRY(ResultToEGL(mTexture->releaseTexImageFromSurface(context))); in releaseTexImage()
567 ASSERT(mTexture); in releaseTexImageFromTexture()
568 mTexture = nullptr; in releaseTexImageFromTexture()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
H A DEGLImageWrappingTests.cpp72 mTexture(texture) { in ScopedEGLImage()
79 if (mTexture != 0) { in ScopedEGLImage()
80 mDeleteTextures(1, &mTexture); in ScopedEGLImage()
86 mTexture = std::move(other.mTexture); in ScopedEGLImage()
90 if (mTexture != 0) { in ~ScopedEGLImage()
91 mDeleteTextures(1, &mTexture); in ~ScopedEGLImage()
103 return mTexture; in getTexture()
111 GLuint mTexture = 0; member in __anon20604::ScopedEGLImage
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DTextureStorage9.cpp113 mTexture = surfaceTexture; in TextureStorage9_2D()
136 mTexture = nullptr; in TextureStorage9_2D()
153 SafeRelease(mTexture); in ~TextureStorage9_2D()
251 if (mTexture == nullptr && mTextureWidth > 0 && mTextureHeight > 0) in getBaseTexture()
259 mTextureFormat, getPool(), &mTexture, nullptr); in getBaseTexture()
263 *outTexture = mTexture; in getBaseTexture()
410 mTexture = nullptr; in TextureStorage9_Cube()
430 SafeRelease(mTexture); in ~TextureStorage9_Cube()
534 if (mTexture == nullptr && mTextureWidth > 0 && mTextureHeight > 0) in getBaseTexture()
542 getUsage(), mTextureFormat, getPool(), &mTexture, nullpt in getBaseTexture()
[all...]
H A DRenderTarget9.cpp35 mTexture(texture), in TextureRenderTarget9()
51 SafeRelease(mTexture); in ~TextureRenderTarget9()
82 return mTexture; in getTexture()
/third_party/skia/third_party/externals/angle2/samples/multiple_draw_buffers/
H A DMultipleDrawBuffers.cpp81 mTexture = CreateSimpleTexture2D();
114 glDeleteTextures(1, &mTexture);
162 glBindTexture(GL_TEXTURE_2D, mTexture);
205 GLuint mTexture; member in MultipleDrawBuffersSample
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/
H A DDeviceNull.cpp414 mTexture->APIDestroy(); in PresentImpl()
415 mTexture = nullptr; in PresentImpl()
422 mTexture = AcquireRef( in GetCurrentTextureViewImpl()
425 return mTexture->APICreateView(); in GetCurrentTextureViewImpl()
429 if (mTexture != nullptr) { in DetachFromSurfaceImpl()
430 mTexture->APIDestroy(); in DetachFromSurfaceImpl()
431 mTexture = nullptr; in DetachFromSurfaceImpl()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DGenerateMipmapPerf.cpp96 GLuint mTexture = 0; member in __anon20266::GenerateMipmapBenchmarkBase
149 glGenTextures(1, &mTexture); in initializeBenchmark()
150 glBindTexture(GL_TEXTURE_2D, mTexture); in initializeBenchmark()
196 glDeleteTextures(1, &mTexture); in destroyBenchmark()

Completed in 24 milliseconds

123