Home
last modified time | relevance | path

Searched refs:texTarget (Results 1 – 25 of 52) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DMultiviewTest.cpp81 GLenum texTarget = (samples > 0) ? GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES : GL_TEXTURE_2D_ARRAY; in CreateMultiviewBackingTextures() local
84 glBindTexture(texTarget, colorTexture); in CreateMultiviewBackingTextures()
87 glTexStorage3DMultisampleOES(texTarget, samples, GL_RGBA8, viewWidth, height, numLayers, in CreateMultiviewBackingTextures()
102 glTexImage3D(texTarget, 0, GL_RGBA8, viewWidth, height, numLayers, 0, GL_RGBA, in CreateMultiviewBackingTextures()
104 glTexParameteri(texTarget, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in CreateMultiviewBackingTextures()
105 glTexParameteri(texTarget, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in CreateMultiviewBackingTextures()
111 glBindTexture(texTarget, depthTexture); in CreateMultiviewBackingTextures()
114 glTexStorage3DMultisampleOES(texTarget, samples, GL_DEPTH_COMPONENT32F, viewWidth, in CreateMultiviewBackingTextures()
129 glTexImage3D(texTarget, 0, GL_DEPTH_COMPONENT32F, viewWidth, height, numLayers, 0, in CreateMultiviewBackingTextures()
135 glBindTexture(texTarget, depthStencilTexture); in CreateMultiviewBackingTextures()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DMultiviewTest.cpp81 GLenum texTarget = (samples > 0) ? GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES : GL_TEXTURE_2D_ARRAY; in CreateMultiviewBackingTextures() local
84 glBindTexture(texTarget, colorTexture); in CreateMultiviewBackingTextures()
87 glTexStorage3DMultisampleOES(texTarget, samples, GL_RGBA8, viewWidth, height, numLayers, in CreateMultiviewBackingTextures()
102 glTexImage3D(texTarget, 0, GL_RGBA8, viewWidth, height, numLayers, 0, GL_RGBA, in CreateMultiviewBackingTextures()
104 glTexParameteri(texTarget, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in CreateMultiviewBackingTextures()
105 glTexParameteri(texTarget, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in CreateMultiviewBackingTextures()
111 glBindTexture(texTarget, depthTexture); in CreateMultiviewBackingTextures()
114 glTexStorage3DMultisampleOES(texTarget, samples, GL_DEPTH_COMPONENT32F, viewWidth, in CreateMultiviewBackingTextures()
129 glTexImage3D(texTarget, 0, GL_DEPTH_COMPONENT32F, viewWidth, height, numLayers, 0, in CreateMultiviewBackingTextures()
135 glBindTexture(texTarget, depthStencilTexture); in CreateMultiviewBackingTextures()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DImageTestMetal.mm306 GLuint texTarget;
308 sourceMetalTarget2D_helper(data, kDefaultAttribs, &image, &texTarget);
312 verifyResults2D(texTarget, data);
316 glDeleteTextures(1, &texTarget);
329 GLuint texTarget;
331 sourceMetalTarget2D_helper(data, kDefaultAttribs, &image, &texTarget);
335 verifyResults2D(texTarget, data);
340 glBindTexture(GL_TEXTURE_2D, texTarget);
348 verifyResults2D(texTarget, referenceColor.data());
352 glDeleteTextures(1, &texTarget);
DTextureMultisampleTest.cpp80 GLint getSamplesToUse(GLenum texTarget, const std::vector<GLenum> &formats) in getSamplesToUse() argument
86 glGetInternalformativ(texTarget, format, GL_SAMPLES, 1, &maxSamplesFormat); in getSamplesToUse()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderRenderCase.cpp550 deUint32 texTarget = GL_NONE; in setupDefaultInputs() local
572 texTarget = GL_TEXTURE_2D; in setupDefaultInputs()
576 texTarget = GL_TEXTURE_CUBE_MAP; in setupDefaultInputs()
580 texTarget = GL_TEXTURE_2D_ARRAY; in setupDefaultInputs()
584 texTarget = GL_TEXTURE_3D; in setupDefaultInputs()
588 texTarget = GL_TEXTURE_CUBE_MAP_ARRAY; in setupDefaultInputs()
596 gl.bindTexture(texTarget, texObj); in setupDefaultInputs()
597 gl.texParameteri(texTarget, GL_TEXTURE_WRAP_S, glu::getGLWrapMode(sampler.wrapS)); in setupDefaultInputs()
598 gl.texParameteri(texTarget, GL_TEXTURE_WRAP_T, glu::getGLWrapMode(sampler.wrapT)); in setupDefaultInputs()
599 gl.texParameteri(texTarget, GL_TEXTURE_MIN_FILTER, glu::getGLFilterMode(sampler.minFilter)); in setupDefaultInputs()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsShaderRenderCase.cpp491 deUint32 texTarget = GL_NONE; in setupDefaultInputs() local
512 …case TextureBinding::TYPE_2D: texTarget = GL_TEXTURE_2D; texObj = tex.get2D()->getGLTexture(); … in setupDefaultInputs()
513 …case TextureBinding::TYPE_CUBE_MAP: texTarget = GL_TEXTURE_CUBE_MAP; texObj = tex.getCube()->getGL… in setupDefaultInputs()
514 …case TextureBinding::TYPE_2D_ARRAY: texTarget = GL_TEXTURE_2D_ARRAY; texObj = tex.get2DArray()->ge… in setupDefaultInputs()
515 …case TextureBinding::TYPE_3D: texTarget = GL_TEXTURE_3D; texObj = tex.get3D()->getGLTexture(); … in setupDefaultInputs()
521 gl.bindTexture(texTarget, texObj); in setupDefaultInputs()
522 gl.texParameteri(texTarget, GL_TEXTURE_WRAP_S, glu::getGLWrapMode(sampler.wrapS)); in setupDefaultInputs()
523 gl.texParameteri(texTarget, GL_TEXTURE_WRAP_T, glu::getGLWrapMode(sampler.wrapT)); in setupDefaultInputs()
524 gl.texParameteri(texTarget, GL_TEXTURE_MIN_FILTER, glu::getGLFilterMode(sampler.minFilter)); in setupDefaultInputs()
525 gl.texParameteri(texTarget, GL_TEXTURE_MAG_FILTER, glu::getGLFilterMode(sampler.magFilter)); in setupDefaultInputs()
[all …]
DglsFboUtil.hpp287 TextureFlatAttachment (void) : texTarget(GL_NONE) {} in TextureFlatAttachment()
289 glw::GLenum texTarget; member
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fOpaqueTypeIndexingTests.cpp280 const deUint32 texTarget = getGLTextureTarget(texType); in setupTexture() local
286 gl.bindTexture(texTarget, texture); in setupTexture()
291 gl.texStorage1D(texTarget, 1, intFormat, 1); in setupTexture()
292 gl.texSubImage1D(texTarget, 0, 0, 1, transferFmt.format, transferFmt.dataType, color); in setupTexture()
296 gl.texStorage2D(texTarget, 1, intFormat, 1, 1); in setupTexture()
297 gl.texSubImage2D(texTarget, 0, 0, 0, 1, 1, transferFmt.format, transferFmt.dataType, color); in setupTexture()
302 gl.texStorage3D(texTarget, 1, intFormat, 1, 1, 1); in setupTexture()
303 … gl.texSubImage3D(texTarget, 0, 0, 0, 0, 1, 1, 1, transferFmt.format, transferFmt.dataType, color); in setupTexture()
307 gl.texStorage3D(texTarget, 1, intFormat, 1, 1, 6); in setupTexture()
310 …gl.texSubImage3D(texTarget, 0, 0, 0, zoffset, 1, 1, 1, transferFmt.format, transferFmt.dataType, c… in setupTexture()
[all …]
Des31fInternalFormatQueryTests.cpp51 …FormatSamplesCase (Context& ctx, const char* name, const char* desc, glw::GLenum texTarget, glw::G…
449 const glw::GLenum texTarget = textureTargets[groupNdx].target; in init() local
458 …group->addChild(new FormatSamplesCase(m_context, name.c_str(), desc.c_str(), texTarget, internalFo… in init()
Des31fIntegerStateQueryTests.cpp102 …TexBindingCase (Context& context, const char* name, const char* desc, glw::GLenum texTarget, glw::…
112 …Case (Context& context, const char* name, const char* desc, glw::GLenum texTarget, glw::GLenum bin… in TexBindingCase() argument
114 , m_texTarget (texTarget) in TexBindingCase()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_copytex.c51 GLenum texTarget, GLint texLevel, in st_copy_framebuffer_to_texture() argument
67 switch (texTarget) { in st_copy_framebuffer_to_texture()
Dst_copytex.h32 GLenum texTarget, GLint texLevel,
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cLayoutBindingTests.cpp944 glw::GLint texTarget = 0; in bind() local
950 texTarget = GL_TEXTURE_2D; in bind()
954 texTarget = GL_TEXTURE_2D_ARRAY; in bind()
958 texTarget = GL_TEXTURE_3D; in bind()
970 gl().bindTexture(texTarget, texName); in bind()
971 … gl().texParameteri(texTarget, GL_TEXTURE_WRAP_S, glu::getGLWrapMode(tcu::Sampler::CLAMP_TO_EDGE)); in bind()
972 … gl().texParameteri(texTarget, GL_TEXTURE_WRAP_T, glu::getGLWrapMode(tcu::Sampler::CLAMP_TO_EDGE)); in bind()
973 … gl().texParameteri(texTarget, GL_TEXTURE_MIN_FILTER, glu::getGLFilterMode(tcu::Sampler::NEAREST)); in bind()
974 … gl().texParameteri(texTarget, GL_TEXTURE_MAG_FILTER, glu::getGLFilterMode(tcu::Sampler::NEAREST)); in bind()
987 glw::GLint texTarget = 0; in unbind() local
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_fragment_program_shadow.txt251 Replace <texTarget> grammar rule with
253 <texTarget> ::= "1D"
267 program option, the <texTarget> rule is modified to add the
285 int texImageUnit, enum texTarget);
/third_party/openGLES/extensions/ARB/
DARB_fragment_program_shadow.txt261 Replace <texTarget> grammar rule with
263 <texTarget> ::= "1D"
277 program option, the <texTarget> rule is modified to add the
295 int texImageUnit, enum texTarget);
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_texture_multisample.txt108 <texTarget> ::= "2DMS"
118 texTarget Texture Type s t r layer shadow
126 texTarget supported i j k layer lod
/third_party/openGLES/extensions/NV/
DNV_texture_multisample.txt108 <texTarget> ::= "2DMS"
118 texTarget Texture Type s t r layer shadow
126 texTarget supported i j k layer lod
DNV_explicit_multisample.txt122 <texTarget> rule is modified to add the texture target RENDERBUFFER and the
144 texTarget Texture Type s t r layer shadow
152 texTarget supported i j k layer lod
/third_party/flutter/skia/src/gpu/
DGrAHardwareBufferUtils.cpp162 GLTextureHelper(GrGLuint texID, EGLImageKHR image, EGLDisplay display, GrGLuint texTarget) in GLTextureHelper() argument
166 , fTexTarget(texTarget) { } in GLTextureHelper()
/third_party/skia/src/gpu/
DGrAHardwareBufferUtils.cpp162 GLTextureHelper(GrGLuint texID, EGLImageKHR image, EGLDisplay display, GrGLuint texTarget) in GLTextureHelper() argument
166 , fTexTarget(texTarget) { } in GLTextureHelper()
/third_party/openGLES/extensions/MESAX/
DMESAX_texture_stack.txt228 <texTarget> ::= "1D"
239 option, the <texTarget> rule is modified to add the texture targets
258 int texImageUnit, enum texTarget);
/third_party/skia/third_party/externals/opengl-registry/extensions/MESAX/
DMESAX_texture_stack.txt228 <texTarget> ::= "1D"
239 option, the <texTarget> rule is modified to add the texture targets
258 int texImageUnit, enum texTarget);
/third_party/mesa3d/src/mesa/program/
Dprogram_parse.y232 %type <integer> texImageUnit texTarget
432 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget
483 …P maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget
533 texTarget: TEX_1D { $$ = TEXTURE_1D_INDEX; }
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DTextureMultisampleTest.cpp80 GLint getSamplesToUse(GLenum texTarget, const std::vector<GLenum> &formats) in getSamplesToUse() argument
86 glGetInternalformativ(texTarget, format, GL_SAMPLES, 1, &maxSamplesFormat); in getSamplesToUse()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp459 deUint32 texTarget = m_texType == TEXTURETYPE_2D ? GL_TEXTURE_2D : GL_TEXTURE_CUBE_MAP; in iterate() local
460 …glTexParameteri(texTarget, GL_TEXTURE_MIN_FILTER, (m_flags & MIPMAPS) ? GL_NEAREST_MIPMAP_NEAREST … in iterate()
461 glTexParameteri(texTarget, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in iterate()
462 glTexParameteri(texTarget, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); in iterate()
463 glTexParameteri(texTarget, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); in iterate()

123