Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_ReadBufferOperation.h
| Show All 10 Lines | |||||
| * | * | ||||
| * You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
| * along with this program; if not, write to the Free Software Foundation, | * along with this program; if not, write to the Free Software Foundation, | ||||
| * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| * | * | ||||
| * Copyright 2011, Blender Foundation. | * Copyright 2011, Blender Foundation. | ||||
| */ | */ | ||||
| #ifndef __COM_READBUFFEROPERATION_H__ | #pragma once | ||||
| #define __COM_READBUFFEROPERATION_H__ | |||||
| #include "COM_MemoryBuffer.h" | #include "COM_MemoryBuffer.h" | ||||
| #include "COM_MemoryProxy.h" | #include "COM_MemoryProxy.h" | ||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| class ReadBufferOperation : public NodeOperation { | class ReadBufferOperation : public NodeOperation { | ||||
| private: | private: | ||||
| MemoryProxy *m_memoryProxy; | MemoryProxy *m_memoryProxy; | ||||
| Show All 39 Lines | bool determineDependingAreaOfInterest(rcti *input, | ||||
| rcti *output); | rcti *output); | ||||
| MemoryBuffer *getInputMemoryBuffer(MemoryBuffer **memoryBuffers) | MemoryBuffer *getInputMemoryBuffer(MemoryBuffer **memoryBuffers) | ||||
| { | { | ||||
| return memoryBuffers[this->m_offset]; | return memoryBuffers[this->m_offset]; | ||||
| } | } | ||||
| void readResolutionFromWriteBuffer(); | void readResolutionFromWriteBuffer(); | ||||
| void updateMemoryBuffer(); | void updateMemoryBuffer(); | ||||
| }; | }; | ||||
| #endif | |||||