Check-in [4e5ffafbc0]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add setting of title framebuffer control.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:4e5ffafbc016a31e6e6a551d8ac7fd515367f869
User & Date: stephanie.gawroriski 2020-01-16 00:39:33
Context
2020-01-18
13:07
Initialization of list and canvas drawers. check-in: 8ab5e3ee0a user: stephanie.gawroriski tags: trunk
2020-01-16
00:39
Add setting of title framebuffer control. check-in: 4e5ffafbc0 user: stephanie.gawroriski tags: trunk
00:34
Implement VirtualFramebuffer capabilities. check-in: d191e29541 user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ratufacoat/sjmecon.h.

633
634
635
636
637
638
639






640
641
642
643
644
645
646
647
648

/** Query acceleration graphics support. */
#define SJME_FB_CONTROL_ACCEL_FUNC_QUERY SJME_JINT_C(17)

/** Invoke accelerated graphics operation. */
#define SJME_FB_CONTROL_ACCEL_FUNC_INVOKE SJME_JINT_C(18)







/** Maximum properties. */
#define SJME_FB_NUM_CONTROLS SJME_JINT_C(19)

/*****************************************************************************
************************** FRAMEBUFFER ACCELERATION **************************
*****************************************************************************/

/** Set color. */
#define SJME_FB_ACCEL_FUNC_SET_COLOR SJME_JINT_C(0)







>
>
>
>
>
>

|







633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654

/** Query acceleration graphics support. */
#define SJME_FB_CONTROL_ACCEL_FUNC_QUERY SJME_JINT_C(17)

/** Invoke accelerated graphics operation. */
#define SJME_FB_CONTROL_ACCEL_FUNC_INVOKE SJME_JINT_C(18)

/** Request repaint. */
#define SJME_FB_CONTROL_REPAINT_REQUEST SJME_JINT_C(19)

/** Set frame-buffer title. */
#define SJME_FB_CONTROL_SET_TITLE SJME_JINT_C(20)

/** Maximum properties. */
#define SJME_FB_NUM_CONTROLS SJME_JINT_C(21)

/*****************************************************************************
************************** FRAMEBUFFER ACCELERATION **************************
*****************************************************************************/

/** Set color. */
#define SJME_FB_ACCEL_FUNC_SET_COLOR SJME_JINT_C(0)

Changes to runt/apis/cldc-compact/cc/squirreljme/jvm/Framebuffer.java.

177
178
179
180
181
182
183









184
185
186

187
188
189
190
191
192
193
	 * @return Returns {@code 0} if the repaint was not queued and it must be
	 * handled by the code running the application, 
	 * @since 2020/01/15
	 */
	public static final byte CONTROL_REPAINT_REQUEST =
		19;
	









	/** The number of framebuffer controls. */
	public static final byte NUM_CONTROLS =
		20;

	
	/** Screen is RGB 32-bit. */
	public static final byte FORMAT_INTEGER_RGB888 =
		0;
	
	/** Screen is 8-bit indexed. */
	public static final byte FORMAT_BYTE_INDEXED =







>
>
>
>
>
>
>
>
>


<
>







177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194

195
196
197
198
199
200
201
202
	 * @return Returns {@code 0} if the repaint was not queued and it must be
	 * handled by the code running the application, 
	 * @since 2020/01/15
	 */
	public static final byte CONTROL_REPAINT_REQUEST =
		19;
	
	/**
	 * Sets the title of the framebuffer if applicable.
	 *
	 * @param 1 Character array buffer pointer.
	 * @since 2020/01/15
	 */
	public static final byte CONTROL_SET_TITLE =
		20;
	
	/** The number of framebuffer controls. */
	public static final byte NUM_CONTROLS =

		21;
	
	/** Screen is RGB 32-bit. */
	public static final byte FORMAT_INTEGER_RGB888 =
		0;
	
	/** Screen is 8-bit indexed. */
	public static final byte FORMAT_BYTE_INDEXED =

Changes to runt/klib/supervisor/cc/squirreljme/jvm/Framebuffer.java.

177
178
179
180
181
182
183









184
185
186

187
188
189
190
191
192
193
	 * @return Returns {@code 0} if the repaint was not queued and it must be
	 * handled by the code running the application, 
	 * @since 2020/01/15
	 */
	public static final byte CONTROL_REPAINT_REQUEST =
		19;
	









	/** The number of framebuffer controls. */
	public static final byte NUM_CONTROLS =
		20;

	
	/** Screen is RGB 32-bit. */
	public static final byte FORMAT_INTEGER_RGB888 =
		0;
	
	/** Screen is 8-bit indexed. */
	public static final byte FORMAT_BYTE_INDEXED =







>
>
>
>
>
>
>
>
>


<
>







177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194

195
196
197
198
199
200
201
202
	 * @return Returns {@code 0} if the repaint was not queued and it must be
	 * handled by the code running the application, 
	 * @since 2020/01/15
	 */
	public static final byte CONTROL_REPAINT_REQUEST =
		19;
	
	/**
	 * Sets the title of the framebuffer if applicable.
	 *
	 * @param 1 Character array buffer pointer.
	 * @since 2020/01/15
	 */
	public static final byte CONTROL_SET_TITLE =
		20;
	
	/** The number of framebuffer controls. */
	public static final byte NUM_CONTROLS =

		21;
	
	/** Screen is RGB 32-bit. */
	public static final byte FORMAT_INTEGER_RGB888 =
		0;
	
	/** Screen is 8-bit indexed. */
	public static final byte FORMAT_BYTE_INDEXED =