/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
GLVertex.java | 56 public void put(IntBuffer vertexBuffer, IntBuffer colorBuffer) { 61 colorBuffer.put(0); 62 colorBuffer.put(0); 63 colorBuffer.put(0); 64 colorBuffer.put(0); 66 colorBuffer.put(color.red); 67 colorBuffer.put(color.green); 68 colorBuffer.put(color.blue); 69 colorBuffer.put(color.alpha);
|
/external/deqp/framework/referencerenderer/ |
rrFragmentOperations.hpp | 145 void executeColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer); 146 void executeRGBA8ColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::PixelBufferAccess& colorBuffer); 147 void executeMaskedColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::Vec4& colorMaskFactor, const tcu::Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer); 148 void executeSignedValueWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::PixelBufferAccess& colorBuffer); 149 void executeUnsignedValueWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::PixelBufferAccess& colorBuffer);
|
rrFragmentOperations.cpp | [all...] |
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
ColorsGLRenderer.java | 319 private final FloatBuffer colorBuffer; 371 colorBuffer = bb.asFloatBuffer(); 410 colorBuffer.clear(); 418 colorBuffer.put((float)((c & 0xFF0000) >> 16) / 0xFF); 419 colorBuffer.put((float)((c & 0x00FF00) >> 8) / 0xFF); 420 colorBuffer.put((float)(c & 0x0000FF) / 0xFF); 421 colorBuffer.put(/*a*/ 1f); 423 colorBuffer.position(0); 426 colorStride, colorBuffer);
|
/device/generic/goldfish-opengl/system/renderControl_enc/ |
renderControl_entry.cpp | 21 void rcOpenColorBuffer(uint32_t colorbuffer); 22 void rcCloseColorBuffer(uint32_t colorbuffer); 23 void rcSetWindowColorBuffer(uint32_t windowSurface, uint32_t colorBuffer); 26 void rcFBPost(uint32_t colorBuffer); 28 void rcBindTexture(uint32_t colorBuffer); 29 void rcBindRenderbuffer(uint32_t colorBuffer); 30 EGLint rcColorBufferCacheFlush(uint32_t colorbuffer, EGLint postCount, int forRead); 31 void rcReadColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels); 32 int rcUpdateColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels); 33 int rcOpenColorBuffer2(uint32_t colorbuffer); [all...] |
renderControl_enc.cpp | 549 void rcOpenColorBuffer_enc(void *self , uint32_t colorbuffer) 567 memcpy(ptr, &colorbuffer, 4); ptr += 4; 574 void rcCloseColorBuffer_enc(void *self , uint32_t colorbuffer) 592 memcpy(ptr, &colorbuffer, 4); ptr += 4; 600 void rcSetWindowColorBuffer_enc(void *self , uint32_t windowSurface, uint32_t colorBuffer) 619 memcpy(ptr, &colorBuffer, 4); ptr += 4; 708 void rcFBPost_enc(void *self , uint32_t colorBuffer) 726 memcpy(ptr, &colorBuffer, 4); ptr += 4; 758 void rcBindTexture_enc(void *self , uint32_t colorBuffer) 776 memcpy(ptr, &colorBuffer, 4); ptr += 4 [all...] |
/external/deqp/modules/glshared/ |
glsFragmentOpUtil.hpp | 118 void render (const tcu::PixelBufferAccess& colorBuffer, 130 void flushFragmentBuffer (const rr::MultisamplePixelBufferAccess& colorBuffer,
|
glsFragmentOpUtil.cpp | 213 void ReferenceQuadRenderer::flushFragmentBuffer (const rr::MultisamplePixelBufferAccess& colorBuffer, 219 m_fragmentProcessor.render(colorBuffer, depthBuffer, stencilBuffer, &m_fragmentBuffer[0], m_fragmentBufferSize, faceType, state); 223 void ReferenceQuadRenderer::render (const tcu::PixelBufferAccess& colorBuffer, 262 flushFragmentBuffer(rr::MultisamplePixelBufferAccess::fromMultisampleAccess(colorBuffer), 272 flushFragmentBuffer(rr::MultisamplePixelBufferAccess::fromMultisampleAccess(colorBuffer),
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
vktGeometryBasicClass.cpp | 109 const Buffer colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSizeBytes, 179 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, ©Region); 183 const VkBufferMemoryBarrier postCopyBarrier = makeBufferMemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); 194 const Allocation& colorBufferAlloc = colorBuffer.getAllocation();
|
vktGeometryInstancedRenderingTests.cpp | 344 const VkBuffer colorBuffer, 445 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorBuffer, 1u, ®ion); 458 colorBuffer, // VkBuffer buffer; 639 const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, makeBufferCreateInfo(colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT))); 640 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); 651 draw(context, renderSize, colorFormat, clearColor, *colorBuffer, params.numDrawInstances, perInstancePosition);
|
vktGeometryLayeredRenderingTests.cpp | [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationGeometryPassthroughTests.cpp | 350 const Buffer& colorBuffer, 355 const Allocation& alloc = colorBuffer.getAllocation(); 484 const Buffer* const colorBuffer[PIPELINE_CASES] = { &colorBuffer1, &colorBuffer2 }; 583 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorBuffer[pipelineNdx]->get(), 1u, ©Region); 587 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, colorBuffer[pipelineNdx]->get(), 0ull, colorBufferSizeBytes); 599 tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat, colorBufferSizeBytes, renderSize); 600 tcu::ConstPixelBufferAccess image1 = getPixelBufferAccess(vk, device, *colorBuffer[1], colorFormat, colorBufferSizeBytes, renderSize);
|
vktTessellationGeometryPointSizeTests.cpp | 325 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); 398 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, ©Region); 402 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); 413 const Allocation& alloc = colorBuffer.getAllocation();
|
vktTessellationCommonEdgeTests.cpp | 360 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); 435 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, ©Region); 439 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); 451 const Allocation& colorBufferAlloc = colorBuffer.getAllocation();
|
vktTessellationGeometryGridRenderTests.cpp | 550 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); 612 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, ©Region); 616 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); 627 const Allocation& alloc = colorBuffer.getAllocation();
|
vktTessellationMiscDrawTests.cpp | 171 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); 286 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, ©Region); 290 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); 300 const Allocation& colorBufferAlloc = colorBuffer.getAllocation();
|
vktTessellationPrimitiveDiscardTests.cpp | 443 const Buffer colorBuffer(vk, device, allocator, 537 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, ©Region); 541 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); 559 const Allocation& colorBufferAlloc = colorBuffer.getAllocation();
|
vktTessellationShaderInputOutputTests.cpp | 105 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); 181 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, ©Region); 185 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); 195 const Allocation& colorBufferAlloc = colorBuffer.getAllocation();
|
vktTessellationWindingTests.cpp | 353 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); 477 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, ©Region); 481 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes); 492 const Allocation& colorBufferAlloc = colorBuffer.getAllocation();
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
vktFragmentOperationsScissorMultiViewportTests.cpp | 594 void draw (Context& context, const VkBuffer colorBuffer) const 661 vk.cmdCopyImageToBuffer(*m_cmdBuffer, *m_colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorBuffer, 1u, ®ion); 674 colorBuffer, // VkBuffer buffer; 731 const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, makeBufferCreateInfo(colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT))); 732 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); 745 renderer.draw(context, *colorBuffer); [all...] |
vktFragmentOperationsEarlyFragmentTests.cpp | 661 const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT))); 662 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible)); [all...] |
/external/deqp/modules/gles2/functional/ |
es2fRasterizationTests.cpp | [all...] |
/external/deqp/modules/egl/ |
teglRenderTests.cpp | 387 tcu::TextureLevel colorBuffer; 406 colorBuffer.setStorage(getColorFormat(colorBits), numSamples, width, height); 407 rr::clearMultisampleColorBuffer(colorBuffer, CLEAR_COLOR, rr::WindowRectangle(0, 0, width, height)); 421 const rr::RenderTarget renderTarget(rr::MultisamplePixelBufferAccess::fromMultisampleAccess(colorBuffer.getAccess()), 428 rr::RenderState renderState((rr::ViewportState)(rr::MultisamplePixelBufferAccess::fromMultisampleAccess(colorBuffer.getAccess()))); 446 rr::resolveMultisampleColorBuffer(dst, rr::MultisamplePixelBufferAccess::fromMultisampleAccess(colorBuffer.getAccess())); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageMutableTests.cpp | [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineRenderToImageTests.cpp | [all...] |