Home
last modified time | relevance | path

Searched refs:glTarget (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/sdk/android/api/org/webrtc/
DVideoFrame.java101 private final int glTarget; field in VideoFrame.TextureBuffer.Type
103 private Type(final int glTarget) { in Type() argument
104 this.glTarget = glTarget; in Type()
108 return glTarget; in getGlTarget()
/external/OpenCL-CTS/test_conformance/gl/
Dtest_images_getinfo_common.cpp29 GLenum glTarget, GLuint glTexture, size_t imageWidth, size_t imageHeight, in test_image_info() argument
39 glTarget, 0, glTexture, &error ); in test_image_info()
44 glGetTexLevelParameteriv( glTarget, 0, GL_TEXTURE_INTERNAL_FORMAT, &fmt ); in test_image_info()
55 switch (glTarget) { in test_image_info()
86 return CheckGLObjectInfo(streams[0], object_type, glTexture, glTarget, 0); in test_image_info()
Dtest_renderbuffer.cpp67 …erbuffer_read_image( cl_context context, cl_command_queue queue, GLenum glTarget, GLuint glRenderb… in test_attach_renderbuffer_read_image() argument
80 return test_cl_image_read( context, queue, glTarget, image, imageWidth, in test_attach_renderbuffer_read_image()
268 …ffer_write_to_image( cl_context context, cl_command_queue queue, GLenum glTarget, GLuint glRenderb… in test_attach_renderbuffer_write_to_image() argument
281 return test_cl_image_write( context, queue, glTarget, image, imageWidth, in test_attach_renderbuffer_write_to_image()
Dtest_images_write_common.cpp404 GLenum glTarget, GLuint glTexture, size_t width, size_t height, size_t depth, in test_image_write() argument
412 glTarget, 0, glTexture, &error ); in test_image_write()
417 glGetTexLevelParameteriv( glTarget, 0, GL_TEXTURE_INTERNAL_FORMAT, &fmt ); in test_image_write()
423 return test_cl_image_write( context, queue, glTarget, image, in test_image_write()
/external/OpenCL-CTS/test_conformance/gles/
Dtest_images_3D_info.cpp19 static int test_image_read( cl_context context, cl_command_queue queue, GLenum glTarget, GLuint glT… in test_image_read() argument
27 …streams[ 0 ] = (*clCreateFromGLTexture_ptr)( context, CL_MEM_READ_ONLY, glTarget, 0, glTexture, &e… in test_image_read()
33 glGetTexLevelParameteriv( glTarget, 0, GL_TEXTURE_INTERNAL_FORMAT, &fmt ); in test_image_read()
43 return CheckGLObjectInfo(streams[0], CL_GL_OBJECT_TEXTURE3D, glTexture, glTarget, 0); in test_image_read()
Dtest_images_2D_info.cpp20 static int test_image_read( cl_context context, cl_command_queue queue, GLenum glTarget, GLuint glT… in test_image_read() argument
26 …clMemWrapper image = (*clCreateFromGLTexture_ptr)( context, CL_MEM_READ_ONLY, glTarget, 0, glTextu… in test_image_read()
32 glGetTexLevelParameteriv( glTarget, 0, GL_TEXTURE_INTERNAL_FORMAT, &fmt ); in test_image_read()
42 return CheckGLObjectInfo(image, CL_GL_OBJECT_TEXTURE2D, glTexture, glTarget, 0); in test_image_read()
Dtest_images_3D.cpp33 static int test_image_read( cl_context context, cl_command_queue queue, GLenum glTarget, GLuint glT… in test_image_read() argument
48 …streams[ 0 ] = (*clCreateFromGLTexture_ptr)( context, CL_MEM_READ_ONLY, glTarget, 0, glTexture, &e… in test_image_read()
54 glGetTexLevelParameteriv( glTarget, 0, GL_TEXTURE_INTERNAL_FORMAT, &fmt ); in test_image_read()
Dtest_images_2D.cpp121 static int test_image_read( cl_context context, cl_command_queue queue, GLenum glTarget, GLuint glT… in test_image_read() argument
126 …clMemWrapper image = (*clCreateFromGLTexture_ptr)( context, CL_MEM_READ_ONLY, glTarget, 0, glTextu… in test_image_read()
132 glGetTexLevelParameteriv( glTarget, 0, GL_TEXTURE_INTERNAL_FORMAT, &fmt ); in test_image_read()
467 int test_image_write( cl_context context, cl_command_queue queue, GLenum glTarget, GLuint glTexture, in test_image_write() argument
473 …clMemWrapper image = (*clCreateFromGLTexture_ptr)( context, CL_MEM_WRITE_ONLY, glTarget, 0, glText… in test_image_write()
479 glGetTexLevelParameteriv( glTarget, 0, GL_TEXTURE_INTERNAL_FORMAT, &fmt ); in test_image_write()
Dtest_renderbuffer.cpp29 …erbuffer_read_image( cl_context context, cl_command_queue queue, GLenum glTarget, GLuint glRenderb… in test_attach_renderbuffer_read_image() argument
202 …ffer_write_to_image( cl_context context, cl_command_queue queue, GLenum glTarget, GLuint glRenderb… in test_attach_renderbuffer_write_to_image() argument
/external/deqp/modules/glshared/
DglsFboUtil.cpp312 static GLenum glTarget (const Image& img) in glTarget() function
352 gl.texImage3D(glTarget(cfg), level, cfg.internalFormat.format, w, h, depth, 0, in glInitLayered()
363 glInitFlat(*t2d, glTarget(*t2d), gl); in glInit()
409 gl.bindTexture(glTarget(*tex), ret); in glCreate()
411 gl.bindTexture(glTarget(*tex), 0); in glCreate()
701 logField(log, "Type", glu::getTextureTargetName(glTarget(tex))); in logTexture()
/external/OpenCL-CTS/test_common/gl/
Dhelpers.cpp755 void * ReadGLTexture( GLenum glTarget, GLuint glTexture, GLuint glBuf, GLint width, in ReadGLTexture() argument
761 glBindTexture(get_base_gl_target(glTarget), glTexture); in ReadGLTexture()
764 glGetTexLevelParameteriv( glTarget, 0, GL_TEXTURE_WIDTH, &realWidth ); in ReadGLTexture()
765 glGetTexLevelParameteriv( glTarget, 0, GL_TEXTURE_HEIGHT, &realHeight ); in ReadGLTexture()
766 glGetTexLevelParameteriv( glTarget, 0, GL_TEXTURE_DEPTH, &realDepth ); in ReadGLTexture()
771 glGetTexLevelParameteriv( glTarget, 0, GL_TEXTURE_INTERNAL_FORMAT, &realInternalFormat ); in ReadGLTexture()
776 GetGLTargetName( glTarget), in ReadGLTexture()
821 if (get_base_gl_target(glTarget) != GL_TEXTURE_BUFFER) { in ReadGLTexture()
834 if (get_base_gl_target(glTarget) != GL_TEXTURE_BUFFER) { in ReadGLTexture()
839 glGetTexImage( glTarget, 0, readBackFormat, readBackType, outBuffer ); in ReadGLTexture()
[all …]
Dhelpers.h314 extern void * ReadGLTexture( GLenum glTarget, GLuint glTexture, GLuint glBuf, GLint width,
/external/OpenCL-CTS/test_common/gles/
Dhelpers.cpp266 void * ReadGLTexture( GLenum glTarget, GLuint glTexture, in ReadGLTexture() argument
272 glBindTexture(get_base_gl_target(glTarget), glTexture); in ReadGLTexture()
287 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, glTarget, glTexture, 0); in ReadGLTexture()
300 GetGLTargetName( glTarget), in ReadGLTexture()
Dhelpers.h199 extern void * ReadGLTexture( GLenum glTarget, GLuint glTexture,
/external/skqp/src/gpu/gl/
DGrGLCreateNullInterface.cpp696 inline int static GetBufferIndex(GrGLenum glTarget) { in GetBufferIndex() argument
697 switch (glTarget) { in GetBufferIndex()
/external/deqp/modules/gles31/functional/
Des31fCopyImageTests.cpp768 const deUint32 glTarget = (target == GL_TEXTURE_CUBE_MAP ? mapFaceNdxToFace(faceNdx) : target); in genericTexImage() local
778 …gl.compressedTexImage2D(glTarget, level, format, (glw::GLsizei)size.x(), (glw::GLsizei)size.y(), 0… in genericTexImage()
783 …gl.compressedTexImage3D(glTarget, level, format, (glw::GLsizei)size.x(), (glw::GLsizei)size.y(), (… in genericTexImage()
800 …gl.texImage2D(glTarget, level, format, (glw::GLsizei)size.x(), (glw::GLsizei)size.y(), 0, glFormat… in genericTexImage()
805 …gl.texImage3D(glTarget, level, format, (glw::GLsizei)size.x(), (glw::GLsizei)size.y(), (glw::GLsiz… in genericTexImage()