Home
last modified time | relevance | path

Searched refs:internalformat (Results 1 – 25 of 116) sorted by relevance

12345

/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DTextureUtils.h29 GLint internalformat, GLsizei width, GLsizei height,
33 ETC2ImageFormat getEtcFormat(GLenum internalformat);
35 bool isAstcFormat(GLenum internalformat);
36 bool isEtcFormat(GLenum internalformat);
37 bool isEtc2Format(GLenum internalformat);
38 bool isBptcFormat(GLenum internalformat);
39 bool isS3tcFormat(GLenum internalformat);
40 bool isPaletteFormat(GLenum internalformat);
41 bool isRgtcFormat(GLenum internalformat);
44 GLenum internalformat, GLsizei width,
[all …]
DGLutils.h86 GLenum baseFormatOfInternalFormat(GLint internalformat);
87 GLenum accurateTypeOfInternalFormat(GLint internalformat);
DPaletteTexture.h23 unsigned char* uncompressTexture(GLenum internalformat,GLenum& formatOut,GLsizei width,GLsizei heig…
/hardware/google/gfxstream/host/gl/OpenGLESDispatch/
Dgles3_extensions_dispatch_logging_wrappers.impl14 void glTexBufferOES_dispatchLoggingWrapper(GLenum target, GLenum internalformat, GLuint buffer) {
15 …DISPATCH_DEBUG_LOG("glTexBufferOES(target:0x%X, internalformat:0x%X, buffer:%d)", target, internal…
16 GLDispatch::glTexBufferOES_underlying(target, internalformat, buffer);
19 void glTexBufferRangeOES_dispatchLoggingWrapper(GLenum target, GLenum internalformat, GLuint buffer…
20 …OG("glTexBufferRangeOES(target:0x%X, internalformat:0x%X, buffer:%d, offset:%ld, size:%ld)", targe…
21 GLDispatch::glTexBufferRangeOES_underlying(target, internalformat, buffer, offset, size);
24 void glTexBufferEXT_dispatchLoggingWrapper(GLenum target, GLenum internalformat, GLuint buffer) {
25 …DISPATCH_DEBUG_LOG("glTexBufferEXT(target:0x%X, internalformat:0x%X, buffer:%d)", target, internal…
26 GLDispatch::glTexBufferEXT_underlying(target, internalformat, buffer);
29 void glTexBufferRangeEXT_dispatchLoggingWrapper(GLenum target, GLenum internalformat, GLuint buffer…
[all …]
Dgles3_extensions.entries7 void glTexBufferOES(GLenum target, GLenum internalformat, GLuint buffer);
8 void glTexBufferRangeOES(GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsi…
9 void glTexBufferEXT(GLenum target, GLenum internalformat, GLuint buffer);
10 void glTexBufferRangeEXT(GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsi…
Dgles_common_dispatch_logging_wrappers.impl79 …TexImage2D_dispatchLoggingWrapper(GLenum target, GLint level, GLenum internalformat, GLsizei width…
80 …target:0x%X, level:%d, internalformat:0x%X, width:%d, height:%d, border:%d, imageSize:%d, data:%p)…
81 …GLDispatch::glCompressedTexImage2D_underlying(target, level, internalformat, width, height, border…
284 …sample_dispatchLoggingWrapper(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width…
285 …geMultisample(target:0x%X, samples:%d, internalformat:0x%X, width:%d, height:%d)", target, samples…
286 …GLDispatch::glRenderbufferStorageMultisample_underlying(target, samples, internalformat, width, he…
314 void glTexImage2D_dispatchLoggingWrapper(GLenum target, GLint level, GLint internalformat, GLsizei …
315 …t:0x%X, level:%d, internalformat:%d, width:%d, height:%d, border:%d, format:0x%X, type:0x%X, pixel…
316 …GLDispatch::glTexImage2D_underlying(target, level, internalformat, width, height, border, format, …
/hardware/google/gfxstream/guest/OpenglCodecCommon/
DGLESTextureUtils.cpp401 bool isEtcFormat(GLenum internalformat) { in isEtcFormat() argument
402 switch (internalformat) { in isEtcFormat()
419 bool isEtc2Format(GLenum internalformat) { in isEtc2Format() argument
420 return internalformat != GL_ETC1_RGB8_OES && in isEtc2Format()
421 isEtcFormat(internalformat); in isEtc2Format()
424 ETC2ImageFormat getEtcFormat(GLenum internalformat) { in getEtcFormat() argument
426 switch (internalformat) { in getEtcFormat()
460 bool isAstcFormat(GLenum internalformat) { in isAstcFormat() argument
461 switch (internalformat) { in isAstcFormat()
473 bool isBptcFormat(GLenum internalformat) { in isBptcFormat() argument
[all …]
DGLESTextureUtils.h82 GLsizei getCompressedImageSize(GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth,…
85 bool isEtc2Format(GLenum internalformat);
86 bool isAstcFormat(GLenum internalformat);
87 bool isBptcFormat(GLenum internalformat);
88 bool isS3tcFormat(GLenum internalformat);
89 bool isRgtcFormat(GLenum internalformat);
DglUtils.h79 …bool colorRenderableFormat(GLint internalformat, GLenum texturetype, int majorVersion, int minorVe…
81 bool depthRenderableFormat(GLint internalformat);
82 bool stencilRenderableFormat(GLint internalformat);
/hardware/google/gfxstream/include/OpenGLESDispatch/
Dgles3_extensions_functions.h10 …X(void, glTexBufferOES, (GLenum target, GLenum internalformat, GLuint buffer), (target, internalfo…
11 …angeOES, (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size), …
12 …X(void, glTexBufferEXT, (GLenum target, GLenum internalformat, GLuint buffer), (target, internalfo…
13 …angeEXT, (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size), …
Dgles3_extensions_static_translator_namespaced_header.h10 GL_APICALL void GL_APIENTRY glTexBufferOES(GLenum target, GLenum internalformat, GLuint buffer);
11 GL_APICALL void GL_APIENTRY glTexBufferRangeOES(GLenum target, GLenum internalformat, GLuint buffer…
12 GL_APICALL void GL_APIENTRY glTexBufferEXT(GLenum target, GLenum internalformat, GLuint buffer);
13 GL_APICALL void GL_APIENTRY glTexBufferRangeEXT(GLenum target, GLenum internalformat, GLuint buffer…
Dgles_common_functions.h26 …l, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GL…
67 …num target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height), (target, sampl…
73 …Lint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, cons…
Dgles3_only_functions.h71 …formativ, (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params), (…
72 …Lenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height), (target, leve…
108 …rget, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth), (targe…
110 …um internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, …
/hardware/google/gfxstream/guest/GLESv2_enc/
DGLESv2Validation.h41 bool rboFormat(GL2Encoder* ctx, GLenum internalformat);
61 bool isCompressedFormat(GLenum internalformat);
62 bool supportedCompressedFormat(GL2Encoder* ctx, GLenum internalformat);
66 bool filterableTexFormat(GL2Encoder* ctx, GLenum internalformat);
67 bool colorRenderableFormat(GL2Encoder* ctx, GLenum internalformat);
68 bool depthRenderableFormat(GL2Encoder* ctx, GLenum internalformat);
69 bool stencilRenderableFormat(GL2Encoder* ctx, GLenum internalformat);
78 bool pixelInternalFormat(GLenum internalformat);
79 bool pixelSizedFormat(GL2Encoder* ctx, GLenum internalformat, GLenum format, GLenum type);
80 void getCompatibleFormatTypeForInternalFormat(GLenum internalformat, GLenum* format_out, GLenum* ty…
DGLESv2Validation.cpp433 bool rboFormat(GL2Encoder* ctx, GLenum internalformat) { in rboFormat() argument
436 switch (internalformat) { in rboFormat()
813 bool isCompressedFormat(GLenum internalformat) { in isCompressedFormat() argument
818 switch (internalformat) { in isCompressedFormat()
863 bool supportedCompressedFormat(GL2Encoder* ctx, GLenum internalformat) { in supportedCompressedFormat() argument
898 switch (internalformat) { in supportedCompressedFormat()
981 bool filterableTexFormat(GL2Encoder* ctx, GLenum internalformat) { in filterableTexFormat() argument
982 switch (internalformat) { in filterableTexFormat()
1013 bool colorRenderableFormat(GL2Encoder* ctx, GLenum internalformat) { in colorRenderableFormat() argument
1015 switch (internalformat) { in colorRenderableFormat()
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DTextureUtils.cpp118 ETC2ImageFormat getEtcFormat(GLenum internalformat) { in getEtcFormat() argument
120 switch (internalformat) { in getEtcFormat()
154 void getAstcFormatInfo(GLenum internalformat, uint32_t* width, uint32_t* height, bool* srgb) { in getAstcFormatInfo() argument
155 switch (internalformat) { in getAstcFormatInfo()
185 bool isAstcFormat(GLenum internalformat) { in isAstcFormat() argument
186 switch (internalformat) { in isAstcFormat()
198 bool isEtcFormat(GLenum internalformat) { in isEtcFormat() argument
199 switch (internalformat) { in isEtcFormat()
216 bool isEtc2Format(GLenum internalformat) { in isEtc2Format() argument
217 switch (internalformat) { in isEtc2Format()
[all …]
DGLutils.cpp143 GLenum baseFormatOfInternalFormat(GLint internalformat) { in baseFormatOfInternalFormat() argument
145 switch (internalformat) { in baseFormatOfInternalFormat()
151 return internalformat; in baseFormatOfInternalFormat()
221 internalformat); in baseFormatOfInternalFormat()
222 return internalformat; in baseFormatOfInternalFormat()
225 GLenum accurateTypeOfInternalFormat(GLint internalformat) { in accurateTypeOfInternalFormat() argument
226 switch (internalformat) { in accurateTypeOfInternalFormat()
307 internalformat); in accurateTypeOfInternalFormat()
DPaletteTexture.cpp108 unsigned char* uncompressTexture(GLenum internalformat,GLenum& formatOut,GLsizei width,GLsizei heig… in uncompressTexture() argument
113 getPaletteInfo(internalformat,indexSizeBits,colorSizeBytes,formatOut); in uncompressTexture()
159 Color c = paletteColor(palette,paletteIndex,internalformat); in uncompressTexture()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DGLESv2Validate.cpp545 bool GLESv2Validate::pixelItnlFrmt(GLEScontext* ctx ,GLenum internalformat) { in pixelItnlFrmt() argument
547 switch (internalformat) { in pixelItnlFrmt()
646 return pixelFrmt(ctx, internalformat); in pixelItnlFrmt()
649 bool GLESv2Validate::pixelSizedFrmt(GLEScontext* ctx, GLenum internalformat, in pixelSizedFrmt() argument
652 if (internalformat == format) { in pixelSizedFrmt()
661 return internalformat == GL_R8; in pixelSizedFrmt()
664 return internalformat == GL_R16F; in pixelSizedFrmt()
666 return internalformat == GL_R8_SNORM; in pixelSizedFrmt()
674 return internalformat == GL_RG8; in pixelSizedFrmt()
677 return internalformat == GL_RG16F; in pixelSizedFrmt()
[all …]
DGLESv2Validate.h48 static bool pixelItnlFrmt(GLEScontext* ctx, GLenum internalformat);
49 static bool pixelSizedFrmt(GLEScontext* ctx, GLenum internalformat,
52 …static void getCompatibleFormatTypeForInternalFormat(GLenum internalformat, GLenum* format_out, GL…
DGLESv31Imp.cpp637 …TRY glTexStorage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width… in glTexStorage2DMultisample() argument
642 GLESv2Validate::getCompatibleFormatTypeForInternalFormat(internalformat, &format, &type); in glTexStorage2DMultisample()
644 …eTexImage2D(target, 0, (GLint)internalformat, width, height, 0, format, type, samples, NULL, &type… in glTexStorage2DMultisample()
646 …ctx->dispatcher().glTexStorage2DMultisample(target, samples, internalformat, width, height, fixeds… in glTexStorage2DMultisample()
745 GL_APICALL void GL_APIENTRY glTexBufferOES(GLenum target, GLenum internalformat, GLuint buffer) { in glTexBufferOES() argument
751 ctx->dispatcher().glTexBufferOES(target, internalformat, globalBufferName); in glTexBufferOES()
753 texData->internalFormat = internalformat; in glTexBufferOES()
758 GL_APICALL void GL_APIENTRY glTexBufferEXT(GLenum target, GLenum internalformat, GLuint buffer) { in glTexBufferEXT() argument
764 ctx->dispatcher().glTexBufferEXT(target, internalformat, globalBufferName); in glTexBufferEXT()
766 texData->internalFormat = internalformat; in glTexBufferEXT()
[all …]
DGLESv2Imp.cpp180 GL_APICALL void GL_APIENTRY glTexBufferOES(GLenum target, GLenum internalformat, GLuint buffer);
181 GL_APICALL void GL_APIENTRY glTexBufferRangeOES(GLenum target, GLenum internalformat, GLuint buffer,
185 GL_APICALL void GL_APIENTRY glTexBufferEXT(GLenum target, GLenum internalformat, GLuint buffer);
186 GL_APICALL void GL_APIENTRY glTexBufferRangeEXT(GLenum target, GLenum internalformat, GLuint buffer,
595 GLenum rb_internalformat = rbData->internalformat; in sHasAttachmentWithFormat()
928 GL_APICALL void GL_APIENTRY glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei…
930 …L_APIENTRY glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width… in glCompressedTexImage2D() argument
938 if (shouldPassthroughCompressedFormat(ctx, internalformat)) { in glCompressedTexImage2D()
939 doCompressedTexImage2DNative(ctx, target, level, internalformat, in glCompressedTexImage2D()
942 doCompressedTexImage2D(ctx, target, level, internalformat, in glCompressedTexImage2D()
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DGLEScmValidate.cpp218 bool GLEScmValidate::renderbufferInternalFrmt(GLEScontext* ctx, GLenum internalformat) in renderbufferInternalFrmt() argument
220 switch (internalformat) { in renderbufferInternalFrmt()
234 if (ctx->getCaps()->GL_EXT_PACKED_DEPTH_STENCIL && internalformat==GL_DEPTH24_STENCIL8_OES) in renderbufferInternalFrmt()
/hardware/google/gfxstream/guest/mesa/include/GLES/
Dglext.h279 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLenum internalformat, …
295 GL_API void GL_APIENTRY glRenderbufferStorageOES (GLenum target, GLenum internalformat, GLsizei wid…
526 …STORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width…
529 …ufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width…
654 …ERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width…
657 …rbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width…
742 …RYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width…
743 …RYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width…
744 …RYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width…
745 …AGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width…
[all …]
/hardware/google/gfxstream/common/opengl/include/GLES/
Dglext.h760 GL_API void GL_APIENTRY glRenderbufferStorageOES (GLenum target, GLenum internalformat, GLsizei wid…
776 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLenum internalformat, …
969 …STORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width…
1054 …ERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width…
1118 GL_API void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GL…
1119 GL_API void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GL…
1120 GL_API void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GL…
1121 …eStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width…
1122 …eStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width…
1123 …eStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width…
[all …]

12345