Home
last modified time | relevance | path

Searched refs:GL_RGB (Results 1 – 25 of 117) sorted by relevance

12345

/external/deqp/modules/gles2/functional/
Des2fNegativeTextureApiTests.cpp598 glCopyTexImage2D(0, 0, GL_RGB, 0, 0, 64, 64, 0); in init()
629 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
631 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
633 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
635 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
637 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
639 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
646 glCopyTexImage2D(GL_TEXTURE_2D, -1, GL_RGB, 0, 0, 64, 64, 0); in init()
653 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, -1, GL_RGB, 0, 0, 16, 16, 0); in init()
655 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, -1, GL_RGB, 0, 0, 16, 16, 0); in init()
[all …]
Des2fFboStateQueryTests.cpp149 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 64, 64, 0, GL_RGB, GL_UNSIGNED_BYTE, DE_NULL); in test()
195 glTexImage2D(faces[ndx], 0, GL_RGB, 64, 64, 0, GL_RGB, GL_UNSIGNED_BYTE, DE_NULL); in test()
Des2fTextureSpecificationTests.cpp70 case GL_RGB: return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in mapGLUnsizedInternalFormat()
1545 { "rgb565", GL_RGB, GL_UNSIGNED_SHORT_5_6_5 }, in init()
1546 { "rgb888", GL_RGB, GL_UNSIGNED_BYTE }, in init()
1611 …alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_rgb888_39_1", "", GL_RGB, GL_UNSIG… in init()
1612 …alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_rgb888_39_2", "", GL_RGB, GL_UNSIG… in init()
1613 …alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_rgb888_39_4", "", GL_RGB, GL_UNSIG… in init()
1614 …alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_rgb888_39_8", "", GL_RGB, GL_UNSIG… in init()
1629 …alignGroup->addChild(new TexImageCubeAlignCase (m_context, "cube_rgb888_39_1", "", GL_RGB, GL_U… in init()
1630 …alignGroup->addChild(new TexImageCubeAlignCase (m_context, "cube_rgb888_39_2", "", GL_RGB, GL_U… in init()
1631 …alignGroup->addChild(new TexImageCubeAlignCase (m_context, "cube_rgb888_39_4", "", GL_RGB, GL_U… in init()
[all …]
Des2fFboRenderTest.cpp268 case GL_RGB: return "rgb"; in getFormatName()
768 createMetaballsTex2D(ctx, metaballsTex, GL_RGB, GL_UNSIGNED_BYTE, 64, 64); in render()
769 createQuadsTex2D(ctx, quadsTex, GL_RGB, GL_UNSIGNED_BYTE, 64, 64); in render()
868 createMetaballsTex2D(context, metaballsTex, GL_RGB, GL_UNSIGNED_BYTE, 64, 64); in render()
1119 createQuadsTex2D(ctx, quadsTex, GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in render()
1120 createMetaballsTex2D(ctx, metaballsTex, GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in render()
1198 createQuadsTex2D(context, quadsTex, GL_RGB, GL_UNSIGNED_BYTE, 64, 64); in render()
1442 createMetaballsTex2D(context, metaballsTex, GL_RGB, GL_UNSIGNED_BYTE, 64, 64); in render()
1443 createQuadsTex2D(context, quadsTex, GL_RGB, GL_UNSIGNED_BYTE, 64, 64); in render()
1537 (config.colorbufferFormat == GL_RGB || config.colorbufferFormat == GL_RGBA) && in isConfigSupported()
[all …]
Des2fFboCompletenessTests.cpp57 GLS_UNSIZED_FORMATKEY(GL_RGB, GL_UNSIGNED_SHORT_5_6_5)
89 GLS_UNSIZED_FORMATKEY(GL_RGB, GL_FLOAT),
96 GLS_UNSIZED_FORMATKEY(GL_RGB, GL_HALF_FLOAT_OES),
/external/deqp/modules/gles3/functional/
Des3fNegativeTextureApiTests.cpp536 glCopyTexImage2D(0, 0, GL_RGB, 0, 0, 64, 64, 0); in init()
562 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
564 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
566 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
568 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
570 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
572 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
579 glCopyTexImage2D(GL_TEXTURE_2D, -1, GL_RGB, 0, 0, 64, 64, 0); in init()
581 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, -1, GL_RGB, 0, 0, 16, 16, 0); in init()
583 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, -1, GL_RGB, 0, 0, 16, 16, 0); in init()
[all …]
/external/deqp/modules/gles31/functional/
Des31fNegativeTextureApiTests.cpp620 ctx.glCopyTexImage2D(0, 0, GL_RGB, 0, 0, 64, 64, 0); in copyteximage2d_invalid_target()
648 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, GL_RGB, 0, 0, 16, 17, 0); in copyteximage2d_inequal_width_height_cube()
650 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, 0, GL_RGB, 0, 0, 16, 17, 0); in copyteximage2d_inequal_width_height_cube()
652 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, 0, GL_RGB, 0, 0, 16, 17, 0); in copyteximage2d_inequal_width_height_cube()
654 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, 0, GL_RGB, 0, 0, 16, 17, 0); in copyteximage2d_inequal_width_height_cube()
656 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, 0, GL_RGB, 0, 0, 16, 17, 0); in copyteximage2d_inequal_width_height_cube()
658 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, 0, GL_RGB, 0, 0, 16, 17, 0); in copyteximage2d_inequal_width_height_cube()
666 ctx.glCopyTexImage2D(GL_TEXTURE_2D, -1, GL_RGB, 0, 0, 64, 64, 0); in copyteximage2d_neg_level()
668 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, -1, GL_RGB, 0, 0, 16, 16, 0); in copyteximage2d_neg_level()
670 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, -1, GL_RGB, 0, 0, 16, 16, 0); in copyteximage2d_neg_level()
[all …]
/external/mesa3d/src/mesa/main/
Dformats.c130 GL_RGB, /* BaseFormat */
139 GL_RGB, /* BaseFormat */
148 GL_RGB, /* BaseFormat */
157 GL_RGB, /* BaseFormat */
166 GL_RGB, /* BaseFormat */
175 GL_RGB, /* BaseFormat */
184 GL_RGB, /* BaseFormat */
193 GL_RGB, /* BaseFormat */
292 GL_RGB, /* BaseFormat */
499 GL_RGB,
[all …]
Dglformats.c196 case GL_RGB: in _mesa_components_in_format()
248 if (format == GL_RGB || format == GL_BGR || in _mesa_bytes_per_pixel()
255 if (format == GL_RGB || format == GL_BGR || in _mesa_bytes_per_pixel()
290 if (format == GL_RGB) in _mesa_bytes_per_pixel()
295 if (format == GL_RGB) in _mesa_bytes_per_pixel()
490 case GL_RGB: in _mesa_is_color_format()
866 case GL_RGB: in _mesa_base_format_to_integer_format()
900 base_format == GL_RGB || in _mesa_base_format_has_channel()
910 base_format == GL_RGB || in _mesa_base_format_has_channel()
919 if (base_format == GL_RGB || in _mesa_base_format_has_channel()
[all …]
Dtexcompress_cpal.c53 { GL_PALETTE4_RGB8_OES, GL_RGB, GL_UNSIGNED_BYTE, 16, 3 },
55 { GL_PALETTE4_R5_G6_B5_OES, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, 16, 2 },
58 { GL_PALETTE8_RGB8_OES, GL_RGB, GL_UNSIGNED_BYTE, 256, 3 },
60 { GL_PALETTE8_R5_G6_B5_OES, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, 256, 2 },
Dtexstore.c100 case GL_RGB: in can_swizzle()
241 case GL_RGB: return IDX_RGB; in get_map_idx()
338 logicalBaseFormat == GL_RGB || in _mesa_make_temp_float_image()
348 textureBaseFormat == GL_RGB || in _mesa_make_temp_float_image()
387 ASSERT(textureBaseFormat == GL_RGB || textureBaseFormat == GL_RGBA || in _mesa_make_temp_float_image()
449 logicalBaseFormat == GL_RGB || in make_temp_uint_image()
458 textureBaseFormat == GL_RGB || in make_temp_uint_image()
496 ASSERT(textureBaseFormat == GL_RGB || textureBaseFormat == GL_RGBA || in make_temp_uint_image()
576 logicalBaseFormat == GL_RGB || in _mesa_make_temp_ubyte_image()
585 textureBaseFormat == GL_RGB || in _mesa_make_temp_ubyte_image()
[all …]
Dteximage.c114 return (ctx->API != API_OPENGL_CORE) ? GL_RGB : -1; in _mesa_base_tex_format()
115 case GL_RGB: in _mesa_base_tex_format()
123 return GL_RGB; in _mesa_base_tex_format()
153 return GL_RGB; in _mesa_base_tex_format()
181 return GL_RGB; in _mesa_base_tex_format()
191 return GL_RGB; in _mesa_base_tex_format()
202 return GL_RGB; in _mesa_base_tex_format()
216 return GL_RGB; in _mesa_base_tex_format()
240 return GL_RGB; in _mesa_base_tex_format()
278 return GL_RGB; in _mesa_base_tex_format()
[all …]
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c165 fb_format = GL_RGB; in swrastFillInModes()
169 fb_format = GL_RGB; in swrastFillInModes()
356 rb->InternalFormat = GL_RGB; in swrast_new_renderbuffer()
357 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer()
362 rb->InternalFormat = GL_RGB; in swrast_new_renderbuffer()
363 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer()
368 rb->InternalFormat = GL_RGB; in swrast_new_renderbuffer()
369 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer()
640 if (internalFormat == GL_RGB) in swrastChooseTextureFormat()
/external/deqp/modules/gles2/performance/
Des2pTextureFormatTests.cpp60 { "rgb565", GL_RGB, GL_UNSIGNED_SHORT_5_6_5 }, in init()
63 { "rgb888", GL_RGB, GL_UNSIGNED_BYTE }, in init()
Des2pTextureCountTests.cpp60 { "rgb565", GL_RGB, GL_UNSIGNED_SHORT_5_6_5 }, in init()
61 { "rgb888", GL_RGB, GL_UNSIGNED_BYTE }, in init()
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DGlRectDrawerTest.java112 GLES20.glTexImage2D(GLES20.GL_TEXTURE_2D, 0, GLES20.GL_RGB, WIDTH, in testRgbRendering()
113 HEIGHT, 0, GLES20.GL_RGB, GLES20.GL_UNSIGNED_BYTE, rgbPlane); in testRgbRendering()
250 GLES20.glTexImage2D(GLES20.GL_TEXTURE_2D, 0, GLES20.GL_RGB, WIDTH,
251 HEIGHT, 0, GLES20.GL_RGB, GLES20.GL_UNSIGNED_BYTE, rgbPlane);
/external/deqp/modules/egl/
DteglImageFormatTests.cpp1104 addCreateTexture(prefix + "rgb8", EGL_GL_TEXTURE_2D_KHR, GL_RGB, GL_RGB, GL_UNSIGNED_BYTE); in addCreateTexture2DActions()
1105 …addCreateTexture(prefix + "rgb565", EGL_GL_TEXTURE_2D_KHR, GL_RGB, GL_RGB, GL_UNSIGNED_SHORT_5_… in addCreateTexture2DActions()
1168 case GL_RGB: in isDepthFormat()
1193 case GL_RGB: in isStencilFormat()
1262 addCreateTextureCubemapActions("_rgb", GL_RGB, GL_RGB, GL_UNSIGNED_BYTE); in init()
1299 case GL_RGB: in isCompatibleFormats()
1303 return createFormat == GL_RGB in isCompatibleFormats()
1312 return createFormat == GL_RGB in isCompatibleFormats()
1446 addCreateTextureCubemapActions("_rgb8", GL_RGB, GL_RGB, GL_UNSIGNED_BYTE); in init()
1505 …x_subimage_rgb8", MovePtr<Action>(new GLES2ImageApi::ModifyTexSubImage(GL_RGB, GL_UNSIGNED_BYTE)… in addModifyActions()
[all …]
DteglImageTests.cpp304 case GL_RGB: return "rgb"; in getStorageName()
515 …addChild(new Image::CreateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_RGB, GL_RGB, GL_UNSIG… in init()
519 …eateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR, GL_RGB, GL_RGB, GL_UNSIGNED_B… in init()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_fbo.c45 case GL_RGB: in set_renderbuffer_format()
47 rb->_BaseFormat = GL_RGB; in set_renderbuffer_format()
58 rb->_BaseFormat = GL_RGB; in set_renderbuffer_format()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_eglimage.c67 base_format = GL_RGB; in st_pipe_format_to_base_format()
114 internalFormat = GL_RGB; in st_bind_surface()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_screen.c222 image->internal_format = GL_RGB; in radeon_create_image_from_name()
227 image->internal_format = GL_RGB; in radeon_create_image_from_name()
322 image->internal_format = GL_RGB; in radeon_create_image()
327 image->internal_format = GL_RGB; in radeon_create_image()
742 fb_format[0] = GL_RGB; in radeonInitScreen2()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_screen.c222 image->internal_format = GL_RGB; in radeon_create_image_from_name()
227 image->internal_format = GL_RGB; in radeon_create_image_from_name()
322 image->internal_format = GL_RGB; in radeon_create_image()
327 image->internal_format = GL_RGB; in radeon_create_image()
742 fb_format[0] = GL_RGB; in radeonInitScreen2()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_image.c119 return (format == GL_RGB && type == GL_UNSIGNED_SHORT_5_6_5); in check_pbo_format()
301 internalFormat = GL_RGB; in intelSetTexBuffer2()
309 internalFormat = GL_RGB; in intelSetTexBuffer2()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_image.c119 return (format == GL_RGB && type == GL_UNSIGNED_SHORT_5_6_5); in check_pbo_format()
301 internalFormat = GL_RGB; in intelSetTexBuffer2()
309 internalFormat = GL_RGB; in intelSetTexBuffer2()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_image.c119 return (format == GL_RGB && type == GL_UNSIGNED_SHORT_5_6_5); in check_pbo_format()
301 internalFormat = GL_RGB; in intelSetTexBuffer2()
309 internalFormat = GL_RGB; in intelSetTexBuffer2()

12345