diff options
author | Dave Parks <davep@lindenlab.com> | 2012-07-18 15:50:45 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-07-18 15:50:45 -0500 |
commit | 725cf540a5100d6f2ab4704641dfb6906f7265a8 (patch) | |
tree | eec55630343e2c06153586bd76685962e994af5e /indra/newview/pipeline.h | |
parent | 2e3593236b393c61005b440ec95f12bda37855b4 (diff) | |
parent | cfc5236e643618822e66bfc77dc912036bcb57cb (diff) |
merge
Diffstat (limited to 'indra/newview/pipeline.h')
-rw-r--r-- | indra/newview/pipeline.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/pipeline.h b/indra/newview/pipeline.h index ecf6a5d262..d16d7d1169 100644 --- a/indra/newview/pipeline.h +++ b/indra/newview/pipeline.h @@ -119,8 +119,14 @@ public: void createGLBuffers(); void createLUTBuffers(); - void allocateScreenBuffer(U32 resX, U32 resY); + //allocate the largest screen buffer possible up to resX, resY + //returns true if full size buffer allocated, false if some other size is allocated + bool allocateScreenBuffer(U32 resX, U32 resY); + + //attempt to allocate screen buffers at resX, resY + //returns true if allocation successful, false otherwise bool allocateScreenBuffer(U32 resX, U32 resY, U32 samples); + void allocatePhysicsBuffer(); void resetVertexBuffers(LLDrawable* drawable); |