Searched refs:internalformat (Results 1 - 25 of 220) sorted by relevance

123456789

/external/chromium_org/content/common/gpu/client/
H A Dgpu_memory_buffer_impl.cc12 unsigned internalformat,
15 internalformat_(internalformat),
18 DCHECK(IsFormatValid(internalformat));
26 bool GpuMemoryBufferImpl::IsFormatValid(unsigned internalformat) { argument
27 switch (internalformat) {
49 size_t GpuMemoryBufferImpl::BytesPerPixel(unsigned internalformat) { argument
50 switch (internalformat) {
11 GpuMemoryBufferImpl(const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback) argument
H A Dgpu_memory_buffer_impl_mac.cc14 unsigned internalformat,
18 if (GpuMemoryBufferImplIOSurface::IsConfigurationSupported(internalformat,
21 size, internalformat, usage, client_id, callback);
26 size, internalformat, usage)) {
28 size, internalformat, usage, callback);
38 unsigned internalformat,
43 if (GpuMemoryBufferImplIOSurface::IsConfigurationSupported(internalformat,
46 size, internalformat, usage, child_client_id, callback);
51 size, internalformat, usage)) {
53 size, internalformat, child_proces
13 Create(const gfx::Size& size, unsigned internalformat, unsigned usage, int client_id, const CreationCallback& callback) argument
36 AllocateForChildProcess( const gfx::Size& size, unsigned internalformat, unsigned usage, base::ProcessHandle child_process, int child_client_id, const AllocationCallback& callback) argument
68 CreateFromHandle( const gfx::GpuMemoryBufferHandle& handle, const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback) argument
[all...]
H A Dgpu_memory_buffer_impl_ozone.cc14 unsigned internalformat,
19 internalformat, usage)) {
21 size, internalformat, usage, client_id, callback);
26 size, internalformat, usage)) {
28 size, internalformat, usage, callback);
38 unsigned internalformat,
44 internalformat, usage)) {
46 size, internalformat, usage, child_client_id, callback);
50 size, internalformat, usage)) {
52 size, internalformat, child_proces
13 Create(const gfx::Size& size, unsigned internalformat, unsigned usage, int client_id, const CreationCallback& callback) argument
36 AllocateForChildProcess( const gfx::Size& size, unsigned internalformat, unsigned usage, base::ProcessHandle child_process, int child_client_id, const AllocationCallback& callback) argument
67 CreateFromHandle( const gfx::GpuMemoryBufferHandle& handle, const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback) argument
[all...]
H A 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,
H A Dgpu_memory_buffer_impl_surface_texture.cc16 unsigned internalformat,
20 : GpuMemoryBufferImpl(size, internalformat, callback),
35 unsigned internalformat,
37 DCHECK(IsFormatSupported(internalformat));
47 native_window, size.width(), size.height(), WindowFormat(internalformat));
51 internalformat,
59 unsigned internalformat) {
60 switch (internalformat) {
80 unsigned internalformat,
82 return IsFormatSupported(internalformat)
14 GpuMemoryBufferImplSurfaceTexture( const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback, const gfx::SurfaceTextureId& surface_texture_id, ANativeWindow* native_window) argument
32 CreateFromHandle( const gfx::GpuMemoryBufferHandle& handle, const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback) argument
58 IsFormatSupported( unsigned internalformat) argument
79 IsConfigurationSupported( unsigned internalformat, unsigned usage) argument
86 WindowFormat(unsigned internalformat) argument
[all...]
H A Dgpu_memory_buffer_impl_android.cc14 unsigned internalformat,
19 size, internalformat, usage)) {
21 size, internalformat, usage, callback);
31 unsigned internalformat,
37 size, internalformat, usage)) {
39 size, internalformat, child_process, callback);
57 unsigned internalformat,
62 handle, size, internalformat, callback);
65 handle, size, internalformat, callback);
13 Create(const gfx::Size& size, unsigned internalformat, unsigned usage, int client_id, const CreationCallback& callback) argument
29 AllocateForChildProcess( const gfx::Size& size, unsigned internalformat, unsigned usage, base::ProcessHandle child_process, int child_client_id, const AllocationCallback& callback) argument
54 CreateFromHandle( const gfx::GpuMemoryBufferHandle& handle, const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback) argument
H A Dgpu_memory_buffer_impl_ozone_native_buffer.cc22 unsigned internalformat,
28 handle, size, internalformat, base::Bind(&Noop)));
43 unsigned internalformat,
46 : GpuMemoryBufferImpl(size, internalformat, callback), id_(id) {
55 unsigned internalformat,
66 internalformat,
68 base::Bind(&GpuMemoryBufferCreated, size, internalformat, callback));
74 unsigned internalformat,
85 internalformat,
95 unsigned internalformat,
20 GpuMemoryBufferCreated( const gfx::Size& size, unsigned internalformat, const GpuMemoryBufferImpl::CreationCallback& callback, const gfx::GpuMemoryBufferHandle& handle) argument
41 GpuMemoryBufferImplOzoneNativeBuffer( const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback, const gfx::GpuMemoryBufferId& id) argument
53 Create( const gfx::Size& size, unsigned internalformat, unsigned usage, int client_id, const CreationCallback& callback) argument
72 AllocateForChildProcess( const gfx::Size& size, unsigned internalformat, unsigned usage, int child_client_id, const AllocationCallback& callback) argument
92 CreateFromHandle( const gfx::GpuMemoryBufferHandle& handle, const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback) argument
105 IsFormatSupported( unsigned internalformat) argument
127 IsConfigurationSupported( unsigned internalformat, unsigned usage) argument
[all...]
H A Dgpu_memory_buffer_impl_shared_memory.cc21 unsigned internalformat,
24 : GpuMemoryBufferImpl(size, internalformat, callback),
33 unsigned internalformat,
37 size, internalformat, usage));
41 BytesPerPixel(internalformat))) {
48 size, internalformat, base::Bind(&Noop), shared_memory.Pass())));
54 unsigned internalformat,
57 DCHECK(IsLayoutSupported(size, internalformat));
60 BytesPerPixel(internalformat))) {
75 unsigned internalformat,
19 GpuMemoryBufferImplSharedMemory( const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback, scoped_ptr<base::SharedMemory> shared_memory) argument
32 Create(const gfx::Size& size, unsigned internalformat, unsigned usage, const CreationCallback& callback) argument
52 AllocateForChildProcess( const gfx::Size& size, unsigned internalformat, base::ProcessHandle child_process, const AllocationCallback& callback) argument
72 CreateFromHandle( const gfx::GpuMemoryBufferHandle& handle, const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback) argument
91 IsLayoutSupported( const gfx::Size& size, unsigned internalformat) argument
111 IsConfigurationSupported( const gfx::Size& size, unsigned internalformat, unsigned usage) argument
[all...]
H A Dgpu_memory_buffer_impl_linux.cc13 unsigned internalformat,
18 size, internalformat, usage)) {
20 size, internalformat, usage, callback);
30 unsigned internalformat,
36 size, internalformat, usage)) {
38 size, internalformat, child_process, callback);
56 unsigned internalformat,
61 handle, size, internalformat, callback);
12 Create(const gfx::Size& size, unsigned internalformat, unsigned usage, int client_id, const CreationCallback& callback) argument
28 AllocateForChildProcess( const gfx::Size& size, unsigned internalformat, unsigned usage, base::ProcessHandle child_process, int child_client_id, const AllocationCallback& callback) argument
53 CreateFromHandle( const gfx::GpuMemoryBufferHandle& handle, const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback) argument
H A Dgpu_memory_buffer_impl_win.cc13 unsigned internalformat,
18 size, internalformat, usage)) {
20 size, internalformat, usage, callback);
30 unsigned internalformat,
36 size, internalformat, usage)) {
38 size, internalformat, child_process, callback);
56 unsigned internalformat,
61 handle, size, internalformat, callback);
12 Create(const gfx::Size& size, unsigned internalformat, unsigned usage, int client_id, const CreationCallback& callback) argument
28 AllocateForChildProcess( const gfx::Size& size, unsigned internalformat, unsigned usage, base::ProcessHandle child_process, int child_client_id, const AllocationCallback& callback) argument
53 CreateFromHandle( const gfx::GpuMemoryBufferHandle& handle, const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback) argument
H A 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,
H A Dgpu_memory_buffer_impl_io_surface.cc23 unsigned internalformat,
29 handle, size, internalformat, base::Bind(&Noop)));
44 unsigned internalformat,
47 : GpuMemoryBufferImpl(size, internalformat, callback),
56 unsigned internalformat,
67 internalformat,
69 base::Bind(&GpuMemoryBufferCreated, size, internalformat, callback));
75 unsigned internalformat,
86 internalformat,
95 unsigned internalformat,
21 GpuMemoryBufferCreated( const gfx::Size& size, unsigned internalformat, const GpuMemoryBufferImpl::CreationCallback& callback, const gfx::GpuMemoryBufferHandle& handle) argument
42 GpuMemoryBufferImplIOSurface( const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback, IOSurfaceRef io_surface) argument
55 Create(const gfx::Size& size, unsigned internalformat, unsigned usage, int client_id, const CreationCallback& callback) argument
73 AllocateForChildProcess( const gfx::Size& size, unsigned internalformat, unsigned usage, int child_client_id, const AllocationCallback& callback) argument
92 CreateFromHandle( const gfx::GpuMemoryBufferHandle& handle, const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback) argument
109 IsFormatSupported(unsigned internalformat) argument
129 IsConfigurationSupported( unsigned internalformat, unsigned usage) argument
136 PixelFormat(unsigned internalformat) argument
[all...]
H A 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,
H A Dgpu_memory_buffer_impl.h26 // Creates a GPU memory buffer instance with |size| and |internalformat| for
29 unsigned internalformat,
34 // Allocates a GPU memory buffer with |size| and |internalformat| for |usage|
38 unsigned internalformat,
49 // Creates an instance from the given |handle|. |size| and |internalformat|
56 unsigned internalformat,
59 // Returns true if |internalformat| is a format recognized by this base class.
60 static bool IsFormatValid(unsigned internalformat);
66 // implementation when using |internalformat|.
67 static size_t BytesPerPixel(unsigned internalformat);
[all...]
H A 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,
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A 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/mesa3d/src/mesa/main/
H A 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/ui/gl/
H A Dgl_image_ref_counted_memory.cc13 unsigned internalformat)
14 : GLImageMemory(size, internalformat) {
12 GLImageRefCountedMemory(const gfx::Size& size, unsigned internalformat) argument
H A Dgl_image_glx.cc27 bool ValidFormat(unsigned internalformat) { argument
28 switch (internalformat) {
36 int TextureFormat(unsigned internalformat) { argument
37 switch (internalformat) {
46 int BindToTextureFormat(unsigned internalformat) { argument
47 switch (internalformat) {
56 unsigned PixmapDepth(unsigned internalformat) { argument
57 switch (internalformat) {
110 GLImageGLX::GLImageGLX(const gfx::Size& size, unsigned internalformat) argument
111 : glx_pixmap_(0), size_(size), internalformat_(internalformat) {
[all...]
H A Dgl_image_memory.cc20 bool ValidFormat(unsigned internalformat) { argument
21 switch (internalformat) {
30 GLenum TextureFormat(unsigned internalformat) { argument
31 switch (internalformat) {
42 GLenum DataFormat(unsigned internalformat) { argument
43 return TextureFormat(internalformat);
46 GLenum DataType(unsigned internalformat) { argument
47 switch (internalformat) {
57 int BytesPerPixel(unsigned internalformat) { argument
58 switch (internalformat) {
70 GLImageMemory(const gfx::Size& size, unsigned internalformat) argument
[all...]
/external/chromium_org/content/common/gpu/
H A Dgpu_memory_buffer_factory_mac.cc21 unsigned internalformat,
26 handle.global_id, size, internalformat);
46 unsigned internalformat,
51 new gfx::GLImageSharedMemory(size, internalformat));
63 handle.global_id, size, internalformat);
H A Dgpu_memory_buffer_factory_ozone.cc21 unsigned internalformat,
26 handle.global_id, size, internalformat, usage)
48 unsigned internalformat,
53 new gfx::GLImageSharedMemory(size, internalformat));
65 handle.global_id, size, internalformat);
H A Dgpu_memory_buffer_factory_android.cc21 unsigned internalformat,
33 unsigned internalformat,
38 new gfx::GLImageSharedMemory(size, internalformat));
H A Dgpu_memory_buffer_factory_win.cc20 unsigned internalformat,
32 unsigned internalformat,
37 new gfx::GLImageSharedMemory(size, internalformat));
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DvalidationES2.h19 bool ValidateES2TexImageParameters(Context *context, GLenum target, GLint level, GLenum internalformat, bool isCompressed, bool isSubImage,
23 bool ValidateES2CopyTexImageParameters(Context* context, GLenum target, GLint level, GLenum internalformat, bool isSubImage,
27 bool ValidateES2TexStorageParameters(Context *context, GLenum target, GLsizei levels, GLenum internalformat,

Completed in 737 milliseconds

123456789