equal
deleted
inserted
replaced
296 TEGLState& GetUploadState() |
296 TEGLState& GetUploadState() |
297 { |
297 { |
298 return iEGLStateForTextureUpload; |
298 return iEGLStateForTextureUpload; |
299 } |
299 } |
300 |
300 |
|
301 /** |
|
302 * Helper function for creating new PBuffer surfaces. |
|
303 * If out of memory happens this method tries to internally free all |
|
304 * the possible memory that can be freed and tries again. If still there is |
|
305 * not enough available memory EGL_NO_SURFACE is returned |
|
306 */ |
|
307 EGLSurface CreatePBufferSurface(EGLDisplay aDisplay, |
|
308 EGLenum aBuffertype, EGLClientBuffer aBuffer, EGLConfig aConfig); |
|
309 |
301 protected: |
310 protected: |
302 |
311 |
303 /* Constructors. */ |
312 /* Constructors. */ |
304 |
313 |
305 /** |
314 /** |