Home
last modified time | relevance | path

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

12345

/external/deqp/modules/gles2/functional/
Des2fNegativeTextureApiTests.cpp596 glCopyTexImage2D(0, 0, GL_RGB, 0, 0, 64, 64, 0); in init()
627 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
629 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
631 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
633 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
635 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
637 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, 0, GL_RGB, 0, 0, 16, 17, 0); in init()
644 glCopyTexImage2D(GL_TEXTURE_2D, -1, GL_RGB, 0, 0, 64, 64, 0); in init()
651 glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, -1, GL_RGB, 0, 0, 16, 16, 0); in init()
653 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.cpp461 ctx.glCopyTexImage2D(0, 0, GL_RGB, 0, 0, 64, 64, 0); in copyteximage2d_invalid_target()
489 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, GL_RGB, 0, 0, 16, 17, 0); in copyteximage2d_inequal_width_height_cube()
491 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, 0, GL_RGB, 0, 0, 16, 17, 0); in copyteximage2d_inequal_width_height_cube()
493 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, 0, GL_RGB, 0, 0, 16, 17, 0); in copyteximage2d_inequal_width_height_cube()
495 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, 0, GL_RGB, 0, 0, 16, 17, 0); in copyteximage2d_inequal_width_height_cube()
497 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, 0, GL_RGB, 0, 0, 16, 17, 0); in copyteximage2d_inequal_width_height_cube()
499 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, 0, GL_RGB, 0, 0, 16, 17, 0); in copyteximage2d_inequal_width_height_cube()
507 ctx.glCopyTexImage2D(GL_TEXTURE_2D, -1, GL_RGB, 0, 0, 64, 64, 0); in copyteximage2d_neg_level()
509 ctx.glCopyTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, -1, GL_RGB, 0, 0, 16, 16, 0); in copyteximage2d_neg_level()
511 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/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DTextureUtil.java207 format = GL_RGB; in uploadTexture()
316 format = GL_RGB; in uploadTexture()
321 format = GL_RGB; in uploadTexture()
326 format = GL_RGB; in uploadTexture()
331 format = GL_RGB; in uploadTexture()
336 format = GL_RGB; in uploadTexture()
341 format = GL_RGB; in uploadTexture()
346 format = GL_RGB; in uploadTexture()
356 format = GL_RGB; in uploadTexture()
371 format = GL_RGB; in uploadTexture()
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
DTextureUtil.java31 return GL10.GL_RGB; in convertTextureFormat()
172 format = GLES20.GL_RGB; in uploadTexture()
181 format = GLES20.GL_RGB; in uploadTexture()
185 format = GLES20.GL_RGB; in uploadTexture()
194 format = GLES20.GL_RGB; in uploadTexture()
198 format = GLES20.GL_RGB; in uploadTexture()
/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/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/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/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/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()
/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/swrast/
Ds_zoom.c179 if (format == GL_RGBA || format == GL_RGB) { in zoom_span()
242 else if (format == GL_RGB) { in zoom_span()
297 if (format == GL_RGBA || format == GL_RGB) { in zoom_span()
343 zoom_span(ctx, imgX, imgY, span, rgb, GL_RGB); in _swrast_write_zoomed_rgb_span()

12345