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

1 2 3 4 5 6 7

  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_formatquery.c 32 GLenum internalFormat, int samples[16])
37 (void) internalFormat;
54 if (internalFormat == GL_RGBA32F && _mesa_is_gles(ctx)) {
60 * internalformat is RGBA16F, R32F, RG32F, or RGBA32F."
86 GLenum internalFormat, GLenum pname, GLint *params)
95 brw_query_samples_for_format(ctx, target, internalFormat, params);
102 num_samples = brw_query_samples_for_format(ctx, target, internalFormat,
112 _mesa_query_internal_format_default(ctx, target, internalFormat, pname,
  /external/mesa3d/src/mesa/main/
texcompress_cpal.h 33 GLenum internalFormat,
38 _mesa_cpal_compressed_size(int level, GLenum internalFormat,
texformat.h 36 GLint internalFormat, GLenum format, GLenum type);
formatquery.h 33 GLenum internalFormat, int samples[16]);
37 GLenum internalFormat, GLenum pname,
41 _mesa_GetInternalformativ(GLenum target, GLenum internalformat,
45 _mesa_GetInternalformati64v(GLenum target, GLenum internalformat,
glformats.c 830 is_astc_2d_format(GLenum internalFormat)
832 switch (internalFormat) {
871 is_astc_3d_format(GLenum internalFormat)
873 switch (internalFormat) {
904 _mesa_is_astc_format(GLenum internalFormat)
906 return is_astc_2d_format(internalFormat) ||
907 is_astc_3d_format(internalFormat);
914 _mesa_is_etc2_format(GLenum internalFormat)
916 switch (internalFormat) {
    [all...]
texcompress_cpal.c 108 _mesa_cpal_compressed_size(int level, GLenum internalFormat,
116 if (internalFormat < GL_PALETTE4_RGB8_OES
117 || internalFormat > GL_PALETTE8_RGB5_A1_OES) {
121 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];
122 assert(info->cpal_format == internalFormat);
144 * Convert a call to glCompressedTexImage2D() where internalFormat is a
149 GLenum internalFormat,
159 /* By this point, the internalFormat should have been validated.
161 assert(internalFormat >= GL_PALETTE4_RGB8_OES
162 && internalFormat <= GL_PALETTE8_RGB5_A1_OES)
    [all...]
multisample.h 52 GLenum internalFormat, GLsizei samples);
convolve.h 36 _mesa_ConvolutionFilter1D(GLenum target, GLenum internalFormat, GLsizei width,
39 _mesa_ConvolutionFilter2D(GLenum target, GLenum internalFormat, GLsizei width,
52 _mesa_CopyConvolutionFilter1D(GLenum target, GLenum internalFormat, GLint x,
55 _mesa_CopyConvolutionFilter2D(GLenum target, GLenum internalFormat, GLint x,
76 _mesa_SeparableFilter2D(GLenum target, GLenum internalFormat, GLsizei width,
multisample.c 144 * for a particular (target, internalFormat) pair. The limit imposed,
152 GLenum internalFormat, GLsizei samples)
157 * "If internalformat is a signed or unsigned integer format and samples
163 _mesa_is_enum_format_integer(internalFormat)
175 * for <internalformat> then the error INVALID_OPERATION is generated."
181 ctx->Driver.QueryInternalFormat(ctx, target, internalFormat,
197 * "If <internalformat> is a signed or unsigned integer format and
206 * * <internalformat> is a depth/stencil-renderable format and <samples>
208 * * <internalformat> is a color-renderable format and <samples> is
210 * * <internalformat> is a signed or unsigned integer format an
    [all...]
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...]
glformats.h 61 _mesa_is_astc_format(GLenum internalFormat);
64 _mesa_is_etc2_format(GLenum internalFormat);
144 GLenum internalFormat);
146 _mesa_base_tex_format(const struct gl_context *ctx, GLint internalFormat );
  /external/deqp/framework/opengl/simplereference/
sglrContext.cpp 35 void Context::texImage2D (deUint32 target, int level, deUint32 internalFormat, const tcu::Surface& src)
39 texImage2D(target, level, internalFormat, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, src.getAccess().getDataPtr());
42 void Context::texImage2D (deUint32 target, int level, deUint32 internalFormat, int width, int height)
47 switch (internalFormat)
54 format = internalFormat;
60 glu::TransferFormat transferFmt = glu::getTransferFormat(glu::mapGLInternalFormat(internalFormat));
67 texImage2D(target, level, internalFormat, width, height, 0, format, dataType, DE_NULL);
  /external/mesa3d/src/mesa/state_tracker/
st_format.h 55 st_choose_format(struct st_context *st, GLenum internalFormat,
62 GLenum internalFormat, unsigned sample_count);
70 GLint internalFormat,
75 GLenum internalFormat, GLenum pname, GLint *params);
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_format.c     [all...]
  /frameworks/base/libs/hwui/
Texture.cpp 95 bool Texture::updateLayout(uint32_t width, uint32_t height, GLint internalFormat,
100 && mInternalFormat == internalFormat
107 mInternalFormat = internalFormat;
109 notifySizeChanged(mWidth * mHeight * bytesPerPixel(internalFormat));
120 void Texture::upload(GLint internalFormat, uint32_t width, uint32_t height,
127 bool needsAlloc = updateLayout(width, height, internalFormat, format, GL_TEXTURE_2D);
135 glTexImage2D(GL_TEXTURE_2D, 0, internalFormat, mWidth, mHeight, 0,
138 glTexSubImage2D(GL_TEXTURE_2D, 0, internalFormat, mWidth, mHeight, 0,
155 static void uploadToTexture(bool resize, GLint internalFormat, GLenum format, GLenum type,
166 glTexImage2D(GL_TEXTURE_2D, 0, internalFormat, width, height, 0, format, type, data)
    [all...]
Texture.h 90 void resize(uint32_t width, uint32_t height, GLint internalFormat, GLint format) {
91 upload(internalFormat, width, height, format,
92 internalFormat == GL_RGBA16F ? GL_HALF_FLOAT : GL_UNSIGNED_BYTE, nullptr);
107 void upload(GLint internalFormat, uint32_t width, uint32_t height,
113 void wrap(GLuint id, uint32_t width, uint32_t height, GLint internalFormat,
132 GLint internalFormat() const {
200 bool updateLayout(uint32_t width, uint32_t height, GLint internalFormat,
  /external/deqp/modules/gles31/functional/
es31fTextureLevelStateQueryTests.cpp 129 glw::GLenum internalFormat;
137 , internalFormat (GL_RGBA)
275 static bool isColorRenderableFormat (glw::GLenum internalFormat)
277 return internalFormat == GL_RGB565 ||
278 internalFormat == GL_RGBA4 ||
279 internalFormat == GL_RGB5_A1 ||
280 internalFormat == GL_RGB10_A2 ||
281 internalFormat == GL_RGB10_A2UI ||
282 internalFormat == GL_SRGB8_ALPHA8 ||
283 internalFormat == GL_R8 |
    [all...]
es31fTextureFormatTests.cpp 76 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int depth);
118 TextureCubeArrayFormatCase::TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int depth)
122 , m_format (internalFormat)
248 TextureBufferFormatCase (Context& ctx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width);
269 TextureBufferFormatCase::TextureBufferFormatCase (Context& ctx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width)
272 , m_format (internalFormat)
439 deUint32 internalFormat;
496 deUint32 internalFormat;
509 deUint32 internalFormat = sizedColorFormats[formatNdx].internalFormat;
    [all...]
  /external/deqp/framework/opengl/
gluPixelTransfer.hpp 43 void texImage2D (const RenderContext& context, deUint32 target, int level, deUint32 internalFormat, const tcu::ConstPixelBufferAccess& src);
44 void texImage3D (const RenderContext& context, deUint32 target, int level, deUint32 internalFormat, const tcu::ConstPixelBufferAccess& src);
  /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/deqp/modules/gles3/performance/
es3pTextureCases.hpp 45 deUint32 internalFormat,
es3pTextureCountTests.cpp 55 deUint32 internalFormat;
72 deUint32 format = texFormats[formatNdx].internalFormat;
es3pTextureFormatTests.cpp 53 deUint32 internalFormat;
109 deUint32 format = texFormats[formatNdx].internalFormat;
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_texture.h 56 GLint internalFormat,
61 GLint internalFormat,

Completed in 1212 milliseconds

1 2 3 4 5 6 7