Home
last modified time | relevance | path

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

12345678910

/external/chromium_org/content/common/gpu/client/
Dgpu_memory_buffer_impl_io_surface.cc23 unsigned internalformat, in GpuMemoryBufferCreated() argument
29 handle, size, internalformat, base::Bind(&Noop))); in GpuMemoryBufferCreated()
44 unsigned internalformat, in GpuMemoryBufferImplIOSurface() argument
47 : GpuMemoryBufferImpl(size, internalformat, callback), in GpuMemoryBufferImplIOSurface()
56 unsigned internalformat, in Create() argument
67 internalformat, in Create()
69 base::Bind(&GpuMemoryBufferCreated, size, internalformat, callback)); in Create()
75 unsigned internalformat, in AllocateForChildProcess() argument
86 internalformat, in AllocateForChildProcess()
95 unsigned internalformat, in CreateFromHandle() argument
[all …]
Dgpu_memory_buffer_impl_ozone.cc14 unsigned internalformat, in Create() argument
19 internalformat, usage)) { in Create()
21 size, internalformat, usage, client_id, callback); in Create()
26 size, internalformat, usage)) { in Create()
28 size, internalformat, usage, callback); in Create()
38 unsigned internalformat, in AllocateForChildProcess() argument
44 internalformat, usage)) { in AllocateForChildProcess()
46 size, internalformat, usage, child_client_id, callback); in AllocateForChildProcess()
50 size, internalformat, usage)) { in AllocateForChildProcess()
52 size, internalformat, child_process, callback); in AllocateForChildProcess()
[all …]
Dgpu_memory_buffer_impl_mac.cc14 unsigned internalformat, in Create() argument
18 if (GpuMemoryBufferImplIOSurface::IsConfigurationSupported(internalformat, in Create()
21 size, internalformat, usage, client_id, callback); in Create()
26 size, internalformat, usage)) { in Create()
28 size, internalformat, usage, callback); in Create()
38 unsigned internalformat, in AllocateForChildProcess() argument
43 if (GpuMemoryBufferImplIOSurface::IsConfigurationSupported(internalformat, in AllocateForChildProcess()
46 size, internalformat, usage, child_client_id, callback); in AllocateForChildProcess()
51 size, internalformat, usage)) { in AllocateForChildProcess()
53 size, internalformat, child_process, callback); in AllocateForChildProcess()
[all …]
Dgpu_memory_buffer_impl_ozone_native_buffer.cc22 unsigned internalformat, in GpuMemoryBufferCreated() argument
28 handle, size, internalformat, base::Bind(&Noop))); in GpuMemoryBufferCreated()
43 unsigned internalformat, in GpuMemoryBufferImplOzoneNativeBuffer() argument
46 : GpuMemoryBufferImpl(size, internalformat, callback), id_(id) { in GpuMemoryBufferImplOzoneNativeBuffer()
55 unsigned internalformat, in Create() argument
66 internalformat, in Create()
68 base::Bind(&GpuMemoryBufferCreated, size, internalformat, callback)); in Create()
74 unsigned internalformat, in AllocateForChildProcess() argument
85 internalformat, in AllocateForChildProcess()
95 unsigned internalformat, in CreateFromHandle() argument
[all …]
Dgpu_memory_buffer_impl_shared_memory.cc21 unsigned internalformat, in GpuMemoryBufferImplSharedMemory() argument
24 : GpuMemoryBufferImpl(size, internalformat, callback), in GpuMemoryBufferImplSharedMemory()
33 unsigned internalformat, in Create() argument
37 size, internalformat, usage)); in Create()
41 BytesPerPixel(internalformat))) { in Create()
48 size, internalformat, base::Bind(&Noop), shared_memory.Pass()))); in Create()
54 unsigned internalformat, in AllocateForChildProcess() argument
57 DCHECK(IsLayoutSupported(size, internalformat)); in AllocateForChildProcess()
60 BytesPerPixel(internalformat))) { in AllocateForChildProcess()
75 unsigned internalformat, in CreateFromHandle() argument
[all …]
Dgpu_memory_buffer_impl_surface_texture.cc16 unsigned internalformat, in GpuMemoryBufferImplSurfaceTexture() argument
20 : GpuMemoryBufferImpl(size, internalformat, callback), in GpuMemoryBufferImplSurfaceTexture()
35 unsigned internalformat, in CreateFromHandle() argument
37 DCHECK(IsFormatSupported(internalformat)); in CreateFromHandle()
47 native_window, size.width(), size.height(), WindowFormat(internalformat)); in CreateFromHandle()
51 internalformat, in CreateFromHandle()
59 unsigned internalformat) { in IsFormatSupported() argument
60 switch (internalformat) { in IsFormatSupported()
80 unsigned internalformat, in IsConfigurationSupported() argument
82 return IsFormatSupported(internalformat) && IsUsageSupported(usage); in IsConfigurationSupported()
[all …]
Dgpu_memory_buffer_impl_android.cc14 unsigned internalformat, in Create() argument
19 size, internalformat, usage)) { in Create()
21 size, internalformat, usage, callback); in Create()
31 unsigned internalformat, in AllocateForChildProcess() argument
37 size, internalformat, usage)) { in AllocateForChildProcess()
39 size, internalformat, child_process, callback); in AllocateForChildProcess()
57 unsigned internalformat, in CreateFromHandle() argument
62 handle, size, internalformat, callback); in CreateFromHandle()
65 handle, size, internalformat, callback); in CreateFromHandle()
Dgpu_memory_buffer_impl.cc12 unsigned internalformat, in GpuMemoryBufferImpl() argument
15 internalformat_(internalformat), in GpuMemoryBufferImpl()
18 DCHECK(IsFormatValid(internalformat)); in GpuMemoryBufferImpl()
26 bool GpuMemoryBufferImpl::IsFormatValid(unsigned internalformat) { in IsFormatValid() argument
27 switch (internalformat) { in IsFormatValid()
49 size_t GpuMemoryBufferImpl::BytesPerPixel(unsigned internalformat) { in BytesPerPixel() argument
50 switch (internalformat) { in BytesPerPixel()
Dgpu_memory_buffer_impl_linux.cc13 unsigned internalformat, in Create() argument
18 size, internalformat, usage)) { in Create()
20 size, internalformat, usage, callback); in Create()
30 unsigned internalformat, in AllocateForChildProcess() argument
36 size, internalformat, usage)) { in AllocateForChildProcess()
38 size, internalformat, child_process, callback); in AllocateForChildProcess()
56 unsigned internalformat, in CreateFromHandle() argument
61 handle, size, internalformat, callback); in CreateFromHandle()
Dgpu_memory_buffer_impl_win.cc13 unsigned internalformat, in Create() argument
18 size, internalformat, usage)) { in Create()
20 size, internalformat, usage, callback); in Create()
30 unsigned internalformat, in AllocateForChildProcess() argument
36 size, internalformat, usage)) { in AllocateForChildProcess()
38 size, internalformat, child_process, callback); in AllocateForChildProcess()
56 unsigned internalformat, in CreateFromHandle() argument
61 handle, size, internalformat, callback); in CreateFromHandle()
Dgpu_memory_buffer_impl_io_surface.h19 unsigned internalformat,
25 unsigned internalformat,
33 unsigned internalformat,
36 static bool IsFormatSupported(unsigned internalformat);
38 static bool IsConfigurationSupported(unsigned internalformat, unsigned usage);
39 static uint32 PixelFormat(unsigned internalformat);
49 unsigned internalformat,
Dgpu_memory_buffer_impl_ozone_native_buffer.h16 unsigned internalformat,
22 unsigned internalformat,
30 unsigned internalformat,
33 static bool IsFormatSupported(unsigned internalformat);
35 static bool IsConfigurationSupported(unsigned internalformat, unsigned usage);
45 unsigned internalformat,
Dgpu_memory_buffer_impl_shared_memory.h16 unsigned internalformat,
21 unsigned internalformat,
28 unsigned internalformat,
31 static bool IsLayoutSupported(const gfx::Size& size, unsigned internalformat);
34 unsigned internalformat,
45 unsigned internalformat,
Dgpu_memory_buffer_impl.h29 unsigned internalformat,
38 unsigned internalformat,
56 unsigned internalformat,
60 static bool IsFormatValid(unsigned internalformat);
67 static size_t BytesPerPixel(unsigned internalformat);
74 unsigned internalformat,
Dgpu_memory_buffer_impl_surface_texture.h20 unsigned internalformat,
23 static bool IsFormatSupported(unsigned internalformat);
25 static bool IsConfigurationSupported(unsigned internalformat, unsigned usage);
26 static int WindowFormat(unsigned internalformat);
37 unsigned internalformat,
/external/chromium_org/ui/gl/
Dgl_image_memory.cc20 bool ValidFormat(unsigned internalformat) { in ValidFormat() argument
21 switch (internalformat) { in ValidFormat()
30 GLenum TextureFormat(unsigned internalformat) { in TextureFormat() argument
31 switch (internalformat) { in TextureFormat()
42 GLenum DataFormat(unsigned internalformat) { in DataFormat() argument
43 return TextureFormat(internalformat); in DataFormat()
46 GLenum DataType(unsigned internalformat) { in DataType() argument
47 switch (internalformat) { in DataType()
57 int BytesPerPixel(unsigned internalformat) { in BytesPerPixel() argument
58 switch (internalformat) { in BytesPerPixel()
[all …]
Dgl_image_glx.cc27 bool ValidFormat(unsigned internalformat) { in ValidFormat() argument
28 switch (internalformat) { in ValidFormat()
36 int TextureFormat(unsigned internalformat) { in TextureFormat() argument
37 switch (internalformat) { in TextureFormat()
46 int BindToTextureFormat(unsigned internalformat) { in BindToTextureFormat() argument
47 switch (internalformat) { in BindToTextureFormat()
56 unsigned PixmapDepth(unsigned internalformat) { in PixmapDepth() argument
57 switch (internalformat) { in PixmapDepth()
110 GLImageGLX::GLImageGLX(const gfx::Size& size, unsigned internalformat) in GLImageGLX() argument
111 : glx_pixmap_(0), size_(size), internalformat_(internalformat) { in GLImageGLX()
/external/mesa3d/src/mesa/main/
Dtexstorage.c243 GLsizei levels, GLenum internalformat, in tex_storage_error_check() argument
250 switch (internalformat) { in tex_storage_error_check()
286 legalFormat = _mesa_base_tex_format(ctx, internalformat) > 0; in tex_storage_error_check()
292 _mesa_lookup_enum_by_nr(internalformat)); in tex_storage_error_check()
356 texstorage(GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, in texstorage() argument
368 internalformat, width, height, depth)) { in texstorage()
373 internalformat, GL_NONE, GL_NONE, in texstorage()
389 setup_texstorage(ctx, texObj, dims, levels, internalformat, in texstorage()
396 _mesa_TexStorage1D(GLenum target, GLsizei levels, GLenum internalformat, in _mesa_TexStorage1D() argument
399 texstorage(1, target, levels, internalformat, width, 1, 1); in _mesa_TexStorage1D()
[all …]
Dtexstorage.h30 _mesa_TexStorage1D(GLenum target, GLsizei levels, GLenum internalformat,
35 _mesa_TexStorage2D(GLenum target, GLsizei levels, GLenum internalformat,
40 _mesa_TexStorage3D(GLenum target, GLsizei levels, GLenum internalformat,
47 GLenum internalformat,
52 GLenum internalformat,
57 GLenum internalformat,
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dtexstorage.c243 GLsizei levels, GLenum internalformat, in tex_storage_error_check() argument
250 switch (internalformat) { in tex_storage_error_check()
286 legalFormat = _mesa_base_tex_format(ctx, internalformat) > 0; in tex_storage_error_check()
292 _mesa_lookup_enum_by_nr(internalformat)); in tex_storage_error_check()
356 texstorage(GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, in texstorage() argument
368 internalformat, width, height, depth)) { in texstorage()
373 internalformat, GL_NONE, GL_NONE, in texstorage()
389 setup_texstorage(ctx, texObj, dims, levels, internalformat, in texstorage()
396 _mesa_TexStorage1D(GLenum target, GLsizei levels, GLenum internalformat, in _mesa_TexStorage1D() argument
399 texstorage(1, target, levels, internalformat, width, 1, 1); in _mesa_TexStorage1D()
[all …]
Dtexstorage.h30 _mesa_TexStorage1D(GLenum target, GLsizei levels, GLenum internalformat,
35 _mesa_TexStorage2D(GLenum target, GLsizei levels, GLenum internalformat,
40 _mesa_TexStorage3D(GLenum target, GLsizei levels, GLenum internalformat,
47 GLenum internalformat,
52 GLenum internalformat,
57 GLenum internalformat,
/external/chromium_org/content/common/gpu/
Dgpu_memory_buffer_factory_mac.cc21 unsigned internalformat, in CreateGpuMemoryBuffer() argument
26 handle.global_id, size, internalformat); in CreateGpuMemoryBuffer()
46 unsigned internalformat, in CreateImageForGpuMemoryBuffer() argument
51 new gfx::GLImageSharedMemory(size, internalformat)); in CreateImageForGpuMemoryBuffer()
63 handle.global_id, size, internalformat); in CreateImageForGpuMemoryBuffer()
Dgpu_memory_buffer_factory_ozone.cc21 unsigned internalformat, in CreateGpuMemoryBuffer() argument
26 handle.global_id, size, internalformat, usage) in CreateGpuMemoryBuffer()
48 unsigned internalformat, in CreateImageForGpuMemoryBuffer() argument
53 new gfx::GLImageSharedMemory(size, internalformat)); in CreateImageForGpuMemoryBuffer()
65 handle.global_id, size, internalformat); in CreateImageForGpuMemoryBuffer()
Dgpu_memory_buffer_factory_x11.cc21 unsigned internalformat, in CreateGpuMemoryBuffer() argument
47 unsigned internalformat, in CreateImageForGpuMemoryBuffer() argument
52 new gfx::GLImageSharedMemory(size, internalformat)); in CreateImageForGpuMemoryBuffer()
64 handle.global_id, size, internalformat); in CreateImageForGpuMemoryBuffer()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
DTextureStorage9.cpp41 DWORD TextureStorage9::GetTextureUsage(GLenum internalformat, bool renderTarget) in GetTextureUsage() argument
45 const gl::InternalFormat &formatInfo = gl::GetInternalFormatInfo(internalformat); in GetTextureUsage()
46 const d3d9::TextureFormat &d3dFormatInfo = d3d9::GetTextureFormatInfo(internalformat); in GetTextureUsage()
101 TextureStorage9_2D::TextureStorage9_2D(Renderer *renderer, GLenum internalformat, bool renderTarget… in TextureStorage9_2D() argument
102 : TextureStorage9(renderer, GetTextureUsage(internalformat, renderTarget)) in TextureStorage9_2D()
111 const d3d9::TextureFormat &d3dFormatInfo = d3d9::GetTextureFormatInfo(internalformat); in TextureStorage9_2D()
203 TextureStorage9_Cube::TextureStorage9_Cube(Renderer *renderer, GLenum internalformat, bool renderTa… in TextureStorage9_Cube() argument
204 : TextureStorage9(renderer, GetTextureUsage(internalformat, renderTarget)) in TextureStorage9_Cube()
218 const d3d9::TextureFormat &d3dFormatInfo = d3d9::GetTextureFormatInfo(internalformat); in TextureStorage9_Cube()

12345678910