Home
last modified time | relevance | path

Searched refs:mColorTexture (Results 1 – 10 of 10) sorted by relevance

/external/angle/src/libANGLE/renderer/metal/
DSurfaceMtl.mm122 mColorTexture = nullptr;
223 if (mColorTexture)
225 return static_cast<EGLint>(mColorTexture->widthAt0());
232 if (mColorTexture)
234 return static_cast<EGLint>(mColorTexture->heightAt0());
252 ASSERT(mColorTexture);
257 rpDesc.sampleCount = mColorTexture->samples();
264 mtl::EmulatedAlphaClearColor(black, mColorTexture->getColorWritableMask());
287 ASSERT(mColorTexture);
314 ASSERT(mColorTexture);
[all …]
DIOSurfaceSurfaceMtl.mm138 if (mColorTexture)
158 mColorTexture = mtl::Texture::MakeFromMetal([texture ANGLE_MTL_AUTORELEASE]);
161 mColorRenderTarget.set(mColorTexture, mtl::kZeroNativeMipLevel, 0, mColorFormat);
169 context, mColorTexture, rgbClearFormat,
174 mColorTexture->setColorWritableMask(MTLColorWriteMaskAll & (~MTLColorWriteMaskAlpha));
DSurfaceMtl.h79 const mtl::TextureRef &getColorTexture() { return mColorTexture; } in getColorTexture()
98 mtl::TextureRef mColorTexture; variable
/external/angle/src/tests/perf_tests/
DMultisampledRenderToTexturePerf.cpp88 GLuint mColorTexture = 0; member in __anonee50ea910111::MultisampledRenderToTextureBenchmark
142 glGenTextures(1, &mColorTexture); in initializeBenchmark()
143 glBindTexture(GL_TEXTURE_2D, mColorTexture); in initializeBenchmark()
148 mColorTexture, 0, 4); in initializeBenchmark()
188 glDeleteTextures(1, &mColorTexture); in destroyBenchmark()
DMultiviewPerf.cpp199 GLTexture mColorTexture; member in __anona496c6120111::MultiviewBenchmark
233 glBindTexture(GL_TEXTURE_2D, mColorTexture); in initializeBenchmark()
243 mColorTexture, 0); in initializeBenchmark()
251 glBindTexture(GL_TEXTURE_2D_ARRAY, mColorTexture); in initializeBenchmark()
260 glFramebufferTextureMultiviewOVR(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, mColorTexture, 0, in initializeBenchmark()
/external/angle/samples/multiview/
DMultiview.cpp54 mColorTexture(0), in MultiviewSample()
83 glGenTextures(1, &mColorTexture); in initialize()
84 glBindTexture(GL_TEXTURE_2D_ARRAY, mColorTexture); in initialize()
98 glFramebufferTextureMultiviewOVR(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, mColorTexture, 0, 0, in initialize()
243 glDeleteTextures(1, &mColorTexture); in destroy()
364 GLuint mColorTexture; member in MultiviewSample
/external/angle/src/tests/gl_tests/
DBuiltinVariableTest.cpp225 glBindTexture(GL_TEXTURE_2D, mColorTexture); in testSetUp()
236 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mColorTexture, in testSetUp()
273 GLTexture mColorTexture; member in BuiltinVariableFragDepthClampingFloatRBOTest
DDepthStencilTest.cpp38 glBindTexture(GL_TEXTURE_2D, mColorTexture); in testSetUp()
45 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mColorTexture, in testSetUp()
62 mColorTexture, 0); in testSetUp()
100 GLTexture mColorTexture; member in __anon50889bec0111::DepthStencilTest
DMultiviewDrawTest.cpp69 mColorTexture(0u), in MultiviewFramebufferTestBase()
94 glGenTextures(1, &mColorTexture); in updateFBOs()
97 CreateMultiviewBackingTextures(mSamples, viewWidth, height, numLayers, mColorTexture, in updateFBOs()
105 mColorTexture, mDepthTexture, 0u); in updateFBOs()
116 glFramebufferTextureLayer(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, mColorTexture, 0, in updateFBOs()
234 GLuint mColorTexture; member in MultiviewFramebufferTestBase
270 if (mColorTexture) in freeFBOs()
272 glDeleteTextures(1, &mColorTexture); in freeFBOs()
273 mColorTexture = 0; in freeFBOs()
DClearTest.cpp240 glBindTexture(GL_TEXTURE_2D, mColorTexture); in testSetUp()
247 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mColorTexture, in testSetUp()
264 mColorTexture, 0); in testSetUp()
297 GLTexture mColorTexture; member in __anona03815cc0111::VulkanClearTest