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

1 2 3 4 5 6 7 8 9

  /external/mesa3d/src/mesa/main/
texstorage.h 38 GLenum internalformat, GLsizei width,
70 _mesa_TexStorage1D(GLenum target, GLsizei levels, GLenum internalformat,
75 _mesa_TexStorage2D(GLenum target, GLsizei levels, GLenum internalformat,
80 _mesa_TexStorage3D(GLenum target, GLsizei levels, GLenum internalformat,
84 _mesa_TextureStorage1D(GLuint texture, GLsizei levels, GLenum internalformat,
89 _mesa_TextureStorage2D(GLuint texture, GLsizei levels, GLenum internalformat,
94 _mesa_TextureStorage3D(GLuint texture, GLsizei levels, GLenum internalformat,
100 GLenum internalformat,
105 GLenum internalformat,
110 GLenum internalformat,
    [all...]
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...]
texstorage.c 144 GLenum internalFormat, mesa_format texFormat)
164 0, internalFormat, texFormat);
220 GLenum internalformat)
223 switch (internalformat) {
258 return _mesa_base_tex_format(ctx, internalformat) > 0;
308 GLsizei levels, GLenum internalformat,
325 if (_mesa_is_compressed_format(ctx, internalformat)) {
327 if (!_mesa_target_can_be_compressed(ctx, target, internalformat, &err)) {
329 "glTex%sStorage%dD(internalformat = %s)", suffix, dims,
330 _mesa_enum_to_string(internalformat));
    [all...]
formatquery.c 41 _is_renderable(struct gl_context *ctx, GLenum internalformat)
51 if (internalformat != GL_RGB && internalformat != GL_RGBA &&
52 _mesa_base_fbo_format(ctx, internalformat) == 0)
62 _legal_parameters(struct gl_context *ctx, GLenum target, GLenum internalformat,
256 * "If the <internalformat> parameter to GetInternalformativ is not
260 if (!query2 && !_is_renderable(ctx, internalformat)) {
262 "glGetInternalformativ(internalformat=%s)",
263 _mesa_enum_to_string(internalformat));
453 GLenum internalformat, GLenum pname
    [all...]
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,
textureview.h 38 * Lookup format view class based on internalformat
39 * \return VIEW_CLASS if internalformat found in table, false otherwise.
43 GLenum internalformat);
47 GLenum internalformat,
genmipmap.h 40 GLenum internalformat);
colortab.h 34 _mesa_ColorTable( GLenum target, GLenum internalformat,
42 _mesa_CopyColorTable(GLenum target, GLenum internalformat,
  /device/generic/goldfish-opengl/system/GLESv2_enc/
GLESv2Validation.h 40 bool rboFormat(GL2Encoder* ctx, GLenum internalformat);
55 GLsizei compressedTexImageSize(GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
57 bool isCompressedFormat(GLenum internalformat);
58 bool supportedCompressedFormat(GL2Encoder* ctx, GLenum internalformat);
62 bool filterableTexFormat(GL2Encoder* ctx, GLenum internalformat);
63 bool colorRenderableFormat(GL2Encoder* ctx, GLenum internalformat);
64 bool depthRenderableFormat(GL2Encoder* ctx, GLenum internalformat);
65 bool stencilRenderableFormat(GL2Encoder* ctx, GLenum internalformat);
72 bool pixelInternalFormat(GLenum internalformat);
GLESv2Validation.cpp 112 bool rboFormat(GL2Encoder* ctx, GLenum internalformat) {
115 switch (internalformat) {
355 GLsizei compressedTexImageSize(GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) {
361 switch (internalformat) {
379 bool isCompressedFormat(GLenum internalformat) {
384 switch (internalformat) {
429 bool supportedCompressedFormat(GL2Encoder* ctx, GLenum internalformat) {
443 switch (internalformat) {
509 bool filterableTexFormat(GL2Encoder* ctx, GLenum internalformat) {
510 switch (internalformat) {
    [all...]
  /external/swiftshader/src/OpenGL/libGLES_CM/
utilities.h 41 GLenum ValidateTextureFormatType(GLenum format, GLenum type, GLint internalformat, GLenum target);
43 bool IsColorRenderable(GLint internalformat);
44 bool IsDepthRenderable(GLint internalformat);
45 bool IsStencilRenderable(GLint internalformat);
47 GLuint GetAlphaSize(GLint internalformat);
48 GLuint GetRedSize(GLint internalformat);
49 GLuint GetGreenSize(GLint internalformat);
50 GLuint GetBlueSize(GLint internalformat);
51 GLuint GetDepthSize(GLint internalformat);
52 GLuint GetStencilSize(GLint internalformat);
    [all...]
utilities.cpp 35 bool IsSizedInternalFormat(GLint internalformat)
37 switch(internalformat)
137 GLenum ValidateTextureFormatType(GLenum format, GLenum type, GLint internalformat, GLenum target)
173 if((GLenum)internalformat != format)
175 if(gl::IsUnsizedInternalFormat(internalformat))
180 if(!IsSizedInternalFormat(internalformat))
186 if((GLenum)internalformat == format)
188 // Validate format, type, and unsized internalformat combinations [OpenGL ES 1.1 Table 3.3]
246 // Validate format, type, and sized internalformat combinations [OpenGL ES 3.0 Table 3.2]
248 #define VALIDATE_INTERNALFORMAT(...) { GLint validInternalformats[] = {__VA_ARGS__}; for(GLint v : validInternalformats) {if(internalformat == v) validSizedInternalformat = true;} } break
    [all...]
Renderbuffer.cpp 286 Colorbuffer::Colorbuffer(int width, int height, GLenum internalformat, GLsizei samples) : mRenderTarget(nullptr)
298 mRenderTarget = egl::Image::create(width, height, internalformat, supportedSamples, false);
309 format = internalformat;
364 DepthStencilbuffer::DepthStencilbuffer(int width, int height, GLenum internalformat, GLsizei samples) : mDepthStencil(nullptr)
376 mDepthStencil = egl::Image::create(width, height, internalformat, supportedSamples, false);
387 format = internalformat;
433 Depthbuffer::Depthbuffer(int width, int height, GLenum internalformat, GLsizei samples) : DepthStencilbuffer(width, height, internalformat, samples)
  /external/swiftshader/src/OpenGL/libGLESv2/
utilities.h 46 bool IsSizedInternalFormat(GLint internalformat); // Not compressed.
58 GLenum ValidateTextureFormatType(GLenum format, GLenum type, GLint internalformat, GLenum target, GLint clientVersion);
61 bool IsColorRenderable(GLint internalformat, GLint clientVersion);
62 bool IsDepthRenderable(GLint internalformat, GLint clientVersion);
63 bool IsStencilRenderable(GLint internalformat, GLint clientVersion);
64 bool IsMipmappable(GLint internalformat, GLint clientVersion);
66 GLuint GetAlphaSize(GLint internalformat);
67 GLuint GetRedSize(GLint internalformat);
68 GLuint GetGreenSize(GLint internalformat);
69 GLuint GetBlueSize(GLint internalformat);
    [all...]
utilities.cpp 326 bool IsCompressed(GLint internalformat, GLint clientVersion)
328 switch(internalformat)
381 bool IsSizedInternalFormat(GLint internalformat)
383 switch(internalformat)
657 GLint internalformat = colorbuffer->getFormat(); local
659 if(IsNormalizedInteger(internalformat))
678 else if(IsFloatFormat(internalformat))
687 else if(IsSignedNonNormalizedInteger(internalformat))
696 else if(IsUnsignedNonNormalizedInteger(internalformat))
705 else UNREACHABLE(internalformat);
    [all...]
  /external/swiftshader/src/OpenGL/common/
Image.hpp 52 GLint GetSizedInternalFormat(GLint internalFormat, GLenum type);
55 bool IsUnsizedInternalFormat(GLint internalformat);
56 GLenum GetBaseInternalFormat(GLint internalformat);
95 Image(Texture *parentTexture, GLsizei width, GLsizei height, GLint internalformat)
96 : sw::Surface(parentTexture->getResource(), width, height, 1, 0, 1, gl::SelectInternalFormat(internalformat), true, true),
97 width(width), height(height), depth(1), internalformat(internalformat), parentTexture(parentTexture)
105 Image(Texture *parentTexture, GLsizei width, GLsizei height, GLsizei depth, int border, GLint internalformat)
106 : sw::Surface(parentTexture->getResource(), width, height, depth, border, 1, gl::SelectInternalFormat(internalformat), true, true),
107 width(width), height(height), depth(depth), internalformat(internalformat), parentTexture(parentTexture
221 const GLint internalformat; member in class:egl::Image
    [all...]
Image.cpp 172 bool IsUnsizedInternalFormat(GLint internalformat)
174 switch(internalformat)
199 GLenum GetBaseInternalFormat(GLint internalformat)
201 switch(internalformat)
275 UNREACHABLE(internalformat);
282 GLint GetSizedInternalFormat(GLint internalformat, GLenum type)
284 if(!IsUnsizedInternalFormat(internalformat))
286 return internalformat;
289 switch(internalformat)
441 UNREACHABLE(internalformat);
    [all...]
  /frameworks/base/opengl/java/android/opengl/
GLUtils.java 49 throw new IllegalArgumentException("Unknown internalformat");
94 * @param internalformat
98 public static void texImage2D(int target, int level, int internalformat,
106 if (native_texImage2D(target, level, internalformat, bitmap, -1, border)!=0) {
114 * internalformat of the bitmap must be compatible with the specified
115 * type and internalformat parameters.
119 * @param internalformat
124 public static void texImage2D(int target, int level, int internalformat,
132 if (native_texImage2D(target, level, internalformat, bitmap, type, border)!=0) {
138 * A version of texImage2D that determines the internalFormat and typ
    [all...]
  /device/generic/goldfish-opengl/shared/OpenglCodecCommon/
TextureSharedData.h 31 GLint internalformat; member in struct:TextureRec
  /external/mesa3d/src/glx/apple/
apple_xgl_api.h 35 void __applegl_glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y,
  /external/deqp/external/openglcts/modules/gl/
gl4cShaderImageLoadStoreTests.cpp 206 bool Equal(const vec4& v0, const vec4& v1, GLenum internalformat)
208 if (internalformat == GL_RGBA16_SNORM || internalformat == GL_RG16_SNORM || internalformat == GL_R16_SNORM)
212 else if (internalformat == GL_RGBA8_SNORM || internalformat == GL_RG8_SNORM || internalformat == GL_R8_SNORM)
    [all...]
gl4cES31CompatibilityShaderImageLoadStoreTests.cpp 183 bool Equal(const vec4& v0, const vec4& v1, GLenum internalformat)
185 if (internalformat == GL_RGBA8_SNORM || internalformat == GL_RGBA8)
212 bool CompareValues(T* map_data, int kSize, const T& expected_value, GLenum internalformat = 0, int layers = 1)
216 if (!Equal(map_data[i], expected_value, internalformat))
227 bool CompareValues(bool always, T* map_data, int kSize, const T& expected_value, GLenum internalformat = 0,
230 (void)internalformat;
810 ShortByteData(int size, const T& value, GLenum internalformat, GLenum format)
821 if (Shorts(internalformat))
831 if (Bytes(internalformat))
    [all...]
  /external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
PVRTTextureAPI.cpp 39 @Modified: internalformat
47 static const void PVRTGetOGLES2TextureFormat(const PVRTextureHeaderV3& sTextureHeader, PVRTuint32& internalformat, PVRTuint32& format, PVRTuint32& type)
55 internalformat=0;
68 internalformat=GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG;
73 internalformat=GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG;
78 internalformat=GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG;
83 internalformat=GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;
89 internalformat=GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG;
94 internalformat=GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG;
99 internalformat=GL_ETC1_RGB8_OES
    [all...]
  /external/mesa3d/src/glx/
renderpix.c 120 __indirect_glSeparableFilter2D(GLenum target, GLenum internalformat,
143 __GLX_PUT_LONG(4, internalformat);
173 __GLX_PUT_LONG(4, internalformat);
  /external/swiftshader/src/OpenGL/libGL/
utilities.h 55 bool IsColorRenderable(GLenum internalformat);
56 bool IsDepthRenderable(GLenum internalformat);
57 bool IsStencilRenderable(GLenum internalformat);

Completed in 380 milliseconds

1 2 3 4 5 6 7 8 9