Searched defs:internalFormat (Results 26 - 50 of 147) sorted by relevance

123456

/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DWebGLTexture.h56 void setLevelInfo(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLenum type);
89 , internalFormat(0)
99 internalFormat = internalFmt;
106 GLenum internalFormat; member in class:blink::FINAL::LevelInfo
H A DWebGLTexture.cpp147 void WebGLTexture::setLevelInfo(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLenum type) argument
151 // We assume level, internalFormat, width, height, and type have all been
156 m_info[index][level].setInfo(internalFormat, width, height, type);
176 info.setInfo(info0.internalFormat, width, height, info0.type);
189 return info->internalFormat;
292 || info.internalFormat != first.internalFormat || info.type != first.type
339 || info0.internalFormat != first.internalFormat || info0.type != first.type
354 || info.internalFormat !
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/
H A Dformatutils.h44 GLenum internalFormat; member in struct:gl::FormatType
97 const InternalFormat &GetInternalFormatInfo(GLenum internalFormat);
99 GLenum GetSizedInternalFormat(GLenum internalFormat, GLenum type);
H A DCaps.cpp51 void TextureCapsMap::insert(GLenum internalFormat, const TextureCaps &caps) argument
53 mCapsMap.insert(std::make_pair(internalFormat, caps));
56 void TextureCapsMap::remove(GLenum internalFormat) argument
58 InternalFormatToCapsMap::iterator i = mCapsMap.find(internalFormat);
65 const TextureCaps &TextureCapsMap::get(GLenum internalFormat) const
68 InternalFormatToCapsMap::const_iterator iter = mCapsMap.find(internalFormat);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A Dformatutils11.h38 GLenum internalFormat; member in struct:rx::d3d11::DXGIFormat
68 const TextureFormat &GetTextureFormatInfo(GLenum internalFormat);
H A DPixelTransfer11.cpp116 void PixelTransfer11::setBufferToTextureCopyParams(const gl::Box &destArea, const gl::Extents &destSize, GLenum internalFormat, argument
124 unsigned int bytesPerPixel = gl::GetInternalFormatInfo(internalFormat).pixelBytes;
160 GLenum sourceFormat = gl::GetFormatTypeInfo(unsizedFormat, sourcePixelsType).internalFormat;
237 ID3D11PixelShader *PixelTransfer11::findBufferToTexturePS(GLenum internalFormat) const
239 GLenum componentType = gl::GetInternalFormatInfo(internalFormat).componentType;
H A DRenderTarget11.cpp221 mInternalFormat = dxgiFormatInfo.internalFormat;
222 mActualFormat = dxgiFormatInfo.internalFormat;
268 mInternalFormat = dxgiFormatInfo.internalFormat;
269 mActualFormat = dxgiFormatInfo.internalFormat;
273 RenderTarget11::RenderTarget11(Renderer *renderer, GLsizei width, GLsizei height, GLenum internalFormat, GLsizei samples) argument
281 const d3d11::TextureFormat &formatInfo = d3d11::GetTextureFormatInfo(internalFormat);
284 const gl::TextureCaps &textureCaps = mRenderer->getRendererTextureCaps().get(internalFormat);
401 mInternalFormat = internalFormat;
403 mActualFormat = dxgiFormatInfo.internalFormat;
/external/chromium_org/third_party/angle/tests/angle_tests/
H A DSwizzleTest.cpp97 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/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/
H A Dxm_buffer.c254 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);
253 xmesa_alloc_front_storage(struct gl_context *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument
279 xmesa_alloc_back_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/main/
H A Dconvolve.c47 _mesa_ConvolutionFilter1D(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) argument
55 _mesa_ConvolutionFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) argument
100 _mesa_CopyConvolutionFilter1D(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width) argument
109 _mesa_CopyConvolutionFilter2D(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height) argument
175 _mesa_SeparableFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) argument
H A Dtexcompress_cpal.c111 _mesa_cpal_compressed_size(int level, GLenum internalFormat, argument
119 if (internalFormat < GL_PALETTE4_RGB8_OES
120 || internalFormat > GL_PALETTE8_RGB5_A1_OES) {
124 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];
125 ASSERT(info->cpal_format == internalFormat);
146 _mesa_cpal_compressed_format_type(GLenum internalFormat, GLenum *format, argument
151 if (internalFormat < GL_PALETTE4_RGB8_OES
152 || internalFormat > GL_PALETTE8_RGB5_A1_OES) {
156 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];
162 * Convert a call to glCompressedTexImage2D() where internalFormat i
166 _mesa_cpal_compressed_teximage2d(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei imageSize, const void *palette) argument
[all...]
H A Dtexstorage.c128 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 Dtexparam.c1141 GLenum internalFormat = texObj->BufferObjectFormat; local
1165 *params = internalFormat;
/external/mesa3d/src/mesa/drivers/x11/
H A Dxm_buffer.c254 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);
253 xmesa_alloc_front_storage(struct gl_context *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument
279 xmesa_alloc_back_storage(struct gl_context *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument
/external/mesa3d/src/mesa/main/
H A Dconvolve.c47 _mesa_ConvolutionFilter1D(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) argument
55 _mesa_ConvolutionFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) argument
100 _mesa_CopyConvolutionFilter1D(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width) argument
109 _mesa_CopyConvolutionFilter2D(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height) argument
175 _mesa_SeparableFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) argument
H A Dtexcompress_cpal.c111 _mesa_cpal_compressed_size(int level, GLenum internalFormat, argument
119 if (internalFormat < GL_PALETTE4_RGB8_OES
120 || internalFormat > GL_PALETTE8_RGB5_A1_OES) {
124 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];
125 ASSERT(info->cpal_format == internalFormat);
146 _mesa_cpal_compressed_format_type(GLenum internalFormat, GLenum *format, argument
151 if (internalFormat < GL_PALETTE4_RGB8_OES
152 || internalFormat > GL_PALETTE8_RGB5_A1_OES) {
156 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];
162 * Convert a call to glCompressedTexImage2D() where internalFormat i
166 _mesa_cpal_compressed_teximage2d(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei imageSize, const void *palette) argument
[all...]
H A Dtexstorage.c128 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
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLVideoElement.cpp212 bool HTMLVideoElement::copyVideoTextureToPlatformTexture(WebGraphicsContext3D* context, Platform3DObject texture, GLint level, GLenum internalFormat, GLenum type, bool premultiplyAlpha, bool flipY) argument
217 if (!Extensions3DUtil::canUseCopyTextureCHROMIUM(internalFormat, type, level))
220 return webMediaPlayer()->copyVideoTextureToPlatformTexture(context, texture, level, internalFormat, type, premultiplyAlpha, flipY);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Dintel_tex_image.c239 GLenum internalFormat,
250 0, internalFormat, format);
279 int level = 0, internalFormat = 0; local
301 internalFormat = GL_RGB;
305 internalFormat = GL_RGBA;
309 internalFormat = GL_RGB;
316 internalFormat, texFormat, 0);
235 intel_set_texture_image_region(struct gl_context *ctx, struct gl_texture_image *image, struct intel_region *region, GLenum target, GLenum internalFormat, gl_format format, uint32_t offset) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dintel_tex_image.c239 GLenum internalFormat,
250 0, internalFormat, format);
279 int level = 0, internalFormat = 0; local
301 internalFormat = GL_RGB;
305 internalFormat = GL_RGBA;
309 internalFormat = GL_RGB;
316 internalFormat, texFormat, 0);
235 intel_set_texture_image_region(struct gl_context *ctx, struct gl_texture_image *image, struct intel_region *region, GLenum target, GLenum internalFormat, gl_format format, uint32_t offset) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
H A Dintel_tex_image.c239 GLenum internalFormat,
250 0, internalFormat, format);
279 int level = 0, internalFormat = 0; local
301 internalFormat = GL_RGB;
305 internalFormat = GL_RGBA;
309 internalFormat = GL_RGB;
316 internalFormat, texFormat, 0);
235 intel_set_texture_image_region(struct gl_context *ctx, struct gl_texture_image *image, struct intel_region *region, GLenum target, GLenum internalFormat, gl_format format, uint32_t offset) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
H A Dnouveau_fbo.c38 set_renderbuffer_format(struct gl_renderbuffer *rb, GLenum internalFormat) argument
42 rb->InternalFormat = internalFormat;
44 switch (internalFormat) {
86 GLenum internalFormat,
91 if (!set_renderbuffer_format(rb, internalFormat))
174 GLenum internalFormat,
177 if (!set_renderbuffer_format(rb, internalFormat))
85 nouveau_renderbuffer_storage(struct gl_context *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument
173 nouveau_renderbuffer_dri_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/state_tracker/
H A Dst_format.c1481 * If there is an exact pipe_format match for {internalFormat, format, type}
1485 find_exact_format(GLint internalFormat, GLenum format, GLenum type) argument
1493 switch (internalFormat) {
1519 * Given an OpenGL internalFormat value for a texture or surface, return
1527 * \param internalFormat the user value passed to glTexImage2D
1532 st_choose_format(struct pipe_screen *screen, GLenum internalFormat, argument
1542 if (_mesa_is_compressed_format(ctx, internalFormat)
1548 pf = find_exact_format(internalFormat, format, type);
1554 /* search table for internalFormat */
1558 if (mapping->glFormats[j] == internalFormat) {
1577 st_choose_renderbuffer_format(struct pipe_screen *screen, GLenum internalFormat, unsigned sample_count) argument
1591 st_ChooseTextureFormat_renderable(struct gl_context *ctx, GLint internalFormat, GLenum format, GLenum type, GLboolean renderable) argument
1634 st_ChooseTextureFormat(struct gl_context *ctx, GLenum target, GLint internalFormat, GLenum format, GLenum type) argument
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fRboStateQueryTests.cpp202 GLenum internalFormat; member in struct:deqp::gles2::Functional::__anon19892::RboComponentSizeColorCase::ColorFormat
213 glRenderbufferStorage(GL_RENDERBUFFER, requiredColorFormats[ndx].internalFormat, 1, 1);
242 GLenum internalFormat; member in struct:deqp::gles2::Functional::__anon19892::RboComponentSizeDepthCase::DepthFormat
252 glRenderbufferStorage(GL_RENDERBUFFER, requiredDepthFormats[ndx].internalFormat, 1, 1);
/external/deqp/modules/gles3/functional/
H A Des3fRasterizationTests.cpp87 static tcu::PixelFormat getInternalFormatPixelFormat (glw::GLenum internalFormat) argument
89 const tcu::IVec4 bitDepth = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(internalFormat));

Completed in 366 milliseconds

123456