VirtualBox

source: vbox/trunk/src/VBox/GuestHost/OpenGL/packer/pack_stipple.c@ 18171

最後變更 在這個檔案從18171是 15532,由 vboxsync 提交於 16 年 前

crOpenGL: export to OSE

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id
檔案大小: 493 位元組
 
1/* Copyright (c) 2001, Stanford University
2 * All rights reserved
3 *
4 * See the file LICENSE.txt for information on redistributing this software.
5 */
6
7#include "packer.h"
8#include "cr_opcodes.h"
9#include "cr_mem.h"
10
11
12void PACK_APIENTRY crPackPolygonStipple( const GLubyte *mask )
13{
14 GET_PACKER_CONTEXT(pc);
15 unsigned char *data_ptr;
16 int packet_length = 32*32/8;
17 GET_BUFFERED_POINTER(pc, packet_length );
18 crMemcpy( data_ptr, mask, 32*32/8 );
19 WRITE_OPCODE( pc, CR_POLYGONSTIPPLE_OPCODE );
20}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette