HomeSort by relevance Sort by last modified time
    Searched refs:InternalFormat (Results 1 - 25 of 44) sorted by null

1 2

  /external/mesa3d/src/mesa/state_tracker/
st_cb_fbo.c 65 GLenum internalFormat,
76 if (internalFormat == GL_RGBA16_SNORM) {
85 format = st_choose_renderbuffer_format(st, internalFormat, 0);
111 GLenum internalFormat,
125 strb->Base._BaseFormat = _mesa_base_fbo_format(ctx, internalFormat);
129 return st_renderbuffer_alloc_sw_storage(ctx, rb, internalFormat,
142 internalFormat = _mesa_get_linear_internalformat(internalFormat);
165 format = st_choose_renderbuffer_format(st, internalFormat, i);
173 format = st_choose_renderbuffer_format(st, internalFormat, 0)
    [all...]
st_cb_eglimage.c 86 strb->Base.InternalFormat = strb->Base._BaseFormat;
104 GLenum internalFormat;
109 internalFormat = GL_RGBA;
111 internalFormat = GL_RGB;
143 ps->width, ps->height, 1, 0, internalFormat,
st_sampler_view.c 295 if (firstImage->InternalFormat != GL_DEPTH_COMPONENT &&
296 firstImage->InternalFormat != GL_DEPTH_STENCIL &&
297 firstImage->InternalFormat != GL_STENCIL_INDEX)
  /external/mesa3d/src/mesa/main/
genmipmap.c 79 GLenum internalformat)
92 return internalformat == GL_RGBA || internalformat == GL_RGB ||
93 internalformat == GL_LUMINANCE_ALPHA ||
94 internalformat == GL_LUMINANCE || internalformat == GL_ALPHA ||
95 internalformat == GL_BGRA_EXT ||
96 (_mesa_is_es3_color_renderable(internalformat) &&
97 _mesa_is_es3_texture_filterable(ctx, internalformat));
100 return (!_mesa_is_enum_format_integer(internalformat) &
    [all...]
renderbuffer.c 70 rb->InternalFormat = GL_RGBA4;
72 rb->InternalFormat = GL_RGBA;
copyimage.c 65 GLenum *internalFormat,
132 *internalFormat = rb->InternalFormat;
208 *internalFormat = (*tex_image)->InternalFormat;
573 "glCopyImageSubData(internalFormat mismatch)");
blit.c 147 * is InternalFormat.
151 readFormat = _mesa_get_nongeneric_internalformat(readRb->InternalFormat);
152 drawFormat = _mesa_get_nongeneric_internalformat(drawRb->InternalFormat);
shaderimage.c 503 tex_format = _mesa_get_shader_image_format(img->InternalFormat);
725 tex_format = image->InternalFormat;
teximage.c 773 img->InternalFormat = 0;
799 * \param internalFormat internal format.
811 GLint border, GLenum internalFormat,
822 img->_BaseFormat = _mesa_base_tex_format( ctx, internalFormat );
824 img->InternalFormat = internalFormat;
920 GLint border, GLenum internalFormat,
924 internalFormat, format, 0, GL_TRUE);
    [all...]
textureview.c 252 _mesa_texture_view_lookup_view_class(const struct gl_context *ctx, GLenum internalformat)
257 if (compatible_internal_formats[i].internal_format == internalformat)
265 == internalformat)
273 == internalformat)
280 == internalformat)
288 == internalformat)
307 GLenum internalFormat, mesa_format texFormat)
331 0, internalFormat, texFormat);
523 GLenum internalformat,
542 _mesa_enum_to_string(internalformat),
    [all...]
  /external/deqp/external/openglcts/modules/gles31/
es31cTextureGatherTests.cpp 480 GLenum internal_format = InternalFormat();
512 GLenum internal_format = InternalFormat();
546 GLenum internal_format = InternalFormat();
581 GLenum internal_format = InternalFormat();
625 GLenum internal_format = InternalFormat();
673 GLenum internal_format = InternalFormat();
709 GLenum internal_format = InternalFormat();
714 GLenum tex_type = InternalFormat() == GL_SRGB8_ALPHA8 ? GL_UNSIGNED_BYTE : GL_FLOAT;
879 virtual GLenum InternalFormat()
    [all...]
  /external/deqp/external/openglcts/modules/gl/
gl4cTextureGatherTests.cpp 534 GLenum internal_format = InternalFormat();
572 GLenum internal_format = InternalFormat();
605 GLenum internal_format = InternalFormat();
654 GLenum internal_format = InternalFormat();
695 GLenum internal_format = InternalFormat();
733 GLenum internal_format = InternalFormat();
776 GLenum internal_format = InternalFormat();
827 GLenum internal_format = InternalFormat();
    [all...]
gl4cDirectStateAccessTexturesTests.cpp 221 glw::GLenum Reference::InternalFormat<glw::GLbyte, 1, false>()
227 glw::GLenum Reference::InternalFormat<glw::GLbyte, 2, false>()
233 glw::GLenum Reference::InternalFormat<glw::GLbyte, 3, false>()
239 glw::GLenum Reference::InternalFormat<glw::GLbyte, 4, false>()
245 glw::GLenum Reference::InternalFormat<glw::GLubyte, 1, false>()
251 glw::GLenum Reference::InternalFormat<glw::GLubyte, 2, false>()
257 glw::GLenum Reference::InternalFormat<glw::GLubyte, 3, false>()
263 glw::GLenum Reference::InternalFormat<glw::GLubyte, 4, false>()
269 glw::GLenum Reference::InternalFormat<glw::GLshort, 1, false>()
275 glw::GLenum Reference::InternalFormat<glw::GLshort, 2, false>(
4280 gl.texImage1D(TextureTarget<1>(), 0, internalformat, s_texture_width, 0, GL_RGBA, GL_UNSIGNED_BYTE, s_texture_data); local
4296 gl.texImage2D(TextureTarget<2>(), 0, internalformat, s_texture_width, s_texture_height, 0, GL_RGBA, local
4313 gl.texImage3D(TextureTarget<3>(), 0, internalformat, s_texture_width, s_texture_height, s_texture_depth, 0, GL_RGBA, local
4330 gl.compressedTexImage1D(TextureTarget<1>(), 0, internalformat, s_texture_width, 0, m_reference_size, local
4347 gl.compressedTexImage2D(TextureTarget<2>(), 0, internalformat, s_texture_width, s_texture_height, 0, local
4364 gl.compressedTexImage3D(TextureTarget<3>(), 0, internalformat, s_texture_width, s_texture_height, s_texture_depth, local
4590 gl.texImage1D(TextureTarget<1>(), 0, internalformat, s_texture_width * s_block_count, 0, GL_RGBA, GL_UNSIGNED_BYTE, local
4610 gl.texImage2D(TextureTarget<2>(), 0, internalformat, s_texture_width * s_block_2d_size_x, local
4630 gl.texImage3D(TextureTarget<3>(), 0, internalformat, s_texture_width * s_block_3d_size, local
    [all...]
  /external/deqp/modules/gles3/functional/
es3fInternalFormatQueryTests.cpp 47 SamplesCase(Context& context, const char* name, const char* description, GLenum internalFormat, bool isIntegerInternalFormat)
49 , m_internalFormat (internalFormat)
128 SamplesBufferSizeCase(Context& context, const char* name, const char* description, GLenum internalFormat)
130 , m_internalFormat (internalFormat)
172 const struct InternalFormat
180 // \note These unsized formats seem to allowed by the spec, but they are not useful in any way. (You can't create a renderbuffer with such internalFormat)
229 const InternalFormat internalFormat = internalFormats[ndx];
231 addChild(new SamplesCase(m_context, (std::string(internalFormat.name) + "_samples").c_str(), "SAMPLES and NUM_SAMPLE_COUNTS", internalFormat.format, internalFormat.isIntegerFormat))
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_renderbuffer.c 57 GLenum internalFormat,
63 switch (internalFormat) {
143 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat);
146 internalFormat == GL_RGBA16_SNORM &&
155 /* the internalFormat should have been error checked long ago */
274 rb->InternalFormat = GL_RGBA;
313 rb->InternalFormat = GL_DEPTH_COMPONENT16;
316 rb->InternalFormat = GL_DEPTH_COMPONENT24;
319 rb->InternalFormat = GL_DEPTH_COMPONENT32;
358 rb->InternalFormat = GL_STENCIL_INDEX8
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i915/
intel_tex_copy.c 55 const GLenum internalFormat = intelImage->base.Base.InternalFormat;
62 __func__, intelImage->mt, irb, internalFormat);
intel_fbo.c 156 intel_renderbuffer_format(struct gl_context * ctx, GLenum internalFormat)
160 switch (internalFormat) {
168 internalFormat,
191 GLenum internalFormat,
201 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat);
206 _mesa_enum_to_string(internalFormat),
226 GLenum internalFormat,
229 rb->Format = intel_renderbuffer_format(ctx, internalFormat);
230 return intel_alloc_private_renderbuffer_storage(ctx, rb, internalFormat, width, height);
273 rb->InternalFormat = image->internal_format
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
intel_tex_copy.c 53 const GLenum internalFormat = intelImage->base.Base.InternalFormat;
76 __func__, intelImage->mt, irb, internalFormat);
brw_wm.c 281 gen6_gather_workaround(GLenum internalformat)
283 switch (internalformat) {
340 switch (img->InternalFormat) {
378 key->gen6_gather_wa[s] = gen6_gather_workaround(img->InternalFormat);
intel_fbo.c 249 intel_renderbuffer_format(struct gl_context * ctx, GLenum internalFormat)
253 switch (internalFormat) {
261 internalFormat,
281 GLenum internalFormat,
298 _mesa_enum_to_string(internalFormat),
321 GLenum internalFormat,
324 rb->Format = intel_renderbuffer_format(ctx, internalFormat);
325 return intel_alloc_private_renderbuffer_storage(ctx, rb, internalFormat, width, height);
390 rb->InternalFormat = image->internal_format;
409 GLenum internalFormat, GLuint width, GLuint height
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_fbo.c 463 GLenum internalFormat,
476 switch (internalFormat) {
532 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat);
592 rb->InternalFormat = image->internal_format;
608 GLenum internalFormat, GLuint width, GLuint height)
613 rb->InternalFormat = internalFormat;
625 GLenum internalFormat, GLuint width, GLuint height)
657 rb->InternalFormat = _mesa_get_format_base_format(format);
741 rb->InternalFormat = texImage->InternalFormat
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nouveau_fbo.c 37 set_renderbuffer_format(struct gl_renderbuffer *rb, GLenum internalFormat)
41 rb->InternalFormat = internalFormat;
43 switch (internalFormat) {
85 GLenum internalFormat,
90 if (!set_renderbuffer_format(rb, internalFormat))
173 GLenum internalFormat,
176 if (!set_renderbuffer_format(rb, internalFormat))
  /external/mesa3d/src/mesa/drivers/dri/swrast/
swrast.c 87 uint32_t internalFormat;
92 internalFormat = (texture_format == __DRI_TEXTURE_FORMAT_RGB ? 3 : 4);
108 w, h, 1, 0, internalFormat, texFormat);
373 GLenum internalFormat, GLuint width, GLuint height)
380 (void) internalFormat;
392 GLenum internalFormat, GLuint width, GLuint height)
400 swrast_alloc_front_storage(ctx, rb, internalFormat, width, height);
438 rb->InternalFormat = GL_RGBA;
444 rb->InternalFormat = GL_RGB;
450 rb->InternalFormat = GL_RGB
    [all...]
  /external/mesa3d/src/mesa/drivers/x11/
xm_buffer.c 254 GLenum internalFormat, GLuint width, GLuint height)
268 rb->InternalFormat = internalFormat;
280 GLenum internalFormat, GLuint width, GLuint height)
290 (void) xmesa_alloc_front_storage(ctx, rb, internalFormat, width, height);
337 xrb->Base.Base.InternalFormat = GL_RGBA;
  /external/deqp/modules/gles31/functional/
es31fInternalFormatQueryTests.cpp 51 FormatSamplesCase (Context& ctx, const char* name, const char* desc, glw::GLenum texTarget, glw::GLenum internalFormat, FormatType type);
61 FormatSamplesCase::FormatSamplesCase (Context& ctx, const char* name, const char* desc, glw::GLenum target, glw::GLenum internalFormat, FormatType type)
64 , m_internalFormat (internalFormat)
372 static const struct InternalFormat

Completed in 352 milliseconds

1 2