Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Static Public Member Functions | Static Public Attributes
GLImageAllocator< T > Class Template Reference

Copyright (c) 2016-present, Facebook, Inc. More...

#include <GLImageAllocator.h>

Inheritance diagram for GLImageAllocator< T >:
IOSGLImageAllocator< T >

Public Member Functions

virtual GLImageVector< T > * newImage (int num_images, int width, int height, int channels, int tile_x, int tile_y, bool is_output)
 Copyright (c) 2016-present, Facebook, Inc. More...
 
virtual GLImageVector< T > * newImage (int num_images, int width, int height, int channels, int tile_x, int tile_y, std::function< const GLTexture *(const int width, const int height)> textureAllocator)
 
virtual GLImageVector< T > * ShareTexture (const GLuint textureID, int num_images, int width, int height, int channels, int tile_x=1, int tile_y=1)
 

Static Public Member Functions

static GLImageAllocator< T > * newGLImageAllocator ()
 Copyright (c) 2016-present, Facebook, Inc. More...
 

Static Public Attributes

static const GLTexture::Typetype
 

Detailed Description

template<class T>
class GLImageAllocator< T >

Copyright (c) 2016-present, Facebook, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 24 of file GLImageAllocator.h.

Member Function Documentation

template<typename T >
GLImageAllocator< T > * GLImageAllocator< T >::newGLImageAllocator ( )
static

Copyright (c) 2016-present, Facebook, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 22 of file GLImageAllocator.cc.

template<class T >
GLImageVector< T > * GLImageAllocator< T >::newImage ( int  num_images,
int  width,
int  height,
int  channels,
int  tile_x,
int  tile_y,
bool  is_output 
)
virtual

Copyright (c) 2016-present, Facebook, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Reimplemented in IOSGLImageAllocator< T >.

Definition at line 22 of file GLImageAllocator.cc.


The documentation for this class was generated from the following files: