Home
last modified time | relevance | path

Searched refs:GL_TEXTURE_BUFFER (Results 1 – 25 of 39) sorted by relevance

12

/external/deqp/modules/gles31/functional/
Des31fTextureBufferTests.cpp241 gl.glBindBuffer(GL_TEXTURE_BUFFER, buffer); in iterate()
300 gl.glBindTexture(GL_TEXTURE_BUFFER, texture); in iterate()
369 gl.glBindTexture(GL_TEXTURE_BUFFER, texture); in iterate()
373 gl.glBindBuffer(GL_TEXTURE_BUFFER, buffer); in iterate()
374 gl.glBufferData(GL_TEXTURE_BUFFER, 32, DE_NULL, GL_STATIC_DRAW); in iterate()
377 gl.glTexBuffer(GL_TEXTURE_BUFFER, GL_R32UI, buffer); in iterate()
380 …verifyStateTextureLevelInteger(result, gl, GL_TEXTURE_BUFFER, 0, GL_TEXTURE_BUFFER_DATA_STORE_BIND… in iterate()
440 gl.glBindTexture(GL_TEXTURE_BUFFER, texture); in iterate()
444 gl.glBindBuffer(GL_TEXTURE_BUFFER, buffer); in iterate()
445 gl.glBufferData(GL_TEXTURE_BUFFER, 1024, DE_NULL, GL_STATIC_DRAW); in iterate()
[all …]
Des31fTextureLevelStateQueryTests.cpp61 case GL_TEXTURE_BUFFER: return false; in textureTypeHasDepth()
79 case GL_TEXTURE_BUFFER: return false; in textureTypeHasHeight()
92 case GL_TEXTURE_BUFFER: return "GL_EXT_texture_buffer"; in getTextureTargetExtension()
112 case GL_TEXTURE_BUFFER: in isCoreTextureTarget()
359 if (target == GL_TEXTURE_BUFFER || !isTextureBufferFormat(format)) in isLegalFormatForTarget()
378 target != GL_TEXTURE_BUFFER; in targetSupportsMipLevels()
470 else if (target == GL_TEXTURE_BUFFER) in generateColorTextureGenerationGroup()
633 if (target == GL_TEXTURE_BUFFER) in generateInternalFormatTextureGenerationGroup()
784 …se if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_BUFFER) in applyTextureGenerationSpec()
787 gl.glBindBuffer(GL_TEXTURE_BUFFER, texBuffer); in applyTextureGenerationSpec()
[all …]
Des31fTextureStateQueryTests.cpp125 { "texture_buffer", GL_TEXTURE_BUFFER, true, }, // GL_EXT_texture_buffer in init()
Des31fShaderImageLoadStoreTests.cpp267 case TEXTURETYPE_BUFFER: return GL_TEXTURE_BUFFER; in getGLTextureTarget()
707 glLog.glBindBuffer(GL_TEXTURE_BUFFER, textureBufGL); in setTextureStorage()
708 glLog.glBufferData(GL_TEXTURE_BUFFER, numBytes, DE_NULL, GL_STATIC_DRAW); in setTextureStorage()
709 glLog.glTexBuffer(GL_TEXTURE_BUFFER, internalFormat, textureBufGL); in setTextureStorage()
754 glLog.glBindBuffer(GL_TEXTURE_BUFFER, textureBufGL); in uploadTexture()
755 …glLog.glBufferData(GL_TEXTURE_BUFFER, src.getFormat().getPixelSize() * imageSize.x(), src.getAcces… in uploadTexture()
813 if (target != GL_TEXTURE_BUFFER) in setTexParameteri()
1043 glLog.glBindBuffer(GL_TEXTURE_BUFFER, bufferGL); in readBufferTextureWithMappingAndVerify()
1046 …const BufferMemMap bufMap(renderCtx.getFunctions(), GL_TEXTURE_BUFFER, 0, dataSize, GL_MAP_READ_BI… in readBufferTextureWithMappingAndVerify()
Des31fIntegerStateQueryTests.cpp129 …if (m_texTarget == GL_TEXTURE_BUFFER && !m_context.getContextInfo().isExtensionSupported("GL_EXT_t… in init()
794 …" + verifierSuffix).c_str(), "Test TEXTURE_BINDING_BUFFER", GL_TEXTURE_BUFFER, GL_TEXT… in init()
Des31fTextureFormatTests.cpp354 gl.bindTexture(GL_TEXTURE_BUFFER, m_texture->getGLTexture()); in iterate()
/external/mesa3d/src/mesa/main/
Dformatquery.c82 case GL_TEXTURE_BUFFER: in _legal_parameters()
426 case GL_TEXTURE_BUFFER: in _is_target_supported()
517 case GL_TEXTURE_BUFFER: in _is_resource_supported()
753 case GL_TEXTURE_BUFFER: in equivalentSizePname()
769 case GL_TEXTURE_BUFFER: in get_target_dimensions()
958 target != GL_TEXTURE_BUFFER && in _mesa_GetInternalformativ()
974 target != GL_TEXTURE_BUFFER) in _mesa_GetInternalformativ()
1146 if (target == GL_TEXTURE_BUFFER || in _mesa_GetInternalformativ()
1253 if (target == GL_TEXTURE_BUFFER) in _mesa_GetInternalformativ()
1495 if (target != GL_TEXTURE_BUFFER) in _mesa_GetInternalformativ()
[all …]
Dtexobj.c207 case GL_TEXTURE_BUFFER: in _mesa_get_current_tex_object()
280 target == GL_TEXTURE_BUFFER || in _mesa_initialize_texture_object()
518 case GL_TEXTURE_BUFFER: in valid_texture_object()
659 if (t->Target == GL_TEXTURE_BUFFER) { in _mesa_test_texobj_completeness()
731 case GL_TEXTURE_BUFFER: in _mesa_test_texobj_completeness()
998 target = GL_TEXTURE_BUFFER; in _mesa_get_fallback_texture()
1177 case GL_TEXTURE_BUFFER: in invalidate_tex_image_error_check()
1572 case GL_TEXTURE_BUFFER: in _mesa_tex_target_to_index()
2076 case GL_TEXTURE_BUFFER: in _mesa_InvalidateTexSubImage()
Dshaderimage.c492 if (t->Target == GL_TEXTURE_BUFFER) { in _mesa_is_image_unit_valid()
602 t->Target != GL_TEXTURE_BUFFER) { in _mesa_BindImageTexture()
705 if (texObj->Target == GL_TEXTURE_BUFFER) { in _mesa_BindImageTextures()
Dshared.c97 GL_TEXTURE_BUFFER, in _mesa_alloc_shared_state()
Dtexstate.c387 if (texUnit->_Current->Target == GL_TEXTURE_BUFFER) in update_tex_combine()
789 GL_TEXTURE_BUFFER, in alloc_proxy_textures()
Dcopyimage.c101 case GL_TEXTURE_BUFFER: in prepare_target()
Dtexparam.c1229 case GL_TEXTURE_BUFFER: in _mesa_legal_get_tex_level_parameter_target()
1507 assert(texObj->Target == GL_TEXTURE_BUFFER); in get_tex_level_parameter_buffer()
1682 if (target == GL_TEXTURE_BUFFER) { in get_tex_level_parameteriv()
Ddebug.c56 { GL_TEXTURE_BUFFER, "GL_TEXTURE_BUFFER" }, in tex_target_name()
Dteximage.c507 case GL_TEXTURE_BUFFER: in _mesa_max_texture_levels()
562 case GL_TEXTURE_BUFFER: in _mesa_get_texture_dimensions()
587 case GL_TEXTURE_BUFFER: in _mesa_tex_target_is_layered()
632 case GL_TEXTURE_BUFFER: in _mesa_get_texture_layers()
838 case GL_TEXTURE_BUFFER: in init_teximage_fields_ms()
4024 if (texObj->Target == GL_TEXTURE_BUFFER) { in check_clear_tex_image()
/external/deqp/modules/glshared/
DglsTextureBufferCase.cpp456 gl.bindBuffer(GL_TEXTURE_BUFFER, texture.getGLBuffer()); in modifyBufferSubData()
457 gl.bufferSubData(GL_TEXTURE_BUFFER, (glw::GLsizei)offset, (glw::GLsizei)data.size(), &(data[0])); in modifyBufferSubData()
458 gl.bindBuffer(GL_TEXTURE_BUFFER, 0); in modifyBufferSubData()
479 gl.bindBuffer(GL_TEXTURE_BUFFER, texture.getGLBuffer()); in modifyMapWrite()
481 …deUint8* ptr = (deUint8*)gl.mapBufferRange(GL_TEXTURE_BUFFER, (glw::GLsizei)offset, (glw::GLsizei)… in modifyMapWrite()
489 TCU_CHECK(gl.unmapBuffer(GL_TEXTURE_BUFFER)); in modifyMapWrite()
491 gl.bindBuffer(GL_TEXTURE_BUFFER, 0); in modifyMapWrite()
514 gl.bindBuffer(GL_TEXTURE_BUFFER, texture.getGLBuffer()); in modifyMapReadWrite()
517 …deUint8* const ptr = (deUint8*)gl.mapBufferRange(GL_TEXTURE_BUFFER, (glw::GLsizei)offset, (glw:… in modifyMapReadWrite()
535 TCU_CHECK(gl.unmapBuffer(GL_TEXTURE_BUFFER)); in modifyMapReadWrite()
[all …]
DglsTextureStateQueryTests.cpp344 case GL_TEXTURE_BUFFER: return RequiredExtensions("GL_EXT_texture_buffer"); in getTextureTargetExtension()
452 target == GL_TEXTURE_BUFFER || in isCoreTextureTarget()
2441 if (target == GL_TEXTURE_BUFFER) in isLegalTesterForTarget()
2483 if (target == GL_TEXTURE_BUFFER) in createTexParamTest()
/external/deqp/framework/opengl/
DgluTexture.cpp859 gl.bindBuffer(GL_TEXTURE_BUFFER, m_glBuffer); in init()
860 gl.bufferData(GL_TEXTURE_BUFFER, (glw::GLsizei)m_refBuffer.size(), data, GL_STATIC_DRAW); in init()
861 gl.bindBuffer(GL_TEXTURE_BUFFER, 0); in init()
864 gl.bindTexture(GL_TEXTURE_BUFFER, m_glTexture); in init()
867 …gl.texBufferRange(GL_TEXTURE_BUFFER, m_format, m_glBuffer, (glw::GLintptr)m_offset, (glw::GLsizeip… in init()
869 gl.texBuffer(GL_TEXTURE_BUFFER, m_format, m_glBuffer); in init()
871 gl.bindTexture(GL_TEXTURE_BUFFER, 0); in init()
906 gl.bindBuffer(GL_TEXTURE_BUFFER, m_glBuffer); in upload()
907 …gl.bufferData(GL_TEXTURE_BUFFER, (glw::GLsizei)m_refBuffer.size(), m_refBuffer.getPtr(), GL_STATIC… in upload()
908 gl.bindBuffer(GL_TEXTURE_BUFFER, 0); in upload()
DgluStateReset.cpp628 gl.bindTexture(GL_TEXTURE_BUFFER, 0); in resetStateES()
629 gl.bindBuffer(GL_TEXTURE_BUFFER, 0); in resetStateES()
737 gl.bindBuffer(GL_TEXTURE_BUFFER, 0); in resetStateGLCore()
916 gl.bindTexture (GL_TEXTURE_BUFFER, 0); in resetStateGLCore()
917 gl.texBuffer (GL_TEXTURE_BUFFER, GL_R8, 0); in resetStateGLCore()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_validate.c55 if (tObj->Target == GL_TEXTURE_BUFFER) in intel_finalize_mipmap_tree()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_validate.c80 if (tObj->Target == GL_TEXTURE_BUFFER) in intel_finalize_mipmap_tree()
Dbrw_wm.c312 if (unit->_Current && unit->_Current->Target != GL_TEXTURE_BUFFER) { in brw_populate_sampler_prog_key_data()
Dbrw_sampler_state.c571 if (texObj->Target == GL_TEXTURE_BUFFER) in update_sampler_state()
/external/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c365 if (stObj->base.Target == GL_TEXTURE_BUFFER) { in get_sampler_view_format()
474 if (stObj->base.Target == GL_TEXTURE_BUFFER) { in st_get_texture_sampler_view_from_stobj()
Dst_cb_bufferobjects.c224 case GL_TEXTURE_BUFFER: in st_bufferobj_data()

12