/external/mesa3d/src/mesa/drivers/dri/i915/ |
i830_vtbl.c | 597 struct gl_renderbuffer *rb) 599 gl_format format = rb->Format; 618 struct gl_renderbuffer *rb = ctx->DrawBuffer->_ColorDrawBuffers[0]; local 619 struct intel_renderbuffer *irb = intel_renderbuffer(rb);
|
i915_vtbl.c | 561 struct gl_renderbuffer *rb) 563 gl_format format = rb->Format; 582 struct gl_renderbuffer *rb = ctx->DrawBuffer->_ColorDrawBuffers[0]; local 583 struct intel_renderbuffer *irb = intel_renderbuffer(rb);
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_context.c | 256 struct intel_renderbuffer *rb; local 267 rb = intel_get_renderbuffer(fb, buffers[i]); 268 if (rb == NULL || rb->mt == NULL) 270 intel_miptree_downsample(intel, rb->mt); 308 intel_bits_per_pixel(const struct intel_renderbuffer *rb) 310 return _mesa_get_format_bytes(intel_rb_format(rb)) * 8; 323 struct intel_renderbuffer *rb, 330 struct intel_renderbuffer *rb; local 363 rb = intel_get_renderbuffer(fb, BUFFER_FRONT_LEFT) [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_texture.c | 642 get_texbuffer_format(struct gl_renderbuffer *rb, GLint format) 644 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface; 662 struct gl_renderbuffer *rb = local 676 nouveau_surface_ref(&to_nouveau_renderbuffer(rb)->surface, s); 678 s->format = get_texbuffer_format(rb, format);
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_common_context.c | 291 radeon_bits_per_pixel(const struct radeon_renderbuffer *rb) 293 return _mesa_get_format_bytes(rb->base.Base.Format) * 8; 347 struct radeon_renderbuffer *rb; local 435 rb = draw->color_rb[0]; 439 rb = draw->color_rb[0]; 443 rb = draw->color_rb[1]; 447 rb = radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH); 451 rb = radeon_get_renderbuffer(&draw->base, BUFFER_DEPTH); 455 rb = radeon_get_renderbuffer(&draw->base, BUFFER_STENCIL); 466 if (rb == NULL [all...] |
radeon_screen.c | 267 struct gl_renderbuffer *rb; local 270 rb = _mesa_lookup_renderbuffer(radeon->glCtx, renderbuffer); 271 if (!rb) { 277 rrb = radeon_renderbuffer(rb); 282 image->internal_format = rb->InternalFormat; 283 image->format = rb->Format; 290 image->width = rb->Width; 291 image->height = rb->Height; 672 struct radeon_renderbuffer *rb; local 674 rb = rfb->color_rb[0] [all...] |
/external/mesa3d/src/mesa/main/ |
debug.c | 311 _mesa_write_renderbuffer_image(const struct gl_renderbuffer *rb) 318 if (rb->_BaseFormat == GL_RGB || 319 rb->_BaseFormat == GL_RGBA) { 323 else if (rb->_BaseFormat == GL_DEPTH_STENCIL) { 331 rb->_BaseFormat); 335 buffer = (GLubyte *) malloc(rb->Width * rb->Height * 4); 337 ctx->Driver.ReadPixels(ctx, 0, 0, rb->Width, rb->Height, 341 _mesa_snprintf(s, sizeof(s), "/tmp/renderbuffer%u.ppm", rb->Name) 441 const struct gl_renderbuffer *rb = (const struct gl_renderbuffer *) data; local [all...] |
framebuffer.c | 290 struct gl_renderbuffer *rb = att->Renderbuffer; local 292 if (rb->Width != width || rb->Height != height) { 293 if (rb->AllocStorage(ctx, rb, rb->InternalFormat, width, height)) { 294 ASSERT(rb->Width == width); 295 ASSERT(rb->Height == height); 415 const struct gl_renderbuffer *rb = att->Renderbuffer; local 416 if (rb) { 516 const struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; local 544 const struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; local 555 const struct gl_renderbuffer *rb = local 563 const struct gl_renderbuffer *rb = local 571 const struct gl_renderbuffer *rb = local [all...] |
readpix.c | 61 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; local 71 if (_mesa_get_format_datatype(rb->Format) != GL_UNSIGNED_NORMALIZED) 74 if (!((type == GL_UNSIGNED_SHORT && rb->Format == MESA_FORMAT_Z16) || 78 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, 92 _mesa_unpack_uint_z_row(rb->Format, width, map, (GLuint *)dst); 94 ASSERT(type == GL_UNSIGNED_SHORT && rb->Format == MESA_FORMAT_Z16); 101 ctx->Driver.UnmapRenderbuffer(ctx, rb); 117 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; local 123 if (!rb) 129 ASSERT(x + width <= (GLint) rb->Width) 179 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; local 233 struct gl_renderbuffer *rb = ctx->ReadBuffer->_ColorReadBuffer; local 326 struct gl_renderbuffer *rb = ctx->ReadBuffer->_ColorReadBuffer; local 390 struct gl_renderbuffer *rb = fb->_ColorReadBuffer; local 422 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; local 767 const struct gl_renderbuffer *rb = ctx->ReadBuffer->_ColorReadBuffer; local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_clear.c | 304 struct gl_renderbuffer *rb = ctx->DrawBuffer->_ColorDrawBuffers[0]; local 305 GLboolean is_integer = _mesa_is_enum_format_integer(rb->InternalFormat); 336 check_clear_color_with_quad(struct gl_context *ctx, struct gl_renderbuffer *rb) 341 ctx->Scissor.Width < rb->Width || 342 ctx->Scissor.Height < rb->Height)) 360 check_clear_depth_stencil_with_quad(struct gl_context *ctx, struct gl_renderbuffer *rb) 366 assert(_mesa_get_format_bits(rb->Format, GL_STENCIL_BITS) > 0); 371 ctx->Scissor.Width < rb->Width || 372 ctx->Scissor.Height < rb->Height)) 386 check_clear_depth_with_quad(struct gl_context *ctx, struct gl_renderbuffer *rb, 468 struct gl_renderbuffer *rb local 547 struct gl_renderbuffer *rb = ctx->DrawBuffer->_ColorDrawBuffers[0]; local [all...] |
st_cb_fbo.c | 62 struct gl_renderbuffer *rb, 67 struct st_renderbuffer *strb = st_renderbuffer(rb); 108 struct gl_renderbuffer *rb, 115 struct st_renderbuffer *strb = st_renderbuffer(rb); 127 return st_renderbuffer_alloc_sw_storage(ctx, rb, internalFormat, 152 if (rb->NumSamples > 1) { 155 for (i = rb->NumSamples; i <= ctx->Const.MaxSamples; i++) { 159 rb->NumSamples = i; 190 templ.nr_samples = rb->NumSamples; 228 st_renderbuffer_delete(struct gl_context *ctx, struct gl_renderbuffer *rb) 390 struct gl_renderbuffer *rb; local [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_copypix.c | 350 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; local 357 if (!rb) { 393 _swrast_read_stencil_span( ctx, rb, width, srcx, ssy, p ); 416 _swrast_read_stencil_span( ctx, rb, width, srcx, sy, stencil ); 584 struct gl_renderbuffer *rb; local 589 rb = fb->Attachment[fb->_ColorReadBufferIndex].Renderbuffer; 593 rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; 596 rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; 602 srb = swrast_renderbuffer(rb); 609 ctx->Driver.MapRenderbuffer(ctx, rb, 628 struct gl_renderbuffer *rb; local [all...] |
s_depth.c | 211 get_z32_values(struct gl_context *ctx, struct gl_renderbuffer *rb, 215 struct swrast_renderbuffer *srb = swrast_renderbuffer(rb); 216 const GLint w = rb->Width, h = rb->Height; 217 const GLubyte *map = _swrast_pixel_address(rb, 0, 0); 220 if (rb->Format == MESA_FORMAT_Z32) { 229 const GLint bpp = _mesa_get_format_bytes(rb->Format); 234 _mesa_unpack_uint_z_row(rb->Format, 1, src, &zbuffer[i]); 246 put_z32_values(struct gl_context *ctx, struct gl_renderbuffer *rb, 250 struct swrast_renderbuffer *srb = swrast_renderbuffer(rb); 286 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; local 414 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; local 530 struct gl_renderbuffer *rb = local 659 struct gl_renderbuffer *rb = local [all...] |
s_drawpix.c | 52 struct gl_renderbuffer *rb, 67 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, 89 ctx->Driver.UnmapRenderbuffer(ctx, rb); 99 struct gl_renderbuffer *rb, 114 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, 137 ctx->Driver.UnmapRenderbuffer(ctx, rb); 147 struct gl_renderbuffer *rb, 159 const GLint rowLength = width * _mesa_get_format_bytes(rb->Format); 164 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, 183 ctx->Driver.UnmapRenderbuffer(ctx, rb); 198 struct gl_renderbuffer *rb = ctx->DrawBuffer->_ColorDrawBuffers[0]; local 516 struct gl_renderbuffer *rb = local [all...] |
s_stencil.c | 292 get_s8_values(struct gl_context *ctx, struct gl_renderbuffer *rb, 296 struct swrast_renderbuffer *srb = swrast_renderbuffer(rb); 297 const GLint w = rb->Width, h = rb->Height; 298 const GLubyte *map = _swrast_pixel_address(rb, 0, 0); 301 if (rb->Format == MESA_FORMAT_S8) { 310 const GLint bpp = _mesa_get_format_bytes(rb->Format); 315 _mesa_unpack_ubyte_stencil_row(rb->Format, 1, src, &stencil[i]); 326 put_s8_values(struct gl_context *ctx, struct gl_renderbuffer *rb, 330 const GLint w = rb->Width, h = rb->Height 353 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; local 498 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; local 551 struct gl_renderbuffer *rb = local [all...] |
/external/openssl/ssl/ |
s3_pkt.c | 137 SSL3_BUFFER *rb; local 141 rb = &(s->s3->rbuf); 142 if (rb->buf == NULL) 146 left = rb->left; 148 align = (long)rb->buf + SSL3_RT_HEADER_LENGTH; 156 rb->offset = align; 161 pkt = rb->buf + rb->offset; 172 memmove (rb->buf+align,pkt,left); 173 rb->offset = align [all...] |
/external/skia/include/core/ |
SkImageInfo.h | 241 uint64_t rb = sk_64_mul(fWidth, this->bytesPerPixel()); local 242 return rowBytes >= rb;
|
/external/skia/samplecode/ |
SampleHairline.cpp | 65 size_t rb = bm.rowBytes(); local 75 if (!check_zeros(bm.getAddr32(i, 0), bm.height(), SkToInt(rb >> 2))) { 80 SkToInt(rb >> 2))) {
|
/external/skia/src/core/ |
SkBitmapProcState_sample.h | 52 size_t rb = s.fBitmap->rowBytes(); local 61 src = ((const SRCTYPE*)(srcAddr + (XY >> 16) * rb))[XY & 0xFFFF]; 67 src = ((const SRCTYPE*)(srcAddr + (XY >> 16) * rb))[XY & 0xFFFF]; 74 src = ((const SRCTYPE*)(srcAddr + (XY >> 16) * rb))[XY & 0xFFFF]; 149 size_t rb = s.fBitmap->rowBytes(); local 158 row0 = (const SRCTYPE*)(srcAddr + (y0 >> 4) * rb); 159 row1 = (const SRCTYPE*)(srcAddr + (XY & 0x3FFF) * rb); 195 size_t rb = s.fBitmap->rowBytes(); local 210 const SRCTYPE* SK_RESTRICT row0 = (const SRCTYPE*)(srcAddr + y0 * rb); 211 const SRCTYPE* SK_RESTRICT row1 = (const SRCTYPE*)(srcAddr + y1 * rb); [all...] |
SkGlyph.h | 48 unsigned rb = width; local 50 rb = (rb + 7) >> 3; 54 rb <<= 2; 56 rb = SkAlign4(rb << 1); 58 rb = SkAlign4(rb); 60 return rb;
|
/external/skia/src/opts/ |
SkBitmapProcState_opts_SSSE3.cpp | 407 const size_t rb = s.fBitmap->rowBytes(); local 411 reinterpret_cast<const uint32_t*>(src_addr + (y0 >> 4) * rb); 413 reinterpret_cast<const uint32_t*>(src_addr + (XY & 0x3FFF) * rb); 599 const size_t rb = s.fBitmap->rowBytes(); local 632 reinterpret_cast<const uint32_t*>(src_addr + xy0[2] * rb); 634 reinterpret_cast<const uint32_t*>(src_addr + xy1[2] * rb); 636 reinterpret_cast<const uint32_t*>(src_addr + xy0[3] * rb); 638 reinterpret_cast<const uint32_t*>(src_addr + xy1[3] * rb); 670 reinterpret_cast<const uint32_t*>(src_addr + y0 * rb); 672 reinterpret_cast<const uint32_t*>(src_addr + y1 * rb); [all...] |
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/ |
V4LCameraAdapter.h | 37 struct v4l2_requestbuffers rb; member in struct:android::VideoInfo
|
/packages/apps/Settings/src/com/android/settings/tts/ |
TtsEnginePreference.java | 119 final RadioButton rb = (RadioButton) view.findViewById(R.id.tts_engine_radiobutton); local 120 rb.setOnCheckedChangeListener(mRadioChangeListener); 124 mSharedState.setCurrentChecked(rb); 128 rb.setChecked(isChecked); 131 mRadioButton = rb; 137 onRadioButtonClicked(rb, !rb.isChecked());
|
/packages/apps/Settings/src/com/android/settings/voice/ |
VoiceInputPreference.java | 95 final RadioButton rb = (RadioButton) view.findViewById(R.id.tts_engine_radiobutton); local 96 rb.setOnCheckedChangeListener(mRadioChangeListener); 100 mSharedState.setCurrentChecked(rb); 104 rb.setChecked(isChecked); 107 mRadioButton = rb; 113 onRadioButtonClicked(rb, !rb.isChecked());
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
LevelTest.java | 334 ResourceBundle rb = ResourceBundle.getBundle("bundles/com/android/java/util/logging/res"); local 337 assertEquals(rb.getString("level1"), l.getLocalizedName()); 340 rb = ResourceBundle.getBundle( 344 assertEquals(rb.getString("Level_error"), l.getLocalizedName());
|