/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/ |
H A D | renderer11_utils.cpp | 228 static gl::TextureCaps GenerateTextureFormatCaps(GLenum internalFormat, ID3D11Device *device) argument 232 const d3d11::TextureFormat &formatInfo = d3d11::GetTextureFormatInfo(internalFormat); 237 const gl::InternalFormat &formatInfo = gl::GetInternalFormatInfo(internalFormat); 861 for (gl::FormatSet::const_iterator internalFormat = allFormats.begin(); internalFormat != allFormats.end(); ++internalFormat) 863 gl::TextureCaps textureCaps = GenerateTextureFormatCaps(*internalFormat, device); 864 textureCapsMap->insert(*internalFormat, textureCaps); 868 if (gl::GetInternalFormatInfo(*internalFormat).compressed) 870 caps->compressedTextureFormats.push_back(*internalFormat); 1010 GenerateInitialTextureData(GLint internalFormat, GLuint width, GLuint height, GLuint depth, GLuint mipLevels, std::vector<D3D11_SUBRESOURCE_DATA> *outSubresourceData, std::vector< std::vector<BYTE> > *outData) argument [all...] |
/external/chromium_org/third_party/angle/tests/angle_tests/ |
H A D | SwizzleTest.cpp | 97 void init2DTexture(GLenum internalFormat, GLenum dataFormat, GLenum dataType, const T* data) argument 101 glTexStorage2D(GL_TEXTURE_2D, 1, internalFormat, 1, 1); 108 void init2DCompressedTexture(GLenum internalFormat, GLsizei width, GLsizei height, GLsizei dataSize, const GLubyte* data) argument
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureSwizzleTests.cpp | 79 Texture2DSwizzleCase (Context& context, const char* name, const char* description, deUint32 internalFormat, deUint32 format, deUint32 dataType, deUint32 swizzleR, deUint32 swizzleG, deUint32 swizzleB, deUint32 swizzleA); 102 Texture2DSwizzleCase::Texture2DSwizzleCase (Context& context, const char* name, const char* description, deUint32 internalFormat, deUint32 format, deUint32 dataType, deUint32 swizzleR, deUint32 swizzleG, deUint32 swizzleB, deUint32 swizzleA) argument 104 , m_internalFormat (internalFormat) 238 deUint32 internalFormat; member in struct:deqp::gles3::Functional::__anon20128 333 deUint32 intFormat = formats[fmtNdx].internalFormat;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
H A D | radeon_texture.c | 315 GLint internalFormat, 319 return radeonChooseTextureFormat(ctx, internalFormat, format, 324 GLint internalFormat, 338 _mesa_lookup_enum_by_nr(internalFormat), internalFormat, 344 switch (internalFormat) { 536 "unexpected internalFormat 0x%x in %s", 537 (int)internalFormat, __func__); 313 radeonChooseTextureFormat_mesa(struct gl_context * ctx, GLenum target, GLint internalFormat, GLenum format, GLenum type) argument 323 radeonChooseTextureFormat(struct gl_context * ctx, GLint internalFormat, GLenum format, GLenum type, GLboolean fbo) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
H A D | radeon_texture.c | 315 GLint internalFormat, 319 return radeonChooseTextureFormat(ctx, internalFormat, format, 324 GLint internalFormat, 338 _mesa_lookup_enum_by_nr(internalFormat), internalFormat, 344 switch (internalFormat) { 536 "unexpected internalFormat 0x%x in %s", 537 (int)internalFormat, __func__); 313 radeonChooseTextureFormat_mesa(struct gl_context * ctx, GLenum target, GLint internalFormat, GLenum format, GLenum type) argument 323 radeonChooseTextureFormat(struct gl_context * ctx, GLint internalFormat, GLenum format, GLenum type, GLboolean fbo) argument
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | radeon_texture.c | 315 GLint internalFormat, 319 return radeonChooseTextureFormat(ctx, internalFormat, format, 324 GLint internalFormat, 338 _mesa_lookup_enum_by_nr(internalFormat), internalFormat, 344 switch (internalFormat) { 536 "unexpected internalFormat 0x%x in %s", 537 (int)internalFormat, __func__); 313 radeonChooseTextureFormat_mesa(struct gl_context * ctx, GLenum target, GLint internalFormat, GLenum format, GLenum type) argument 323 radeonChooseTextureFormat(struct gl_context * ctx, GLint internalFormat, GLenum format, GLenum type, GLboolean fbo) argument
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_texture.c | 315 GLint internalFormat, 319 return radeonChooseTextureFormat(ctx, internalFormat, format, 324 GLint internalFormat, 338 _mesa_lookup_enum_by_nr(internalFormat), internalFormat, 344 switch (internalFormat) { 536 "unexpected internalFormat 0x%x in %s", 537 (int)internalFormat, __func__); 313 radeonChooseTextureFormat_mesa(struct gl_context * ctx, GLenum target, GLint internalFormat, GLenum format, GLenum type) argument 323 radeonChooseTextureFormat(struct gl_context * ctx, GLint internalFormat, GLenum format, GLenum type, GLboolean fbo) argument
|
/external/deqp/framework/opengl/ |
H A D | gluTexture.cpp | 328 TextureCube::TextureCube (const RenderContext& context, deUint32 internalFormat, int size) argument 331 , m_format (internalFormat) 332 , m_refTexture (mapGLInternalFormat(internalFormat), size) 691 TextureBuffer::TextureBuffer (const RenderContext& context, deUint32 internalFormat, size_t bufferSize) argument 699 init(internalFormat, bufferSize, 0, 0, DE_NULL); 702 TextureBuffer::TextureBuffer (const RenderContext& context, deUint32 internalFormat, size_t bufferSize, size_t offset, size_t size, const void* data) argument 710 init(internalFormat, bufferSize, offset, size, data); 713 void TextureBuffer::init (deUint32 internalFormat, size_t bufferSize, size_t offset, size_t size, const void* data) argument 742 m_format = internalFormat; 749 const tcu::TextureFormat format = mapGLInternalFormat(internalFormat); [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | validationES3.cpp | 26 GLenum internalFormat; member in struct:gl::ES3FormatCombination 38 static inline void InsertES3FormatCombo(ES3FormatCombinationSet *set, GLenum internalFormat, GLenum format, GLenum type) argument 41 info.internalFormat = internalFormat; 219 static bool ValidateTexImageFormatCombination(gl::Context *context, GLenum internalFormat, GLenum format, GLenum type) argument 223 const gl::InternalFormat &formatInfo = gl::GetInternalFormatInfo(internalFormat); 239 const gl::InternalFormat &info = gl::GetInternalFormatInfo(i->internalFormat); 266 searchFormat.internalFormat = internalFormat; 798 sourceEffectiveFormat = &GetInternalFormatInfo(typeInfo.internalFormat); 1108 ValidES3ReadFormatType(Context *context, GLenum internalFormat, GLenum format, GLenum type) argument [all...] |
H A D | formatutils.cpp | 25 : internalFormat(GL_NONE), 35 static inline void InsertFormatMapping(FormatMap *map, GLenum format, GLenum type, GLenum internalFormat, ColorWriteFunction writeFunc) argument 38 info.internalFormat = internalFormat; 562 const InternalFormat &GetInternalFormatInfo(GLenum internalFormat) argument 565 InternalFormatInfoMap::const_iterator iter = formatMap.find(internalFormat); 610 GLenum GetSizedInternalFormat(GLenum internalFormat, GLenum type) argument 612 const InternalFormat& formatInfo = GetInternalFormatInfo(internalFormat); 613 return (formatInfo.pixelBytes > 0) ? internalFormat : GetFormatTypeInfo(internalFormat, typ [all...] |
/external/deqp/modules/glshared/ |
H A D | glsLongStressCase.cpp | 212 static inline bool isMatchingGLInternalFormat (const deUint32 internalFormat, const TextureFormat& texFormat) argument 214 switch (internalFormat) 233 default: return glu::mapGLInternalFormat(internalFormat) == texFormat; 454 void setData (const ConstPixelBufferAccess& src, int width, int height, deUint32 internalFormat, bool useMipmap); 463 int getApproxMemUsageDiff (int width, int height, deUint32 internalFormat, bool useMipmap) const; 495 int Texture::getApproxMemUsageDiff (const int width, const int height, const deUint32 internalFormat, const bool useMipmap) const 498 const int pixelSize = internalFormat == GL_RGBA ? 4 499 : internalFormat == GL_RGB ? 3 500 : internalFormat == GL_ALPHA ? 1 501 : glu::mapGLInternalFormat(internalFormat) 510 setData(const ConstPixelBufferAccess& src, const int width, const int height, const deUint32 internalFormat, const bool useMipmap) argument 553 glTexImage2D(cubeFaceToGLFace((CubeFace)face), level, internalFormat, levelWid, levelHei, 0, transfer.format, transfer.dataType, src.getDataPtr()); local [all...] |
/external/skia/src/gpu/gl/ |
H A D | GrGpuGL.cpp | 576 GrGLenum internalFormat; local 583 if (!this->configToGLFormats(dataConfig, useTexStorage, &internalFormat, 588 if (!isNewTexture && GR_GL_PALETTE8_RGBA8 == internalFormat) { 654 internalFormat, 657 if (GR_GL_PALETTE8_RGBA8 == internalFormat) { 663 internalFormat, 672 internalFormat, 752 GrGLenum internalFormat = 0; local 753 if (!this->configToGLFormats(desc.fConfig, false, &internalFormat, NULL, NULL)) { 764 internalFormat, 2580 configToGLFormats(GrPixelConfig config, bool getSizedInternalFormat, GrGLenum* internalFormat, GrGLenum* externalFormat, GrGLenum* externalType) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | texstorage.c | 128 GLsizei levels, GLenum internalFormat, 143 internalFormat, GL_NONE, GL_NONE); 161 0, internalFormat, texFormat); 125 setup_texstorage(struct gl_context *ctx, struct gl_texture_object *texObj, GLuint dims, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth) argument
|
H A D | colortab.c | 45 _mesa_ColorTable( GLenum target, GLenum internalFormat, argument
|
H A D | fbobject.h | 124 _mesa_base_fbo_format(struct gl_context *ctx, GLenum internalFormat); 148 _es_RenderbufferStorageEXT(GLenum target, GLenum internalFormat,
|
/external/mesa3d/src/mesa/main/ |
H A D | texstorage.c | 128 GLsizei levels, GLenum internalFormat, 143 internalFormat, GL_NONE, GL_NONE); 161 0, internalFormat, texFormat); 125 setup_texstorage(struct gl_context *ctx, struct gl_texture_object *texObj, GLuint dims, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth) argument
|
H A D | colortab.c | 45 _mesa_ColorTable( GLenum target, GLenum internalFormat, argument
|
/external/chromium_org/third_party/WebKit/public/platform/ |
H A D | WebMediaPlayer.h | 154 virtual bool copyVideoTextureToPlatformTexture(WebGraphicsContext3D*, unsigned texture, unsigned level, unsigned internalFormat, unsigned type, bool premultiplyAlpha, bool flipY) { return false; } argument
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
H A D | TextureImpl.h | 54 virtual void setImage(GLenum target, GLint level, GLsizei width, GLsizei height, GLsizei depth, GLenum internalFormat, GLenum format, GLenum type, const gl::PixelUnpackState &unpack, const void *pixels) = 0;
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/ |
H A D | formatutils9.cpp | 60 internalFormat(GL_NONE), 74 GLuint blockHeight, GLenum internalFormat, MipGenerationFunction mipFunc, 81 info.internalFormat = internalFormat; 202 static inline void InsertD3D9FormatInfo(D3D9FormatMap *map, GLenum internalFormat, D3DFORMAT texFormat, argument 210 InternalFormatInitialzerMap::const_iterator dataInitIter = dataInitializationMap.find(internalFormat); 215 map->insert(std::make_pair(internalFormat, info)); 282 const TextureFormat &GetTextureFormatInfo(GLenum internalFormat) argument 285 D3D9FormatMap::const_iterator iter = formatMap.find(internalFormat); 73 InsertD3DFormatInfo(D3D9FormatInfoMap *map, D3DFORMAT format, GLuint bits, GLuint blockWidth, GLuint blockHeight, GLenum internalFormat, MipGenerationFunction mipFunc, ColorReadFunction colorReadFunc) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
H A D | intel_fbo.c | 225 GLenum internalFormat, 233 switch (internalFormat) { 241 internalFormat, 261 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); 266 _mesa_lookup_enum_by_nr(internalFormat), 335 GLenum internalFormat, GLuint width, GLuint height) 340 rb->InternalFormat = internalFormat; 376 GLenum internalFormat, GLuint width, GLuint height) 224 intel_alloc_renderbuffer_storage(struct gl_context * ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument 334 intel_alloc_window_storage(struct gl_context * ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument 375 intel_nop_alloc_storage(struct gl_context * ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | intel_fbo.c | 225 GLenum internalFormat, 233 switch (internalFormat) { 241 internalFormat, 261 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); 266 _mesa_lookup_enum_by_nr(internalFormat), 335 GLenum internalFormat, GLuint width, GLuint height) 340 rb->InternalFormat = internalFormat; 376 GLenum internalFormat, GLuint width, GLuint height) 224 intel_alloc_renderbuffer_storage(struct gl_context * ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument 334 intel_alloc_window_storage(struct gl_context * ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument 375 intel_nop_alloc_storage(struct gl_context * ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
H A D | intel_fbo.c | 225 GLenum internalFormat, 233 switch (internalFormat) { 241 internalFormat, 261 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); 266 _mesa_lookup_enum_by_nr(internalFormat), 335 GLenum internalFormat, GLuint width, GLuint height) 340 rb->InternalFormat = internalFormat; 376 GLenum internalFormat, GLuint width, GLuint height) 224 intel_alloc_renderbuffer_storage(struct gl_context * ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument 334 intel_alloc_window_storage(struct gl_context * ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument 375 intel_nop_alloc_storage(struct gl_context * ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument
|
/external/deqp/modules/gles3/performance/ |
H A D | es3pTextureCases.cpp | 57 deUint32 internalFormat, 66 , m_internalFormat (internalFormat) 54 Texture2DRenderCase(Context& context, const char* name, const char* description, deUint32 internalFormat, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, const tcu::Mat3& coordTransform, int numTextures, bool powerOfTwo) argument
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_fbo.c | 225 GLenum internalFormat, 233 switch (internalFormat) { 241 internalFormat, 261 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); 266 _mesa_lookup_enum_by_nr(internalFormat), 335 GLenum internalFormat, GLuint width, GLuint height) 340 rb->InternalFormat = internalFormat; 376 GLenum internalFormat, GLuint width, GLuint height) 224 intel_alloc_renderbuffer_storage(struct gl_context * ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument 334 intel_alloc_window_storage(struct gl_context * ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument 375 intel_nop_alloc_storage(struct gl_context * ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument
|