/frameworks/base/libs/hwui/ |
RenderBufferCache.cpp | 79 void RenderBufferCache::deleteBuffer(RenderBuffer* buffer) { 82 RenderBuffer::formatName(buffer->getFormat()), 97 RenderBuffer* RenderBufferCache::get(GLenum format, const uint32_t width, const uint32_t height) { 98 RenderBuffer* buffer = nullptr; 111 RenderBuffer::formatName(format), width, height); 113 buffer = new RenderBuffer(format, width, height); 116 RenderBuffer::formatName(format), width, height); 125 bool RenderBufferCache::put(RenderBuffer* buffer) { 131 RenderBuffer* victim = mCache.begin()->mBuffer; 142 RenderBuffer::formatName(buffer->getFormat()) [all...] |
RenderBufferCache.h | 22 #include "RenderBuffer.h" 43 * (see RenderBuffer::isAllocated()). 49 RenderBuffer* get(GLenum format, const uint32_t width, const uint32_t height); 60 bool put(RenderBuffer* buffer); 85 RenderBufferEntry(RenderBuffer* buffer): 104 RenderBuffer* mBuffer; 110 void deleteBuffer(RenderBuffer* buffer);
|
RenderBuffer.h | 30 struct RenderBuffer { 35 RenderBuffer(GLenum format, uint32_t width, uint32_t height): 41 ~RenderBuffer() { 189 }; // struct RenderBuffer
|
Layer.h | 36 #include "RenderBuffer.h" 189 inline void setStencilRenderBuffer(RenderBuffer* renderBuffer) { 190 if (RenderBuffer::isStencilBuffer(renderBuffer->getFormat())) { 191 this->stencil = renderBuffer; 199 inline RenderBuffer* getStencilRenderBuffer() const { 361 RenderBuffer* stencil = nullptr;
|
/external/mesa3d/src/mesa/swrast/ |
s_texrender.c | 7 #include "main/renderbuffer.h" 27 * This function creates a renderbuffer object which wraps a texture image. 28 * The new renderbuffer is plugged into the given attachment point. 29 * This allows rendering into the texture as if it were a renderbuffer. 38 ASSERT(att->Renderbuffer == NULL); 53 _mesa_reference_renderbuffer(&att->Renderbuffer, rb); 57 * Update the renderbuffer wrapper for rendering to a texture. 64 struct gl_renderbuffer *rb = att->Renderbuffer; 131 if (!att->Renderbuffer) { 143 /* The renderbuffer texture wrapper will get deleted by th [all...] |
s_renderbuffer.c | 28 * Also, routines for reading/writing software-based renderbuffer data as 39 #include "main/renderbuffer.h" 137 "software renderbuffer allocation (%d x %d x %d)", 214 * Allocate a software-based renderbuffer. This is called via the 216 * renderbuffer. 237 * renderbuffer; core Mesa will handle all the buffer management and 268 assert(fb->Attachment[b].Renderbuffer == NULL); 287 * Add a software-based depth renderbuffer to the given framebuffer. 291 * renderbuffer; core Mesa will handle all the buffer management and 306 assert(fb->Attachment[BUFFER_DEPTH].Renderbuffer == NULL) [all...] |
s_copypix.c | 248 struct gl_renderbuffer *readRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; 350 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; 463 srcRb = srcFb->Attachment[BUFFER_STENCIL].Renderbuffer; 464 dstRb = dstFb->Attachment[BUFFER_STENCIL].Renderbuffer; 467 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; 468 dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer; 473 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; 474 dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer; 490 if (srcRb != srcFb->Attachment[BUFFER_STENCIL].Renderbuffer || 491 dstRb != dstFb->Attachment[BUFFER_STENCIL].Renderbuffer) [all...] |
/external/mesa3d/src/mesa/main/ |
renderbuffer.c | 32 #include "renderbuffer.h" 77 * This is the default function for renderbuffer->Delete(). 91 * Attach a renderbuffer to a framebuffer. 102 /* There should be no previous renderbuffer on this attachment point, 103 * with the exception of depth/stencil since the same renderbuffer may 108 fb->Attachment[bufferName].Renderbuffer == NULL); 120 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, rb); 125 * Remove the named renderbuffer from the given framebuffer. 133 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, 139 * Set *ptr to point to rb. If *ptr points to another renderbuffer, [all...] |
framebuffer.c | 28 * Also, routines for reading/writing renderbuffer data as ubytes, 43 #include "renderbuffer.h" 138 /* Init read/draw renderbuffer state */ 215 if (att->Renderbuffer) { 216 _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); 221 ASSERT(!att->Renderbuffer); 238 /* unreference old renderbuffer */ 289 if (att->Type == GL_RENDERBUFFER_EXT && att->Renderbuffer) { 290 struct gl_renderbuffer *rb = att->Renderbuffer; 415 const struct gl_renderbuffer *rb = att->Renderbuffer; [all...] |
clear.c | 255 if (att[BUFFER_FRONT_LEFT].Renderbuffer) 257 if (att[BUFFER_FRONT_RIGHT].Renderbuffer) 261 if (att[BUFFER_BACK_LEFT].Renderbuffer) 263 if (att[BUFFER_BACK_RIGHT].Renderbuffer) 267 if (att[BUFFER_FRONT_LEFT].Renderbuffer) 269 if (att[BUFFER_BACK_LEFT].Renderbuffer) 273 if (att[BUFFER_FRONT_RIGHT].Renderbuffer) 275 if (att[BUFFER_BACK_RIGHT].Renderbuffer) 279 if (att[BUFFER_FRONT_LEFT].Renderbuffer) 281 if (att[BUFFER_BACK_LEFT].Renderbuffer) [all...] |
/external/skia/src/gpu/gl/ |
GrGLTextureRenderTarget.cpp | 19 // renderbuffer component, dump as skia/gpu_resources/resource_#/texture 25 // renderbuffer as well.
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_fbo.h | 46 * Intel renderbuffer, derived from gl_renderbuffer. 51 struct intel_mipmap_tree *mt; /**< The renderbuffer storage. */ 54 /* Current texture image this renderbuffer is attached to. */ 63 * which miptree slice is wrapped by this renderbuffer. The fields' values 108 * If the attached renderbuffer is a wrapper, then return wrapped 109 * renderbuffer. 118 rb = fb->Attachment[attIndex].Renderbuffer; 183 * \brief Perform a HiZ resolve on the renderbuffer. 185 * It is safe to call this function on a renderbuffer without HiZ. In that 195 * \brief Perform a depth resolve on the renderbuffer [all...] |
intel_fbo.c | 36 #include "main/renderbuffer.h" 119 /* this is a malloc'd renderbuffer (accum buffer), not an irb */ 134 /* For a window-system renderbuffer, we need to flip the mapping we receive 173 /* this is a malloc'd renderbuffer (accum buffer) */ 221 * storage for a user-created renderbuffer. 329 * Called for each hardware renderbuffer when a _window_ is resized. 363 struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; 384 * not a user-created renderbuffer. 398 _mesa_error(ctx, GL_OUT_OF_MEMORY, "creating renderbuffer"); 438 * Create a new renderbuffer object [all...] |
/hardware/intel/common/libmix/videodecoder/ |
VideoDecoderBase.cpp | 221 if (p->renderBuffer.flag & IS_RESOLUTION_CHANGE) { 311 vaSetTimestampForSurface(mVADisplay, outputByPos->renderBuffer.surface, outputByPos->renderBuffer.timeStamp); 313 vaSyncSurface(mVADisplay, outputByPos->renderBuffer.surface); 314 fillDecodingErrors(&(outputByPos->renderBuffer)); 317 outputByPos->renderBuffer.flag |= IS_EOS; 319 drainDecodingErrors(outErrBuf, &(outputByPos->renderBuffer)); 321 return &(outputByPos->renderBuffer); 355 //VTRACE("Output POC %d for display (pts = %.2f)", output->pictureOrder, output->renderBuffer.timeStamp/1E6); 356 vaSetTimestampForSurface(mVADisplay, output->renderBuffer.surface, output->renderBuffer.timeStamp) [all...] |
VideoDecoderWMV.cpp | 174 mAcquiredBuffer->renderBuffer.timeStamp = mCurrentPTS; 175 mAcquiredBuffer->renderBuffer.flag = 0; 176 mAcquiredBuffer->renderBuffer.scanFormat = mLastReference->renderBuffer.scanFormat; 177 mAcquiredBuffer->renderBuffer.surface = mLastReference->renderBuffer.surface; 190 mAcquiredBuffer->renderBuffer.timeStamp = buffer->timeStamp; 192 mAcquiredBuffer->renderBuffer.flag |= HAS_DISCONTINUITY; 195 mAcquiredBuffer->renderBuffer.flag |= WANT_DECODE_ONLY; 199 mAcquiredBuffer->renderBuffer.flag |= IS_RESOLUTION_CHANGE [all...] |
VideoDecoderMPEG2.cpp | 174 mAcquiredBuffer->renderBuffer.scanFormat = VA_TOP_FIELD; 176 mAcquiredBuffer->renderBuffer.scanFormat = VA_BOTTOM_FIELD; 179 mAcquiredBuffer->renderBuffer.scanFormat = VA_FRAME_PICTURE; 182 mAcquiredBuffer->renderBuffer.timeStamp = buffer->timeStamp; 183 mAcquiredBuffer->renderBuffer.flag = 0; 185 mAcquiredBuffer->renderBuffer.flag |= WANT_DECODE_ONLY; 189 mAcquiredBuffer->renderBuffer.flag |= IS_RESOLUTION_CHANGE; 221 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); 298 picParam->forward_reference_picture = mLastReference->renderBuffer.surface; 309 picParam->forward_reference_picture = mForwardReference->renderBuffer.surface [all...] |
VideoDecoderVP8.cpp | 228 mAcquiredBuffer->renderBuffer.scanFormat = VA_FRAME_PICTURE; 229 mAcquiredBuffer->renderBuffer.timeStamp = buffer->timeStamp; 230 mAcquiredBuffer->renderBuffer.flag = 0; 232 mAcquiredBuffer->renderBuffer.flag |= WANT_DECODE_ONLY; 236 mAcquiredBuffer->renderBuffer.flag |= IS_RESOLUTION_CHANGE; 270 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); 359 mAcquiredBuffer->renderBuffer.errBuf.errorNumber = 1; 360 mAcquiredBuffer->renderBuffer.errBuf.errorArray[0].type = DecodeRefMissing; 364 picParam->last_ref_frame = mRFBs[0][VP8_LAST_REF_PIC].surfaceBuffer->renderBuffer.surface; 365 picParam->alt_ref_frame = mRFBs[0][VP8_ALT_REF_PIC].surfaceBuffer->renderBuffer.surface [all...] |
VideoDecoderMPEG4.cpp | 243 mLastReference->renderBuffer.timeStamp = mCurrentPTS; 253 mAcquiredBuffer->renderBuffer.timeStamp = mCurrentPTS; 254 mAcquiredBuffer->renderBuffer.flag = 0; 255 mAcquiredBuffer->renderBuffer.scanFormat = mLastReference->renderBuffer.scanFormat; 256 mAcquiredBuffer->renderBuffer.surface = mLastReference->renderBuffer.surface; 352 mAcquiredBuffer->renderBuffer.timeStamp += increment; 355 mCurrentPTS = mAcquiredBuffer->renderBuffer.timeStamp; 412 mAcquiredBuffer->renderBuffer.scanFormat = VA_BOTTOM_FIELD | VA_TOP_FIELD [all...] |
/device/generic/goldfish/opengl/system/egl/ |
ClientAPIExts.in | 110 (GLuint renderbuffer), 111 (renderbuffer)) 114 (GLenum target, GLuint renderbuffer), 115 (target, renderbuffer)) 160 (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer), 161 (target, attachment, renderbuffertarget, renderbuffer))
|
/external/deqp/doc/testspecs/GLES31/ |
functional.draw_buffers_indexed.txt | 30 + Random tests for different states and renderbuffer formats. 35 + Exhaustive tests for all renderbuffer formats. 39 Each test cases begins by creating framebuffer object and required renderbuffer 45 framebuffer object and reading back each renderbuffer, which are then compared 52 buffer specific state for second renderbuffer and then overrides it by using 56 and randomizes renderbuffer formats, pre- and post-common state and per draw
|
/frameworks/native/opengl/tools/glgen/specs/jsr239/ |
glspec-1.1extpack | 2 void glBindRenderbufferOES ( GLint target, GLint renderbuffer ) 13 void glFramebufferRenderbufferOES ( GLint target, GLint attachment, GLint renderbuffertarget, GLint renderbuffer ) 25 GLboolean glIsRenderbufferOES ( GLint renderbuffer )
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_fbo.c | 30 * Framebuffer/renderbuffer functions. 42 #include "main/renderbuffer.h" 120 /* init renderbuffer fields */ 143 * number of samples allocated for the renderbuffer image is 195 /* this is a user-created renderbuffer */ 271 * Allocate a renderbuffer for a an on-screen window (not a user-created 272 * renderbuffer). The window system code determines the format. 281 _mesa_error(NULL, GL_OUT_OF_MEMORY, "creating renderbuffer"); 405 /* create new renderbuffer which wraps the texture image. 406 * Use the texture's name as the renderbuffer's name so that we hav [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_copybit.cpp | 453 private_handle_t *renderBuffer = 462 &(list->hwLayers[i]),renderBuffer, 0); 484 private_handle_t *renderBuffer; 497 renderBuffer = (private_handle_t *)list->hwLayers[last].handle; 499 renderBuffer = getCurrentRenderBuffer(); 501 if (!renderBuffer) { 524 clear(renderBuffer,layer->dirtyRect); 526 clear(renderBuffer,layer->displayFrame); 531 clear(renderBuffer, clearRegion); 556 renderBuffer, !i) [all...] |
/packages/apps/Messaging/jni/ |
GifTranscoder.cpp | 147 std::unique_ptr<ColorARGB> renderBuffer(new ColorARGB[gifIn->SWidth * gifIn->SHeight]); 211 renderBuffer.get(), 224 gifIn, transparentColor, renderBuffer.get(), x, y); 354 ColorARGB* renderBuffer, 370 fillRect(renderBuffer, gifIn->SWidth, gifIn->SHeight, 373 fillRect(renderBuffer, gifIn->SWidth, gifIn->SHeight, 393 ColorARGB* renderPixel = getPixel(renderBuffer, gifIn->SWidth, renderX, renderY); 400 void GifTranscoder::fillRect(ColorARGB* renderBuffer, 413 ColorARGB* renderPixel = getPixel(renderBuffer, imageWidth, x + left, y + top); 421 ColorARGB* renderBuffer, [all...] |
/external/autotest/client/site_tests/graphics_PiglitBVT/test_scripts/other/ |
graphics_PiglitBVT_5.sh | 92 run_test "spec/ARB_framebuffer_sRGB/blit renderbuffer linear downsample disabled" 0.0 "bin/arb_framebuffer_srgb-blit renderbuffer linear downsample disabled -fbo -auto" 93 run_test "spec/ARB_framebuffer_sRGB/blit renderbuffer linear downsample enabled" 0.0 "bin/arb_framebuffer_srgb-blit renderbuffer linear downsample enabled -fbo -auto" 94 run_test "spec/ARB_framebuffer_sRGB/blit renderbuffer linear msaa disabled" 0.0 "bin/arb_framebuffer_srgb-blit renderbuffer linear msaa disabled -fbo -auto" 95 run_test "spec/ARB_framebuffer_sRGB/blit renderbuffer linear msaa enabled" 0.0 "bin/arb_framebuffer_srgb-blit renderbuffer linear msaa enabled -fbo -auto" 96 run_test "spec/ARB_framebuffer_sRGB/blit renderbuffer linear scaled disabled" 0.0 "bin/arb_framebuffer_srgb-blit renderbuffer linear scaled disabled -fbo -auto [all...] |