/third_party/mesa3d/src/gallium/frontends/wgl/ |
D | stw_ext_pbuffer.c | 89 int textureTarget = WGL_NO_TEXTURE_ARB; in wglCreatePbufferARB() local 124 textureTarget = *piAttrib; in wglCreatePbufferARB() 125 if (textureTarget != WGL_TEXTURE_CUBE_MAP_ARB && in wglCreatePbufferARB() 126 textureTarget != WGL_TEXTURE_1D_ARB && in wglCreatePbufferARB() 127 textureTarget != WGL_TEXTURE_2D_ARB && in wglCreatePbufferARB() 128 textureTarget != WGL_NO_TEXTURE_ARB) { in wglCreatePbufferARB() 252 fb->textureTarget = textureTarget; in wglCreatePbufferARB() 351 *piValue = fb->textureTarget; in wglQueryPbufferARB()
|
D | stw_ext_rendertexture.c | 71 translate_target(unsigned textureTarget) in translate_target() argument 73 switch (textureTarget) { in translate_target() 150 target = translate_target(fb->textureTarget); in wglBindTexImageARB()
|
D | stw_framebuffer.h | 112 unsigned textureTarget; /**< WGL_NO_TEXTURE or WGL_TEXTURE_1D/2D/ member
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureStateQueryTests.cpp | 201 …ntext, TexParamVerifier* verifier, const char* name, const char* description, GLenum textureTarget) in TextureCase() argument 203 , m_textureTarget (textureTarget) in TextureCase() 231 …Verifier* verifier, const char* name, const char* description, GLenum textureTarget, GLenum valueN… in TextureWrapCase() argument 232 : TextureCase (context, verifier, name, description, textureTarget) in TextureWrapCase() 272 …ntext, TexParamVerifier* verifier, const char* name, const char* description, GLenum textureTarget) in TextureMagFilterCase() argument 273 : TextureCase(context, verifier, name, description, textureTarget) in TextureMagFilterCase() 309 …ntext, TexParamVerifier* verifier, const char* name, const char* description, GLenum textureTarget) in TextureMinFilterCase() argument 310 : TextureCase(context, verifier, name, description, textureTarget) in TextureMinFilterCase() 381 GLenum textureTarget; in init() member 390 …getTestNamePostfix()).c_str(), "TEXTURE_WRAP_S", textureTargets[ndx].textureTarget, GL_TEXTURE_WR… in init() [all …]
|
/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/ |
D | BackgroundRenderer.java | 76 int textureTarget = GLES11Ext.GL_TEXTURE_EXTERNAL_OES; in createOnGlThread() local 77 GLES20.glBindTexture(textureTarget, textureId); in createOnGlThread() 78 GLES20.glTexParameteri(textureTarget, GLES20.GL_TEXTURE_WRAP_S, GLES20.GL_CLAMP_TO_EDGE); in createOnGlThread() 79 GLES20.glTexParameteri(textureTarget, GLES20.GL_TEXTURE_WRAP_T, GLES20.GL_CLAMP_TO_EDGE); in createOnGlThread() 80 GLES20.glTexParameteri(textureTarget, GLES20.GL_TEXTURE_MIN_FILTER, GLES20.GL_NEAREST); in createOnGlThread() 81 GLES20.glTexParameteri(textureTarget, GLES20.GL_TEXTURE_MAG_FILTER, GLES20.GL_NEAREST); in createOnGlThread()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ReadPixelsTest.cpp | 463 void initTexture(GLenum textureTarget, in initTexture() argument 468 glBindTexture(textureTarget, mTexture); in initTexture() 469 glTexStorage3D(textureTarget, levels, GL_RGBA8, 4, 4, 4); in initTexture() 472 initializeTextureData(textureTarget, levels); in initTexture() 475 void testRead(GLenum textureTarget, GLint levels, GLint attachmentLevel, GLint attachmentLayer) in testRead() argument 477 initTexture(textureTarget, levels, attachmentLevel, attachmentLayer); in testRead() 489 void testPBORead(GLenum textureTarget, in testPBORead() argument 495 initTexture(textureTarget, levels, attachmentLevel, attachmentLayer); in testPBORead() 527 void initializeTextureData(GLenum textureTarget, GLint levels) in initializeTextureData() argument 532 GLint layers = (textureTarget == GL_TEXTURE_3D ? mipSize : 4); in initializeTextureData() [all …]
|
D | ImageTest.cpp | 364 GLenum textureTarget, in verifyResultsTexture() argument 370 glBindTexture(textureTarget, texture); in verifyResultsTexture() 1672 GLuint textureTarget; in TEST_P() local 1673 createEGLImageTargetTexture2D(image, &textureTarget); in TEST_P() 1676 glBindTexture(GL_TEXTURE_2D, textureTarget); in TEST_P() 1684 verifyResults2D(textureTarget, data[level]); in TEST_P() 1689 glBindTexture(GL_TEXTURE_2D, textureTarget); in TEST_P() 1695 verifyResults2D(textureTarget, reinterpret_cast<GLubyte *>(textureUpdateData.data())); in TEST_P() 1714 verifyResults2D(textureTarget, renderbufferClearData); in TEST_P() 1719 glDeleteTextures(1, &textureTarget); in TEST_P()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/fragment_shading_rate/ |
D | esextcFragmentShadingRateCombinedTests.cpp | 282 glw::GLenum textureTarget = GL_TEXTURE_2D; in setupTest() local 285 textureTarget = GL_TEXTURE_2D_MULTISAMPLE; in setupTest() 286 gl.bindTexture(textureTarget, m_to_id); in setupTest() 288 …gl.texStorage2DMultisample(textureTarget, 4, GL_RGBA32F, m_tcParam.framebufferSize, m_tcParam.fram… in setupTest() 294 gl.bindTexture(textureTarget, m_to_id); in setupTest() 296 …gl.texStorage2D(textureTarget, 1, GL_RGBA32F, m_tcParam.framebufferSize, m_tcParam.framebufferSize… in setupTest() 301 …gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, textureTarget, m_to_id, 0); /* level… in setupTest() 465 glw::GLenum textureTarget = GL_TEXTURE_2D; in iterate() local 468 textureTarget = GL_TEXTURE_2D_MULTISAMPLE; in iterate() 471 gl.bindTexture(textureTarget, m_to_id); in iterate()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ReadPixelsTest.cpp | 805 void initTexture(GLenum textureTarget, in initTexture() argument 810 glBindTexture(textureTarget, mTexture); in initTexture() 811 glTexStorage3D(textureTarget, levels, GL_RGBA8, 4, 4, 4); in initTexture() 814 initializeTextureData(textureTarget, levels); in initTexture() 817 void testRead(GLenum textureTarget, GLint levels, GLint attachmentLevel, GLint attachmentLayer) in testRead() argument 819 initTexture(textureTarget, levels, attachmentLevel, attachmentLayer); in testRead() 831 void testPBORead(GLenum textureTarget, in testPBORead() argument 837 initTexture(textureTarget, levels, attachmentLevel, attachmentLayer); in testPBORead() 869 void initializeTextureData(GLenum textureTarget, GLint levels) in initializeTextureData() argument 874 GLint layers = (textureTarget == GL_TEXTURE_3D ? mipSize : 4); in initializeTextureData() [all …]
|
D | ImageTestMetal.mm | 199 GLenum textureTarget, 205 glBindTexture(textureTarget, texture);
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fMultisampleShaderRenderCase.cpp | 171 …const deUint32 textureTarget = (m_numRequestedSamples == 0) ? (GL_TEXTURE_2D) : (GL_TEXTURE_2D_MUL… in init() local 177 gl.bindTexture(textureTarget, m_fboTexture); in init() 180 gl.texStorage2D(textureTarget, 1, GL_RGBA8, m_renderSize, m_renderSize); in init() 181 gl.texParameteri(textureTarget, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in init() 182 gl.texParameteri(textureTarget, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in init() 185 …gl.texStorage2DMultisample(textureTarget, m_numRequestedSamples, GL_RGBA8, m_renderSize, m_renderS… in init() 190 gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, textureTarget, m_fboTexture, 0); in init() 557 …const deUint32 textureTarget = (m_numRequestedSamples == 0) ? (GL_TEXTURE_2D) : (GL_TEXTURE_2D_MUL… in drawOneIteration() local 581 gl.bindTexture(textureTarget, m_fboTexture); in drawOneIteration() 609 …const deUint32 textureTarget = (m_numRequestedSamples == 0) ? (GL_TEXTURE_2D) : (GL_TEXTURE_2D_… in drawOneIteration() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/ |
D | Surface.cpp | 226 return textureTarget; in getTextureTarget() 417 … EGLenum textureFormat, EGLenum textureTarget, EGLenum clientBufferFormat, in PBufferSurface() argument 426 this->textureTarget = textureTarget; in PBufferSurface()
|
D | Display.cpp | 346 EGLenum textureTarget = EGL_NO_TEXTURE; in createPBufferSurface() local 420 textureTarget = attribList[1]; in createPBufferSurface() 455 if((textureFormat != EGL_NO_TEXTURE && textureTarget == EGL_NO_TEXTURE) || in createPBufferSurface() 456 (textureFormat == EGL_NO_TEXTURE && textureTarget != EGL_NO_TEXTURE)) in createPBufferSurface() 528 if(textureTarget != EGL_TEXTURE_RECTANGLE_ANGLE) in createPBufferSurface() 553 …new PBufferSurface(this, configuration, width, height, textureFormat, textureTarget, clientBufferF… in createPBufferSurface()
|
D | Surface.hpp | 101 EGLenum textureTarget = EGL_NO_TEXTURE; // Type of texture: 2D or no texture member in egl::Surface 140 EGLenum textureFormat, EGLenum textureTarget, EGLenum internalFormat,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/ |
D | PixmapSurfaceGLX.cpp | 42 int EGLTextureTargetToGLXTextureTarget(EGLint textureTarget) in EGLTextureTargetToGLXTextureTarget() argument 44 switch (textureTarget) in EGLTextureTargetToGLXTextureTarget()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/ |
D | PbufferSurfaceWGL.cpp | 23 EGLenum textureTarget, in PbufferSurfaceWGL() argument 33 mTextureTarget(textureTarget), in PbufferSurfaceWGL()
|
D | PbufferSurfaceWGL.h | 28 EGLenum textureTarget,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/ |
D | PbufferSurfaceWGL.cpp | 23 EGLenum textureTarget, in PbufferSurfaceWGL() argument 33 mTextureTarget(textureTarget), in PbufferSurfaceWGL()
|
D | PbufferSurfaceWGL.h | 28 EGLenum textureTarget,
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | Context.cpp | 4374 GLenum textureTarget = GL_NONE; in validateSharedImage() local 4378 case EGL_GL_TEXTURE_2D_KHR: textureTarget = GL_TEXTURE_2D; break; in validateSharedImage() 4379 case EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR: textureTarget = GL_TEXTURE_CUBE_MAP_POSITIVE_X; break; in validateSharedImage() 4380 case EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR: textureTarget = GL_TEXTURE_CUBE_MAP_NEGATIVE_X; break; in validateSharedImage() 4381 case EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR: textureTarget = GL_TEXTURE_CUBE_MAP_POSITIVE_Y; break; in validateSharedImage() 4382 case EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR: textureTarget = GL_TEXTURE_CUBE_MAP_NEGATIVE_Y; break; in validateSharedImage() 4383 case EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR: textureTarget = GL_TEXTURE_CUBE_MAP_POSITIVE_Z; break; in validateSharedImage() 4384 case EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR: textureTarget = GL_TEXTURE_CUBE_MAP_NEGATIVE_Z; break; in validateSharedImage() 4396 if(textureTarget != GL_NONE) in validateSharedImage() 4405 if (texture->getTarget() != GL_TEXTURE_CUBE_MAP && texture->getTarget() != textureTarget) in validateSharedImage() [all …]
|
/third_party/skia/src/gpu/gl/ |
D | GrGLTexture.h | 29 static GrTextureType TextureTypeFromTarget(GrGLenum textureTarget);
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLTexture.h | 30 static GrTextureType TextureTypeFromTarget(GrGLenum textureTarget);
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglQuerySurfaceTests.cpp | 430 const EGLint textureTarget = eglu::querySurfaceInt(egl, display, *surface, EGL_TEXTURE_TARGET); in executeForConfig() local 432 if (textureTarget != EGL_NO_TEXTURE && textureTarget != EGL_TEXTURE_2D) in executeForConfig() 434 …log << TestLog::Message << " Fail, invalid texture target value " << textureTarget << TestLog::… in executeForConfig()
|
/third_party/mesa3d/src/glx/ |
D | glx_pbuffer.c | 203 pdraw->textureTarget = determineTextureTarget(attrib_list, num_attribs); in CreateDRIDrawable() 379 if (!pdraw->textureTarget) in __glXGetDrawableAttribute() 380 pdraw->textureTarget = in __glXGetDrawableAttribute()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | validationEGL.cpp | 1455 EGLAttrib textureTarget = attributes.get(EGL_TEXTURE_TARGET, EGL_NO_TEXTURE); in ValidateCreatePbufferSurface() local 1457 if ((textureFormat != EGL_NO_TEXTURE && textureTarget == EGL_NO_TEXTURE) || in ValidateCreatePbufferSurface() 1458 (textureFormat == EGL_NO_TEXTURE && textureTarget != EGL_NO_TEXTURE)) in ValidateCreatePbufferSurface() 1638 EGLAttrib textureTarget = attributes.get(EGL_TEXTURE_TARGET, EGL_NO_TEXTURE); in ValidateCreatePbufferFromClientBuffer() local 1639 if ((textureFormat != EGL_NO_TEXTURE && textureTarget == EGL_NO_TEXTURE) || in ValidateCreatePbufferFromClientBuffer() 1640 (textureFormat == EGL_NO_TEXTURE && textureTarget != EGL_NO_TEXTURE)) in ValidateCreatePbufferFromClientBuffer() 1680 if (textureTarget != EGL_TEXTURE_RECTANGLE_ANGLE) in ValidateCreatePbufferFromClientBuffer()
|