Home
last modified time | relevance | path

Searched refs:GL_TEXTURE (Results 1 – 25 of 86) sorted by relevance

1234

/external/angle/src/libANGLE/
DFramebufferAttachment.cpp188 ASSERT(mType == GL_TEXTURE); in cubeMapFace()
196 ASSERT(type() == GL_TEXTURE); in mipLevel()
202 ASSERT(mType == GL_TEXTURE); in layer()
252 if (mType == GL_TEXTURE && getTextureImageIndex() != other.getTextureImageIndex()) in operator ==()
286 if (mType != GL_TEXTURE) in isBoundAsSamplerOrImage()
DFramebufferAttachment.h99 return mType == GL_TEXTURE && id() == textureId.value; in isTextureWithId()
233 ASSERT(type() == GL_TEXTURE); in getTextureImageIndex()
/external/angle/src/tests/gl_tests/gles1/
DMatrixStackTest.cpp42 glMatrixMode(GL_TEXTURE); in TEST_P()
95 glMatrixMode(GL_TEXTURE); in TEST_P()
DMatrixModeTest.cpp54 std::vector<GLenum> modes = {GL_PROJECTION, GL_MODELVIEW, GL_TEXTURE}; in TEST_P()
DTextureEnvTest.cpp146 GL_TEXTURE, // src0Rgb in TEST_P()
147 GL_TEXTURE, // src0Alpha in TEST_P()
276 GL_TEXTURE, in TEST_P()
DMatrixLoadTest.cpp85 {GL_TEXTURE, GL_TEXTURE_MATRIX}}; in TEST_P()
/external/deqp/modules/gles3/functional/
Des3fFboApiTests.cpp107 case GL_TEXTURE: return "GL_TEXTURE"; in getAttachmentParameterValueName()
379 …chmentParam(testCtx, ctx, GL_COLOR_ATTACHMENT0, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in attachmentQueryTex2DTest()
392 …achmentParam(testCtx, ctx, GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in attachmentQueryTexCubeTest()
423 …chmentParam(testCtx, ctx, GL_COLOR_ATTACHMENT0, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in deleteTex2DAttachedToBoundFboTest()
439 …achmentParam(testCtx, ctx, GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in deleteTexCubeAttachedToBoundFboTest()
471 …chmentParam(testCtx, ctx, GL_COLOR_ATTACHMENT0, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in deleteTex2DAttachedToNotBoundFboTest()
480 …chmentParam(testCtx, ctx, GL_COLOR_ATTACHMENT0, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in deleteTex2DAttachedToNotBoundFboTest()
492 …achmentParam(testCtx, ctx, GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in deleteTexCubeAttachedToNotBoundFboTest()
501 …achmentParam(testCtx, ctx, GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in deleteTexCubeAttachedToNotBoundFboTest()
Des3fFboCompletenessTests.cpp298 texCfg->internalFormat = getDefaultFormat(target, GL_TEXTURE); in build()
412 attachTargetToNew(target, GL_TEXTURE, fmt, 64, 64, builder); in build()
/external/deqp/modules/gles2/functional/
Des2fFboApiTest.cpp112 case GL_TEXTURE: return "GL_TEXTURE"; in getAttachmentParameterValueName()
431 …chmentParam(testCtx, ctx, GL_COLOR_ATTACHMENT0, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in attachmentQueryTex2DTest()
444 …achmentParam(testCtx, ctx, GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in attachmentQueryTexCubeTest()
475 …chmentParam(testCtx, ctx, GL_COLOR_ATTACHMENT0, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in deleteTex2DAttachedToBoundFboTest()
491 …achmentParam(testCtx, ctx, GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in deleteTexCubeAttachedToBoundFboTest()
523 …chmentParam(testCtx, ctx, GL_COLOR_ATTACHMENT0, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in deleteTex2DAttachedToNotBoundFboTest()
532 …chmentParam(testCtx, ctx, GL_COLOR_ATTACHMENT0, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in deleteTex2DAttachedToNotBoundFboTest()
544 …achmentParam(testCtx, ctx, GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in deleteTexCubeAttachedToNotBoundFboTest()
553 …achmentParam(testCtx, ctx, GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in deleteTexCubeAttachedToNotBoundFboTest()
Des2fFboStateQueryTests.cpp98 …tachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_TEXTURE); in test()
/external/mesa3d/src/mesa/main/
Dobjectpurge.c158 case GL_TEXTURE: in _mesa_ObjectPurgeableAPPLE()
300 case GL_TEXTURE: in _mesa_ObjectUnpurgeableAPPLE()
398 case GL_TEXTURE: in _mesa_GetObjectParameterivAPPLE()
Dtexstate.c53 { GL_TEXTURE, GL_PREVIOUS, GL_CONSTANT, GL_CONSTANT },
54 { GL_TEXTURE, GL_PREVIOUS, GL_CONSTANT, GL_CONSTANT },
234 state->SourceRGB[2] = GL_TEXTURE; in calculate_derived_texenv()
259 state->SourceRGB[2] = GL_TEXTURE; in calculate_derived_texenv()
260 state->SourceA[2] = GL_TEXTURE; in calculate_derived_texenv()
327 if (ctx->Transform.MatrixMode == GL_TEXTURE) { in active_texture()
453 case GL_TEXTURE: return TEXENV_SRC_TEXTURE; in tex_combine_translate_source()
Dmatrix.c57 case GL_TEXTURE: in get_named_matrix_stack()
276 if (ctx->Transform.MatrixMode == mode && mode != GL_TEXTURE) in _mesa_MatrixMode()
297 if (ctx->Transform.MatrixMode == GL_TEXTURE) { in push_matrix()
403 if (ctx->Transform.MatrixMode == GL_TEXTURE) { in _mesa_PopMatrix()
426 if (matrixMode == GL_TEXTURE) { in _mesa_MatrixPopEXT()
Dquerymatrix.c64 {GL_TEXTURE, GL_TEXTURE_MATRIX}, in _mesa_QueryMatrixxOES()
Dfbobject.c432 if (att->Type == GL_TEXTURE) { in remove_attachment()
437 if (att->Type == GL_TEXTURE || att->Type == GL_RENDERBUFFER_EXT) { in remove_attachment()
544 assert(att->Type == GL_TEXTURE); in set_texture_attachment()
549 att->Type = GL_TEXTURE; in set_texture_attachment()
683 if (depth->Type == GL_TEXTURE && in _mesa_has_depthstencil_combined()
904 if (att->Type == GL_TEXTURE) { in test_attachment_completeness()
1174 if (att->Type == GL_TEXTURE) { in _mesa_test_framebuffer_completeness()
4516 else if (att->Type == GL_TEXTURE) { in get_framebuffer_attachment_parameter()
4529 if (att->Type == GL_TEXTURE) { in get_framebuffer_attachment_parameter()
4541 if (att->Type == GL_TEXTURE) { in get_framebuffer_attachment_parameter()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_frag.c88 case GL_TEXTURE: in get_input_source()
139 int i = (source == GL_TEXTURE ? in get_input_arg()
Dnouveau_fbo.c303 if (color->Type == GL_TEXTURE) { in nouveau_check_framebuffer_complete()
310 if (depth->Type == GL_TEXTURE) { in nouveau_check_framebuffer_complete()
Dnv10_state_frag.c103 case GL_TEXTURE: in get_input_source()
170 int i = (source == GL_TEXTURE ? in get_input_arg()
Dnouveau_util.h192 return s == GL_TEXTURE || (s >= GL_TEXTURE0 && s <= GL_TEXTURE31); in is_texture_source()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_texblend.c222 case GL_TEXTURE: in i830SetTexEnvCombine()
309 case GL_TEXTURE: in i830SetTexEnvCombine()
/external/deqp/modules/glshared/
DglsFboCompletenessTests.cpp722 case GL_TEXTURE: in makeImage()
837 case GL_TEXTURE: in attTypeName()
1011 const RenderableParams params = { it->attPoint, GL_TEXTURE, *it2 }; in createRenderableTests()
1027 static const GLenum s_bufTypes[] = { GL_NONE, GL_RENDERBUFFER, GL_TEXTURE }; in createAttachmentTests()
/external/swiftshader/src/OpenGL/libGLES_CM/
DlibGLES_CM.cpp2114 attachmentObjectType = GL_TEXTURE; in GetFramebufferAttachmentParameterivOES()
2124 if(attachmentObjectType == GL_RENDERBUFFER_OES || attachmentObjectType == GL_TEXTURE) in GetFramebufferAttachmentParameterivOES()
2134 if(attachmentObjectType == GL_TEXTURE) in GetFramebufferAttachmentParameterivOES()
3825 case GL_TEXTURE: in TexEnvfv()
3839 case GL_TEXTURE: in TexEnvfv()
3853 case GL_TEXTURE: in TexEnvfv()
3867 case GL_TEXTURE: in TexEnvfv()
3881 case GL_TEXTURE: in TexEnvfv()
3895 case GL_TEXTURE: in TexEnvfv()
4080 case GL_TEXTURE: in TexEnvi()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_texstate.c279 case GL_TEXTURE: in r200UpdateTextureEnv()
299 case GL_TEXTURE: in r200UpdateTextureEnv()
366 case GL_TEXTURE: in r200UpdateTextureEnv()
381 case GL_TEXTURE: in r200UpdateTextureEnv()
819 case GL_TEXTURE: in r200UpdateAllTexEnv()
845 case GL_TEXTURE: in r200UpdateAllTexEnv()
/external/deqp/external/openglcts/modules/common/
DglcKHRDebugTests.cpp489 m_gl->objectLabel(GL_TEXTURE /* identifier */, invalid_id /* name */, length /* length */, in iterate()
493 m_gl->objectLabel(GL_TEXTURE /* identifier */, texture_id /* name */, max_label + 1 /* length */, in iterate()
497 m_gl->objectLabel(GL_TEXTURE /* identifier */, texture_id /* name */, -1 /* length */, in iterate()
540 m_gl->getObjectLabel(GL_TEXTURE /* identifier */, invalid_id /* name */, bufSize /* bufSize */, in iterate()
544 m_gl->getObjectLabel(GL_TEXTURE /* identifier */, invalid_id /* name */, -1 /* bufSize */, in iterate()
693 { GL_TEXTURE, createTexture, deleteTexture, "Texture" }, in iterate()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_fbo.c665 if (att->Type != GL_TEXTURE) in st_validate_attachment()
727 if (depth->Type == GL_TEXTURE && in st_validate_framebuffer()
728 stencil->Type == GL_TEXTURE && in st_validate_framebuffer()

1234