Home
last modified time | relevance | path

Searched refs:textureTarget (Results 1 – 25 of 30) sorted by relevance

12

/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_ext_pbuffer.c90 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()
258 fb->textureTarget = textureTarget; in wglCreatePbufferARB()
357 *piValue = fb->textureTarget; in wglQueryPbufferARB()
Dstw_ext_rendertexture.c71 translate_target(unsigned textureTarget) in translate_target() argument
73 switch (textureTarget) { in translate_target()
153 target = translate_target(fb->textureTarget); in wglBindTexImageARB()
Dstw_framebuffer.h94 unsigned textureTarget; /**< WGL_NO_TEXTURE or WGL_TEXTURE_1D/2D/ member
/external/deqp/modules/gles2/functional/
Des2fTextureStateQueryTests.cpp201 …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()
379 GLenum textureTarget; in init() member
388 …getTestNamePostfix()).c_str(), "TEXTURE_WRAP_S", textureTargets[ndx].textureTarget, GL_TEXTURE_WR… in init()
[all …]
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DBackgroundRenderer.java76 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()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DBackgroundRenderer.java76 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()
/external/deqp/modules/gles31/functional/
Des31fMultisampleShaderRenderCase.cpp174 …const deUint32 textureTarget = (m_numRequestedSamples == 0) ? (GL_TEXTURE_2D) : (GL_TEXTURE_2D_MUL… in init() local
180 gl.bindTexture(textureTarget, m_fboTexture); in init()
183 gl.texStorage2D(textureTarget, 1, GL_RGBA8, m_renderSize, m_renderSize); in init()
184 gl.texParameteri(textureTarget, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in init()
185 gl.texParameteri(textureTarget, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in init()
188 …gl.texStorage2DMultisample(textureTarget, m_numRequestedSamples, GL_RGBA8, m_renderSize, m_renderS… in init()
193 gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, textureTarget, m_fboTexture, 0); in init()
560 …const deUint32 textureTarget = (m_numRequestedSamples == 0) ? (GL_TEXTURE_2D) : (GL_TEXTURE_2D_MUL… in drawOneIteration() local
584 gl.bindTexture(textureTarget, m_fboTexture); in drawOneIteration()
612 …const deUint32 textureTarget = (m_numRequestedSamples == 0) ? (GL_TEXTURE_2D) : (GL_TEXTURE_2D_… in drawOneIteration() local
[all …]
Des31fTextureMultisampleTests.cpp1124 …const glw::GLenum textureTarget = (m_isArrayType) ? (GL_TEXTURE_2D_MULTISAMPLE_ARRAY) : (GL_TEXTU… in init() local
1139 gl.getInternalformativ(textureTarget, internalFormat, GL_SAMPLES, 1, &maxSamples); in init()
1169 gl.bindTexture(textureTarget, m_textureID); in init()
1191 gl.framebufferTexture2D(GL_FRAMEBUFFER, fboAttachment, textureTarget, m_textureID, 0); in init()
1475 …const glw::GLenum textureTarget = (m_isArrayType) ? (GL_TEXTURE_2D_MULTISAMPLE_ARRAY) : (GL_TEXT… in sampleTexture() local
1503 gl.bindTexture(textureTarget, m_textureID); in sampleTexture()
/external/mesa3d/src/glx/windows/
Dwindowsgl.h47 void windows_setTexBuffer(windowsContext *context, int textureTarget,
49 void windows_releaseTexBuffer(windowsContext *context, int textureTarget,
Dwindowsgl.c393 void windows_setTexBuffer(windowsContext *context, int textureTarget, in windows_setTexBuffer() argument
399 void windows_releaseTexBuffer(windowsContext *context, int textureTarget, in windows_releaseTexBuffer() argument
/external/swiftshader/src/OpenGL/libEGL/
DSurface.cpp231 return textureTarget; in getTextureTarget()
424 … EGLenum textureFormat, EGLenum textureTarget, EGLenum clientBufferFormat, in PBufferSurface() argument
433 this->textureTarget = textureTarget; in PBufferSurface()
DSurface.hpp101 EGLenum textureTarget = EGL_NO_TEXTURE; // Type of texture: 2D or no texture member in egl::Surface
140 EGLenum textureFormat, EGLenum textureTarget, EGLenum internalFormat,
DDisplay.cpp345 EGLenum textureTarget = EGL_NO_TEXTURE; in createPBufferSurface() local
418 textureTarget = attribList[1]; in createPBufferSurface()
453 if((textureFormat != EGL_NO_TEXTURE && textureTarget == EGL_NO_TEXTURE) || in createPBufferSurface()
454 (textureFormat == EGL_NO_TEXTURE && textureTarget != EGL_NO_TEXTURE)) in createPBufferSurface()
525 if(textureTarget != EGL_TEXTURE_RECTANGLE_ANGLE) in createPBufferSurface()
550 …new PBufferSurface(this, configuration, width, height, textureFormat, textureTarget, clientBufferF… in createPBufferSurface()
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp4346 GLenum textureTarget = GL_NONE; in validateSharedImage() local
4351 textureTarget = GL_TEXTURE_2D; in validateSharedImage()
4359 textureTarget = GL_TEXTURE_CUBE_MAP; in validateSharedImage()
4372 if(textureTarget != GL_NONE) in validateSharedImage()
4376 if(!texture || texture->getTarget() != textureTarget) in validateSharedImage()
4381 …if(texture->isShared(textureTarget, textureLevel)) // Bound to an EGLSurface or already an EGLIm… in validateSharedImage()
4417 GLenum textureTarget = GL_NONE; in createSharedImage() local
4421 case EGL_GL_TEXTURE_2D_KHR: textureTarget = GL_TEXTURE_2D; break; in createSharedImage()
4422 case EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR: textureTarget = GL_TEXTURE_CUBE_MAP_POSITIVE_X; break; in createSharedImage()
4423 case EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR: textureTarget = GL_TEXTURE_CUBE_MAP_NEGATIVE_X; break; in createSharedImage()
[all …]
/external/skia/src/gpu/gl/
DGrGLTexture.h63 static GrTextureType TextureTypeFromTarget(GrGLenum textureTarget);
/external/mesa3d/src/glx/
Dglx_pbuffer.c221 pdraw->textureTarget = determineTextureTarget(attrib_list, num_attribs); in CreateDRIDrawable()
401 if (!pdraw->textureTarget) in __glXGetDrawableAttribute()
402 pdraw->textureTarget = in __glXGetDrawableAttribute()
Ddrisw_glx.c297 pdraw->base.textureTarget, in drisw_bind_tex_image()
303 pdraw->base.textureTarget, in drisw_bind_tex_image()
328 pdraw->base.textureTarget, in drisw_release_tex_image()
Ddriwindows_glx.c125 pdraw->base.textureTarget, in driwindows_bind_tex_image()
142 pdraw->base.textureTarget, in driwindows_release_tex_image()
Ddri2_glx.c1046 pdraw->base.textureTarget, in dri2_bind_tex_image()
1052 pdraw->base.textureTarget, in dri2_bind_tex_image()
1074 pdraw->base.textureTarget, in dri2_release_tex_image()
Ddri3_glx.c670 pdraw->base.textureTarget, in dri3_bind_tex_image()
691 pdraw->base.textureTarget, in dri3_release_tex_image()
Dglxclient.h144 GLenum textureTarget; member
/external/deqp/modules/egl/
DteglQuerySurfaceTests.cpp430 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()
/external/skqp/src/gpu/gl/
DGrGLTexture.h63 static GrTextureType TextureTypeFromTarget(GrGLenum textureTarget);
/external/deqp/modules/gles3/functional/
Des3fShaderTextureFunctionTests.cpp1122 const glw::GLenum textureTarget = getGLTextureTarget (); in testTextureSize() local
1153 gl.bindTexture(textureTarget, texId); in testTextureSize()
1154 gl.texParameteri(textureTarget, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in testTextureSize()
1155 gl.texParameteri(textureTarget, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in testTextureSize()
1156 gl.texParameteri(textureTarget, GL_TEXTURE_BASE_LEVEL, testSize.lodBase); in testTextureSize()
1171 …gl.texStorage3D(textureTarget, levels, m_textureSpec.format, testSize.textureSize.x(), testSize.te… in testTextureSize()
1185 …gl.texStorage2D(textureTarget, levels, m_textureSpec.format, testSize.textureSize.x(), testSize.te… in testTextureSize()
1200 …gl.texStorage3D(textureTarget, levels, m_textureSpec.format, testSize.textureSize.x(), testSize.te… in testTextureSize()
1256 gl.bindTexture (textureTarget, 0); in testTextureSize()
/external/llvm/lib/Target/AMDGPU/
DR600Instructions.td1334 i32imm:$resourceId, i32imm:$samplerId, i32imm:$textureTarget),
1335 "TXD $dst, $src0, $src1, $src2, $resourceId, $samplerId, $textureTarget", [],
1343 i32imm:$resourceId, i32imm:$samplerId, i32imm:$textureTarget),
1344 "TXD_SHADOW $dst, $src0, $src1, $src2, $resourceId, $samplerId, $textureTarget",

12